Skip to content

Commit dc35828

Browse files
committed
Add AGENTS guidance
1 parent 779661a commit dc35828

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

AGENTS.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# Agent Instructions
2+
3+
This repository contains the public scripts for Simple Analytics. When making changes keep the following points in mind.
4+
5+
## Development
6+
7+
- Use **Node.js 22.16** (see `.nvmrc`).
8+
- Run `npm run build` to compile the scripts. This generates the files in `dist/` which should be committed.
9+
- Format code with Prettier before committing. You can run `npx prettier -w .`.
10+
- Execute `npm run test:unit` to run the unit tests.
11+
12+
## References
13+
14+
Most work happens in `src/` with `compile.js` creating the distributable versions. Read `README.md` for more details about contributing and running scripts locally.

0 commit comments

Comments
 (0)