Skip to content

Commit 7b8859e

Browse files
jurgenwerkclaude
andcommitted
Restore bin/boxel.js to match main
Drops the `project:` tsconfig path added in 3d6d8e7 — back to the version on main. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 4f5f81e commit 7b8859e

1 file changed

Lines changed: 2 additions & 9 deletions

File tree

packages/boxel-cli/bin/boxel.js

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,7 @@ const distEntry = path.resolve(__dirname, '..', 'dist', 'index.js');
99
if (fs.existsSync(distEntry)) {
1010
require(distEntry);
1111
} else {
12-
// Development fallback: run from TypeScript source via ts-node.
13-
// Point ts-node at boxel-cli's own tsconfig.json explicitly so it
14-
// works regardless of the caller's cwd. Without `project`, ts-node
15-
// discovers tsconfig from cwd — fine when invoked from inside the
16-
// monorepo, broken when invoked from /tmp/... or any other tree.
17-
require('ts-node').register({
18-
transpileOnly: true,
19-
project: path.resolve(__dirname, '..', 'tsconfig.json'),
20-
});
12+
// Development fallback: run from TypeScript source via ts-node
13+
require('ts-node').register({ transpileOnly: true });
2114
require('../src/index.ts');
2215
}

0 commit comments

Comments
 (0)