fix(dev-infra): update npm package subsitutions to reflect no longer having an imported workspace (#40785)

Update replacements of the `//dev-infra/` piece of bazel path segments to reference the `@npm//`
workspace rather than creating its own workspace.

PR Close #40785
This commit is contained in:
Joey Perrott 2021-02-10 10:27:59 -08:00
parent 2d7bc1d301
commit c22ae5d9b9
2 changed files with 1 additions and 7 deletions

View File

@ -48,7 +48,7 @@ pkg_npm(
substitutions = {
# angular/angular should not consume it's own packages, so we use
# substitutions to replace these in the published version of dev-infra.
"//dev-infra/": "@npm_angular_dev_infra_private//",
"//dev-infra/": "@npm//@angular/dev-infra-private/",
"//packages/benchpress": "@npm//@angular/benchpress",
"//packages/bazel": "@npm//@angular/bazel",
"//packages/zone.js/bundles:zone.umd.js": "@npm//:node_modules/zone.js/dist/zone.js",

View File

@ -53,11 +53,5 @@
"ts-node": {
"optional": true
}
},
"bazelWorkspaces": {
"npm_angular_dev_infra_private": {
"version": "0.0.0-PLACEHOLDER",
"rootPath": "."
}
}
}