Skip to content

Commit 7761c11

Browse files
committed
Remove simple-git-hooks from postinstall script and add ufo dependency
1 parent 9f68f2a commit 7761c11

File tree

2 files changed

+9
-18
lines changed

2 files changed

+9
-18
lines changed

package.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,11 @@
1111
"type:check": "vue-tsc --noEmit --composite false",
1212
"lint": "eslint .",
1313
"lint:fix": "eslint --fix .",
14-
"prepare": "simple-git-hooks",
1514
"format": "prettier --write src/",
1615
"test:unit": "vitest",
1716
"test:e2e": "start-server-and-test preview http://localhost:4173 'cypress run --e2e'",
1817
"test:e2e:dev": "start-server-and-test 'vite dev --port 4173' http://localhost:4173 'cypress open --e2e'",
19-
"postinstall": "run-p generate:api build:icons prepare",
18+
"postinstall": "run-p generate:api build:icons",
2019
"generate:api": "openapi-typescript http://localhost:8000/api/docs-yaml -o src/generated/api-schema.d.ts"
2120
},
2221
"dependencies": {
@@ -27,6 +26,7 @@
2726
"openapi-typescript-helpers": "^0.0.7",
2827
"pinia": "^2.1.7",
2928
"ts-pattern": "^5.0.6",
29+
"ufo": "^1.5.3",
3030
"universal-cookie": "^7.1.0",
3131
"valibot": "^0.26.0",
3232
"vue": "^3.4.15",
@@ -51,7 +51,6 @@
5151
"openapi-typescript": "^6.7.4",
5252
"picocolors": "^1.0.0",
5353
"prettier": "^3.2.4",
54-
"simple-git-hooks": "^2.9.0",
5554
"start-server-and-test": "^2.0.3",
5655
"ts-reset": "^0.0.1",
5756
"tsx": "^4.7.1",
@@ -70,7 +69,6 @@
7069
"vue-tsc": "^1.8.27"
7170
},
7271
"simple-git-hooks": {
73-
"pre-commit": "npx lint-staged && npm run type:check",
7472
"commit-msg": "node src/scripts/verify-commit.js"
7573
},
7674
"lint-staged": {

pnpm-lock.yaml

Lines changed: 7 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)