Files
opencode-manager/shared/package.json
Chris Scott 0cecd4b364 chore(shared): publish @opencode-manager/shared to npm
Make the shared package public and publish it from the existing release workflow alongside ocm-cli so the mobile app can install it from npm instead of a pinned git commit.
2026-11-05 21:34:54 -05:00

53 lines
1.5 KiB
JSON

{
"name": "@opencode-manager/shared",
"version": "1.1.0",
"description": "Shared schemas, types, OpenCode helpers and Manager API contracts for OpenCode Manager clients.",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/chriswritescode-dev/opencode-manager.git",
"directory": "shared"
},
"type": "module",
"files": [
"src"
],
"publishConfig": {
"access": "public"
},
"main": "./src/index.ts",
"types": "./src/index.ts",
"exports": {
".": "./src/index.ts",
"./schemas": "./src/schemas/index.ts",
"./types": "./src/types/index.ts",
"./types/errors": "./src/types/errors.ts",
"./config": "./src/config/index.ts",
"./config/defaults": "./src/config/defaults.ts",
"./config/env": "./src/config/env.ts",
"./config/client": "./src/config/client.ts",
"./utils": "./src/utils/index.ts",
"./notifications": "./src/notifications/index.ts",
"./project-id": "./src/project-id-resolver.ts",
"./opencode": "./src/opencode/index.ts",
"./opencode/config-validation": "./src/opencode/config-validation.ts",
"./themes": "./src/themes/index.ts"
},
"dependencies": {
"@opencode/client": "2.2.1",
"@opencode/schema": "2.2.1",
"effect": "4.0.1",
"jsonc-parser": "^3.3.1",
"zod": "^4.1.12"
},
"scripts": {
"typecheck": "tsc --noEmit"
},
"optionalDependencies": {
"dotenv": "^17.2.3"
},
"devDependencies": {
"typescript": "^5"
}
}