package: publishable as @wassname2/pi-goals 0.1.0 (files, public access, prepublish checks); README install from npm

This commit is contained in:
wassname
2026-08-10 18:06:27 +08:00
parent 751e20b7ee
commit 230b7bd343
2 changed files with 17 additions and 5 deletions
+6 -2
View File
@@ -26,10 +26,14 @@ resync-after-compaction from [tmonk/pi-goal-x](https://github.com/tmonk/pi-goal-
## Install
Not yet published to npm; run from a checkout:
```bash
pi install npm:@wassname2/pi-goals
```
Or for development:
```bash
git clone https://github.com/wassname/pi-plan && cd pi-plan && npm install
git clone https://github.com/wassname/pi-goals && cd pi-goals && npm install
pi -e ./src/index.ts
```
+11 -3
View File
@@ -1,13 +1,13 @@
{
"name": "@wassname2/pi-goals",
"version": "0.0.1",
"description": "One .pi/goals.md: set goals in plan mode, work them, sign off only when a read-only check passes. Successor to pi-lgtm.",
"version": "0.1.0",
"description": "One .pi/plan.md: set goals in plan mode, work them, sign off only when a read-only judge checks the evidence. Successor to pi-lgtm.",
"author": "wassname",
"license": "MIT",
"type": "module",
"repository": {
"type": "git",
"url": "https://github.com/wassname/pi-goals.git"
"url": "git+https://github.com/wassname/pi-goals.git"
},
"keywords": [
"pi-package",
@@ -25,8 +25,16 @@
"@earendil-works/pi-tui": "*",
"@sinclair/typebox": "latest"
},
"files": [
"src",
"README.md"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "tsc",
"prepublishOnly": "npm run lint && npm run typecheck && npm run test",
"test": "vitest run",
"test:watch": "vitest",
"typecheck": "tsc --noEmit",