Skip to content

Rename to @drbaher/draft-cli — npm name taken#4

Merged
DrBaher merged 1 commit into
mainfrom
claude/scoped-rename
May 16, 2026
Merged

Rename to @drbaher/draft-cli — npm name taken#4
DrBaher merged 1 commit into
mainfrom
claude/scoped-rename

Conversation

@DrBaher
Copy link
Copy Markdown
Owner

@DrBaher DrBaher commented May 16, 2026

Summary

  • Unscoped draft-cli is taken on npm by preflower (an unrelated Vue/React shadcn-clone, already v0.1.6). Switching to @drbaher/draft-cli (available) unblocks the v0.1.0 publish gate.
  • 10 files updated; no code or test changes. 141/141 tests still pass post-rename.
  • publishConfig.access: public added as belt-and-braces; publish.yml already passes --access public.

What changed

  • package.jsonname@drbaher/draft-cli, added publishConfig
  • .github/workflows/ci.yml smoke step — made tarball-name-agnostic (scoped packages produce drbaher-draft-cli-${version}.tgz, so a *.tgz glob is safer than the hardcoded filename)
  • User-facing docs — npm install -g … and npx …@latest references updated in README.md, GETTING_STARTED.md, PARAM_SCHEMA.md, CHANGELOG.md, .github/ISSUE_TEMPLATE/bug_report.md, and the jszip-missing error message in draft-cli.mjs
  • AGENTS.md — programmatic-import examples updated (from "@drbaher/draft-cli")
  • Prose mentions of draft-cli (the project name) left alone — project name is not the same as the npm-package name

Test plan

  • npm test — 141/141 passing
  • npm pack --dry-run — 11 files, new filename drbaher-draft-cli-0.1.0.tgz
  • CI green on Ubuntu × macOS × Node 18/20/22 + coverage + smoke
  • After merge: configure npm Trusted Publishers (workflow publish.yml, env npm) + GitHub npm environment, then tag v0.1.0

🤖 Generated with Claude Code

The unscoped `draft-cli` name is owned by `preflower` (an unrelated
Vue/React shadcn-clone, already v0.1.6). Switching to the scoped
`@drbaher/draft-cli` (available) unblocks the v0.1.0 publish gate.

- `publishConfig.access: public` added to package.json as belt-and-braces;
  publish.yml already passes `--access public`, but the config documents
  intent and covers manual `npm publish` runs.
- ci.yml smoke step made tarball-name-agnostic (scoped packages produce
  `drbaher-draft-cli-\${version}.tgz`, so `*.tgz` glob is safer than a
  hardcoded `draft-cli-\${version}.tgz`).
- AGENTS.md programmatic-import examples updated since users will type
  the scoped name in their own imports.
- draft-cli.mjs jszip-missing error message updated so the "reinstall"
  hint matches the actual package name users would type.
- Prose mentions of the project name kept as `draft-cli` (project name
  is not the same as the npm-package name).

No code or test changes; 141/141 tests still pass post-rename.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@DrBaher DrBaher merged commit c4e3878 into main May 16, 2026
8 checks passed
@DrBaher DrBaher deleted the claude/scoped-rename branch May 16, 2026 16:03
DrBaher added a commit that referenced this pull request May 17, 2026
v2 #4: LLM inference from deal description (v0.8.0)
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.

1 participant