Skip to content

Latest commit

 

History

History
59 lines (44 loc) · 801 Bytes

CONTRIBUTING.md

File metadata and controls

59 lines (44 loc) · 801 Bytes

Developing guide

Running locally

Setup:

npm i
cd example
npm i
npm run dev:convex -- --once

Run the frontend and backend:

npm run dev

Testing

rm -rf dist/ && npm run build
npm run typecheck
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
git push

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
git push --tags