Skip to content

Update JS dependencies and add CDK stack unit tests#32

Merged
bermannoah merged 1 commit intomasterfrom
nb/update-js-deps
Mar 16, 2026
Merged

Update JS dependencies and add CDK stack unit tests#32
bermannoah merged 1 commit intomasterfrom
nb/update-js-deps

Conversation

@bermannoah
Copy link
Contributor

@bermannoah bermannoah commented Mar 16, 2026

Summary

  • Update non-CDK JS dependencies (typescript 3.7 → 4.9, ts-node 8 → 9, @types/node 10 → 18 LTS, source-map-support patch bump) in both root and test/workflow
  • Upgrade all @aws-cdk/* and aws-cdk packages from 1.75.0 → 1.204.0 (latest 1.x) in both root and test/workflow
  • Add jest@27, ts-jest@27, @aws-cdk/assert@1.204.0 and 12 CDK stack unit tests covering:
    • Lambda runtime/count (PROVIDED_AL2, bootstrap handler)
    • DynamoDB TTL and stream config
    • SQS queues and dead-letter queue wiring
    • Step Functions state machines
    • API Gateway resources when enableAPI is true/false
    • SNS topic subscription via alertTopicARN
    • Asset path validation error message
  • Add js-build CI job running npm ci, npm run prepare (tsc), and npm test

CDK v2 migration is tracked separately.

Test plan

  • js-build CI job passes (npm ci + tsc + jest)
  • Go lint and test jobs unaffected

🤖 Generated with Claude Code

Updates all @aws-cdk/* and aws-cdk packages from 1.75.0 to 1.204.0 in
both the root and test/workflow. Also upgrades @aws-cdk/assert to
1.204.0, which supports jest >=26.6.3, allowing jest/ts-jest/@types/jest
to move back to 27.x.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
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