angular/packages/bazel/src/builders
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
..
bazel.ts fix(bazel): Bazel builder resolves with require.resolve() (#28478) 2019-02-01 13:56:53 -05:00
BUILD.bazel fix(bazel): Set module_name and enable ng test (#27715) 2018-12-17 16:43:09 -08:00
builders.json feat(bazel): ng-new schematics with Bazel (#27277) 2018-12-03 14:38:23 -08:00
index.ts fix(bazel): Builder should invoke local bazel/iblaze (#28303) 2019-01-28 12:01:35 -08:00
schema.d.ts build(bazel): Add Bazel builders (#27141) 2018-11-21 07:46:42 -08:00
schema.json build(bazel): Add Bazel builders (#27141) 2018-11-21 07:46:42 -08:00