This repo is a pnpm workspace monorepo. Public npm packages live in packages/* and are published in dependency order:
pnftrading_codei-corepnftrading_codeiBefore publishing, make sure you have:
npm login or NPM_TOKEN)Create a changeset for a package change:
pnpm changeset
Apply version bumps and changelog updates locally:
pnpm run version-packages
Run a full release verification:
pnpm run release:check
This command verifies that:
dist/README.mdworkspace:* dependency rangesRun a dry-run publish:
pnpm run release:publish:dry-run
This performs a local publish simulation:
release:checkpnpm publish commands that would runIt does not hit the npm registry, so you can use it safely on a dirty branch or before bumping versions.
Publish for real:
pnpm run release:publish
.github/workflows/release.yml uses changesets/action to open or update a release PR automatically on main.NPM_TOKEN repository secret with publish access to the unscoped pnftrading_codei* packages.release:publish runs release:check first.pnftrading_codei-core is available before adapters and pnftrading_codei.pnpm run release:check on pushes and pull requests to keep npm artifacts healthy.