Skip to content

Commit

Permalink
fix: mark cypress peer dependency as optional
Browse files Browse the repository at this point in the history
  • Loading branch information
sampullman committed May 13, 2024
1 parent 4efffd3 commit 90e8aab
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"conventional-github-releaser": "^3.1.5",
"cypress": "^13.9.0",
"dotenv": "16.4.5",
"eslint": "9.2.0",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"fs-extra": "^11.2.0",
"husky": "^8.0.3",
Expand Down
8 changes: 8 additions & 0 deletions packages/vue3-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@
"cypress": "^13.9.0",
"@cypress/vite-dev-server": "^5.0.7"
},
"peerDependenciesMeta": {
"cypress": {
"optional": true
},
"@cypress/vite-dev-server": {
"optional": true
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/samatechtw/nx-vue3-vite.git"
Expand Down
2 changes: 1 addition & 1 deletion packages/vue3-vite/src/util/defaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const vueRouterVersion = '^4.3.2';

// devDependency versions
export const viteVersion = '^5.2.11';
export const eslintVersion = '^9.2.0';
export const eslintVersion = '^8.57.0';
export const vuePluginVersion = '^5.0.4';
export const babelJestVersion = '^29.7.0';
export const jestGlobalsVersion = '^29.7.0';
Expand Down

0 comments on commit 90e8aab

Please sign in to comment.