Skip to content

Commit 9fcb4da

Browse files
committed
chore(release): prepare npm publishing
1 parent b6c3afd commit 9fcb4da

8 files changed

Lines changed: 2219 additions & 251 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,7 @@ jobs:
1313
- uses: actions/setup-node@v4
1414
with:
1515
node-version: 22
16-
- name: Bootstrap check
17-
run: |
18-
if grep -q "file:../" package.json; then
19-
echo "Skipping npm install until cross-repo packages are published."
20-
exit 0
21-
fi
22-
npm install
23-
npm run typecheck
24-
npm test --if-present
25-
npm run build
16+
- run: npm install
17+
- run: npm run typecheck
18+
- run: npm test --if-present
19+
- run: npm run build

.github/workflows/publish.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,9 @@ jobs:
2020
with:
2121
node-version: 22
2222
registry-url: https://registry.npmjs.org
23-
cache: npm
24-
- run: npm ci
23+
- run: npm install
2524
- run: npm run typecheck
2625
- run: npm test
2726
- run: npm run build
28-
- run: npm version "${{ inputs.version }}" --no-git-tag-version
29-
- run: npm publish --provenance --access public
30-
env:
31-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
27+
- run: npm version "${{ inputs.version }}" --no-git-tag-version --allow-same-version
28+
- run: npm publish --access public

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Contributing
22

3-
AgentDispatch packages are developed as separate repositories under the `agent-dispatch` GitHub organization. Keep public contracts in `@agentdispatch/core` provider-neutral and avoid adding cloud-specific fields outside adapter-owned `details` or `providerRefs` objects.
3+
AgentDispatch packages are developed as separate repositories under the `agent-dispatch` GitHub organization. Keep public contracts in `@agent-dispatch/core` provider-neutral and avoid adding cloud-specific fields outside adapter-owned `details` or `providerRefs` objects.
44

55
Run these checks before opening a pull request:
66

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# @agentdispatch/cli
1+
# @agent-dispatch/cli
22

33
Human/debug command-line interface for AgentDispatch.
44

docs/release.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Release Workflow
22

3-
`@agentdispatch/cli` is published after `@agentdispatch/core`, `@agentdispatch/sdk`, `@agentdispatch/store-sqlite`, and `@agentdispatch/adapter-aws-agentcore`.
3+
`@agent-dispatch/cli` is published after `@agent-dispatch/core`, `@agent-dispatch/sdk`, `@agent-dispatch/store-sqlite`, and `@agent-dispatch/adapter-aws-agentcore`.
44

55
## Prerequisites
66

0 commit comments

Comments
 (0)