diff --git a/BUILD.bazel b/BUILD.bazel index 9555ade0455e..9e4fda1bd0b7 100644 --- a/BUILD.bazel +++ b/BUILD.bazel @@ -22,16 +22,14 @@ exports_files([ "package.json", ]) -npm_link_all_packages( - name = "root_modules", -) +npm_link_all_packages() rules_js_tsconfig( name = "build-tsconfig", src = "tsconfig-build.json", deps = [ "tsconfig.json", - "//:root_modules/@types/node", + "//:node_modules/@types/node", ], ) @@ -48,8 +46,8 @@ rules_js_tsconfig( src = "tsconfig-test.json", deps = [ "tsconfig.json", - "//:root_modules/@types/jasmine", - "//:root_modules/@types/node", + "//:node_modules/@types/jasmine", + "//:node_modules/@types/node", ], ) diff --git a/modules/testing/builder/BUILD.bazel b/modules/testing/builder/BUILD.bazel index 1e0cbcbf33cb..7cd6a253890f 100644 --- a/modules/testing/builder/BUILD.bazel +++ b/modules/testing/builder/BUILD.bazel @@ -16,7 +16,7 @@ ts_project( ), data = glob(["projects/**/*"]), deps = [ - "//:root_modules/rxjs", + "//:node_modules/rxjs", "//packages/angular_devkit/architect:architect_rjs", "//packages/angular_devkit/architect/node:node_rjs", "//packages/angular_devkit/architect/testing:testing_rjs", diff --git a/packages/angular/build/BUILD.bazel b/packages/angular/build/BUILD.bazel index 9f2e2452543f..1d5fc6434982 100644 --- a/packages/angular/build/BUILD.bazel +++ b/packages/angular/build/BUILD.bazel @@ -61,49 +61,49 @@ ts_project( data = RUNTIME_ASSETS, module_name = "@angular/build", deps = [ - "//:root_modules/@ampproject/remapping", - "//:root_modules/@angular/common", - "//:root_modules/@angular/compiler", - "//:root_modules/@angular/compiler-cli", - "//:root_modules/@angular/core", - "//:root_modules/@angular/localize", - "//:root_modules/@angular/platform-server", - "//:root_modules/@angular/service-worker", - "//:root_modules/@babel/core", - "//:root_modules/@babel/helper-annotate-as-pure", - "//:root_modules/@babel/helper-split-export-declaration", - "//:root_modules/@babel/plugin-syntax-import-attributes", - "//:root_modules/@inquirer/confirm", - "//:root_modules/@types/babel__core", - "//:root_modules/@types/less", - "//:root_modules/@types/node", - "//:root_modules/@types/picomatch", - "//:root_modules/@types/semver", - "//:root_modules/@types/watchpack", - "//:root_modules/@vitejs/plugin-basic-ssl", - "//:root_modules/beasties", - "//:root_modules/browserslist", - "//:root_modules/esbuild", - "//:root_modules/esbuild-wasm", - "//:root_modules/fast-glob", - "//:root_modules/https-proxy-agent", - "//:root_modules/jsonc-parser", - "//:root_modules/listr2", - "//:root_modules/lmdb", - "//:root_modules/magic-string", - "//:root_modules/mrmime", - "//:root_modules/ng-packagr", - "//:root_modules/parse5-html-rewriting-stream", - "//:root_modules/picomatch", - "//:root_modules/piscina", - "//:root_modules/postcss", - "//:root_modules/rollup", - "//:root_modules/sass", - "//:root_modules/semver", - "//:root_modules/tslib", - "//:root_modules/typescript", - "//:root_modules/vite", - "//:root_modules/watchpack", + "//:node_modules/@ampproject/remapping", + "//:node_modules/@angular/common", + "//:node_modules/@angular/compiler", + "//:node_modules/@angular/compiler-cli", + "//:node_modules/@angular/core", + "//:node_modules/@angular/localize", + "//:node_modules/@angular/platform-server", + "//:node_modules/@angular/service-worker", + "//:node_modules/@babel/core", + "//:node_modules/@babel/helper-annotate-as-pure", + "//:node_modules/@babel/helper-split-export-declaration", + "//:node_modules/@babel/plugin-syntax-import-attributes", + "//:node_modules/@inquirer/confirm", + "//:node_modules/@types/babel__core", + "//:node_modules/@types/less", + "//:node_modules/@types/node", + "//:node_modules/@types/picomatch", + "//:node_modules/@types/semver", + "//:node_modules/@types/watchpack", + "//:node_modules/@vitejs/plugin-basic-ssl", + "//:node_modules/beasties", + "//:node_modules/browserslist", + "//:node_modules/esbuild", + "//:node_modules/esbuild-wasm", + "//:node_modules/fast-glob", + "//:node_modules/https-proxy-agent", + "//:node_modules/jsonc-parser", + "//:node_modules/listr2", + "//:node_modules/lmdb", + "//:node_modules/magic-string", + "//:node_modules/mrmime", + "//:node_modules/ng-packagr", + "//:node_modules/parse5-html-rewriting-stream", + "//:node_modules/picomatch", + "//:node_modules/piscina", + "//:node_modules/postcss", + "//:node_modules/rollup", + "//:node_modules/sass", + "//:node_modules/semver", + "//:node_modules/tslib", + "//:node_modules/typescript", + "//:node_modules/vite", + "//:node_modules/watchpack", "//packages/angular/ssr:ssr_rjs", "//packages/angular/ssr/node:node_rjs", "//packages/angular_devkit/architect:architect_rjs", @@ -119,11 +119,11 @@ ts_project( ), deps = [ ":build_rjs", - "//:root_modules/@angular/compiler-cli", - "//:root_modules/@babel/core", - "//:root_modules/@types/jasmine", - "//:root_modules/prettier", - "//:root_modules/typescript", + "//:node_modules/@angular/compiler-cli", + "//:node_modules/@babel/core", + "//:node_modules/@types/jasmine", + "//:node_modules/prettier", + "//:node_modules/typescript", "//packages/angular/build/private:private_rjs", "//packages/angular_devkit/core:core_rjs", "//packages/angular_devkit/core/node:node_rjs", @@ -150,18 +150,18 @@ ts_project( "//packages/angular_devkit/core/node:node_rjs", # Base dependencies for the application in hello-world-app. - "//:root_modules/@angular/common", - "//:root_modules/@angular/compiler", - "//:root_modules/@angular/compiler-cli", - "//:root_modules/@angular/core", - "//:root_modules/@angular/platform-browser", - "//:root_modules/@angular/platform-browser-dynamic", - "//:root_modules/@angular/router", - "//:root_modules/rxjs", - "//:root_modules/tslib", - "//:root_modules/typescript", - "//:root_modules/zone.js", - "//:root_modules/buffer", + "//:node_modules/@angular/common", + "//:node_modules/@angular/compiler", + "//:node_modules/@angular/compiler-cli", + "//:node_modules/@angular/core", + "//:node_modules/@angular/platform-browser", + "//:node_modules/@angular/platform-browser-dynamic", + "//:node_modules/@angular/router", + "//:node_modules/rxjs", + "//:node_modules/tslib", + "//:node_modules/typescript", + "//:node_modules/zone.js", + "//:node_modules/buffer", ], ) @@ -180,24 +180,24 @@ ts_project( "//packages/angular_devkit/core/node:node_rjs", # dev server only test deps - "//:root_modules/@types/http-proxy", - "//:root_modules/http-proxy", - "//:root_modules/puppeteer", + "//:node_modules/@types/http-proxy", + "//:node_modules/http-proxy", + "//:node_modules/puppeteer", # Base dependencies for the application in hello-world-app. - "//:root_modules/@angular/common", - "//:root_modules/@angular/compiler", - "//:root_modules/@angular/compiler-cli", - "//:root_modules/@angular/core", - "//:root_modules/@angular/platform-browser", - "//:root_modules/@angular/platform-browser-dynamic", - "//:root_modules/@angular/router", - "//:root_modules/ng-packagr", - "//:root_modules/rxjs", - "//:root_modules/tslib", - "//:root_modules/typescript", - "//:root_modules/zone.js", - "//:root_modules/buffer", + "//:node_modules/@angular/common", + "//:node_modules/@angular/compiler", + "//:node_modules/@angular/compiler-cli", + "//:node_modules/@angular/core", + "//:node_modules/@angular/platform-browser", + "//:node_modules/@angular/platform-browser-dynamic", + "//:node_modules/@angular/router", + "//:node_modules/ng-packagr", + "//:node_modules/rxjs", + "//:node_modules/tslib", + "//:node_modules/typescript", + "//:node_modules/zone.js", + "//:node_modules/buffer", ], ) diff --git a/packages/angular/cli/BUILD.bazel b/packages/angular/cli/BUILD.bazel index dc960bb8276b..5a48ad9adbed 100644 --- a/packages/angular/cli/BUILD.bazel +++ b/packages/angular/cli/BUILD.bazel @@ -43,26 +43,26 @@ ts_project( data = RUNTIME_ASSETS, module_name = "@angular/cli", deps = [ - "//:root_modules/@angular/core", - "//:root_modules/@inquirer/prompts", - "//:root_modules/@listr2/prompt-adapter-inquirer", - "//:root_modules/@types/ini", - "//:root_modules/@types/node", - "//:root_modules/@types/npm-package-arg", - "//:root_modules/@types/pacote", - "//:root_modules/@types/resolve", - "//:root_modules/@types/semver", - "//:root_modules/@types/yargs", - "//:root_modules/@types/yarnpkg__lockfile", - "//:root_modules/@yarnpkg/lockfile", - "//:root_modules/ini", - "//:root_modules/jsonc-parser", - "//:root_modules/listr2", - "//:root_modules/npm-package-arg", - "//:root_modules/npm-pick-manifest", - "//:root_modules/pacote", - "//:root_modules/semver", - "//:root_modules/yargs", + "//:node_modules/@angular/core", + "//:node_modules/@inquirer/prompts", + "//:node_modules/@listr2/prompt-adapter-inquirer", + "//:node_modules/@types/ini", + "//:node_modules/@types/node", + "//:node_modules/@types/npm-package-arg", + "//:node_modules/@types/pacote", + "//:node_modules/@types/resolve", + "//:node_modules/@types/semver", + "//:node_modules/@types/yargs", + "//:node_modules/@types/yarnpkg__lockfile", + "//:node_modules/@yarnpkg/lockfile", + "//:node_modules/ini", + "//:node_modules/jsonc-parser", + "//:node_modules/listr2", + "//:node_modules/npm-package-arg", + "//:node_modules/npm-pick-manifest", + "//:node_modules/pacote", + "//:node_modules/semver", + "//:node_modules/yargs", "//packages/angular_devkit/architect:architect_rjs", "//packages/angular_devkit/architect/node:node_rjs", "//packages/angular_devkit/core:core_rjs", @@ -140,8 +140,8 @@ ts_project( ), deps = [ ":angular-cli_rjs", - "//:root_modules/@types/semver", - "//:root_modules/@types/yargs", + "//:node_modules/@types/semver", + "//:node_modules/@types/yargs", "//packages/angular_devkit/core:core_rjs", "//packages/angular_devkit/schematics:schematics_rjs", "//packages/angular_devkit/schematics/testing:testing_rjs", diff --git a/packages/angular/create/BUILD.bazel b/packages/angular/create/BUILD.bazel index b2592c2ea56d..f472c44f7b15 100644 --- a/packages/angular/create/BUILD.bazel +++ b/packages/angular/create/BUILD.bazel @@ -24,7 +24,7 @@ ts_project( data = RUNTIME_ASSETS, module_name = "@angular/create", deps = [ - "//:root_modules/@types/node", + "//:node_modules/@types/node", "//packages/angular/cli:angular-cli", ], ) diff --git a/packages/angular/pwa/BUILD.bazel b/packages/angular/pwa/BUILD.bazel index 5750a6c0d3d9..e514bf080ea5 100644 --- a/packages/angular/pwa/BUILD.bazel +++ b/packages/angular/pwa/BUILD.bazel @@ -32,8 +32,8 @@ ts_project( data = RUNTIME_ASSETS, module_name = "@angular/pwa", deps = [ - "//:root_modules/@types/node", - "//:root_modules/parse5-html-rewriting-stream", + "//:node_modules/@types/node", + "//:node_modules/parse5-html-rewriting-stream", "//packages/angular_devkit/schematics:schematics_rjs", "//packages/schematics/angular:angular_rjs", ], @@ -50,7 +50,7 @@ ts_project( srcs = glob(["pwa/**/*_spec.ts"]), deps = [ ":pwa_rjs", - "//:root_modules/@types/jasmine", + "//:node_modules/@types/jasmine", "//packages/angular_devkit/schematics/testing:testing_rjs", ], ) diff --git a/packages/angular/ssr/BUILD.bazel b/packages/angular/ssr/BUILD.bazel index 219efba32c96..9322e5678a23 100644 --- a/packages/angular/ssr/BUILD.bazel +++ b/packages/angular/ssr/BUILD.bazel @@ -27,11 +27,11 @@ ts_project( source_map = True, tsconfig = "//:build-tsconfig-angular", deps = [ - "//:root_modules/@angular/common", - "//:root_modules/@angular/core", - "//:root_modules/@angular/platform-server", - "//:root_modules/@angular/router", - "//:root_modules/tslib", + "//:node_modules/@angular/common", + "//:node_modules/@angular/core", + "//:node_modules/@angular/platform-server", + "//:node_modules/@angular/router", + "//:node_modules/tslib", "//packages/angular/ssr/third_party/beasties:beasties_dts", ], ) diff --git a/packages/angular/ssr/node/BUILD.bazel b/packages/angular/ssr/node/BUILD.bazel index 6623c0b78530..387045f7a733 100644 --- a/packages/angular/ssr/node/BUILD.bazel +++ b/packages/angular/ssr/node/BUILD.bazel @@ -18,9 +18,9 @@ ts_project( source_map = True, tsconfig = "//:build-tsconfig-angular", deps = [ - "//:root_modules/@angular/core", - "//:root_modules/@angular/platform-server", - "//:root_modules/@types/node", + "//:node_modules/@angular/core", + "//:node_modules/@angular/platform-server", + "//:node_modules/@types/node", "//packages/angular/ssr:ssr_rjs", ], ) diff --git a/packages/angular/ssr/test/BUILD.bazel b/packages/angular/ssr/test/BUILD.bazel index 0d232a66981b..b570aa7d1184 100644 --- a/packages/angular/ssr/test/BUILD.bazel +++ b/packages/angular/ssr/test/BUILD.bazel @@ -9,12 +9,12 @@ ts_project( include = ["**/*.ts"], ), deps = [ - "//:root_modules/@angular/common", - "//:root_modules/@angular/compiler", - "//:root_modules/@angular/core", - "//:root_modules/@angular/platform-browser", - "//:root_modules/@angular/platform-server", - "//:root_modules/@angular/router", + "//:node_modules/@angular/common", + "//:node_modules/@angular/compiler", + "//:node_modules/@angular/core", + "//:node_modules/@angular/platform-browser", + "//:node_modules/@angular/platform-server", + "//:node_modules/@angular/router", "//packages/angular/ssr:ssr_rjs", ], ) diff --git a/packages/angular/ssr/test/npm_package/BUILD.bazel b/packages/angular/ssr/test/npm_package/BUILD.bazel index a30cc33e155a..1d70ce85370e 100644 --- a/packages/angular/ssr/test/npm_package/BUILD.bazel +++ b/packages/angular/ssr/test/npm_package/BUILD.bazel @@ -8,7 +8,7 @@ ts_project( testonly = True, srcs = glob(["**/*.ts"]), deps = [ - "//:root_modules/@bazel/runfiles", + "//:node_modules/@bazel/runfiles", ], ) diff --git a/packages/angular/ssr/third_party/beasties/BUILD.bazel b/packages/angular/ssr/third_party/beasties/BUILD.bazel index cebfaffa1639..b9623ec316ac 100644 --- a/packages/angular/ssr/third_party/beasties/BUILD.bazel +++ b/packages/angular/ssr/third_party/beasties/BUILD.bazel @@ -9,7 +9,7 @@ js_library( "index.d.ts", ], deps = [ - "//:root_modules/beasties", + "//:node_modules/beasties", ], ) @@ -19,7 +19,7 @@ js_library( ":bundled_beasties_files", ], deps = [ - "//:root_modules/beasties", + "//:node_modules/beasties", ], ) diff --git a/packages/angular_devkit/architect/BUILD.bazel b/packages/angular_devkit/architect/BUILD.bazel index 33f3e399983e..3401124c1946 100644 --- a/packages/angular_devkit/architect/BUILD.bazel +++ b/packages/angular_devkit/architect/BUILD.bazel @@ -66,8 +66,8 @@ ts_project( data = JSON_FILES, module_name = "@angular-devkit/architect", deps = [ - "//:root_modules/@types/node", - "//:root_modules/rxjs", + "//:node_modules/@types/node", + "//:node_modules/rxjs", "//packages/angular_devkit/core:core_rjs", "//packages/angular_devkit/core/node:node_rjs", ], @@ -79,8 +79,8 @@ ts_project( srcs = glob(["src/**/*_spec.ts"]), deps = [ ":architect_rjs", - "//:root_modules/@types/jasmine", - "//:root_modules/rxjs", + "//:node_modules/@types/jasmine", + "//:node_modules/rxjs", "//packages/angular_devkit/architect/testing:testing_rjs", "//packages/angular_devkit/core:core_rjs", ], diff --git a/packages/angular_devkit/architect/node/BUILD.bazel b/packages/angular_devkit/architect/node/BUILD.bazel index 6b5440ade444..e263c3ec3d7e 100644 --- a/packages/angular_devkit/architect/node/BUILD.bazel +++ b/packages/angular_devkit/architect/node/BUILD.bazel @@ -18,8 +18,8 @@ ts_project( ), module_name = "@angular-devkit/architect/node", deps = [ - "//:root_modules/@types/node", - "//:root_modules/rxjs", + "//:node_modules/@types/node", + "//:node_modules/rxjs", "//packages/angular_devkit/architect:architect_rjs", "//packages/angular_devkit/core:core_rjs", "//packages/angular_devkit/core/node:node_rjs", @@ -36,8 +36,8 @@ ts_project( ), deps = [ ":node_rjs", - "//:root_modules/@types/jasmine", - "//:root_modules/rxjs", + "//:node_modules/@types/jasmine", + "//:node_modules/rxjs", "//packages/angular_devkit/architect:architect_rjs", "//tests/angular_devkit/architect/node/jobs:jobs_test_lib_rjs", ], diff --git a/packages/angular_devkit/architect/testing/BUILD.bazel b/packages/angular_devkit/architect/testing/BUILD.bazel index ffe76eb63200..a6dc372c3d1f 100644 --- a/packages/angular_devkit/architect/testing/BUILD.bazel +++ b/packages/angular_devkit/architect/testing/BUILD.bazel @@ -17,8 +17,8 @@ ts_project( ), module_name = "@angular-devkit/architect/testing", deps = [ - "//:root_modules/@types/node", - "//:root_modules/rxjs", + "//:node_modules/@types/node", + "//:node_modules/rxjs", "//packages/angular_devkit/architect:architect_rjs", "//packages/angular_devkit/core:core_rjs", "//packages/angular_devkit/core/node:node_rjs", diff --git a/packages/angular_devkit/architect_cli/BUILD.bazel b/packages/angular_devkit/architect_cli/BUILD.bazel index 636c07160582..8a8350cdcb52 100644 --- a/packages/angular_devkit/architect_cli/BUILD.bazel +++ b/packages/angular_devkit/architect_cli/BUILD.bazel @@ -15,10 +15,10 @@ ts_project( ] + glob(["src/**/*.ts"]), module_name = "@angular-devkit/architect-cli", deps = [ - "//:root_modules/@types/node", - "//:root_modules/@types/progress", - "//:root_modules/@types/yargs-parser", - "//:root_modules/ansi-colors", + "//:node_modules/@types/node", + "//:node_modules/@types/progress", + "//:node_modules/@types/yargs-parser", + "//:node_modules/ansi-colors", "//packages/angular_devkit/architect:architect_rjs", "//packages/angular_devkit/architect/node:node_rjs", "//packages/angular_devkit/core:core_rjs", diff --git a/packages/angular_devkit/build_angular/BUILD.bazel b/packages/angular_devkit/build_angular/BUILD.bazel index 38c2f723c3d0..50f6386f0e3f 100644 --- a/packages/angular_devkit/build_angular/BUILD.bazel +++ b/packages/angular_devkit/build_angular/BUILD.bazel @@ -122,77 +122,77 @@ ts_project( data = RUNTIME_ASSETS, module_name = "@angular-devkit/build-angular", deps = [ - "//:root_modules/@ampproject/remapping", - "//:root_modules/@angular/common", - "//:root_modules/@angular/compiler-cli", - "//:root_modules/@angular/core", - "//:root_modules/@angular/localize", - "//:root_modules/@angular/platform-server", - "//:root_modules/@angular/service-worker", - "//:root_modules/@babel/core", - "//:root_modules/@babel/generator", - "//:root_modules/@babel/helper-annotate-as-pure", - "//:root_modules/@babel/helper-split-export-declaration", - "//:root_modules/@babel/plugin-transform-async-generator-functions", - "//:root_modules/@babel/plugin-transform-async-to-generator", - "//:root_modules/@babel/plugin-transform-runtime", - "//:root_modules/@babel/preset-env", - "//:root_modules/@babel/runtime", - "//:root_modules/@discoveryjs/json-ext", - "//:root_modules/@types/babel__core", - "//:root_modules/@types/babel__generator", - "//:root_modules/@types/browser-sync", - "//:root_modules/@types/karma", - "//:root_modules/@types/less", - "//:root_modules/@types/loader-utils", - "//:root_modules/@types/node", - "//:root_modules/@types/picomatch", - "//:root_modules/@types/semver", - "//:root_modules/@types/watchpack", - "//:root_modules/@vitejs/plugin-basic-ssl", - "//:root_modules/@web/test-runner", - "//:root_modules/ajv", - "//:root_modules/ansi-colors", - "//:root_modules/autoprefixer", - "//:root_modules/babel-loader", - "//:root_modules/browserslist", - "//:root_modules/copy-webpack-plugin", - "//:root_modules/css-loader", - "//:root_modules/esbuild", - "//:root_modules/esbuild-wasm", - "//:root_modules/fast-glob", - "//:root_modules/http-proxy-middleware", - "//:root_modules/istanbul-lib-instrument", - "//:root_modules/jsonc-parser", - "//:root_modules/karma", - "//:root_modules/karma-source-map-support", - "//:root_modules/less", - "//:root_modules/less-loader", - "//:root_modules/license-webpack-plugin", - "//:root_modules/loader-utils", - "//:root_modules/mini-css-extract-plugin", - "//:root_modules/ng-packagr", - "//:root_modules/open", - "//:root_modules/ora", - "//:root_modules/piscina", - "//:root_modules/postcss", - "//:root_modules/postcss-loader", - "//:root_modules/resolve-url-loader", - "//:root_modules/rxjs", - "//:root_modules/sass", - "//:root_modules/sass-loader", - "//:root_modules/semver", - "//:root_modules/source-map-loader", - "//:root_modules/source-map-support", - "//:root_modules/terser", - "//:root_modules/tree-kill", - "//:root_modules/tslib", - "//:root_modules/typescript", - "//:root_modules/webpack", - "//:root_modules/webpack-dev-middleware", - "//:root_modules/webpack-dev-server", - "//:root_modules/webpack-merge", - "//:root_modules/webpack-subresource-integrity", + "//:node_modules/@ampproject/remapping", + "//:node_modules/@angular/common", + "//:node_modules/@angular/compiler-cli", + "//:node_modules/@angular/core", + "//:node_modules/@angular/localize", + "//:node_modules/@angular/platform-server", + "//:node_modules/@angular/service-worker", + "//:node_modules/@babel/core", + "//:node_modules/@babel/generator", + "//:node_modules/@babel/helper-annotate-as-pure", + "//:node_modules/@babel/helper-split-export-declaration", + "//:node_modules/@babel/plugin-transform-async-generator-functions", + "//:node_modules/@babel/plugin-transform-async-to-generator", + "//:node_modules/@babel/plugin-transform-runtime", + "//:node_modules/@babel/preset-env", + "//:node_modules/@babel/runtime", + "//:node_modules/@discoveryjs/json-ext", + "//:node_modules/@types/babel__core", + "//:node_modules/@types/babel__generator", + "//:node_modules/@types/browser-sync", + "//:node_modules/@types/karma", + "//:node_modules/@types/less", + "//:node_modules/@types/loader-utils", + "//:node_modules/@types/node", + "//:node_modules/@types/picomatch", + "//:node_modules/@types/semver", + "//:node_modules/@types/watchpack", + "//:node_modules/@vitejs/plugin-basic-ssl", + "//:node_modules/@web/test-runner", + "//:node_modules/ajv", + "//:node_modules/ansi-colors", + "//:node_modules/autoprefixer", + "//:node_modules/babel-loader", + "//:node_modules/browserslist", + "//:node_modules/copy-webpack-plugin", + "//:node_modules/css-loader", + "//:node_modules/esbuild", + "//:node_modules/esbuild-wasm", + "//:node_modules/fast-glob", + "//:node_modules/http-proxy-middleware", + "//:node_modules/istanbul-lib-instrument", + "//:node_modules/jsonc-parser", + "//:node_modules/karma", + "//:node_modules/karma-source-map-support", + "//:node_modules/less", + "//:node_modules/less-loader", + "//:node_modules/license-webpack-plugin", + "//:node_modules/loader-utils", + "//:node_modules/mini-css-extract-plugin", + "//:node_modules/ng-packagr", + "//:node_modules/open", + "//:node_modules/ora", + "//:node_modules/piscina", + "//:node_modules/postcss", + "//:node_modules/postcss-loader", + "//:node_modules/resolve-url-loader", + "//:node_modules/rxjs", + "//:node_modules/sass", + "//:node_modules/sass-loader", + "//:node_modules/semver", + "//:node_modules/source-map-loader", + "//:node_modules/source-map-support", + "//:node_modules/terser", + "//:node_modules/tree-kill", + "//:node_modules/tslib", + "//:node_modules/typescript", + "//:node_modules/webpack", + "//:node_modules/webpack-dev-middleware", + "//:node_modules/webpack-dev-server", + "//:node_modules/webpack-merge", + "//:node_modules/webpack-subresource-integrity", "//packages/angular/build:build_rjs", "//packages/angular/build/private:private_rjs", "//packages/angular/ssr:ssr_rjs", @@ -219,10 +219,10 @@ ts_project( deps = [ ":build_angular_rjs", ":build_angular_test_utils_rjs", - "//:root_modules/fast-glob", - "//:root_modules/prettier", - "//:root_modules/typescript", - "//:root_modules/webpack", + "//:node_modules/fast-glob", + "//:node_modules/prettier", + "//:node_modules/typescript", + "//:node_modules/webpack", "//packages/angular_devkit/architect/testing:testing_rjs", "//packages/angular_devkit/core:core_rjs", ], @@ -287,7 +287,7 @@ ts_project( data = glob(["test/**/*"]), deps = [ ":build_angular_rjs", - "//:root_modules/@types/jasmine", + "//:node_modules/@types/jasmine", "//modules/testing/builder:builder_rjs", "//packages/angular/build:build_rjs", "//packages/angular/build/private:private_rjs", @@ -308,10 +308,10 @@ LARGE_SPECS = { "flaky": True, "extra_deps": [ "//packages/angular_devkit/build_webpack:build_webpack_rjs", - "//:root_modules/@types/http-proxy", - "//:root_modules/http-proxy", - "//:root_modules/puppeteer", - "//:root_modules/undici", + "//:node_modules/@types/http-proxy", + "//:node_modules/http-proxy", + "//:node_modules/puppeteer", + "//:node_modules/undici", ], }, "extract-i18n": {}, @@ -320,21 +320,21 @@ LARGE_SPECS = { "size": "large", "flaky": True, "extra_deps": [ - "//:root_modules/karma", - "//:root_modules/karma-chrome-launcher", - "//:root_modules/karma-coverage", - "//:root_modules/karma-jasmine", - "//:root_modules/karma-jasmine-html-reporter", - "//:root_modules/puppeteer", - "//:root_modules/webpack", + "//:node_modules/karma", + "//:node_modules/karma-chrome-launcher", + "//:node_modules/karma-coverage", + "//:node_modules/karma-jasmine", + "//:node_modules/karma-jasmine-html-reporter", + "//:node_modules/puppeteer", + "//:node_modules/webpack", ], }, "protractor": { "extra_deps": [ - "//:root_modules/jasmine-spec-reporter", - "//:root_modules/protractor", - "//:root_modules/puppeteer", - "//:root_modules/ts-node", + "//:node_modules/jasmine-spec-reporter", + "//:node_modules/protractor", + "//:node_modules/puppeteer", + "//:node_modules/ts-node", ], # NB: does not run on rbe because webdriver manager uses an absolute path to chromedriver "tags": ["no-remote-exec"], @@ -344,7 +344,7 @@ LARGE_SPECS = { "server": { "size": "large", "extra_deps": [ - "//:root_modules/@angular/animations", + "//:node_modules/@angular/animations", ], }, "ng-packagr": {}, @@ -353,8 +353,8 @@ LARGE_SPECS = { "size": "large", "flaky": True, "extra_deps": [ - "//:root_modules/@angular/animations", - "//:root_modules/@angular/material", + "//:node_modules/@angular/animations", + "//:node_modules/@angular/material", ], }, "prerender": {}, @@ -362,10 +362,10 @@ LARGE_SPECS = { "ssr-dev-server": { "extra_deps": [ "//packages/angular/ssr/node:node_rjs", - "//:root_modules/@types/browser-sync", - "//:root_modules/browser-sync", - "//:root_modules/express", - "//:root_modules/undici", + "//:node_modules/@types/browser-sync", + "//:node_modules/browser-sync", + "//:node_modules/express", + "//:node_modules/undici", ], }, } @@ -390,18 +390,18 @@ LARGE_SPECS = { # Base dependencies for the application in hello-world-app. # Some tests also require extra dependencies. - "//:root_modules/@angular/common", - "//:root_modules/@angular/compiler", - "//:root_modules/@angular/compiler-cli", - "//:root_modules/@angular/core", - "//:root_modules/@angular/platform-browser", - "//:root_modules/@angular/platform-browser-dynamic", - "//:root_modules/@angular/router", - "//:root_modules/rxjs", - "//:root_modules/tslib", - "//:root_modules/typescript", - "//:root_modules/zone.js", - "//:root_modules/@types/jasmine", + "//:node_modules/@angular/common", + "//:node_modules/@angular/compiler", + "//:node_modules/@angular/compiler-cli", + "//:node_modules/@angular/core", + "//:node_modules/@angular/platform-browser", + "//:node_modules/@angular/platform-browser-dynamic", + "//:node_modules/@angular/router", + "//:node_modules/rxjs", + "//:node_modules/tslib", + "//:node_modules/typescript", + "//:node_modules/zone.js", + "//:node_modules/@types/jasmine", ] + LARGE_SPECS[spec].get("extra_deps", []), ) for spec in LARGE_SPECS diff --git a/packages/angular_devkit/build_webpack/BUILD.bazel b/packages/angular_devkit/build_webpack/BUILD.bazel index 76867daf288c..5b5eeba2aa15 100644 --- a/packages/angular_devkit/build_webpack/BUILD.bazel +++ b/packages/angular_devkit/build_webpack/BUILD.bazel @@ -45,10 +45,10 @@ ts_project( data = RUNTIME_ASSETS, module_name = "@angular-devkit/build-webpack", deps = [ - "//:root_modules/@types/node", - "//:root_modules/rxjs", - "//:root_modules/webpack", - "//:root_modules/webpack-dev-server", + "//:node_modules/@types/node", + "//:node_modules/rxjs", + "//:node_modules/webpack", + "//:node_modules/webpack-dev-server", "//packages/angular_devkit/architect:architect_rjs", ], ) @@ -68,7 +68,7 @@ ts_project( ), deps = [ ":build_webpack_rjs", - "//:root_modules/@types/jasmine", + "//:node_modules/@types/jasmine", "//packages/angular_devkit/architect:architect_rjs", "//packages/angular_devkit/architect/node:node_rjs", "//packages/angular_devkit/architect/testing:testing_rjs", @@ -82,14 +82,14 @@ jasmine_node_test( name = "build_webpack_test", srcs = [":build_webpack_test_lib"], data = [ - "//:root_modules/@angular/common", - "//:root_modules/@angular/compiler", - "//:root_modules/@angular/compiler-cli", - "//:root_modules/@angular/core", - "//:root_modules/@angular/platform-browser", - "//:root_modules/@angular/platform-browser-dynamic", - "//:root_modules/tslib", - "//:root_modules/zone.js", + "//:node_modules/@angular/common", + "//:node_modules/@angular/compiler", + "//:node_modules/@angular/compiler-cli", + "//:node_modules/@angular/core", + "//:node_modules/@angular/platform-browser", + "//:node_modules/@angular/platform-browser-dynamic", + "//:node_modules/tslib", + "//:node_modules/zone.js", ], ) diff --git a/packages/angular_devkit/core/BUILD.bazel b/packages/angular_devkit/core/BUILD.bazel index a27e72f14c5e..07ee4d8f8fc0 100644 --- a/packages/angular_devkit/core/BUILD.bazel +++ b/packages/angular_devkit/core/BUILD.bazel @@ -30,15 +30,15 @@ ts_project( data = RUNTIME_ASSETS, module_name = "@angular-devkit/core", deps = [ - "//:root_modules/@types/node", - "//:root_modules/@types/picomatch", - "//:root_modules/@types/jasmine", - "//:root_modules/ajv", - "//:root_modules/ajv-formats", - "//:root_modules/jsonc-parser", - "//:root_modules/picomatch", - "//:root_modules/rxjs", - "//:root_modules/source-map", + "//:node_modules/@types/node", + "//:node_modules/@types/picomatch", + "//:node_modules/@types/jasmine", + "//:node_modules/ajv", + "//:node_modules/ajv-formats", + "//:node_modules/jsonc-parser", + "//:node_modules/picomatch", + "//:node_modules/rxjs", + "//:node_modules/source-map", # @node_module: typescript:es2015.proxy # @node_module: typescript:es2015.reflect # @node_module: typescript:es2015.symbol.wellknown @@ -55,7 +55,7 @@ ts_project( data = glob(["src/workspace/json/test/**/*.json"]), deps = [ ":core_rjs", - "//:root_modules/rxjs", + "//:node_modules/rxjs", "//packages/angular_devkit/core/node:node_rjs", ], ) diff --git a/packages/angular_devkit/core/node/BUILD.bazel b/packages/angular_devkit/core/node/BUILD.bazel index 6e2d05567ef2..fab7df5cdff5 100644 --- a/packages/angular_devkit/core/node/BUILD.bazel +++ b/packages/angular_devkit/core/node/BUILD.bazel @@ -21,9 +21,9 @@ ts_project( ), module_name = "@angular-devkit/core/node", deps = [ - "//:root_modules/@types/node", - "//:root_modules/chokidar", - "//:root_modules/rxjs", + "//:node_modules/@types/node", + "//:node_modules/chokidar", + "//:node_modules/rxjs", "//packages/angular_devkit/core:core_rjs", ], ) @@ -43,8 +43,8 @@ ts_project( ), deps = [ ":node_rjs", - "//:root_modules/@types/jasmine", - "//:root_modules/rxjs", + "//:node_modules/@types/jasmine", + "//:node_modules/rxjs", "//packages/angular_devkit/core:core_rjs", ], ) diff --git a/packages/angular_devkit/core/node/testing/BUILD.bazel b/packages/angular_devkit/core/node/testing/BUILD.bazel index 89870c7f876d..90f40f19a426 100644 --- a/packages/angular_devkit/core/node/testing/BUILD.bazel +++ b/packages/angular_devkit/core/node/testing/BUILD.bazel @@ -18,9 +18,9 @@ ts_project( ), module_name = "@angular-devkit/core/node/testing", deps = [ - "//:root_modules/@types/jasmine", - "//:root_modules/@types/node", - "//:root_modules/rxjs", + "//:node_modules/@types/jasmine", + "//:node_modules/@types/node", + "//:node_modules/rxjs", "//packages/angular_devkit/core:core_rjs", "//packages/angular_devkit/core/node:node_rjs", ], diff --git a/packages/angular_devkit/schematics/BUILD.bazel b/packages/angular_devkit/schematics/BUILD.bazel index 2e69ab10ee39..077ac07bfdaf 100644 --- a/packages/angular_devkit/schematics/BUILD.bazel +++ b/packages/angular_devkit/schematics/BUILD.bazel @@ -25,10 +25,10 @@ ts_project( ], module_name = "@angular-devkit/schematics", deps = [ - "//:root_modules/@types/node", - "//:root_modules/jsonc-parser", - "//:root_modules/magic-string", - "//:root_modules/rxjs", + "//:node_modules/@types/node", + "//:node_modules/jsonc-parser", + "//:node_modules/magic-string", + "//:node_modules/rxjs", "//packages/angular_devkit/core:core_rjs", "//packages/angular_devkit/core/node:node_rjs", # TODO: get rid of this for 6.0 ], @@ -40,8 +40,8 @@ ts_project( srcs = glob(["src/**/*_spec.ts"]), deps = [ ":schematics", - "//:root_modules/@types/jasmine", - "//:root_modules/rxjs", + "//:node_modules/@types/jasmine", + "//:node_modules/rxjs", "//packages/angular_devkit/core:core_rjs", "//packages/angular_devkit/core/node:node_rjs", "//packages/angular_devkit/schematics/testing:testing_rjs", diff --git a/packages/angular_devkit/schematics/tasks/BUILD.bazel b/packages/angular_devkit/schematics/tasks/BUILD.bazel index 719558038aeb..bbd37087b759 100644 --- a/packages/angular_devkit/schematics/tasks/BUILD.bazel +++ b/packages/angular_devkit/schematics/tasks/BUILD.bazel @@ -20,9 +20,9 @@ ts_project( data = ["package.json"], module_name = "@angular-devkit/schematics/tasks", deps = [ - "//:root_modules/@types/node", - "//:root_modules/ora", - "//:root_modules/rxjs", + "//:node_modules/@types/node", + "//:node_modules/ora", + "//:node_modules/rxjs", "//packages/angular_devkit/core:core_rjs", "//packages/angular_devkit/core/node:node_rjs", "//packages/angular_devkit/schematics:schematics_rjs", diff --git a/packages/angular_devkit/schematics/tasks/node/BUILD.bazel b/packages/angular_devkit/schematics/tasks/node/BUILD.bazel index 1680791ae90e..1a8b991a0001 100644 --- a/packages/angular_devkit/schematics/tasks/node/BUILD.bazel +++ b/packages/angular_devkit/schematics/tasks/node/BUILD.bazel @@ -18,8 +18,8 @@ ts_project( ), module_name = "@angular-devkit/schematics/tasks/node", deps = [ - "//:root_modules/@types/node", - "//:root_modules/rxjs", + "//:node_modules/@types/node", + "//:node_modules/rxjs", "//packages/angular_devkit/core:core_rjs", "//packages/angular_devkit/core/node:node_rjs", "//packages/angular_devkit/schematics:schematics_rjs", diff --git a/packages/angular_devkit/schematics/testing/BUILD.bazel b/packages/angular_devkit/schematics/testing/BUILD.bazel index 815fa49935d0..22583535d6b5 100644 --- a/packages/angular_devkit/schematics/testing/BUILD.bazel +++ b/packages/angular_devkit/schematics/testing/BUILD.bazel @@ -16,7 +16,7 @@ ts_project( data = ["package.json"], module_name = "@angular-devkit/schematics/testing", deps = [ - "//:root_modules/rxjs", + "//:node_modules/rxjs", "//packages/angular_devkit/core:core_rjs", "//packages/angular_devkit/schematics:schematics_rjs", "//packages/angular_devkit/schematics/tasks/node:node_rjs", diff --git a/packages/angular_devkit/schematics/tools/BUILD.bazel b/packages/angular_devkit/schematics/tools/BUILD.bazel index 2cad66f7adbc..eda1d2a56215 100644 --- a/packages/angular_devkit/schematics/tools/BUILD.bazel +++ b/packages/angular_devkit/schematics/tools/BUILD.bazel @@ -21,9 +21,9 @@ ts_project( data = ["package.json"], module_name = "@angular-devkit/schematics/tools", deps = [ - "//:root_modules/@types/node", - "//:root_modules/jsonc-parser", - "//:root_modules/rxjs", + "//:node_modules/@types/node", + "//:node_modules/jsonc-parser", + "//:node_modules/rxjs", "//packages/angular_devkit/core:core_rjs", "//packages/angular_devkit/core/node:node_rjs", "//packages/angular_devkit/schematics:schematics_rjs", @@ -43,8 +43,8 @@ ts_project( ), deps = [ ":tools_rjs", - "//:root_modules/@types/jasmine", - "//:root_modules/rxjs", + "//:node_modules/@types/jasmine", + "//:node_modules/rxjs", "//packages/angular_devkit/core:core_rjs", "//packages/angular_devkit/core/node:node_rjs", "//packages/angular_devkit/schematics:schematics_rjs", diff --git a/packages/angular_devkit/schematics_cli/BUILD.bazel b/packages/angular_devkit/schematics_cli/BUILD.bazel index 91f0603b59b3..04d2962c8f0b 100644 --- a/packages/angular_devkit/schematics_cli/BUILD.bazel +++ b/packages/angular_devkit/schematics_cli/BUILD.bazel @@ -44,12 +44,12 @@ ts_project( data = RUNTIME_ASSETS, module_name = "@angular-devkit/schematics-cli", deps = [ - "//:root_modules/@inquirer/prompts", - "//:root_modules/@types/node", - "//:root_modules/@types/yargs-parser", - "//:root_modules/ansi-colors", - "//:root_modules/symbol-observable", - "//:root_modules/yargs-parser", + "//:node_modules/@inquirer/prompts", + "//:node_modules/@types/node", + "//:node_modules/@types/yargs-parser", + "//:node_modules/ansi-colors", + "//:node_modules/symbol-observable", + "//:node_modules/yargs-parser", "//packages/angular_devkit/core:core_rjs", "//packages/angular_devkit/core/node:node_rjs", "//packages/angular_devkit/schematics:schematics_rjs", diff --git a/packages/ngtools/webpack/BUILD.bazel b/packages/ngtools/webpack/BUILD.bazel index e736c65f96f9..f5b14dddd433 100644 --- a/packages/ngtools/webpack/BUILD.bazel +++ b/packages/ngtools/webpack/BUILD.bazel @@ -29,10 +29,10 @@ ts_project( ], module_name = "@ngtools/webpack", deps = [ - "//:root_modules/@angular/compiler-cli", - "//:root_modules/@types/node", - "//:root_modules/typescript", - "//:root_modules/webpack", + "//:node_modules/@angular/compiler-cli", + "//:node_modules/@types/node", + "//:node_modules/typescript", + "//:node_modules/webpack", ], ) @@ -47,9 +47,9 @@ ts_project( ), deps = [ ":webpack_rjs", - "//:root_modules/@angular/compiler", - "//:root_modules/@types/jasmine", - "//:root_modules/typescript", + "//:node_modules/@angular/compiler", + "//:node_modules/@types/jasmine", + "//:node_modules/typescript", "//packages/angular_devkit/core:core_rjs", ], ) diff --git a/packages/schematics/angular/BUILD.bazel b/packages/schematics/angular/BUILD.bazel index 81f7372d34b9..b57ab3b33e10 100644 --- a/packages/schematics/angular/BUILD.bazel +++ b/packages/schematics/angular/BUILD.bazel @@ -81,10 +81,10 @@ ts_project( data = RUNTIME_ASSETS, module_name = "@schematics/angular", deps = [ - "//:root_modules/@inquirer/prompts", - "//:root_modules/@types/node", - "//:root_modules/browserslist", - "//:root_modules/jsonc-parser", + "//:node_modules/@inquirer/prompts", + "//:node_modules/@types/node", + "//:node_modules/browserslist", + "//:node_modules/jsonc-parser", "//packages/angular_devkit/core:core_rjs", "//packages/angular_devkit/schematics:schematics_rjs", "//packages/angular_devkit/schematics/tasks:tasks_rjs", @@ -97,7 +97,7 @@ jasmine_node_test( srcs = ["no_typescript_runtime_dep_spec.js"], deps = [ ":angular", - "//:root_modules/@types/jasmine", + "//:node_modules/@types/jasmine", ], ) @@ -116,8 +116,8 @@ ts_project( ), deps = [ ":angular_rjs", - "//:root_modules/@types/jasmine", - "//:root_modules/jsonc-parser", + "//:node_modules/@types/jasmine", + "//:node_modules/jsonc-parser", "//packages/angular_devkit/core:core_rjs", "//packages/angular_devkit/core/node/testing:testing_rjs", "//packages/angular_devkit/schematics:schematics_rjs", diff --git a/tests/angular_devkit/architect/node/jobs/BUILD.bazel b/tests/angular_devkit/architect/node/jobs/BUILD.bazel index 912028a0b1cb..92b3422ccc5d 100644 --- a/tests/angular_devkit/architect/node/jobs/BUILD.bazel +++ b/tests/angular_devkit/architect/node/jobs/BUILD.bazel @@ -16,7 +16,7 @@ ts_project( ], ), deps = [ - "//:root_modules/@types/node", + "//:node_modules/@types/node", "//packages/angular_devkit/architect:architect_rjs", ], ) diff --git a/tests/angular_devkit/schematics/tools/file-system-engine-host/BUILD.bazel b/tests/angular_devkit/schematics/tools/file-system-engine-host/BUILD.bazel index 7994ff7a530f..efa750b6ff14 100644 --- a/tests/angular_devkit/schematics/tools/file-system-engine-host/BUILD.bazel +++ b/tests/angular_devkit/schematics/tools/file-system-engine-host/BUILD.bazel @@ -22,8 +22,8 @@ ts_project( ], ), deps = [ - "//:root_modules/@types/jasmine", - "//:root_modules/@types/node", + "//:node_modules/@types/jasmine", + "//:node_modules/@types/node", "//packages/angular_devkit/schematics:schematics_rjs", ], ) diff --git a/tests/legacy-cli/BUILD.bazel b/tests/legacy-cli/BUILD.bazel index e5e19bdc87a4..2003020d4f26 100644 --- a/tests/legacy-cli/BUILD.bazel +++ b/tests/legacy-cli/BUILD.bazel @@ -12,8 +12,8 @@ ts_project( "verdaccio_auth.yaml", ], deps = [ - "//:root_modules/ansi-colors", - "//:root_modules/fast-glob", + "//:node_modules/ansi-colors", + "//:node_modules/fast-glob", "//packages/angular_devkit/core:core_rjs", "//packages/angular_devkit/core/node:node_rjs", "//tests/legacy-cli/e2e/utils:utils_rjs", diff --git a/tests/legacy-cli/e2e/tests/BUILD.bazel b/tests/legacy-cli/e2e/tests/BUILD.bazel index 1dc0fa8ec9dc..bf26b9b03712 100644 --- a/tests/legacy-cli/e2e/tests/BUILD.bazel +++ b/tests/legacy-cli/e2e/tests/BUILD.bazel @@ -10,11 +10,11 @@ ts_project( "//tests/legacy-cli/e2e/ng-snapshot", ], deps = [ - "//:root_modules/@types/express", - "//:root_modules/@types/semver", - "//:root_modules/express", - "//:root_modules/fast-glob", - "//:root_modules/semver", + "//:node_modules/@types/express", + "//:node_modules/@types/semver", + "//:node_modules/express", + "//:node_modules/fast-glob", + "//:node_modules/semver", "//tests/legacy-cli/e2e/utils:utils_rjs", ], ) diff --git a/tests/legacy-cli/e2e/utils/BUILD.bazel b/tests/legacy-cli/e2e/utils/BUILD.bazel index 100f5df0f966..02a95ca4d8b3 100644 --- a/tests/legacy-cli/e2e/utils/BUILD.bazel +++ b/tests/legacy-cli/e2e/utils/BUILD.bazel @@ -10,17 +10,17 @@ ts_project( "//tests/legacy-cli/e2e/ng-snapshot", ], deps = [ - "//:root_modules/@types/jasmine", - "//:root_modules/@types/semver", - "//:root_modules/ansi-colors", - "//:root_modules/fast-glob", - "//:root_modules/npm", - "//:root_modules/protractor", - "//:root_modules/rxjs", - "//:root_modules/semver", - "//:root_modules/tar", - "//:root_modules/tree-kill", - "//:root_modules/verdaccio", - "//:root_modules/verdaccio-auth-memory", + "//:node_modules/@types/jasmine", + "//:node_modules/@types/semver", + "//:node_modules/ansi-colors", + "//:node_modules/fast-glob", + "//:node_modules/npm", + "//:node_modules/protractor", + "//:node_modules/rxjs", + "//:node_modules/semver", + "//:node_modules/tar", + "//:node_modules/tree-kill", + "//:node_modules/verdaccio", + "//:node_modules/verdaccio-auth-memory", ], ) diff --git a/tools/BUILD.bazel b/tools/BUILD.bazel index 49fc0c271334..a2525c94cce7 100644 --- a/tools/BUILD.bazel +++ b/tools/BUILD.bazel @@ -56,8 +56,8 @@ js_binary( name = "vanilla_ts_worker", data = [ ":copy_worker_js", - "//:root_modules/@angular/compiler-cli", - "//:root_modules/typescript", + "//:node_modules/@angular/compiler-cli", + "//:node_modules/typescript", ], entry_point = ":copy_worker_js", fixed_args = ["--vanilla-ts"], diff --git a/tools/interop.bzl b/tools/interop.bzl index 61bc929b0a85..4b981129bcd8 100644 --- a/tools/interop.bzl +++ b/tools/interop.bzl @@ -107,8 +107,8 @@ def ts_project(name, module_name = None, deps = [], tsconfig = None, testonly = # execution, with regards to first-party dependency linking. rjs_modules_to_rnjs = [] for d in deps: - if d.startswith("//:root_modules/"): - rjs_modules_to_rnjs.append(d.replace("//:root_modules/", "@npm//")) + if d.startswith("//:node_modules/"): + rjs_modules_to_rnjs.append(d.replace("//:node_modules/", "@npm//")) if d.endswith("_rjs"): rjs_modules_to_rnjs.append(d.replace("_rjs", ""))