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
21 changes: 21 additions & 0 deletions .changeset/cli-retire-abandoned-tsup-config.md
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
---
"@objectstack/cli": patch
---

Remove the abandoned tsup build path from `packages/cli` (#10185): the
`tsup.config.ts`, the orphaned `src/bin.ts` it was the only referrer of, and
the now-unused `tsup` devDependency.

The package has built with `tsc -p tsconfig.build.json` since the oclif
migration, which also introduced `oclif.commands.target: "./dist/commands"`
and moved the `bin` field onto `bin/run.js`. The tsup config was left behind
by that commit and never invoked again — but it was not inert. It declared
`clean: true` with only `src/bin.ts` and `src/index.ts` as entries, so anyone
running the obvious `tsup` next to a `tsup.config.ts` would wipe `dist/` and
emit no `dist/commands/**` at all, leaving a CLI that resolves zero commands.
Deleting it removes the trap rather than documenting it.

No published behaviour changes: the resolved oclif command surface is
identical before and after (60 commands, 68 topics). The only build-output
difference is that `dist/bin.js` — a re-export of `execute` from
`@oclif/core` that nothing imported — is no longer emitted.
1 change: 0 additions & 1 deletion packages/cli/package.json
Original file line numberDiff line numberDiff line change
Expand Up@@ -119,7 +119,6 @@
"@oclif/plugin-plugins": "^5.4.87",
"@types/better-sqlite3": "^7.6.13",
"@types/node": "^26.2.0",
"tsup": "^8.5.1",
"typescript": "^6.0.3",
"vitest": "^4.1.10"
},
Expand Down
13 changes: 0 additions & 13 deletions packages/cli/src/bin.ts

This file was deleted.

23 changes: 0 additions & 23 deletions packages/cli/tsup.config.ts

This file was deleted.

3 changes: 0 additions & 3 deletions pnpm-lock.yaml

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

Loading