Skip to content

Prepare for npm publish: thinktank-ai package#146

Merged
that-github-user merged 1 commit into
mainfrom
issue-139-npm-publish
Mar 29, 2026
Merged

Prepare for npm publish: thinktank-ai package#146
that-github-user merged 1 commit into
mainfrom
issue-139-npm-publish

Conversation

@that-github-user

Copy link
Copy Markdown
Owner

Summary

  • Package name: thinktank-ai (thinktank was taken on npm)
  • CLI binary name stays thinktank
  • Added repository/homepage/bugs metadata to package.json
  • Excluded test files from published package (82KB → 35KB, 132 → 49 files)
  • Updated README: npm install -g thinktank-ai / npx thinktank-ai
  • Release workflow already in place from Add npm publish workflow and prepublish build step #28

To publish after merge:

  1. Add NPM_TOKEN secret to GitHub repo settings
  2. git tag v0.1.0 && git push --tags
  3. Release workflow builds, tests, and publishes automatically

This also resolves the dogfooding bug (#136): once installed globally, thinktank runs from the npm install path, not from agent worktrees. Agents can't interfere with the tool's own infrastructure.

Change type

  • New feature

Related issue

Closes #139

How to test

npm test        # 237 tests pass
npm pack --dry-run  # shows 49 files, 35KB

Breaking changes

  • Package name changed from thinktank to thinktank-ai

🤖 Generated with Claude Code

- Package name: thinktank-ai (thinktank was taken)
- CLI binary name stays: thinktank
- Added repository, homepage, bugs metadata
- Excluded test files from package (82KB → 35KB)
- Updated README install instructions for npm

To publish: set NPM_TOKEN secret in GitHub, then:
  git tag v0.1.0 && git push --tags

Closes #139

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@that-github-user that-github-user merged commit 297107b into main Mar 29, 2026
4 checks passed
@that-github-user that-github-user deleted the issue-139-npm-publish branch March 29, 2026 04:42
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.

Publish npm package and add npx thinktank support

1 participant