|
24 | 24 | "knip:fix": "knip --fix", |
25 | 25 | "lint": "oxlint && oxfmt --check", |
26 | 26 | "lint:fix": "oxlint --fix && oxfmt", |
27 | | - "lint:css": "node scripts/unocss-checker.ts", |
28 | 27 | "generate": "nuxt generate", |
29 | 28 | "npmx-connector": "pnpm --filter npmx-connector dev", |
30 | 29 | "mock-connector": "pnpm --filter npmx-connector dev:mock", |
|
147 | 146 | "node": "24" |
148 | 147 | }, |
149 | 148 | "simple-git-hooks": { |
150 | | - "pre-commit": "npx lint-staged" |
| 149 | + "pre-commit": "./node_modules/.bin/lint-staged" |
151 | 150 | }, |
152 | 151 | "lint-staged": { |
153 | 152 | "i18n/locales/*": [ |
154 | 153 | "node ./lunaria/lunaria.ts", |
155 | | - "pnpm oxfmt lunaria/files/", |
| 154 | + "./node_modules/.bin/oxfmt lunaria/files/", |
156 | 155 | "git add lunaria/files/", |
157 | 156 | "node scripts/generate-i18n-schema.ts", |
158 | | - "pnpm oxfmt i18n/schema.json", |
| 157 | + "./node_modules/.bin/oxfmt i18n/schema.json", |
159 | 158 | "git add i18n/schema.json" |
160 | 159 | ], |
161 | 160 | "*.{js,ts,mjs,cjs,vue}": [ |
162 | | - "pnpm oxlint --fix" |
| 161 | + "./node_modules/.bin/oxlint --fix" |
163 | 162 | ], |
164 | 163 | "*.vue": [ |
165 | | - "pnpm lint:css" |
| 164 | + "node scripts/unocss-checker.ts" |
166 | 165 | ], |
167 | 166 | "*.{js,ts,mjs,cjs,vue,json,yml,md,html,css}": [ |
168 | | - "pnpm oxfmt" |
| 167 | + "./node_modules/.bin/oxfmt" |
169 | 168 | ] |
170 | 169 | }, |
171 | 170 | "packageManager": "pnpm@10.30.1" |
|
0 commit comments