Add bump-and-publish script for one-command npm releases

Combines version bump, build, publish, restore, commit, and tag into
a single ./scripts/bump-and-publish.sh command. Supports --dry-run.
Also restores cli/package.json to dev format after v0.1.1 publish.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Dotta
2026-03-03 13:46:06 -06:00
parent 28a33d1359
commit e8acd6a8b0
4 changed files with 169 additions and 20 deletions

View File

@@ -23,29 +23,28 @@
"files": [
"dist"
],
"engines": {
"node": ">=20"
"scripts": {
"dev": "tsx src/index.ts",
"build": "tsc",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.888.0",
"@clack/prompts": "^0.10.0",
"better-auth": "^1.3.8",
"commander": "^13.1.0",
"detect-port": "^2.1.0",
"dotenv": "^17.0.1",
"@paperclipai/adapter-claude-local": "workspace:*",
"@paperclipai/adapter-codex-local": "workspace:*",
"@paperclipai/adapter-openclaw": "workspace:*",
"@paperclipai/adapter-utils": "workspace:*",
"@paperclipai/db": "workspace:*",
"@paperclipai/server": "workspace:*",
"@paperclipai/shared": "workspace:*",
"drizzle-orm": "0.38.4",
"express": "^5.1.0",
"multer": "^2.0.2",
"open": "^11.0.0",
"picocolors": "^1.1.1",
"pino": "^9.6.0",
"pino-http": "^10.4.0",
"pino-pretty": "^13.1.3",
"postgres": "^3.4.5",
"ws": "^8.19.0",
"zod": "^3.24.2"
"dotenv": "^17.0.1",
"commander": "^13.1.0",
"picocolors": "^1.1.1"
},
"optionalDependencies": {
"embedded-postgres": "^18.1.0-beta.16"
"devDependencies": {
"@types/node": "^22.12.0",
"tsx": "^4.19.2",
"typescript": "^5.7.3"
}
}