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:
parent
a6153accf0
commit
21093b9090
@ -36,6 +36,7 @@ function addDevDependenciesToPackageJson(options: Schema) {
|
|||||||
const devDependencies: {[k: string]: string} = {
|
const devDependencies: {[k: string]: string} = {
|
||||||
'@angular/bazel': angularCoreVersion,
|
'@angular/bazel': angularCoreVersion,
|
||||||
// TODO(kyliau): Consider moving this to latest-versions.ts
|
// TODO(kyliau): Consider moving this to latest-versions.ts
|
||||||
|
'@bazel/bazel': '^0.21.0',
|
||||||
'@bazel/karma': '^0.22.0',
|
'@bazel/karma': '^0.22.0',
|
||||||
'@bazel/typescript': '^0.22.0',
|
'@bazel/typescript': '^0.22.0',
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user