chore(projects): update @sa/scripts

This commit is contained in:
Soybean
2023-12-14 21:54:10 +08:00
parent a748166399
commit d778560dbd
9 changed files with 419 additions and 47 deletions

View File

@ -15,10 +15,10 @@
"cleanup": "sa cleanup",
"commit": "sa git-commit",
"dev": "vite",
"format": "sa prettier-write",
"lint": "eslint . --fix",
"prepare": "simple-git-hooks",
"preview": "vite preview",
"release": "soy release",
"typecheck": "vue-tsc --noEmit --skipLibCheck",
"update-pkg": "sa update-pkg"
},
@ -46,6 +46,7 @@
"@iconify/json": "2.2.157",
"@sa/scripts": "workspace:*",
"@sa/uno-preset": "workspace:*",
"@soybeanjs/cli": "1.0.0-beta.7",
"@soybeanjs/eslint-config": "1.1.3",
"@types/lodash-es": "4.17.12",
"@types/node": "20.10.4",
@ -60,9 +61,11 @@
"cross-env": "7.0.3",
"eslint": "8.55.0",
"eslint-plugin-vue": "9.19.2",
"lint-staged": "15.2.0",
"npm-run-all": "4.1.5",
"sass": "1.69.5",
"simple-git-hooks": "2.9.0",
"tsx": "4.6.2",
"typescript": "5.3.3",
"unplugin-icons": "0.18.1",
"unplugin-vue-components": "0.26.0",
@ -75,6 +78,9 @@
},
"simple-git-hooks": {
"commit-msg": "pnpm sa git-commit-verify",
"pre-commit": "pnpm typecheck"
"pre-commit": "pnpm typecheck && pnpm lint-staged"
},
"lint-staged": {
"*": "eslint --fix"
}
}