Skip to content

Commit 462829b

Browse files
committed
build: fix dependency issues
Fixes that the integration test in the patch branch still requires platform-browser-dynamic. Works around a bug that is already resolved in v20, where the `@angular/build` package doesn't declare a used dependency.
1 parent 5780ae8 commit 462829b

File tree

6 files changed

+53
-7
lines changed

6 files changed

+53
-7
lines changed

integration/harness-e2e-cli/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"@angular/forms": "20.0.0-next.5",
2222
"@angular/material": "next",
2323
"@angular/platform-browser": "20.0.0-next.5",
24+
"@angular/platform-browser-dynamic": "20.0.0-next.5",
2425
"@angular/router": "20.0.0-next.5",
2526
"rxjs": "^7.5.5",
2627
"tslib": "^2.3.0",

integration/harness-e2e-cli/pnpm-lock.yaml

+20
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

integration/yarn-pnp-compat/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"@angular/forms": "20.0.0-next.5",
2020
"@angular/material": "next",
2121
"@angular/platform-browser": "20.0.0-next.5",
22+
"@angular/platform-browser-dynamic": "20.0.0-next.5",
2223
"@angular/router": "20.0.0-next.5",
2324
"rxjs": "^7.5.5",
2425
"tslib": "^2.3.0",

integration/yarn-pnp-compat/yarn.lock

+15
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,20 @@ __metadata:
394394
languageName: node
395395
linkType: hard
396396

397+
"@angular/platform-browser-dynamic@npm:20.0.0-next.5":
398+
version: 20.0.0-next.5
399+
resolution: "@angular/platform-browser-dynamic@npm:20.0.0-next.5"
400+
dependencies:
401+
tslib: "npm:^2.3.0"
402+
peerDependencies:
403+
"@angular/common": 20.0.0-next.5
404+
"@angular/compiler": 20.0.0-next.5
405+
"@angular/core": 20.0.0-next.5
406+
"@angular/platform-browser": 20.0.0-next.5
407+
checksum: 10/a04d52075b7913636eb327dc8068161372787ddfeaba79668a81a4766c1e1d231f748d8c1e360b0b16a33c5ea887d29f67e46f93750b7d85bafa97081f306983
408+
languageName: node
409+
linkType: hard
410+
397411
"@angular/platform-browser@npm:20.0.0-next.5":
398412
version: 20.0.0-next.5
399413
resolution: "@angular/platform-browser@npm:20.0.0-next.5"
@@ -10436,6 +10450,7 @@ __metadata:
1043610450
"@angular/forms": "npm:20.0.0-next.5"
1043710451
"@angular/material": "npm:next"
1043810452
"@angular/platform-browser": "npm:20.0.0-next.5"
10453+
"@angular/platform-browser-dynamic": "npm:20.0.0-next.5"
1043910454
"@angular/router": "npm:20.0.0-next.5"
1044010455
"@types/jasmine": "npm:~5.1.7"
1044110456
"@types/node": "npm:22.14.0"

package.json

+5
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,11 @@
226226
"dependencies": {
227227
"@nginfra/angular-linking": "1.0.10"
228228
}
229+
},
230+
"@angular/build": {
231+
"peerDependencies": {
232+
"tslib": "^2.3.0"
233+
}
229234
}
230235
},
231236
"patchedDependencies": {

0 commit comments

Comments
 (0)