From a932fa068a74d04883f30e403c9223d228d471af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9D=B4=EC=A2=85=EA=B2=BD?= Date: Wed, 1 Apr 2026 16:02:55 +0900 Subject: [PATCH] fix(init): use bin.js entry point for TypeScript loader in justfile `just init` fails because `node packages/tools/src/index.ts` runs without a TypeScript loader, so Node.js cannot resolve `.js` imports to `.ts` files. Use `bin.js` which registers `@oxc-node/core/register` before importing `index.ts`. --- justfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/justfile b/justfile index 67dd2e2203..0dc97d1ca6 100644 --- a/justfile +++ b/justfile @@ -18,7 +18,7 @@ _clean_dist: init: _clean_dist cargo binstall watchexec-cli cargo-insta typos-cli cargo-shear dprint taplo-cli -y - node packages/tools/src/index.ts sync-remote + node packages/tools/src/bin.js sync-remote pnpm install pnpm -C docs install