You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: align all versions of typescript, jsii & jsii-rosetta to 5.4 (#29974)
### Reason for this change
There were a number of inconsistencies with the versions used for typescript, jsii & jsii-rosetta in this repository.
Also the automated updater was incorrectly updating jsii minor versions.
I did some digging and turns out because `jsii` was at `5.4.x` already, we are already using TypeScript 5.4 for most critical paths. So I went ahead and aligned all TS version on that.
### Description of changes
Manually align all versions of typescript, jsii & jsii-rosetta.
Fixed the update workflow to only update patch version for these three packages.
Includes changes from #29978 until that is merged, and this PR is rebased.
### Description of how you validated changes
Run through the test pipeline.
### Checklist
- [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)
----
*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Copy file name to clipboardExpand all lines: .github/workflows/yarn-upgrade.yml
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,6 @@ jobs:
13
13
contents: read
14
14
runs-on: ubuntu-latest
15
15
steps:
16
-
17
16
- name: Check Out
18
17
uses: actions/checkout@v4
19
18
@@ -53,16 +52,17 @@ jobs:
53
52
# Upgrade special cases:
54
53
# - Various `@types/*` packages need to be pinned to specific versions due to breaking changes in minor upgrades https://github.com/DefinitelyTyped/DefinitelyTyped/issues/64266
55
54
# - `typescript` is not semantically versioned, so we only upgrade the patch version
55
+
# - `jsii`, `jsii-rosetta` is not semantically versioned and needs to be upgrades alongside typescript
56
56
# - `constructs` because we need to stay in control of the minimum compatible version
57
57
# - `aws-sdk-mock` because of breaking changes in type exports https://github.com/dwyl/aws-sdk-mock/pull/260. We are not respecting `@ts-ignore`.
58
58
# - `@aws-cdk/aws-service-spec` and `@aws-cdk/service-spec-types` have their own update workflow
0 commit comments