Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 631 Bytes

File metadata and controls

42 lines (29 loc) · 631 Bytes

Contributing

Setup

pnpm install

Development

export SPLITS_API_KEY="<your_api_key>"

# Run locally via tsx
pnpm dev accounts list
pnpm dev transactions list --limit 5

Build

pnpm build

Release

# Patch release (0.0.1 -> 0.0.2)
pnpm release

# Minor or major
npm version minor && pnpm publish --access public
npm version major && pnpm publish --access public

npm version bumps package.json, creates a git commit, and tags it. The prepublishOnly script runs pnpm build automatically before publishing.

Preview what will be published:

npm pack --dry-run