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
+1
-1
@@ -19,7 +19,7 @@ Durable documentation that explains *why* the project is shaped the way it is: a
|
||||
- `0001-stack.md`: native pi-ai `Provider` over legacy `ProviderConfig`, because the legacy form leads to agent-key minting that Nous retired.
|
||||
- `0002-license.md`: GPL-3.0-or-later.
|
||||
- `0003-forge-and-ci.md`: Gitea remote, no CI file yet.
|
||||
- An ADR records a decision that is hard to reverse, surprising without context, and the result of a real trade-off. Easy-to-reverse choices do not get an ADR.
|
||||
- `0003-forge-and-ci.md`: Gitea remote, no CI file. Releases go through the local `publish.sh`.
|
||||
|
||||
## Work Guidance
|
||||
|
||||
|
||||
Reference in new issue
Block a user