Skip to content

Commit dbfe25d

Browse files
committed
Add AGENTS.md
1 parent 2406e13 commit dbfe25d

File tree

4 files changed

+167
-1230
lines changed

4 files changed

+167
-1230
lines changed

AGENTS.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
This is a monorepo containing XState, @xstate/store, and related packages.
2+
3+
## Dev environment
4+
5+
- Use pnpm to install dependencies
6+
7+
## PR instructions
8+
9+
- Run `pnpm test` to run the tests in all packages, only for changes that affect mulitple packages.
10+
- Run `pnpm test:core` to only run core XState tests.
11+
- Run `pnpm test:store` to only run @xstate/store tests.
12+
- Run `pnpm typecheck` to make sure that there are no type errors.
13+
- Before making a PR, run `pnpm changeset` to create a changeset with a short description of the changes, and a code example if applicable. Do not include implementation details; only pertinent details for developers using the package.

CLAUDE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
AGENTS.md

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
"happy-dom": "^17.4.4",
6969
"husky": "^3.1.0",
7070
"knip": "^5.27.0",
71-
"lint-staged": "^8.2.1",
71+
"lint-staged": "^16.2.7",
7272
"prettier": "^3.1.0",
7373
"prettier-plugin-jsdoc": "^1.3.0",
7474
"synckit": "^0.8.5",
@@ -82,7 +82,7 @@
8282
}
8383
},
8484
"lint-staged": {
85-
"*.{ts,tsx,js,jsx,json,md,mdx}": [
85+
"!(CLAUDE).{ts,tsx,js,jsx,json,md,mdx}": [
8686
"prettier --write",
8787
"git add"
8888
]

0 commit comments

Comments
 (0)