File tree Expand file tree Collapse file tree 3 files changed +24
-9
lines changed
Expand file tree Collapse file tree 3 files changed +24
-9
lines changed Original file line number Diff line number Diff line change 22
33## Code Quality Requirements
44
5- After making ANY code changes, you MUST:
5+ After making ANY code changes besides configuration, tooling or github action definition changes , you MUST:
66
771. **Run Biome linter and formatter:**
8- ```bash
9- pnpm biome check --write
10- ```
11- Or use the npm script:
128 ```bash
139 pnpm run lint:fix
1410 ```
@@ -18,6 +14,9 @@ After making ANY code changes, you MUST:
1814 pnpm run typecheck
1915 ```
2016
21-
17+ 3. ** Run Tests**
18+ ```bash
19+ pnpm run test
20+ ```
2221
2322
Original file line number Diff line number Diff line change @@ -59,5 +59,21 @@ run = [
5959alias = ' tc'
6060description = ' Run TypeScript type checking for the entire monorepo'
6161run = [
62- ' pnpm run typecheck'
63- ]
62+ ' pnpm run -r typecheck'
63+ ]
64+
65+ [tasks ."test" ]
66+ alias = ' tst'
67+ description = ' Run tests for the entire monorepo'
68+ run = [
69+ ' pnpm run test'
70+ ]
71+
72+ [tasks ."check" ]
73+ alias = ' chk'
74+ description = ' Run lint fix, typecheck, and tests - full quality check'
75+ run = [
76+ ' pnpm run lint:fix' ,
77+ ' pnpm run typecheck' ,
78+ ' pnpm run test'
79+ ]
Original file line number Diff line number Diff line change 33 "type" : " module" ,
44 "version" : " 0.0.0" ,
55 "scripts" : {
6- "test" : " sst shell vitest -- --run" ,
6+ "test" : " vitest --run" ,
77 "typecheck" : " tsc --build"
88 },
99 "exports" : {
You canβt perform that action at this time.
0 commit comments