Files
nous-portal/package.json
T
AlexKucera 1af3a1360e feat: make the package installable from npm
pi loads a package's extensions through the `pi` manifest or an
`extensions/` directory, so a root index.ts loaded nothing as a
package. Add "pi": { "extensions": ["./index.ts"] }, a files
whitelist that keeps tests and docs out of the tarball, and the
repository links the pi.dev/packages gallery shows.

Add publish.sh for releases: checks, tarball preview, changelog
heading, commit, tag, npm publish, push. No CI (ADR 0003).

Lead the README with pi install npm:pi-nous-portal, document the
release script, and label the package unofficial and
community-maintained. The README also gets a plainer voice.

The publish itself is still pending. Refs #3
2026-11-25 16:15:15 +01:00

45 lines
1.0 KiB
JSON

{
"name": "pi-nous-portal",
"version": "0.1.0",
"description": "Unofficial, community-maintained Nous Portal provider for pi: subscription OAuth and API key, no agent-key minting.",
"type": "module",
"homepage": "https://git.babylondreams.de/AlexKucera/nous-portal",
"bugs": "https://git.babylondreams.de/AlexKucera/nous-portal/issues",
"repository": {
"type": "git",
"url": "https://git.babylondreams.de/AlexKucera/nous-portal.git"
},
"files": [
"index.ts",
"CHANGELOG.md"
],
"pi": {
"extensions": [
"./index.ts"
]
},
"engines": {
"node": ">=22"
},
"scripts": {
"typecheck": "tsc --noEmit",
"test": "node --test tests/*.test.mjs",
"check": "npm run typecheck && npm test"
},
"keywords": [
"pi-package",
"pi-extension",
"pi-provider",
"nous"
],
"peerDependencies": {
"@earendil-works/pi-ai": "*",
"@earendil-works/pi-coding-agent": "*"
},
"devDependencies": {
"@types/node": "^22",
"jiti": "^2.7.0",
"typescript": "^5"
}
}