|
17 | 17 | "dev": "nx serve website --host", |
18 | 18 | "dev.ct": "nx serve component-tests", |
19 | 19 | "format.all": "prettier --write \"**/*.{js,jsx,ts,tsx,json,html,css,scss}\"", |
20 | | - "format.fix": "pretty-quick --staged", |
| 20 | + "format.staged": "pretty-quick --staged", |
21 | 21 | "link.dist": "cd dist/packages/kit-headless && pnpm link --global", |
22 | 22 | "lint": "nx affected:lint", |
23 | 23 | "local.npm": "nx local-registry", |
24 | | - "prepare": "husky install", |
| 24 | + "prepare": "simple-git-hooks", |
25 | 25 | "preview.cloudflare": "nx preview-cloudflare website", |
26 | 26 | "preview": "nx preview website", |
27 | 27 | "release.prepare": "nx run-many --target=build -p packages/*", |
28 | | - "release.setroot": "mv pnpm-workspace.yaml dist/pnpm-workspace.yaml && cp pnpm-workspace-for-release.yaml pnpm-workspace.yaml", |
| 28 | + "release.setroot": "mv pnpm-workspace.yaml dist/pnpm-workspace.yaml && cp tools/for-release/pnpm-workspace-for-release.yaml pnpm-workspace.yaml", |
29 | 29 | "release": "pnpm release.prepare && pnpm release.setroot && pnpm release.publish && pnpm release.resetroot", |
30 | 30 | "release.publish": "changeset publish", |
31 | 31 | "release.resetroot": "cp dist/pnpm-workspace.yaml pnpm-workspace.yaml", |
|
38 | 38 | "test.headless.ci": "nx component-test-ci headless", |
39 | 39 | "test.utils": "nx test utils" |
40 | 40 | }, |
| 41 | + "simple-git-hooks": { |
| 42 | + "pre-commit": "pnpm format.staged" |
| 43 | + }, |
41 | 44 | "packageManager": "[email protected]", |
42 | 45 | "devDependencies": { |
43 | 46 | "@axe-core/playwright": "^4.9.1", |
|
104 | 107 | "eslint-plugin-playwright": "^1.6.2", |
105 | 108 | "eslint-plugin-qwik": "^1.7.2", |
106 | 109 | "focus-trap": "7.5.4", |
107 | | - "husky": "^9.0.11", |
108 | 110 | "jest": "^29.7.0", |
109 | 111 | "jest-environment-jsdom": "^29.7.0", |
110 | 112 | "jsdom": "24.0.0", |
|
122 | 124 | "rehype-pretty-code": "^0.13.2", |
123 | 125 | "sass": "^1.77.2", |
124 | 126 | "shiki": "1.11.0", |
| 127 | + "simple-git-hooks": "2.11.1", |
125 | 128 | "specificity": "^1.0.0", |
126 | 129 | "tailwind-merge": "^2.3.0", |
127 | 130 | "tailwindcss": "^3.4.3", |
|
143 | 146 | "wrangler": "^3.57.1", |
144 | 147 | "yargs": "^17.7.2" |
145 | 148 | }, |
146 | | - "config": { |
147 | | - "commitizen": { |
148 | | - "path": "./node_modules/cz-conventional-changelog" |
149 | | - } |
150 | | - }, |
151 | 149 | "keywords": [ |
152 | 150 | "qwik", |
153 | 151 | "qwik ui components", |
|
0 commit comments