Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .changeset/fix-package-repack-lifecycle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
"@tangle-network/agent-core": patch
"@tangle-network/agent-interface": patch
"@tangle-network/agent-provider-cli-bridge": patch
"@tangle-network/agent-provider-computesdk": patch
"@tangle-network/agent-provider-daytona": patch
"@tangle-network/agent-provider-e2b": patch
"@tangle-network/agent-provider-tangle": patch
"@tangle-network/agent-provider-testkit": patch
---

Build only before publishing so installed package artifacts can be repacked with lifecycle scripts enabled.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ jobs:
- run: pnpm -r build
- run: pnpm -r check-types
- run: pnpm -r test
- run: pnpm check:package-artifacts
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ jobs:
- run: |
npm install -g npm@11.18.0
test "$(npm --version)" = "11.18.0"
- run: pnpm -r build
- run: pnpm check:package-artifacts
- uses: changesets/action@v1
with:
version: pnpm changeset:version
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@
"packageManager": "pnpm@10.23.0",
"scripts": {
"build": "pnpm -r build",
"check:package-artifacts": "node scripts/check-package-artifacts.mjs",
"check-types": "pnpm -r check-types",
"test": "pnpm -r test",
"changeset": "changeset",
"changeset:version": "changeset version",
"changeset:publish": "pnpm -r build && changeset publish"
"changeset:publish": "changeset publish"
},
"devDependencies": {
"@changesets/cli": "^2.31.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/agent-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@
"scripts": {
"build": "tsdown",
"check-types": "tsc --noEmit",
"prepare": "pnpm run build",
"prepublishOnly": "pnpm run build",
"test": "vitest run",
"test:watch": "vitest"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/agent-interface/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"clean": "rm -rf dist tsconfig.tsbuildinfo",
"test": "vitest run",
"test:watch": "vitest",
"prepare": "pnpm run build"
"prepublishOnly": "pnpm run build"
},
"dependencies": {
"@noble/hashes": "1.8.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/agent-provider-cli-bridge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"build": "tsc -p tsconfig.json",
"check-types": "tsc --noEmit",
"clean": "rm -rf dist",
"prepare": "pnpm run build",
"prepublishOnly": "pnpm run build",
"test": "vitest run"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/agent-provider-computesdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"build": "tsc -p tsconfig.json",
"check-types": "tsc --noEmit",
"clean": "rm -rf dist",
"prepare": "pnpm run build",
"prepublishOnly": "pnpm run build",
"test": "vitest run"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/agent-provider-daytona/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"build": "tsc -p tsconfig.json",
"check-types": "tsc --noEmit",
"clean": "rm -rf dist",
"prepare": "pnpm run build",
"prepublishOnly": "pnpm run build",
"test": "vitest run"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/agent-provider-e2b/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"build": "tsc -p tsconfig.json",
"check-types": "tsc --noEmit",
"clean": "rm -rf dist",
"prepare": "pnpm run build",
"prepublishOnly": "pnpm run build",
"test": "vitest run"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/agent-provider-tangle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"build": "tsc -p tsconfig.json",
"check-types": "tsc --noEmit",
"clean": "rm -rf dist",
"prepare": "pnpm run build",
"prepublishOnly": "pnpm run build",
"test": "vitest run"
},
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/agent-provider-testkit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"build": "tsc -p tsconfig.json",
"check-types": "tsc --noEmit",
"clean": "rm -rf dist",
"prepare": "pnpm run build",
"prepublishOnly": "pnpm run build",
"test": "vitest run"
},
"dependencies": {
Expand Down
Loading
Loading