Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .changeset/fix-tui-components-bundling.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
"perstack": patch
---

fix(perstack): bundle @perstack/tui-components to fix npm install failure

The private package @perstack/tui-components was listed as a runtime dependency,
causing npm install to fail when installing perstack from npm registry.

Now @perstack/tui-components is bundled into the CLI build using tsup's noExternal
option, so it doesn't need to be published separately.
2 changes: 1 addition & 1 deletion apps/perstack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
"@perstack/core": "workspace:*",
"@perstack/react": "workspace:*",
"@perstack/runtime": "workspace:*",
"@perstack/tui-components": "workspace:*",
"commander": "^14.0.2",
"dotenv": "^17.2.3",
"ink": "^6.5.1",
Expand All @@ -35,6 +34,7 @@
"devDependencies": {
"@perstack/filesystem-storage": "workspace:*",
"@perstack/runner": "workspace:*",
"@perstack/tui-components": "workspace:*",
"@tsconfig/node22": "^22.0.5",
"@types/node": "^25.0.3",
"@types/react": "^19.2.7",
Expand Down
2 changes: 2 additions & 0 deletions apps/perstack/tsup.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ export const cliConfig: Options = {
entry: {
"bin/cli": "bin/cli.ts",
},
// Bundle private packages that won't be published to npm
noExternal: ["@perstack/tui-components"],
}

export default defineConfig(cliConfig)
62 changes: 31 additions & 31 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.