691c064a37
- package.json: drop private; point main/types/exports/bin at a tsc-built dist/; add publishConfig (unom/npm registry), files, repo metadata, and the MIT OR Apache-2.0 license; effect becomes a peerDependency (shared instance). - tsconfig.build.json: emit dist/ JS + .d.ts (bun shebang preserved on the bin). - .npmrc: map the @punktfunk scope to the registry (no token committed). - sdk-publish.yml: publish on sdk-v* tags or manual dispatch, reusing the REGISTRY_TOKEN secret; typecheck/test/build/tag-matches-version gate. - README: Install section for consumers. Verified: build green, frozen lockfile stable, bun publish --dry-run packs @punktfunk/host@0.1.0 (dist + README only) to the unom registry. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
58 lines
1.6 KiB
JSON
58 lines
1.6 KiB
JSON
{
|
|
"name": "@punktfunk/host",
|
|
"version": "0.1.0",
|
|
"description": "TypeScript SDK for the punktfunk streaming host: typed management-API client + lifecycle event stream, built on Effect.",
|
|
"type": "module",
|
|
"license": "MIT OR Apache-2.0",
|
|
"homepage": "https://git.unom.io/unom/punktfunk/src/branch/main/sdk",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://git.unom.io/unom/punktfunk.git",
|
|
"directory": "sdk"
|
|
},
|
|
"bugs": {
|
|
"url": "https://git.unom.io/unom/punktfunk/issues"
|
|
},
|
|
"keywords": ["punktfunk", "game-streaming", "automation", "sdk", "effect"],
|
|
"main": "./dist/index.js",
|
|
"types": "./dist/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"default": "./dist/index.js"
|
|
},
|
|
"./effect": {
|
|
"types": "./dist/effect.d.ts",
|
|
"default": "./dist/effect.js"
|
|
}
|
|
},
|
|
"bin": {
|
|
"punktfunk-scripting": "./dist/runner-cli.js"
|
|
},
|
|
"files": ["dist", "README.md"],
|
|
"publishConfig": {
|
|
"registry": "https://git.unom.io/api/packages/unom/npm/"
|
|
},
|
|
"scripts": {
|
|
"gen": "openapigen --spec ../api/openapi.json --name Punktfunk --format httpclient > src/gen/punktfunk.ts",
|
|
"typecheck": "tsc --noEmit",
|
|
"build": "tsc -p tsconfig.build.json",
|
|
"test": "bun test",
|
|
"runner": "bun src/runner-cli.ts",
|
|
"prepublishOnly": "bun run build"
|
|
},
|
|
"peerDependencies": {
|
|
"effect": "^4.0.0-beta.98"
|
|
},
|
|
"devDependencies": {
|
|
"effect": "^4.0.0-beta.98",
|
|
"@effect/openapi-generator": "4.0.0-beta.98",
|
|
"@effect/platform-node": "4.0.0-beta.98",
|
|
"@types/bun": "^1.3.0",
|
|
"typescript": "^5.9.3"
|
|
},
|
|
"optionalDependencies": {
|
|
"undici": "^7.0.0"
|
|
}
|
|
}
|