From 17d7599da9fe623fa583571df3a670e4bf0fd918 Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Wed, 2 Oct 2024 09:14:08 +0000 Subject: [PATCH] build: update the `@angular/bazel` packager and set up the license attribute --- package.json | 2 +- tools/defaults.bzl | 1 + yarn.lock | 30 +++++++++++++++--------------- 3 files changed, 17 insertions(+), 16 deletions(-) diff --git a/package.json b/package.json index fe24102133fb..6d69a68405dd 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ "devDependencies": { "@ampproject/remapping": "2.3.0", "@angular/animations": "19.0.0-next.7", - "@angular/bazel": "patch:@angular/bazel@https%3A//github.com/angular/bazel-builds.git%23commit=9e6140d1eef8ddf7113d00738f603e9cc3c310f1#~/.yarn/patches/@angular-bazel-https-9848736cf4.patch", + "@angular/bazel": "patch:@angular/bazel@https%3A//github.com/angular/bazel-builds.git%23commit=07617f0f8540d27f8895b1820a6f994e1e5b7277#~/.yarn/patches/@angular-bazel-https-9848736cf4.patch", "@angular/build-tooling": "https://github.com/angular/dev-infra-private-build-tooling-builds.git#d3bd1948253852ade1ae350be4e429039d218ff4", "@angular/cdk": "19.0.0-next.6", "@angular/common": "19.0.0-next.7", diff --git a/tools/defaults.bzl b/tools/defaults.bzl index 5b385d8b7614..ac1e5529f329 100644 --- a/tools/defaults.bzl +++ b/tools/defaults.bzl @@ -271,6 +271,7 @@ def ng_module(name, tsconfig = None, entry_point = None, testonly = False, deps def ng_package(deps = [], **kwargs): _ng_package( deps = deps, + license = "//:LICENSE", substitutions = select({ "//:stamp": NPM_PACKAGE_SUBSTITUTIONS, "//conditions:default": NO_STAMP_PACKAGE_SUBSTITUTIONS, diff --git a/yarn.lock b/yarn.lock index c569fb44d432..727fc65dc755 100644 --- a/yarn.lock +++ b/yarn.lock @@ -263,23 +263,23 @@ __metadata: languageName: node linkType: hard -"@angular/bazel@https://github.com/angular/bazel-builds.git#commit=9e6140d1eef8ddf7113d00738f603e9cc3c310f1": - version: 19.0.0-next.1+sha-b7f3baf - resolution: "@angular/bazel@https://github.com/angular/bazel-builds.git#commit=9e6140d1eef8ddf7113d00738f603e9cc3c310f1" +"@angular/bazel@https://github.com/angular/bazel-builds.git#commit=07617f0f8540d27f8895b1820a6f994e1e5b7277": + version: 19.0.0-next.7+sha-00a79d0 + resolution: "@angular/bazel@https://github.com/angular/bazel-builds.git#commit=07617f0f8540d27f8895b1820a6f994e1e5b7277" dependencies: "@microsoft/api-extractor": "npm:^7.24.2" magic-string: "npm:^0.30.0" tslib: "npm:^2.3.0" peerDependencies: - "@angular/compiler-cli": 19.0.0-next.1+sha-b7f3baf + "@angular/compiler-cli": 19.0.0-next.7+sha-00a79d0 "@bazel/concatjs": ^5.3.0 "@bazel/worker": ^5.3.0 - "@rollup/plugin-commonjs": ^26.0.0 + "@rollup/plugin-commonjs": ^28.0.0 "@rollup/plugin-node-resolve": ^13.0.4 rollup: ^2.56.3 rollup-plugin-sourcemaps: ^0.6.3 terser: ^5.9.0 - typescript: ">=5.4 <5.7" + typescript: ">=5.5 <5.7" peerDependenciesMeta: terser: optional: true @@ -288,27 +288,27 @@ __metadata: packager: ./src/ng_package/packager.mjs types_bundler: ./src/types_bundle/index.mjs xi18n: ./src/ngc-wrapped/extract_i18n.mjs - checksum: 10c0/9d3c6c9e53d5149b0c3b2ed0d4011f2c528ffbef37c10816bd3abd626532a115a560cbffc7483e878cc4088cd9eb08509b7a77d603617fbb2fa46da75640e2e7 + checksum: 10c0/18e8c7c6e70261f04756559cfbf6a1e099bbadef5f6206b04c28c5b4bd6e8178713e1361ae0edf21e888efdd90ea45d008374ef57b22ea31d0722566babae8e7 languageName: node linkType: hard -"@angular/bazel@patch:@angular/bazel@https%3A//github.com/angular/bazel-builds.git%23commit=9e6140d1eef8ddf7113d00738f603e9cc3c310f1#~/.yarn/patches/@angular-bazel-https-9848736cf4.patch": - version: 19.0.0-next.1+sha-b7f3baf - resolution: "@angular/bazel@patch:@angular/bazel@https%3A//github.com/angular/bazel-builds.git%23commit=9e6140d1eef8ddf7113d00738f603e9cc3c310f1#~/.yarn/patches/@angular-bazel-https-9848736cf4.patch::version=19.0.0-next.1%2Bsha-b7f3baf&hash=f67b3e" +"@angular/bazel@patch:@angular/bazel@https%3A//github.com/angular/bazel-builds.git%23commit=07617f0f8540d27f8895b1820a6f994e1e5b7277#~/.yarn/patches/@angular-bazel-https-9848736cf4.patch": + version: 19.0.0-next.7+sha-00a79d0 + resolution: "@angular/bazel@patch:@angular/bazel@https%3A//github.com/angular/bazel-builds.git%23commit=07617f0f8540d27f8895b1820a6f994e1e5b7277#~/.yarn/patches/@angular-bazel-https-9848736cf4.patch::version=19.0.0-next.7%2Bsha-00a79d0&hash=f67b3e" dependencies: "@microsoft/api-extractor": "npm:^7.24.2" magic-string: "npm:^0.30.0" tslib: "npm:^2.3.0" peerDependencies: - "@angular/compiler-cli": 19.0.0-next.1+sha-b7f3baf + "@angular/compiler-cli": 19.0.0-next.7+sha-00a79d0 "@bazel/concatjs": ^5.3.0 "@bazel/worker": ^5.3.0 - "@rollup/plugin-commonjs": ^26.0.0 + "@rollup/plugin-commonjs": ^28.0.0 "@rollup/plugin-node-resolve": ^13.0.4 rollup: ^2.56.3 rollup-plugin-sourcemaps: ^0.6.3 terser: ^5.9.0 - typescript: ">=5.4 <5.7" + typescript: ">=5.5 <5.7" peerDependenciesMeta: terser: optional: true @@ -317,7 +317,7 @@ __metadata: packager: ./src/ng_package/packager.mjs types_bundler: ./src/types_bundle/index.mjs xi18n: ./src/ngc-wrapped/extract_i18n.mjs - checksum: 10c0/ab84d9bc63a0912ce8c5bef4b8f0ecbde12a92bc52cfe6ad42c5b9d21c63f9b0ed14320854c6ce5e097d819158f90ef173746ca62e337b0add3a79c9ccc931d7 + checksum: 10c0/a6708251649781290bec4d4b6839b55988f59f4f36b22de07765571290cfe4a1c608b4a33775fabe58e0b06ac9da8dd67bb13ad7e183f06750cd8ee1c0b053d4 languageName: node linkType: hard @@ -632,7 +632,7 @@ __metadata: dependencies: "@ampproject/remapping": "npm:2.3.0" "@angular/animations": "npm:19.0.0-next.7" - "@angular/bazel": "patch:@angular/bazel@https%3A//github.com/angular/bazel-builds.git%23commit=9e6140d1eef8ddf7113d00738f603e9cc3c310f1#~/.yarn/patches/@angular-bazel-https-9848736cf4.patch" + "@angular/bazel": "patch:@angular/bazel@https%3A//github.com/angular/bazel-builds.git%23commit=07617f0f8540d27f8895b1820a6f994e1e5b7277#~/.yarn/patches/@angular-bazel-https-9848736cf4.patch" "@angular/build-tooling": "https://github.com/angular/dev-infra-private-build-tooling-builds.git#d3bd1948253852ade1ae350be4e429039d218ff4" "@angular/cdk": "npm:19.0.0-next.6" "@angular/common": "npm:19.0.0-next.7"