@treeseed/sdk 0.8.4 → 0.8.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@treeseed/sdk",
3
- "version": "0.8.4",
3
+ "version": "0.8.6",
4
4
  "description": "Shared Treeseed SDK for content-backed and D1-backed object models.",
5
5
  "license": "AGPL-3.0-only",
6
6
  "repository": {
@@ -95,13 +95,18 @@ __WORKING_DIRECTORY_BLOCK__ processing:
95
95
  cache: npm
96
96
  cache-dependency-path: __CACHE_DEPENDENCY_PATH__
97
97
 
98
- - run: npm ci --ignore-scripts
98
+ - name: Install dependencies
99
+ shell: bash
100
+ run: |
101
+ set -euo pipefail
102
+ node -e "const fs = require('fs'); for (const file of ['packages/sdk/package.json', 'packages/agent/package.json', 'packages/core/package.json', 'packages/cli/package.json']) { if (!fs.existsSync(file)) continue; const p = JSON.parse(fs.readFileSync(file, 'utf8')); if (p.scripts) delete p.scripts.prepare; fs.writeFileSync(file, JSON.stringify(p, null, '\t') + '\n'); }"
103
+ npm ci --ignore-scripts
99
104
 
100
105
  - name: Build package artifacts
101
106
  shell: bash
102
107
  run: |
103
108
  set -euo pipefail
104
- for dir in packages/sdk packages/agent packages/cli; do
109
+ for dir in packages/sdk packages/agent packages/core packages/cli; do
105
110
  if test -f "${dir}/package.json"; then npm --prefix "${dir}" run build:dist; fi
106
111
  done
107
112
 
@@ -91,7 +91,12 @@ __WORKING_DIRECTORY_BLOCK__ web:
91
91
  cache: npm
92
92
  cache-dependency-path: __CACHE_DEPENDENCY_PATH__
93
93
 
94
- - run: npm ci --ignore-scripts
94
+ - name: Install dependencies
95
+ shell: bash
96
+ run: |
97
+ set -euo pipefail
98
+ node -e "const fs = require('fs'); for (const file of ['packages/sdk/package.json', 'packages/agent/package.json', 'packages/core/package.json', 'packages/cli/package.json']) { if (!fs.existsSync(file)) continue; const p = JSON.parse(fs.readFileSync(file, 'utf8')); if (p.scripts) delete p.scripts.prepare; fs.writeFileSync(file, JSON.stringify(p, null, '\t') + '\n'); }"
99
+ npm ci --ignore-scripts
95
100
 
96
101
  - name: Build package artifacts
97
102
  shell: bash