build: rules_nodejs 0.26.0 & use @npm instead of @ngdeps now that downstream angular build uses angular bundles (#28871)
PR Close #28871
This commit is contained in:

committed by
Andrew Kushnir

parent
cd83a43462
commit
ea09430039
@ -18,7 +18,7 @@ ts_library(
|
||||
"//packages:types",
|
||||
"//packages/compiler",
|
||||
"//packages/compiler-cli",
|
||||
"@ngdeps//typescript",
|
||||
"@npm//typescript",
|
||||
],
|
||||
)
|
||||
|
||||
@ -33,7 +33,7 @@ ts_library(
|
||||
":test_utils",
|
||||
"//packages/compiler",
|
||||
"//packages/compiler-cli",
|
||||
"@ngdeps//typescript",
|
||||
"@npm//typescript",
|
||||
],
|
||||
)
|
||||
|
||||
@ -53,7 +53,7 @@ jasmine_node_test(
|
||||
"//packages/common:npm_package",
|
||||
"//packages/core",
|
||||
"//tools/testing:node",
|
||||
"@ngdeps//minimist",
|
||||
"@npm//minimist",
|
||||
],
|
||||
)
|
||||
|
||||
@ -68,7 +68,7 @@ ts_library(
|
||||
":test_utils",
|
||||
"//packages/compiler",
|
||||
"//packages/compiler-cli",
|
||||
"@ngdeps//typescript",
|
||||
"@npm//typescript",
|
||||
],
|
||||
)
|
||||
|
||||
@ -91,9 +91,9 @@ jasmine_node_test(
|
||||
":ngc_lib",
|
||||
"//packages/core",
|
||||
"//tools/testing:node",
|
||||
"@ngdeps//minimist",
|
||||
"@ngdeps//rxjs",
|
||||
"@ngdeps//tsickle",
|
||||
"@npm//minimist",
|
||||
"@npm//rxjs",
|
||||
"@npm//tsickle",
|
||||
],
|
||||
)
|
||||
|
||||
@ -109,7 +109,7 @@ ts_library(
|
||||
"//packages/compiler",
|
||||
"//packages/compiler-cli",
|
||||
"//packages/private/testing",
|
||||
"@ngdeps//typescript",
|
||||
"@npm//typescript",
|
||||
],
|
||||
)
|
||||
|
||||
@ -138,7 +138,7 @@ ts_library(
|
||||
":test_utils",
|
||||
"//packages/compiler",
|
||||
"//packages/compiler-cli",
|
||||
"@ngdeps//typescript",
|
||||
"@npm//typescript",
|
||||
],
|
||||
)
|
||||
|
||||
|
@ -11,7 +11,7 @@ ts_library(
|
||||
"//packages/compiler",
|
||||
"//packages/compiler-cli",
|
||||
"//packages/compiler/test:test_utils",
|
||||
"@ngdeps//typescript",
|
||||
"@npm//typescript",
|
||||
],
|
||||
)
|
||||
|
||||
|
@ -12,7 +12,7 @@ ts_library(
|
||||
"//packages/compiler-cli",
|
||||
"//packages/compiler-cli/test:test_utils",
|
||||
"//packages/core",
|
||||
"@ngdeps//typescript",
|
||||
"@npm//typescript",
|
||||
],
|
||||
)
|
||||
|
||||
@ -25,7 +25,7 @@ ts_library(
|
||||
":mocks",
|
||||
"//packages/compiler-cli",
|
||||
"//packages/compiler-cli/test:test_utils",
|
||||
"@ngdeps//typescript",
|
||||
"@npm//typescript",
|
||||
],
|
||||
)
|
||||
|
||||
@ -60,7 +60,7 @@ ts_library(
|
||||
"//packages/compiler-cli",
|
||||
"//packages/compiler-cli/test:test_utils",
|
||||
"//packages/language-service",
|
||||
"@ngdeps//typescript",
|
||||
"@npm//typescript",
|
||||
],
|
||||
)
|
||||
|
||||
@ -96,7 +96,7 @@ ts_library(
|
||||
"//packages/compiler-cli/test:test_utils",
|
||||
"//packages/compiler/test:test_utils",
|
||||
"//packages/language-service",
|
||||
"@ngdeps//typescript",
|
||||
"@npm//typescript",
|
||||
],
|
||||
)
|
||||
|
||||
|
@ -10,7 +10,7 @@ ts_library(
|
||||
"//packages/compiler-cli",
|
||||
"//packages/compiler-cli/test:test_utils",
|
||||
"//packages/core",
|
||||
"@ngdeps//typescript",
|
||||
"@npm//typescript",
|
||||
],
|
||||
)
|
||||
|
||||
|
@ -10,7 +10,7 @@ ts_library(
|
||||
deps = [
|
||||
"//packages/compiler-cli/src/ngcc",
|
||||
"//packages/compiler-cli/test:test_utils",
|
||||
"@ngdeps//@types/mock-fs",
|
||||
"@npm//@types/mock-fs",
|
||||
],
|
||||
)
|
||||
|
||||
@ -24,10 +24,10 @@ jasmine_node_test(
|
||||
deps = [
|
||||
":ngcc_lib",
|
||||
"//tools/testing:node_no_angular",
|
||||
"@ngdeps//@types/mock-fs",
|
||||
"@ngdeps//canonical-path",
|
||||
"@ngdeps//convert-source-map",
|
||||
"@ngdeps//shelljs",
|
||||
"@ngdeps//yargs",
|
||||
"@npm//@types/mock-fs",
|
||||
"@npm//canonical-path",
|
||||
"@npm//convert-source-map",
|
||||
"@npm//shelljs",
|
||||
"@npm//yargs",
|
||||
],
|
||||
)
|
||||
|
@ -10,9 +10,9 @@ ts_library(
|
||||
"//packages/compiler-cli/src/ngtsc/routing",
|
||||
"//packages/compiler-cli/src/ngtsc/util",
|
||||
"//packages/compiler-cli/test:test_utils",
|
||||
"@ngdeps//@types/source-map",
|
||||
"@ngdeps//source-map",
|
||||
"@ngdeps//typescript",
|
||||
"@npm//@types/source-map",
|
||||
"@npm//source-map",
|
||||
"@npm//typescript",
|
||||
],
|
||||
)
|
||||
|
||||
@ -25,6 +25,6 @@ jasmine_node_test(
|
||||
deps = [
|
||||
":ngtsc_lib",
|
||||
"//tools/testing:node_no_angular",
|
||||
"@ngdeps//minimist",
|
||||
"@npm//minimist",
|
||||
],
|
||||
)
|
||||
|
@ -126,7 +126,7 @@ export function setupBazelTo(tmpDirPath: string) {
|
||||
({pkgPath, name}) => { fs.symlinkSync(pkgPath, path.join(angularDirectory, name), 'dir'); });
|
||||
|
||||
// Link typescript
|
||||
const typeScriptSource = resolveNpmTreeArtifact('ngdeps/node_modules/typescript');
|
||||
const typeScriptSource = resolveNpmTreeArtifact('npm/node_modules/typescript');
|
||||
const typescriptDest = path.join(nodeModulesPath, 'typescript');
|
||||
fs.symlinkSync(typeScriptSource, typescriptDest, 'dir');
|
||||
|
||||
|
@ -12,7 +12,7 @@ ts_library(
|
||||
"//packages/compiler/test:test_utils",
|
||||
"//packages/core",
|
||||
"//packages/platform-browser",
|
||||
"@ngdeps//typescript",
|
||||
"@npm//typescript",
|
||||
],
|
||||
)
|
||||
|
||||
@ -34,6 +34,6 @@ jasmine_node_test(
|
||||
":test_lib",
|
||||
"//packages/core",
|
||||
"//tools/testing:node",
|
||||
"@ngdeps//source-map",
|
||||
"@npm//source-map",
|
||||
],
|
||||
)
|
||||
|
Reference in New Issue
Block a user