Skip to content

Commit 4d08139

Browse files
jarrodwattsclaude
andcommitted
feat: prepare CLI for first npm publish
- Fix prepublishOnly: remove lint/test (missing at package level, already run by CI at root before publish step) - Add NODE_AUTH_TOKEN and --provenance to publish workflow - Add separator below Features in README Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 348b736 commit 4d08139

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,6 @@ jobs:
2727
- run: pnpm lint
2828
- run: pnpm test
2929
- run: pnpm build
30-
- run: pnpm --filter @abstract-foundation/agw-cli publish --access public --no-git-checks
30+
- run: pnpm --filter @abstract-foundation/agw-cli publish --access public --no-git-checks --provenance
31+
env:
32+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ Or, read the [installation guide](https://github.com/Abstract-Foundation/agw-cli
2727
- **Pagination & field trimming** — narrow reads with `fields`, paginate with `--page-all`
2828
- **Agent skills** — installable skills that teach AI agents safe CLI usage patterns
2929

30+
---
31+
3032
### Prerequisites
3133

3234
- Node.js 18+

packages/agw-cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"check-types": "tsc -p tsconfig.json --noEmit",
3333
"dev": "tsx src/index.ts",
3434
"start": "node dist/index.mjs",
35-
"prepublishOnly": "pnpm check-types && pnpm lint && pnpm test && pnpm build"
35+
"prepublishOnly": "pnpm check-types && pnpm build"
3636
},
3737
"dependencies": {
3838
"@abstract-foundation/agw-client": "1.10.0",

0 commit comments

Comments
 (0)