Skip to content

Bundle with tsup and migrate to latest toolset#9

Merged
mrsimpson merged 2 commits into
mainfrom
claude/add-cli-binary-entry-eeWYd
Mar 18, 2026
Merged

Bundle with tsup and migrate to latest toolset#9
mrsimpson merged 2 commits into
mainfrom
claude/add-cli-binary-entry-eeWYd

Conversation

@mrsimpson
Copy link
Copy Markdown
Contributor

No description provided.

claude added 2 commits March 18, 2026 14:58
…for CLI

Bump the monorepo template to the modernized version from
mrsimpson/template-typescript-monorepo PR#1, and introduce tsup as the
CLI build tool so the binary is properly built and executable.

The previous tsc-only build had never been run end-to-end; the CLI dist
was missing entirely. tsup replaces tsc for the CLI package and confirms
the binary works.

- pnpm upgraded to v10; pnpm-workspace.yaml gets a catalog section for
  shared dependency versions (typescript, oxlint, prettier, vitest, tsx,
  tsup, rimraf)
- ESLint + typescript-eslint replaced by oxlint (faster, simpler config);
  all per-package eslint.config.mjs files removed, root .oxlintrc.json added
- nodemon replaced by `tsx watch` in dev scripts; nodemon.json files removed
- commitlint added (commitlint.config.js) with conventional-commits preset
- knip and changesets added to root devDependencies and scripts
- All per-package devDependencies migrated to catalog: references
- packages/core and packages/harnesses gain files/exports fields
- packages/cli build script switches from `tsc` to `tsup`; tsup.config.ts
  bundles src/index.ts as ESM targeting Node 22, keeping external deps
  external so npm resolves them on install

All consumers of the workspace packages are unaffected — public APIs and
dist shapes are unchanged. The pnpm lockfile is regenerated for pnpm v10.

https://claude.ai/code/session_013WVNnTozRKrc3SoP9oLC4N
@mrsimpson mrsimpson merged commit 143ac71 into main Mar 18, 2026
1 check passed
@mrsimpson mrsimpson deleted the claude/add-cli-binary-entry-eeWYd branch March 18, 2026 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants