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
This commit is contained in:
1 parent
8829d3142c
commit
1af3a1360e
9 files changed
+155
-19
No files matched your search
+16
-2
@@ -1,9 +1,23 @@
|
||||
{
|
||||
"name": "pi-nous-portal",
|
||||
"version": "0.1.0",
|
||||
"description": "Nous Portal provider for pi: subscription OAuth and API key, no agent-key minting.",
|
||||
"license": "GPL-3.0-or-later",
|
||||
"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"
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user