Problem
Small but real papercuts in package.json:
- No
format script — Prettier isn't configured at all, so formatting is ad hoc across files
- No
typecheck script — CI hardcodes npx tsc --noEmit, so local contributors can't run the same gate easily (npm run typecheck)
- No
test:watch
shadcn (a CLI) sits in production dependencies — should be devDependencies (or dropped for npx shadcn@latest)
eslint-config-next pinned 16.2.7 while next is ^16.2.9
Acceptance criteria
Problem
Small but real papercuts in
package.json:formatscript — Prettier isn't configured at all, so formatting is ad hoc across filestypecheckscript — CI hardcodesnpx tsc --noEmit, so local contributors can't run the same gate easily (npm run typecheck)test:watchshadcn(a CLI) sits in productiondependencies— should be devDependencies (or dropped fornpx shadcn@latest)eslint-config-nextpinned16.2.7whilenextis^16.2.9Acceptance criteria
npm run format/format:check/typecheckexist and CI uses them