Skip to content

Commit

Permalink
feat: add support for Vite 4 and Cypress 12 (mammadataei#29)
Browse files Browse the repository at this point in the history

Co-authored-by: Mohammad Ataei <mammadataei@gmail.com>
  • Loading branch information
LaravelFreelancerNL and mammadataei committed Dec 24, 2022
1 parent 9c53e2a commit 00dbb75
Show file tree
Hide file tree
Showing 4 changed files with 838 additions and 760 deletions.
4 changes: 2 additions & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

pnpm pre-commit
10 changes: 5 additions & 5 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,22 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-feather": "^2.0.10",
"uuid": "^8.3.2"
"uuid": "^9.0.0"
},
"devDependencies": {
"@ngneat/falso": "^6.1.0",
"@testing-library/cypress": "^8.0.3",
"@testing-library/cypress": "^9.0.0",
"@types/react": "^18.0.21",
"@types/react-dom": "^18.0.6",
"@types/uuid": "^8.3.4",
"@vitejs/plugin-react": "^2.1.0",
"@vitejs/plugin-react": "^3.0.0",
"autoprefixer": "^10.4.12",
"cypress": "^10.10.0",
"cypress": "^12.1.0",
"cypress-vite": "workspace:latest",
"postcss": "^8.4.18",
"start-server-and-test": "^1.14.0",
"tailwindcss": "^3.1.8",
"typescript": "^4.8.4",
"vite": "^3.1.8"
"vite": "^4.0.1"
}
}
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,25 +44,25 @@
"*.{js,jsx,ts,tsx,md,html,css}": "prettier --write"
},
"peerDependencies": {
"vite": "^2.9.0 || ^3.0.0"
"vite": "^2.9.0 || ^3.0.0 || ^4.0.0"
},
"devDependencies": {
"@commitlint/cli": "^17.1.2",
"@commitlint/config-conventional": "^17.1.0",
"@commitlint/cli": "^17.3.0",
"@commitlint/config-conventional": "^17.3.0",
"@types/debug": "^4.1.7",
"@types/node": "^18.11.2",
"@typescript-eslint/eslint-plugin": "^5.40.1",
"@typescript-eslint/parser": "^5.40.1",
"cypress": "^10.10.0",
"eslint": "^8.25.0",
"@types/node": "^18.11.17",
"@typescript-eslint/eslint-plugin": "^5.46.1",
"@typescript-eslint/parser": "^5.46.1",
"cypress": "^12.1.0",
"eslint": "^8.30.0",
"eslint-config-prettier": "^8.5.0",
"husky": "^8.0.1",
"lint-staged": "^13.0.3",
"prettier": "^2.7.1",
"rollup": "2.78.1",
"typescript": "^4.8.4",
"unbuild": "^0.9.4",
"vite": "^3.1.3"
"husky": "^8.0.0",
"lint-staged": "^13.1.0",
"prettier": "^2.8.1",
"rollup": "3.7.5",
"typescript": "^4.9.4",
"unbuild": "^1.0.2",
"vite": "^4.0.2"
},
"dependencies": {
"debug": "^4.3.4"
Expand Down
Loading

0 comments on commit 00dbb75

Please sign in to comment.