diff --git a/.changeset/silent-streams-fix.md b/.changeset/silent-streams-fix.md deleted file mode 100644 index a8a6ed2..0000000 --- a/.changeset/silent-streams-fix.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@savvy-web/github-action-builder": patch ---- - -## Bug Fixes - -Fixed a runtime crash when bundling CommonJS dependencies that use TypeScript's `__importDefault(require("node:*"))` interop helper. The builder previously externalized `node:` builtins as ESM namespace imports in ESM-output mode, causing downstream `instanceof` checks to throw `TypeError: Right-hand side of 'instanceof' is not callable`. The fix externalizes `node:` builtins with `node-commonjs` type so bundled CJS deps receive real CommonJS `require()` semantics. A regression integration test is included. diff --git a/CHANGELOG.md b/CHANGELOG.md index 4ce790f..9fca923 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # @savvy-web/github-action-builder +## 0.6.4 + +### Bug Fixes + +* [`c594590`](https://github.com/savvy-web/github-action-builder/commit/c594590db1d66d404d1b8f4b47ced60abbf4b3d1) Fixed a runtime crash when bundling CommonJS dependencies that use TypeScript's `__importDefault(require("node:*"))` interop helper. The builder previously externalized `node:` builtins as ESM namespace imports in ESM-output mode, causing downstream `instanceof` checks to throw `TypeError: Right-hand side of 'instanceof' is not callable`. The fix externalizes `node:` builtins with `node-commonjs` type so bundled CJS deps receive real CommonJS `require()` semantics. A regression integration test is included. + ## 0.6.3 ### Dependencies diff --git a/package.json b/package.json index 0349948..56b22bf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@savvy-web/github-action-builder", - "version": "0.6.3", + "version": "0.6.4", "private": true, "description": "A zero-config build tool for creating GitHub Actions from TypeScript. Bundles with rsbuild, validates action.yml against GitHub's schema, and outputs production-ready Node.js 24 actions.", "keywords": [