angular-docs-cn/integration/bazel-schematics
Keen Yee Liau 36902e2f0e fix(bazel): Bazel builder resolves with require.resolve() (#28478)
This commit fixes a bug in the Bazel builder in which the path to Bazel
executable is constructed using the project path. For non-default
project, the node_modules directory is actually one level above the
project path.

This PR fixes the bug by resolving node_modules with require.resolve().
It requires @bazel/bazel v0.22.1 because previous versions do not have
index.js or main field in package.json and would cause node module
resolution to fail.

This has been tested with both bazel and ibazel.

PR Close #28478
2019-02-01 13:56:53 -05:00
..
angular.json.original test(bazel): Integration test for Sass support (#28297) 2019-01-28 20:01:18 -08:00
package.json test(bazel): Use local_repository to load Angular (#28061) 2019-01-11 16:19:59 -08:00
package.json.replace fix(bazel): Fix integration test after v8 bump (#28194) 2019-01-16 16:09:58 -08:00
replace_angular_repo.js test(bazel): Use local_repository to load Angular (#28061) 2019-01-11 16:19:59 -08:00
test.sh fix(bazel): Bazel builder resolves with require.resolve() (#28478) 2019-02-01 13:56:53 -05:00
yarn.lock fix(bazel): Bazel builder resolves with require.resolve() (#28478) 2019-02-01 13:56:53 -05:00