feat: remove pnpm only

This commit is contained in:
kaivanwong 2024-05-06 10:42:12 +08:00
parent c7b23f7878
commit a8c4bd145f
3 changed files with 11925 additions and 6849 deletions

11923
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -2,12 +2,7 @@
"name": "astro-theme-vitesse", "name": "astro-theme-vitesse",
"type": "module", "type": "module",
"version": "0.1.0", "version": "0.1.0",
"packageManager": "pnpm@8.11.0",
"engines": {
"node": ">=18.0"
},
"scripts": { "scripts": {
"preinstall": "npx only-allow pnpm",
"prepare": "simple-git-hooks", "prepare": "simple-git-hooks",
"dev": "astro dev --host", "dev": "astro dev --host",
"build": "astro build", "build": "astro build",
@ -40,9 +35,9 @@
"simple-git-hooks": "^2.10.0" "simple-git-hooks": "^2.10.0"
}, },
"simple-git-hooks": { "simple-git-hooks": {
"pre-commit": "pnpm lint-staged" "pre-commit": "npx lint-staged"
}, },
"lint-staged": { "lint-staged": {
"*": "pnpm lint:fix" "*": "npm run lint:fix"
} }
} }

File diff suppressed because it is too large Load diff