Skip to content

chore(deps): update TypeScript project dependencies to latest#1252

Merged
kaiz-io merged 1 commit intomainfrom
chore/update-typescript-deps
Apr 5, 2026
Merged

chore(deps): update TypeScript project dependencies to latest#1252
kaiz-io merged 1 commit intomainfrom
chore/update-typescript-deps

Conversation

@kaiz-io
Copy link
Copy Markdown
Contributor

@kaiz-io kaiz-io commented Apr 5, 2026

Changes

Dependency updates (101 package.json files)

  • aws-cdk-lib to 2.248.0
  • aws-cdk CLI to 2.1114.1
  • typescript to ~5.9.3
  • @types/node to ^24.10.1
  • @types/jest to ^30, jest to ^30, ts-jest to ^29
  • constructs to ^10.0.0

Breaking change fixes

  • typescript/imagebuilder: Replace raw {managedPolicyArn} objects with iam.ManagedPolicy.fromAwsManagedPolicyName() (IManagedPolicy interface changed in cdk-lib 2.248)
  • typescript/ec2-instance: Replace toThrowError with toThrow (removed in Jest 30)
  • typescript/ec2-instance-connect-endpoint: Update pinned constructs 10.0.5 to ^10.0.0 (old version missing IMixin export)
  • typescript/api-cors-lambda-crud-dynamodb: Update externalModules from aws-sdk to @aws-sdk/* and add sdkV2NotInRuntime feature flag

Cleanup

  • Delete stale scripts/update-packagejson/update-cdk-packages.ts (superseded by src/ version)
  • Remove duplicate yarn.lock files causing MultipleLockFilesFound errors in 4 projects

Test snapshot updates

  • api-gateway-lambda-token-authorizer, ec2-instance, ec2-instance-connect-endpoint, inspector2, ec2-ssm-local-zone, aws-transfer-sftp-server

Validation

All 81 buildable TypeScript projects pass tsc + cdk synth (7 skipped via DO_NOT_AUTOTEST).


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

- Update aws-cdk-lib to 2.248.0, aws-cdk CLI to 2.1114.1
- Update typescript to ~5.9.3, @types/node to ^24.10.1
- Update jest to ^30, @types/jest to ^30, ts-jest to ^29
- Update constructs to ^10.0.0
- Delete stale scripts/update-packagejson/update-cdk-packages.ts
- Fix imagebuilder IManagedPolicy breaking change (use fromAwsManagedPolicyName)
- Fix ec2-instance toThrowError -> toThrow for Jest 30 compat
- Fix ec2-instance-connect-endpoint pinned constructs version
- Remove duplicate yarn.lock files causing MultipleLockFilesFound errors
- Update test snapshots for new CDK output
@kaiz-io kaiz-io merged commit 873dee1 into main Apr 5, 2026
9 checks passed
@kaiz-io kaiz-io deleted the chore/update-typescript-deps branch April 5, 2026 02:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant