Files
polar/CONTRIBUTING.md
Shawn Erquhart 2eaff5e77f wip
2024-10-31 17:35:23 -04:00

713 B

Developing guide

Running locally

npm i
cd example
npm i
npx convex dev

Testing

rm -rf dist/ && npm run build
npm run typecheck
npm run test
cd example
npm run lint
cd ..

Deploying

Building a one-off package

rm -rf dist/ && npm run build
npm pack

Deploying a new version

# this will change the version and commit it (if you run it in the root directory)
npm version patch
npm publish --dry-run
# sanity check files being included
npm publish
git push --tags

Alpha release

The same as above, but it requires extra flags so the release is only installed with @alpha:

npm version prerelease --preid alpha
npm publish --tag alpha