diff --git a/cli/package.json b/cli/package.json index 4bda09ed..15697cb6 100644 --- a/cli/package.json +++ b/cli/package.json @@ -16,44 +16,29 @@ "license": "MIT", "repository": { "type": "git", - "url": "https://github.com/paperclipai/paperclip.git", + "url": "https://github.com/paperclipai/paperclip", "directory": "cli" }, "homepage": "https://github.com/paperclipai/paperclip", + "bugs": { + "url": "https://github.com/paperclipai/paperclip/issues" + }, "files": [ "dist" ], - "publishConfig": { - "access": "public" - }, - "scripts": { - "dev": "tsx src/index.ts", - "build": "node --input-type=module -e \"import esbuild from 'esbuild'; import config from './esbuild.config.mjs'; await esbuild.build(config);\" && chmod +x dist/index.js", - "clean": "rm -rf dist", - "typecheck": "tsc --noEmit" + "engines": { + "node": ">=20" }, "dependencies": { "@clack/prompts": "^0.10.0", - "@paperclipai/adapter-claude-local": "workspace:*", - "@paperclipai/adapter-codex-local": "workspace:*", - "@paperclipai/adapter-cursor-local": "workspace:*", - "@paperclipai/adapter-gemini-local": "workspace:*", - "@paperclipai/adapter-opencode-local": "workspace:*", - "@paperclipai/adapter-pi-local": "workspace:*", - "@paperclipai/adapter-openclaw-gateway": "workspace:*", - "@paperclipai/adapter-utils": "workspace:*", - "@paperclipai/db": "workspace:*", - "@paperclipai/server": "workspace:*", - "@paperclipai/shared": "workspace:*", - "drizzle-orm": "0.38.4", - "dotenv": "^17.0.1", + "@paperclipai/server": "0.3.1", "commander": "^13.1.0", + "dotenv": "^17.0.1", + "drizzle-orm": "0.38.4", "embedded-postgres": "^18.1.0-beta.16", - "picocolors": "^1.1.1" - }, - "devDependencies": { - "@types/node": "^22.12.0", - "tsx": "^4.19.2", - "typescript": "^5.7.3" + "picocolors": "^1.1.1", + "postgres": "^3.4.5", + "ws": "^8.19.0", + "zod": "^3.24.2" } } diff --git a/packages/adapter-utils/package.json b/packages/adapter-utils/package.json index 3a908ee5..10bbecf9 100644 --- a/packages/adapter-utils/package.json +++ b/packages/adapter-utils/package.json @@ -1,6 +1,16 @@ { "name": "@paperclipai/adapter-utils", "version": "0.3.1", + "license": "MIT", + "homepage": "https://github.com/paperclipai/paperclip", + "bugs": { + "url": "https://github.com/paperclipai/paperclip/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/paperclipai/paperclip", + "directory": "packages/adapter-utils" + }, "type": "module", "exports": { ".": "./src/index.ts", diff --git a/packages/adapters/claude-local/package.json b/packages/adapters/claude-local/package.json index d6dd0b7f..b73274a9 100644 --- a/packages/adapters/claude-local/package.json +++ b/packages/adapters/claude-local/package.json @@ -1,6 +1,16 @@ { "name": "@paperclipai/adapter-claude-local", "version": "0.3.1", + "license": "MIT", + "homepage": "https://github.com/paperclipai/paperclip", + "bugs": { + "url": "https://github.com/paperclipai/paperclip/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/paperclipai/paperclip", + "directory": "packages/adapters/claude-local" + }, "type": "module", "exports": { ".": "./src/index.ts", diff --git a/packages/adapters/codex-local/package.json b/packages/adapters/codex-local/package.json index 0755b214..3890a2d9 100644 --- a/packages/adapters/codex-local/package.json +++ b/packages/adapters/codex-local/package.json @@ -1,6 +1,16 @@ { "name": "@paperclipai/adapter-codex-local", "version": "0.3.1", + "license": "MIT", + "homepage": "https://github.com/paperclipai/paperclip", + "bugs": { + "url": "https://github.com/paperclipai/paperclip/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/paperclipai/paperclip", + "directory": "packages/adapters/codex-local" + }, "type": "module", "exports": { ".": "./src/index.ts", diff --git a/packages/adapters/cursor-local/package.json b/packages/adapters/cursor-local/package.json index 3561f0ff..86c3fe19 100644 --- a/packages/adapters/cursor-local/package.json +++ b/packages/adapters/cursor-local/package.json @@ -1,6 +1,16 @@ { "name": "@paperclipai/adapter-cursor-local", "version": "0.3.1", + "license": "MIT", + "homepage": "https://github.com/paperclipai/paperclip", + "bugs": { + "url": "https://github.com/paperclipai/paperclip/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/paperclipai/paperclip", + "directory": "packages/adapters/cursor-local" + }, "type": "module", "exports": { ".": "./src/index.ts", diff --git a/packages/adapters/gemini-local/package.json b/packages/adapters/gemini-local/package.json index 1d482fb1..ade7a7a3 100644 --- a/packages/adapters/gemini-local/package.json +++ b/packages/adapters/gemini-local/package.json @@ -1,6 +1,16 @@ { "name": "@paperclipai/adapter-gemini-local", "version": "0.3.1", + "license": "MIT", + "homepage": "https://github.com/paperclipai/paperclip", + "bugs": { + "url": "https://github.com/paperclipai/paperclip/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/paperclipai/paperclip", + "directory": "packages/adapters/gemini-local" + }, "type": "module", "exports": { ".": "./src/index.ts", diff --git a/packages/adapters/openclaw-gateway/package.json b/packages/adapters/openclaw-gateway/package.json index 323d09a2..652640ff 100644 --- a/packages/adapters/openclaw-gateway/package.json +++ b/packages/adapters/openclaw-gateway/package.json @@ -1,6 +1,16 @@ { "name": "@paperclipai/adapter-openclaw-gateway", "version": "0.3.1", + "license": "MIT", + "homepage": "https://github.com/paperclipai/paperclip", + "bugs": { + "url": "https://github.com/paperclipai/paperclip/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/paperclipai/paperclip", + "directory": "packages/adapters/openclaw-gateway" + }, "type": "module", "exports": { ".": "./src/index.ts", diff --git a/packages/adapters/opencode-local/package.json b/packages/adapters/opencode-local/package.json index e2816953..67b0733f 100644 --- a/packages/adapters/opencode-local/package.json +++ b/packages/adapters/opencode-local/package.json @@ -1,6 +1,16 @@ { "name": "@paperclipai/adapter-opencode-local", "version": "0.3.1", + "license": "MIT", + "homepage": "https://github.com/paperclipai/paperclip", + "bugs": { + "url": "https://github.com/paperclipai/paperclip/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/paperclipai/paperclip", + "directory": "packages/adapters/opencode-local" + }, "type": "module", "exports": { ".": "./src/index.ts", diff --git a/packages/adapters/pi-local/package.json b/packages/adapters/pi-local/package.json index c286f84e..5ceb1ff7 100644 --- a/packages/adapters/pi-local/package.json +++ b/packages/adapters/pi-local/package.json @@ -1,6 +1,16 @@ { "name": "@paperclipai/adapter-pi-local", "version": "0.3.1", + "license": "MIT", + "homepage": "https://github.com/paperclipai/paperclip", + "bugs": { + "url": "https://github.com/paperclipai/paperclip/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/paperclipai/paperclip", + "directory": "packages/adapters/pi-local" + }, "type": "module", "exports": { ".": "./src/index.ts", diff --git a/packages/db/package.json b/packages/db/package.json index 4459ff87..e879d3de 100644 --- a/packages/db/package.json +++ b/packages/db/package.json @@ -1,6 +1,16 @@ { "name": "@paperclipai/db", "version": "0.3.1", + "license": "MIT", + "homepage": "https://github.com/paperclipai/paperclip", + "bugs": { + "url": "https://github.com/paperclipai/paperclip/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/paperclipai/paperclip", + "directory": "packages/db" + }, "type": "module", "exports": { ".": "./src/index.ts", diff --git a/packages/plugins/create-paperclip-plugin/package.json b/packages/plugins/create-paperclip-plugin/package.json index e863cd6c..60b9c241 100644 --- a/packages/plugins/create-paperclip-plugin/package.json +++ b/packages/plugins/create-paperclip-plugin/package.json @@ -1,6 +1,16 @@ { "name": "@paperclipai/create-paperclip-plugin", "version": "0.1.0", + "license": "MIT", + "homepage": "https://github.com/paperclipai/paperclip", + "bugs": { + "url": "https://github.com/paperclipai/paperclip/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/paperclipai/paperclip", + "directory": "packages/plugins/create-paperclip-plugin" + }, "type": "module", "bin": { "create-paperclip-plugin": "./dist/index.js" diff --git a/packages/plugins/sdk/package.json b/packages/plugins/sdk/package.json index 1c2b0dc5..5564f28f 100644 --- a/packages/plugins/sdk/package.json +++ b/packages/plugins/sdk/package.json @@ -2,6 +2,16 @@ "name": "@paperclipai/plugin-sdk", "version": "1.0.0", "description": "Stable public API for Paperclip plugins — worker-side context and UI bridge hooks", + "license": "MIT", + "homepage": "https://github.com/paperclipai/paperclip", + "bugs": { + "url": "https://github.com/paperclipai/paperclip/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/paperclipai/paperclip", + "directory": "packages/plugins/sdk" + }, "type": "module", "exports": { ".": { diff --git a/packages/shared/package.json b/packages/shared/package.json index 3a844f11..7aa08625 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -1,6 +1,16 @@ { "name": "@paperclipai/shared", "version": "0.3.1", + "license": "MIT", + "homepage": "https://github.com/paperclipai/paperclip", + "bugs": { + "url": "https://github.com/paperclipai/paperclip/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/paperclipai/paperclip", + "directory": "packages/shared" + }, "type": "module", "exports": { ".": "./src/index.ts", diff --git a/scripts/generate-npm-package-json.mjs b/scripts/generate-npm-package-json.mjs index bbe17e10..f7be8cc0 100644 --- a/scripts/generate-npm-package-json.mjs +++ b/scripts/generate-npm-package-json.mjs @@ -94,6 +94,7 @@ const publishPkg = { license: cliPkg.license, repository: cliPkg.repository, homepage: cliPkg.homepage, + bugs: cliPkg.bugs, files: cliPkg.files, engines: { node: ">=20" }, dependencies: sortedDeps, diff --git a/server/package.json b/server/package.json index c5cc23f7..57865b2f 100644 --- a/server/package.json +++ b/server/package.json @@ -1,6 +1,16 @@ { "name": "@paperclipai/server", "version": "0.3.1", + "license": "MIT", + "homepage": "https://github.com/paperclipai/paperclip", + "bugs": { + "url": "https://github.com/paperclipai/paperclip/issues" + }, + "repository": { + "type": "git", + "url": "https://github.com/paperclipai/paperclip", + "directory": "server" + }, "type": "module", "exports": { ".": "./src/index.ts"