Skip to content

revert(gha): bundle action with esbuild - #455

Closed
macalbert wants to merge 1 commit into
mainfrom
revert-454-fix/typescript-7-esbuild-bundle
Closed

revert(gha): bundle action with esbuild#455
macalbert wants to merge 1 commit into
mainfrom
revert-454-fix/typescript-7-esbuild-bundle

Conversation

@macalbert

Copy link
Copy Markdown
Owner

Summary

Reverts #454 at the user's explicit request.

This restores main to its state before the GitHub Action bundler migration.

Changes

Testing

  • GitHub can apply the revert cleanly.

Related

#454

Copilot AI review requested due to automatic review settings July 23, 2026 07:28
@macalbert macalbert closed this Jul 23, 2026
@macalbert
macalbert deleted the revert-454-fix/typescript-7-esbuild-bundle branch July 23, 2026 07:29
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@github-actions github-actions Bot added documentation Improvements or additions to documentation npm Pull requests that update npm/pnpm packages iac Infrastructure as Code (AWS CDK) skills Changes to .github/skills guidance e2e End-to-end tests (Playwright) shell Shell / PowerShell scripts size/XL Very large change — 400+ lines / 25+ files; should be split labels Jul 23, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Reverts PR #454 by restoring the GitHub Action and related tooling back to the pre-esbuild state (ncc bundling, ts-node usage, and TypeScript 6 catalog), along with reverting the associated documentation and script updates.

Changes:

  • Switch GitHub Action bundling back to @vercel/ncc and remove the esbuild build script.
  • Revert local TypeScript execution paths from tsx back to ts-node (CDK + pack/install workflow).
  • Roll back documentation/changelog/ADR content that documented the esbuild/tsx migration.

Reviewed changes

Copilot reviewed 14 out of 16 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/iac/package.json Swap IaC dev dependency from tsx back to ts-node.
src/iac/cdk.json Revert CDK execution from tsx to ts-node.
scripts/README.md Update script docs to reflect ncc bundling and ts-node execution.
scripts/pack-and-install.ts Change script execution entry from tsx shebang to ts-node loader approach.
scripts/build-github-action.mjs Remove esbuild bundling script.
pnpm-workspace.yaml Revert workspace catalog from TS 7/tsx to TS 6/ts-node.
pnpm-lock.yaml Lockfile updates consistent with reverting dependencies/tooling.
package.json Restore build:gha to ncc, add @vercel/ncc, switch local install to ts-node loader.
e2e/cli.test.ts Update E2E setup to run pack/install using ts-node loader.
docs/changelogs/gha.md Remove the unreleased changelog entry describing the esbuild/tsx migration.
docs/adr/0010-github-action-bundler.md Remove the ADR that justified esbuild bundling.
docs/adr/0006-monorepo-structure.md Update monorepo ADR to reflect ncc bundling again.
CONTRIBUTING.md Update contributor docs to indicate ncc-based GHA bundling.
.github/skills/common-security/SKILL.md Update security guidance to reference ncc bundling.
.github/copilot-instructions.md Update repo instructions to reflect ncc bundling.
Files not reviewed (1)
  • pnpm-lock.yaml: Generated file

@@ -1,4 +1,4 @@
#!/usr/bin/env tsx
#!/usr/bin/env node --loader=ts-node/esm
Comment thread src/iac/cdk.json
@@ -1,5 +1,5 @@
{
"app": "pnpm exec tsx bin/main.ts",
"app": "npx ts-node --prefer-ts-exts bin/main.ts",
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation e2e End-to-end tests (Playwright) iac Infrastructure as Code (AWS CDK) npm Pull requests that update npm/pnpm packages shell Shell / PowerShell scripts size/XL Very large change — 400+ lines / 25+ files; should be split skills Changes to .github/skills guidance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants