This is a monorepo containing XState, @xstate/store, and related packages.
- Use pnpm to install dependencies
- Run
pnpm testto run the tests in all packages, only for changes that affect mulitple packages. - Run
pnpm test:coreto only run core XState tests. - Run
pnpm test:storeto only run @xstate/store tests. - Run
pnpm typecheckto make sure that there are no type errors. - Before making a PR, run
pnpm changesetto 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.