NOTE: This repo is currently in the transition to the
bazel
build system. Onlybazel
developer information is documented here.
The repo uses bazel
for building. Best way to run bazel
is with bazelisk
which will automatically download and execute the right version of bazel
.
preferred way
brew install bazelisk
or
npm install -g @bazel/bazelisk
Bazel
will invoke NPM
and manage all dependencies.
NOTE:
Bazel
has an outstanding issue which fails to seepeerDependencies
Use--nocheck_visibility
to work around it for now.
bazel build packages/angular --nocheck_visibility
bazel run packages/angular:pkg.publish --nocheck_visibility -- --tag=next
Sample queries
bazel query 'packages/...' --output label
bazel query @nodejs//...
Bazel usually takes care of installing npm dependencies etc. So usually, there is no need to do npm install
. It is possible to run Bazel`s version of NPM like so:
bazel run @nodejs//:npm install
NOTE: Current working directory location determines which repo you install.