Skip to content

Commit 8e15ed8

Browse files
committed
adjust cursor rules, add mise tasks
1 parent 1c6f065 commit 8e15ed8

File tree

3 files changed

+24
-9
lines changed

3 files changed

+24
-9
lines changed

β€Ž.cursorrulesβ€Ž

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,9 @@
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

77
1. **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

β€Žmise.tomlβ€Ž

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,21 @@ run = [
5959
alias = 'tc'
6060
description = 'Run TypeScript type checking for the entire monorepo'
6161
run = [
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+
]

β€Žpackages/core/package.jsonβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
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": {

0 commit comments

Comments
Β (0)