File tree Expand file tree Collapse file tree 3 files changed +11
-5
lines changed
Expand file tree Collapse file tree 3 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 2525``` bash
2626yarn lint # Check & auto-fix ESLint issues
2727yarn format # Auto-format code
28- yarn typescript # TypeScript type checking
28+ yarn typecheck # TypeScript type checking (all)
2929```
3030
3131### Development
@@ -145,7 +145,7 @@ This project must maintain exceptionally high type standards. The `any` type mus
145145## Before Committing
146146
1471471 . Use ` yarn format ` to ensure consistent formatting
148- 1 . Run ` yarn lint ` and ` yarn typescript ` to check code quality
148+ 1 . Run ` yarn lint ` and ` yarn typecheck ` to check code quality
1491491 . Run ` yarn test:unit ` to ensure unit tests pass
1501501 . Consider running ` yarn test:e2e ` for UI changes
151151
Original file line number Diff line number Diff line change 5252 "test:unit" : " vitest run" ,
5353 "todesktop:afterPack" : " ./scripts/todesktop/afterPack.cjs" ,
5454 "todesktop:beforeInstall" : " ./scripts/todesktop/beforeInstall.cjs" ,
55- "typescript" : " tsc -p tsconfig.build.json" ,
55+ "typecheck" : " tsc -p tsconfig.json" ,
56+ "typecheck:build" : " tsc -p tsconfig.build.json" ,
57+ "typecheck:tests" : " tsc -p tsconfig.tests.json" ,
5658 "verify:build" : " node scripts/verifyBuild.js" ,
57- "vite:compile" : " yarn run typescript && vite build && vite build --config vite.preload.config.ts" ,
58- "vite:types" : " yarn run typescript && vite build --config vite.types.config.ts && node scripts/prepareTypes.js" ,
59+ "vite:compile" : " yarn run typecheck:build && vite build && vite build --config vite.preload.config.ts" ,
60+ "vite:types" : " yarn run typecheck:build && vite build --config vite.types.config.ts && node scripts/prepareTypes.js" ,
5961 "release:types" : " node scripts/releaseTypes.js" ,
6062 "update:frontend" : " node scripts/updateFrontend.js"
6163 },
Original file line number Diff line number Diff line change 1+ {
2+ "extends" : " ./tsconfig.json" ,
3+ "include" : [" tests/**/*" , " playwright.config.ts" , " playwright.setup.ts" ]
4+ }
You can’t perform that action at this time.
0 commit comments