Skip to content

Commit 3cc2b54

Browse files
committed
build: update @angular/bazel to support .d.ts code splitting
This will unblock the fixit where we'll introduce relative imports that currently (without this commit) result in duplicated `d.ts` declarations between entry-points.
1 parent 32353fb commit 3cc2b54

File tree

3 files changed

+19
-9
lines changed

3 files changed

+19
-9
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@
7373
"@angular-devkit/build-angular": "^20.0.0-next.0",
7474
"@angular-devkit/core": "^20.0.0-next.0",
7575
"@angular-devkit/schematics": "^20.0.0-next.0",
76-
"@angular/bazel": "https://github.com/angular/bazel-builds.git#39090691c79c5756f5d0579ee685aa1fdaf86743",
77-
"@angular/build-tooling": "https://github.com/angular/dev-infra-private-build-tooling-builds.git#74e0e7b090c6e16056290836b2d936ca7820b86f",
76+
"@angular/bazel": "https://github.com/angular/bazel-builds.git#ba9ff4622e455b7cad2f983f5e611b9f46c57e86",
7877
"@angular/build": "^20.0.0-next.0",
78+
"@angular/build-tooling": "https://github.com/angular/dev-infra-private-build-tooling-builds.git#74e0e7b090c6e16056290836b2d936ca7820b86f",
7979
"@angular/cli": "^20.0.0-next.0",
8080
"@angular/compiler-cli": "^20.0.0-next.0",
8181
"@angular/localize": "^20.0.0-next.0",
@@ -158,6 +158,7 @@
158158
"reflect-metadata": "^0.1.13",
159159
"requirejs": "^2.3.6",
160160
"rollup": "^2.66.1",
161+
"rollup-plugin-dts": "^6.1.1",
161162
"rollup-plugin-sourcemaps": "^0.6.3",
162163
"sass": "^1.80.6",
163164
"selenium-webdriver": "^3.6.0",

tools/postinstall/patches/@angular+bazel+20.0.0-next.1.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ index dd6ec61..c2a0acf 100755
6767
@@ -8,7 +8,7 @@
6868
import * as fs from 'fs';
6969
import * as path from 'path';
70-
import fastGlob from 'fast-glob';
70+
import { globSync } from 'tinyglobby';
7171
-import { analyzeFileAndEnsureNoCrossImports } from './cross_entry_points_imports';
7272
+import { analyzeFileAndEnsureNoCrossImports } from './cross_entry_points_imports.mjs';
7373
/**

yarn.lock

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -139,13 +139,13 @@
139139
dependencies:
140140
tslib "^2.3.0"
141141

142-
"@angular/bazel@https://github.com/angular/bazel-builds.git#39090691c79c5756f5d0579ee685aa1fdaf86743":
142+
"@angular/bazel@https://github.com/angular/bazel-builds.git#ba9ff4622e455b7cad2f983f5e611b9f46c57e86":
143143
version "20.0.0-next.1"
144-
resolved "https://github.com/angular/bazel-builds.git#39090691c79c5756f5d0579ee685aa1fdaf86743"
144+
resolved "https://github.com/angular/bazel-builds.git#ba9ff4622e455b7cad2f983f5e611b9f46c57e86"
145145
dependencies:
146146
"@microsoft/api-extractor" "^7.24.2"
147-
fast-glob "^3.3.3"
148147
magic-string "^0.30.0"
148+
tinyglobby "^0.2.12"
149149
tslib "^2.3.0"
150150

151151
"@angular/benchpress@0.3.0":
@@ -411,7 +411,7 @@
411411
"@babel/highlight" "^7.24.7"
412412
picocolors "^1.0.0"
413413

414-
"@babel/code-frame@^7.25.9", "@babel/code-frame@^7.26.2":
414+
"@babel/code-frame@^7.24.2", "@babel/code-frame@^7.25.9", "@babel/code-frame@^7.26.2":
415415
version "7.26.2"
416416
resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.26.2.tgz#4b5fab97d33338eff916235055f0ebc21e573a85"
417417
integrity sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==
@@ -7893,7 +7893,7 @@ fast-glob@3.3.2, fast-glob@^3.2.12, fast-glob@^3.2.9, fast-glob@^3.3.0:
78937893
merge2 "^1.3.0"
78947894
micromatch "^4.0.4"
78957895

7896-
fast-glob@3.3.3, fast-glob@^3.3.3:
7896+
fast-glob@3.3.3:
78977897
version "3.3.3"
78987898
resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.3.3.tgz#d06d585ce8dba90a16b0505c543c3ccfb3aeb818"
78997899
integrity sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg==
@@ -10837,7 +10837,7 @@ magic-string@0.30.10, magic-string@^0.30.0:
1083710837
dependencies:
1083810838
"@jridgewell/sourcemap-codec" "^1.4.15"
1083910839

10840-
magic-string@0.30.17:
10840+
magic-string@0.30.17, magic-string@^0.30.10:
1084110841
version "0.30.17"
1084210842
resolved "https://registry.yarnpkg.com/magic-string/-/magic-string-0.30.17.tgz#450a449673d2460e5bbcfba9a61916a1714c7453"
1084310843
integrity sha512-sNPKHvyjVf7gyjwS4xGTaW/mCnF8wnjtifKBEhxfZ7E/S8tQ0rssrwGNn6q8JH/ohItJfSQp9mBtQYuTlH5QnA==
@@ -13362,6 +13362,15 @@ rimraf@~2.5.2:
1336213362
dependencies:
1336313363
glob "^7.0.5"
1336413364

13365+
rollup-plugin-dts@^6.1.1:
13366+
version "6.1.1"
13367+
resolved "https://registry.yarnpkg.com/rollup-plugin-dts/-/rollup-plugin-dts-6.1.1.tgz#46b33f4d1d7f4e66f1171ced9b282ac11a15a254"
13368+
integrity sha512-aSHRcJ6KG2IHIioYlvAOcEq6U99sVtqDDKVhnwt70rW6tsz3tv5OSjEiWcgzfsHdLyGXZ/3b/7b/+Za3Y6r1XA==
13369+
dependencies:
13370+
magic-string "^0.30.10"
13371+
optionalDependencies:
13372+
"@babel/code-frame" "^7.24.2"
13373+
1336513374
rollup-plugin-sourcemaps@^0.6.3:
1336613375
version "0.6.3"
1336713376
resolved "https://registry.yarnpkg.com/rollup-plugin-sourcemaps/-/rollup-plugin-sourcemaps-0.6.3.tgz#bf93913ffe056e414419607f1d02780d7ece84ed"

0 commit comments

Comments
 (0)