-
Notifications
You must be signed in to change notification settings - Fork 26.3k
build: update to nodejs rules 0.38.3 #33073
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
build: update to nodejs rules 0.38.3 #33073
Conversation
f77a06a
to
45293ad
Compare
@alexeagle Changes to external.bzl will need g3 equivalents |
45293ad
to
71f5db5
Compare
@alexeagle @devversion Looks like we'll need to update material to 0.38.2 first to green this PR up. I'll make a PR in the morning if you don't get to it overnight @devversion . |
def0a71
to
0578666
Compare
Note to caretaker: cl/271704225 has to land before this can get a green g3sync |
c5c76fc
to
f92cb0b
Compare
Some changes in rules_nodejs providers folded into @angular/bazel package: * `NodeModuleSources` renamed to `NpmPackageInfo` and now loaded from `//internal/common:npm_package_info.bzl` * `collect_node_modules_aspect` renamed to `node_modules_aspect` * new JS provider `JSNamedModuleInfo` now available and ng_module provides it using the `js_named_module_info` factory function * sources_aspect has also been removed so the use of the `node_sources` legacy provider has been replaced with `JSNamedModuleInfo`.
All providers now loaded from "@build_bazel_rules_nodejs//:providers.bzl".
Updates the `material-unit-test` job to run tests against the latest commit of the Angular Components repository. The components repository updated to rules_nodejs#0.38.2 before Angular Bazel did. To do this, the `@angular/bazel` v0.38.2 compatibility changes were patched on postinstall. This now conflicts because we install a `@angular/bazel` version in the `material-unit-tests` job that already includes these compatibility changes. This would result in the patch being a noop for which the `patch` command throws an error. We can remove this once components can install a released version of `@angular/bazel` that is compatible with `rules_nodejs#0.38.2`.
f92cb0b
to
1f7ac97
Compare
caretaker: g3sync presubmit |
All providers now loaded from "@build_bazel_rules_nodejs//:providers.bzl". PR Close #33073
Updates the `material-unit-test` job to run tests against the latest commit of the Angular Components repository. The components repository updated to rules_nodejs#0.38.2 before Angular Bazel did. To do this, the `@angular/bazel` v0.38.2 compatibility changes were patched on postinstall. This now conflicts because we install a `@angular/bazel` version in the `material-unit-tests` job that already includes these compatibility changes. This would result in the patch being a noop for which the `patch` command throws an error. We can remove this once components can install a released version of `@angular/bazel` that is compatible with `rules_nodejs#0.38.2`. PR Close #33073
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Some changes in rules_nodejs providers folded into @angular/bazel package:
NodeModuleSources
renamed toNpmPackageInfo
and now loaded from//internal/common:npm_package_info.bzl
collect_node_modules_aspect
renamed tonode_modules_aspect
JSNamedModuleInfo
now available and ng_module provides it using thejs_named_module_info
factory functionnode_sources
legacy provider has been replaced withJSNamedModuleInfo
.