nexus/scripts
Dotta defccdd4d9 feat: integrate Changesets for multi-package npm publishing
Migrate from single-bundle CLI publishing to publishing all @paperclipai/*
packages individually via Changesets. This fixes the "Cannot find package
@paperclipai/server" error when installing from npm.

Changes:
- Add @changesets/cli with fixed versioning (all packages share version)
- Make 7 packages publishable (shared, adapter-utils, db, 3 adapters, server)
- Add build scripts, publishConfig, and files fields to all packages
- Mark @paperclipai/server as external in CLI esbuild config
- Simplify CLI importServerEntry() to use string-literal dynamic import
- Add generate-npm-package-json support for external workspace packages
- Create scripts/release.sh for one-command releases
- Remove old bump-and-publish.sh and version-bump.sh
- All packages start at version 0.2.0

Usage: ./scripts/release.sh patch|minor|major [--dry-run]

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 14:46:16 -06:00
..
backup-db.sh fix: correct pnpm filter name in db:backup script 2026-03-03 13:01:00 -06:00
build-npm.sh fix(cli): prevent duplicate shebang in npm bundle 2026-03-03 13:54:40 -06:00
check-forbidden-tokens.mjs feat: add npm build process, version bump, and forbidden token enforcement 2026-03-03 09:25:10 -06:00
clean-onboard-git.sh scripts 2026-03-03 14:00:10 -06:00
clean-onboard-npm.sh scripts 2026-03-03 14:00:10 -06:00
dev-runner.mjs refactor: rename packages to @paperclipai and CLI binary to paperclipai 2026-03-03 08:45:26 -06:00
generate-npm-package-json.mjs feat: integrate Changesets for multi-package npm publishing 2026-03-03 14:46:16 -06:00
migrate-inline-env-secrets.ts refactor: rename packages to @paperclipai and CLI binary to paperclipai 2026-03-03 08:45:26 -06:00
release.sh feat: integrate Changesets for multi-package npm publishing 2026-03-03 14:46:16 -06:00