|
47 | 47 | "test:nuxt": "vite test --project nuxt", |
48 | 48 | "test:types": "pnpm generate:lexicons && nuxt prepare && vue-tsc -b --noEmit && pnpm --filter npmx-connector test:types", |
49 | 49 | "test:unit": "vite test --project unit", |
50 | | - "start:playwright:webserver": "NODE_ENV=test pnpm preview --port 5678" |
| 50 | + "start:playwright:webserver": "NODE_ENV=test pnpm preview --port 5678", |
| 51 | + "hooks": "simple-git-hooks" |
51 | 52 | }, |
52 | 53 | "dependencies": { |
53 | 54 | "@atproto/common": "0.5.13", |
|
148 | 149 | "node": "24" |
149 | 150 | }, |
150 | 151 | "simple-git-hooks": { |
151 | | - "pre-commit": "pnpm lint-staged" |
| 152 | + "pre-commit": "pnpm exec lint-staged" |
152 | 153 | }, |
153 | 154 | "lint-staged": { |
154 | 155 | "i18n/locales/*": [ |
155 | 156 | "node ./lunaria/lunaria.ts", |
156 | | - "pnpm oxfmt lunaria/files/", |
| 157 | + "pnpm exec oxfmt lunaria/files/", |
157 | 158 | "git add lunaria/files/", |
158 | 159 | "node scripts/generate-i18n-schema.ts", |
159 | | - "pnpm oxfmt i18n/schema.json", |
| 160 | + "pnpm exec oxfmt i18n/schema.json", |
160 | 161 | "git add i18n/schema.json" |
161 | 162 | ], |
162 | 163 | "*.{js,ts,mjs,cjs,vue}": [ |
163 | | - "pnpm oxlint --fix" |
| 164 | + "pnpm exec oxlint --fix" |
164 | 165 | ], |
165 | 166 | "*.vue": [ |
166 | | - "pnpm lint:css" |
| 167 | + "node scripts/unocss-checker.ts" |
167 | 168 | ], |
168 | 169 | "*.{js,ts,mjs,cjs,vue,json,yml,md,html,css}": [ |
169 | | - "pnpm oxfmt" |
| 170 | + "pnpm exec oxfmt" |
170 | 171 | ] |
171 | 172 | }, |
172 | 173 | "packageManager": "pnpm@10.30.1" |
|
0 commit comments