yarn
Build the app with the preferred config, beta is the canary release config with mainstream being mainstream release.
yarn build[beta:mainstream]
To watch for changes in the frontend
and web-extension
fire up two terminals and run:
yarn watch
in the first terminal
yarn dev:[chrome|firefox]
in the second terminal
The protos are generated automatically from the Vega repository in the js-protos repo. It polls for new Vega tags and generates a PR to review with all the protos changes contained. This workflow can also be run manually.
- (optional): Run the workflow to generate the protos manually
- Check over and if good then merge the generated PR in js-protos.
- Bump and tag the js-protos repo and publish this to npm
Dependabot will generate a PR if there are new protos, this only happens once a day. If you want to update the protos manually:
- Run
yarn update-protos
- Commit all the changes
Note: there is a postinstall script to regenerate some files after a yarn
is run. This happens automatically, and you don't need to do anything.