Skip to content

fix: align esbuild version and pin pnpm in examples#277

Merged
revmischa merged 2 commits into
mainfrom
fix/align-example-deps
Feb 11, 2026
Merged

fix: align esbuild version and pin pnpm in examples#277
revmischa merged 2 commits into
mainfrom
fix/align-example-deps

Conversation

@revmischa

Copy link
Copy Markdown
Member

Addresses review feedback from #276.

Changes

  • esbuild version alignment: tsx@^4.21.0 pulls in esbuild@0.27.x transitively, but examples had a direct dependency on esbuild@^0.25.12, causing duplicate installs. Bumped to ^0.27.0 to align.
  • pnpm version pinning: Lockfiles use lockfileVersion 9.0 (pnpm v9+) but nothing enforced the pnpm version. Added packageManager: pnpm@9.15.9 to each example's package.json.

Not changed

  • CDK CLI version (^2.1105.0 vs aws-cdk-lib@^2.237.1): These packages have independent release cadences. aws-cdk@2.1105.0 is the current latest CLI and is fully backward-compatible with aws-cdk-lib@2.237.1. No action needed.

Note

Lockfiles will need regeneration (pnpm install in each example directory) to pick up the esbuild version change.

- Bump esbuild from ^0.25.12 to ^0.27.0 to align with the version
  tsx@^4.21.0 pulls in transitively, avoiding duplicate installs
- Add packageManager field (pnpm@9.15.9) to enforce pnpm v9 which
  matches the lockfileVersion 9.0 format
@revmischa revmischa marked this pull request as ready for review February 9, 2026 06:05
@revmischa revmischa merged commit c8981c1 into main Feb 11, 2026
4 checks passed
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