Skip to content

[19.2.x]: Second iteration of rules_js migration #30660

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Mar 19, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
# Input hashes for repository rule npm_translate_lock(name = "npm2", pnpm_lock = "@//:pnpm-lock.yaml").
# This file should be checked into version control along with the pnpm-lock.yaml file.
.npmrc=-2023857461
package.json=-1482816862
pnpm-lock.yaml=-2100360822
package.json=1689751705
pnpm-lock.yaml=1731666083
pnpm-workspace.yaml=1711114604
yarn.lock=-1734434772
9 changes: 9 additions & 0 deletions WORKSPACE
Original file line number Diff line number Diff line change
@@ -115,6 +115,7 @@ yarn_install(
"//:tools/postinstall/patches/@angular+bazel+20.0.0-next.1.patch",
"//:tools/postinstall/patches/@angular+build-tooling+0.0.0-335a273d3eb2a73c51efb97930fc1e0cd72e0d32.patch",
"//:tools/postinstall/patches/@bazel+concatjs+5.8.1.patch",
"//:tools/postinstall/patches/tsec+0.2.2.patch",
],
# Currently disabled due to:
# 1. Missing Windows support currently.
@@ -163,6 +164,14 @@ load("@aspect_rules_js//npm:repositories.bzl", "npm_translate_lock")

npm_translate_lock(
name = "npm2",
custom_postinstalls = {
"@angular/animations": "node ../../@nginfra/angular-linking/index.mjs",
"@angular/common": "node ../../@nginfra/angular-linking/index.mjs",
"@angular/forms": "node ../../@nginfra/angular-linking/index.mjs",
"@angular/platform-browser": "node ../../@nginfra/angular-linking/index.mjs",
"@angular/router": "node ../../@nginfra/angular-linking/index.mjs",
"@angular/localize": "node ../../@nginfra/angular-linking/index.mjs",
},
data = [
"//:package.json",
"//:pnpm-workspace.yaml",
36 changes: 34 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -47,7 +47,7 @@
"integration-tests:size-test": "bazel test //integration/size-test/...",
"test-linker-aot": "bazel test --partial_compilation --test_tag_filters=partial-compilation-integration,-firefox --build_tests_only -- //integration/... //src/...",
"test-linker-jit": "bazel test --partial_compilation --test_tag_filters=partial-compilation-integration,-firefox --build_tests_only --//tools:force_partial_jit_compilation=True -- //integration/... //src/...",
"check-tooling-setup": "yarn tsc --project tools/tsconfig.json && yarn tsc --project scripts/tsconfig.json && yarn tsc --project .ng-dev/tsconfig.json",
"check-tooling-setup": "yarn tsc --project tools/tsconfig.json --noEmit && yarn tsc --project scripts/tsconfig.json --noEmit && yarn tsc --project .ng-dev/tsconfig.json --noEmit",
"tsc": "node ./node_modules/typescript/bin/tsc",
"ci-push-deploy-docs-app": "node --no-warnings=ExperimentalWarning --loader ts-node/esm/transpile-only scripts/docs-deploy/deploy-ci-push.mts",
"ci-docs-monitor-test": "node --no-warnings=ExperimentalWarning --loader ts-node/esm/transpile-only scripts/docs-deploy/monitoring/ci-test.mts",
@@ -186,6 +186,38 @@
"wrap-ansi": "7.0.0"
},
"pnpm": {
"onlyBuiltDependencies": []
"onlyBuiltDependencies": [],
"packageExtensions": {
"@angular/animations": {
"dependencies": {
"@nginfra/angular-linking": "1.0.0"
}
},
"@angular/common": {
"dependencies": {
"@nginfra/angular-linking": "1.0.0"
}
},
"@angular/forms": {
"dependencies": {
"@nginfra/angular-linking": "1.0.0"
}
},
"@angular/platform-browser": {
"dependencies": {
"@nginfra/angular-linking": "1.0.0"
}
},
"@angular/router": {
"dependencies": {
"@nginfra/angular-linking": "1.0.0"
}
},
"@angular/localize": {
"dependencies": {
"@nginfra/angular-linking": "1.0.0"
}
}
}
}
}
Loading
Oops, something went wrong.
Loading
Oops, something went wrong.