fix(bazel): Add @bazel/bazel to dev deps (#28032)

Project created by @angular/cli depends on Bazel at build time and
we should not assume that Bazel is available globally.
Instead, the project should specify an explicit dev dependency on
`@bazel/bazel`.

PR Close #28032
This commit is contained in:
Keen Yee Liau 2019-01-09 16:25:23 -08:00 committed by Andrew Kushnir
parent 4694c93315
commit 5a0deb8d69
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@ function addDevDependenciesToPackageJson(options: Schema) {
const devDependencies: {[k: string]: string} = {
'@angular/bazel': angularCoreVersion,
// TODO(kyliau): Consider moving this to latest-versions.ts
'@bazel/bazel': '^0.21.0',
'@bazel/karma': '^0.22.0',
'@bazel/typescript': '^0.22.0',
};