Skip to content

Latest commit

 

History

History
42 lines (37 loc) · 1.07 KB

CONTRIBUTING.md

File metadata and controls

42 lines (37 loc) · 1.07 KB

Contributing

This is a guide for contributors.

How to dev

  • npm run build: Build for production
  • npm run lint: Run static-checking
  • npm run test: Run tests (except E2E tests)
  • npm run e2e: Run E2E tests

How to release

  • Wait for passing CI...
  • git switch main && git pull
  • rm -rf dist && npm run build
  • npm version <major|minor|patch>
    • If you want to release a pre-release version, use the following command instead:
      npm version <premajor|preminor|prepatch> --preid=<alpha|beta>
    • If you want to update the pre-release version, use the following command instead:
      npm version prerelease
  • npm publish
    • If you want to publish a pre-release version, use the following command instead:
      npm publish --tag=<alpha|beta>
  • git push --follow-tags
  • Update the version of the package in a playground