Skip to content

Commit 5f1defb

Browse files
hasparusclaude
andcommitted
fix(ci): add moduleResolution override for auto script
TS_NODE_COMPILER_OPTIONS was setting module to commonjs but tsconfig has moduleResolution: Bundler which requires ES modules. Adding moduleResolution: node makes them compatible. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
1 parent 6a5d462 commit 5f1defb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"postinstall": "preconstruct dev",
2020
"dev": "preconstruct dev",
2121
"release": "pnpm clean && pnpm build && pnpm shipit && node scripts/publish-to-npm.mjs",
22-
"auto": "cross-env TS_NODE_COMPILER_OPTIONS=\"{ \\\"module\\\": \\\"commonjs\\\", \\\"isolatedModules\\\": false }\" auto",
22+
"auto": "cross-env TS_NODE_COMPILER_OPTIONS=\"{ \\\"module\\\": \\\"commonjs\\\", \\\"moduleResolution\\\": \\\"node\\\", \\\"isolatedModules\\\": false }\" auto",
2323
"shipit": "pnpm auto shipit",
2424
"shipit:verbose": "pnpm auto shipit -v",
2525
"auto:version": "pnpm auto version -v",

0 commit comments

Comments
 (0)