Skip to content

Commit 865adef

Browse files
authored
config: switch from npm to pnpm (#9)
1 parent aa1cbf1 commit 865adef

File tree

3 files changed

+7500
-19
lines changed

3 files changed

+7500
-19
lines changed

.eslintignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pnpm-lock.yaml

package.json

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"version": "0.0.0",
55
"type": "module",
66
"scripts": {
7+
"preinstall": "npx only-allow pnpm",
78
"dev": "vite",
89
"build": "tsc && vite build",
910
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
@@ -15,32 +16,32 @@
1516
"dependencies": {
1617
"react": "^18.2.0",
1718
"react-dom": "^18.2.0",
18-
"ts-node": "^10.9.1",
19+
"ts-node": "^10.9.2",
1920
"whatwg-fetch": "^3.6.19"
2021
},
2122
"devDependencies": {
22-
"@commitlint/cli": "^18.2.0",
23-
"@commitlint/config-conventional": "^18.1.0",
24-
"@testing-library/jest-dom": "^6.1.4",
25-
"@testing-library/react": "^14.0.0",
26-
"@trivago/prettier-plugin-sort-imports": "^4.2.1",
27-
"@types/jest": "^29.5.7",
28-
"@types/react": "^18.2.15",
29-
"@types/react-dom": "^18.2.7",
30-
"@typescript-eslint/eslint-plugin": "^6.0.0",
31-
"@typescript-eslint/parser": "^6.0.0",
32-
"@vitejs/plugin-react-swc": "^3.3.2",
33-
"eslint": "^8.45.0",
34-
"eslint-config-prettier": "^9.0.0",
23+
"@commitlint/cli": "^18.4.3",
24+
"@commitlint/config-conventional": "^18.4.3",
25+
"@testing-library/jest-dom": "^6.1.5",
26+
"@testing-library/react": "^14.1.2",
27+
"@trivago/prettier-plugin-sort-imports": "^4.3.0",
28+
"@types/jest": "^29.5.11",
29+
"@types/react": "^18.2.42",
30+
"@types/react-dom": "^18.2.17",
31+
"@typescript-eslint/eslint-plugin": "^6.13.2",
32+
"@typescript-eslint/parser": "^6.13.2",
33+
"@vitejs/plugin-react-swc": "^3.5.0",
34+
"eslint": "^8.55.0",
35+
"eslint-config-prettier": "^9.1.0",
3536
"eslint-plugin-react-hooks": "^4.6.0",
36-
"eslint-plugin-react-refresh": "^0.4.3",
37-
"husky": "^8.0.0",
37+
"eslint-plugin-react-refresh": "^0.4.5",
38+
"husky": "^8.0.3",
3839
"jest": "^29.7.0",
3940
"jest-environment-jsdom": "^29.7.0",
40-
"lint-staged": "^15.0.2",
41+
"lint-staged": "^15.2.0",
4142
"prettier": "3.0.3",
4243
"ts-jest": "^29.1.1",
43-
"typescript": "^5.2.2",
44-
"vite": "^4.4.5"
44+
"typescript": "^5.3.3",
45+
"vite": "^4.5.1"
4546
}
4647
}

0 commit comments

Comments
 (0)