Skip to content

Commit f032665

Browse files
mhaertwiggithub-actions
authored andcommitted
fix: require at least angular 21.1.0 as peerDependency (#2758)
Versions of `@angular/cdk` lower than 21.1.0 break the build because of the missing `_VIEW_REPEATER_STRATEGY` that was removed in #2750.
1 parent ca0a0b6 commit f032665

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

RELEASE.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ This document describes how to create a new release of SBB Angular.
66

77
### Major release preparation
88

9+
- See the TODO in file `bazel-additional-stamp.mjs`
910
- Update Angular packages to align with new angular major version.
1011
- Update ng-update schematics.
1112
- Update stackblitz assets.

tools/bazel-additional-stamp.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,7 @@ function computeFrameworkPeerDependency(version) {
5050
);
5151
}
5252

53-
return `^${version.major}.0.0 || ^${version.major + 1}.0.0`;
53+
// TODO(mhaertwig): undo this change when releasing `@sbb-esta/angular` 22
54+
// return `^${version.major}.0.0 || ^${version.major + 1}.0.0`;
55+
return `^${version.major}.1.0 || ^${version.major + 1}.0.0`;
5456
}

0 commit comments

Comments
 (0)