NOTE: This repo is currently in the transition to the
bazelbuild system. Onlybazeldeveloper 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:
Bazelhas an outstanding issue which fails to seepeerDependenciesUse--nocheck_visibilityto 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.