feat: Test pipeline

* Rename tests dir to e2e as tests gets ignored as "package" by turbo
This commit is contained in:
Braks
2022-04-11 11:30:10 +02:00
parent ca5033b272
commit 08204fdcbb
12 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
"version": "0.0.0", "version": "0.0.0",
"private": true, "private": true,
"scripts": { "scripts": {
"tests": "cypress run-ct", "test": "cypress run-ct",
"open": "cypress open-ct" "open": "cypress open-ct"
}, },
"dependencies": { "dependencies": {
+1 -1
View File
@@ -3,7 +3,7 @@
"version": "0.0.0", "version": "0.0.0",
"private": true, "private": true,
"workspaces": [ "workspaces": [
"tests", "e2e",
"examples", "examples",
"docs", "docs",
"package" "package"
-1
View File
@@ -26,7 +26,6 @@
"build": "vite build", "build": "vite build",
"types": "vue-tsc --declaration --emitDeclarationOnly && tsc -p tsconfig.build.json && shx rm -rf tmp && yarn lint:dist", "types": "vue-tsc --declaration --emitDeclarationOnly && tsc -p tsconfig.build.json && shx rm -rf tmp && yarn lint:dist",
"theme": "postcss src/style.css -o dist/style.css && postcss src/theme-default.css -o dist/theme-default.css", "theme": "postcss src/style.css -o dist/style.css && postcss src/theme-default.css -o dist/theme-default.css",
"test": "yarn --cwd .. tests",
"lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix --ignore-path ../.gitignore .", "lint": "eslint --ext \".js,.jsx,.ts,.tsx\" --fix --ignore-path ../.gitignore .",
"lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix ./dist", "lint:dist": "eslint --ext \".ts,.tsx\" -c .eslintrc.js --fix ./dist",
"prepublishOnly": "shx cp ../README.md .", "prepublishOnly": "shx cp ../README.md .",