Skip to content

Latest commit

 

History

History
42 lines (25 loc) · 885 Bytes

DEVELOPING.md

File metadata and controls

42 lines (25 loc) · 885 Bytes

Developing

IDE

To create node_modules, run bazel run tools/nodejs:install.

Format

To format, run bazel run :format.

To lint, run bazel run :lint.

Documentation

To generate documentation:

bazel run :doc

Node.js

To resolve additional Node.js versions, run bazel run :nodejs_resolve.

NPM

After updating package.json, run bazel run tools/npm:resolve to resolve the packages.

Bazel Pacakges

After creating or deleting Bazel packages, run bazel run :bazelrc_gen to update --deleted_packages, necessary for formatting and integration testing.

Bootstrapped JS

Some JS build products need to be boostrapped. They are checking into version control.

To refresh these, run bazel run :js_gen, which re-builds and copies them to source tree. If that breaks, you'll have to rollback to the last good state of the generated files.