Skip to content

Commit aed5f30

Browse files
committed
docs: add AGENTS.md
1 parent 7ac108b commit aed5f30

1 file changed

Lines changed: 40 additions & 0 deletions

File tree

AGENTS.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# AGENTS.md
2+
3+
## Stack
4+
5+
- Use repo Node.js/pnpm versions (`package.json`)
6+
- `pnpm` workspace; shared deps in `pnpm-workspace.yaml` catalogs
7+
- TypeScript, Rsbuild/Rslib/Rstest/Rslint, Oxfmt
8+
9+
## Commands
10+
11+
```bash
12+
# setup
13+
corepack enable && pnpm install
14+
15+
# dev checks
16+
pnpm lint
17+
pnpm test
18+
19+
# build / format / spelling
20+
pnpm build
21+
pnpm format
22+
pnpm check:format
23+
pnpm check:spell
24+
25+
# focused work
26+
pnpm --filter rstack build
27+
pnpm --filter rstack test
28+
```
29+
30+
## Testing
31+
32+
- Run `pnpm build` once before `pnpm test` command
33+
34+
## Project structure
35+
36+
```text
37+
packages/rstack/ # CLI package
38+
examples/* # example projects
39+
scripts/ # repo tooling
40+
```

0 commit comments

Comments
 (0)