fix(cli): declare node-pty as runtime dep so npx runfusion.ai terminal works on clean install
node-pty was previously only present transitively via the workspace @fusion/dashboard devDependency, which is stripped at publish time. Fresh users running `npx runfusion.ai` hit a 503 "PTY module could not be loaded" when opening the dashboard terminal. Tightened the package-config guard so this regression is caught next time. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -118,9 +118,8 @@ describe("CLI package.json publishing config", () => {
|
||||
const TRANSITIVE_EXTERNALS: Record<string, string> = {
|
||||
ssh2: "transitive dep of dockerode",
|
||||
"cpu-features": "transitive dep of dockerode (via ssh2)",
|
||||
"node-pty": "only loaded by the Bun-compiled binary from dist/runtime/",
|
||||
"@homebridge/node-pty-prebuilt-multiarch":
|
||||
"only loaded by the Bun-compiled binary from dist/runtime/",
|
||||
"aliased as node-pty in dependencies; the alias entry satisfies the import",
|
||||
};
|
||||
|
||||
it("parses externals from tsup.config.ts", () => {
|
||||
|
||||
Reference in New Issue
Block a user