@treeseed/core 0.6.10 → 0.6.12
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.
|
@@ -145,7 +145,8 @@ async function run() {
|
|
|
145
145
|
}
|
|
146
146
|
}
|
|
147
147
|
if (existingFiles.length === 0) {
|
|
148
|
-
|
|
148
|
+
console.log('Starlight dependency tree not found; skipping knowledge-path patch.');
|
|
149
|
+
return;
|
|
149
150
|
}
|
|
150
151
|
let patchedAny = false;
|
|
151
152
|
for (const collectionFile of existingFiles) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@treeseed/core",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.12",
|
|
4
4
|
"description": "Treeseed integrated platform starter for Astro/Starlight web runtimes and Hono API runtimes.",
|
|
5
5
|
"license": "AGPL-3.0-only",
|
|
6
6
|
"repository": {
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"@astrojs/sitemap": "3.7.0",
|
|
77
77
|
"@astrojs/starlight": "0.37.6",
|
|
78
78
|
"@tailwindcss/vite": "^4.1.4",
|
|
79
|
-
"@treeseed/sdk": "0.6.
|
|
79
|
+
"@treeseed/sdk": "0.6.10",
|
|
80
80
|
"astro": "^5.6.1",
|
|
81
81
|
"esbuild": "^0.28.0",
|
|
82
82
|
"hono": "^4.8.2",
|
|
@@ -148,7 +148,27 @@ jobs:
|
|
|
148
148
|
node --input-type=module -e "import { readFileSync, writeFileSync } from 'node:fs'; const path = 'package.json'; const pkg = JSON.parse(readFileSync(path, 'utf8')); if (pkg.workspaces) { delete pkg.workspaces; writeFileSync(path, JSON.stringify(pkg, null, 2) + '\n'); console.log('Suppressed root workspaces for deployment install.'); }"
|
|
149
149
|
|
|
150
150
|
- name: Install dependencies
|
|
151
|
-
run:
|
|
151
|
+
run: |
|
|
152
|
+
for attempt in 1 2 3; do
|
|
153
|
+
if npm ci --ignore-scripts; then
|
|
154
|
+
break
|
|
155
|
+
fi
|
|
156
|
+
if test "${attempt}" = "3"; then
|
|
157
|
+
exit 1
|
|
158
|
+
fi
|
|
159
|
+
echo "npm ci failed; retrying (${attempt}/3)."
|
|
160
|
+
sleep $((attempt * 10))
|
|
161
|
+
done
|
|
162
|
+
|
|
163
|
+
- name: Build workspace package artifacts
|
|
164
|
+
shell: bash
|
|
165
|
+
run: |
|
|
166
|
+
set -euo pipefail
|
|
167
|
+
for dir in packages/sdk packages/core packages/cli; do
|
|
168
|
+
if test -f "${dir}/package.json"; then
|
|
169
|
+
npm --prefix "${dir}" run build:dist
|
|
170
|
+
fi
|
|
171
|
+
done
|
|
152
172
|
|
|
153
173
|
- name: Verify workspace
|
|
154
174
|
shell: bash
|
|
@@ -239,7 +259,27 @@ __WORKING_DIRECTORY_BLOCK__
|
|
|
239
259
|
node --input-type=module -e "import { readFileSync, writeFileSync } from 'node:fs'; const path = 'package.json'; const pkg = JSON.parse(readFileSync(path, 'utf8')); if (pkg.workspaces) { delete pkg.workspaces; writeFileSync(path, JSON.stringify(pkg, null, 2) + '\n'); console.log('Suppressed root workspaces for deployment install.'); }"
|
|
240
260
|
|
|
241
261
|
- name: Install dependencies
|
|
242
|
-
run:
|
|
262
|
+
run: |
|
|
263
|
+
for attempt in 1 2 3; do
|
|
264
|
+
if npm ci --ignore-scripts; then
|
|
265
|
+
break
|
|
266
|
+
fi
|
|
267
|
+
if test "${attempt}" = "3"; then
|
|
268
|
+
exit 1
|
|
269
|
+
fi
|
|
270
|
+
echo "npm ci failed; retrying (${attempt}/3)."
|
|
271
|
+
sleep $((attempt * 10))
|
|
272
|
+
done
|
|
273
|
+
|
|
274
|
+
- name: Build workspace package artifacts
|
|
275
|
+
shell: bash
|
|
276
|
+
run: |
|
|
277
|
+
set -euo pipefail
|
|
278
|
+
for dir in packages/sdk packages/core packages/cli; do
|
|
279
|
+
if test -f "${dir}/package.json"; then
|
|
280
|
+
npm --prefix "${dir}" run build:dist
|
|
281
|
+
fi
|
|
282
|
+
done
|
|
243
283
|
|
|
244
284
|
- name: Provision Treeseed platform
|
|
245
285
|
shell: bash
|
|
@@ -328,7 +368,27 @@ __WORKING_DIRECTORY_BLOCK__
|
|
|
328
368
|
node --input-type=module -e "import { readFileSync, writeFileSync } from 'node:fs'; const path = 'package.json'; const pkg = JSON.parse(readFileSync(path, 'utf8')); if (pkg.workspaces) { delete pkg.workspaces; writeFileSync(path, JSON.stringify(pkg, null, 2) + '\n'); console.log('Suppressed root workspaces for deployment install.'); }"
|
|
329
369
|
|
|
330
370
|
- name: Install dependencies
|
|
331
|
-
run:
|
|
371
|
+
run: |
|
|
372
|
+
for attempt in 1 2 3; do
|
|
373
|
+
if npm ci --ignore-scripts; then
|
|
374
|
+
break
|
|
375
|
+
fi
|
|
376
|
+
if test "${attempt}" = "3"; then
|
|
377
|
+
exit 1
|
|
378
|
+
fi
|
|
379
|
+
echo "npm ci failed; retrying (${attempt}/3)."
|
|
380
|
+
sleep $((attempt * 10))
|
|
381
|
+
done
|
|
382
|
+
|
|
383
|
+
- name: Build workspace package artifacts
|
|
384
|
+
shell: bash
|
|
385
|
+
run: |
|
|
386
|
+
set -euo pipefail
|
|
387
|
+
for dir in packages/sdk packages/core packages/cli; do
|
|
388
|
+
if test -f "${dir}/package.json"; then
|
|
389
|
+
npm --prefix "${dir}" run build:dist
|
|
390
|
+
fi
|
|
391
|
+
done
|
|
332
392
|
|
|
333
393
|
- name: Deploy Treeseed platform
|
|
334
394
|
shell: bash
|
|
@@ -408,7 +468,27 @@ __WORKING_DIRECTORY_BLOCK__
|
|
|
408
468
|
node --input-type=module -e "import { readFileSync, writeFileSync } from 'node:fs'; const path = 'package.json'; const pkg = JSON.parse(readFileSync(path, 'utf8')); if (pkg.workspaces) { delete pkg.workspaces; writeFileSync(path, JSON.stringify(pkg, null, 2) + '\n'); console.log('Suppressed root workspaces for deployment install.'); }"
|
|
409
469
|
|
|
410
470
|
- name: Install dependencies
|
|
411
|
-
run:
|
|
471
|
+
run: |
|
|
472
|
+
for attempt in 1 2 3; do
|
|
473
|
+
if npm ci --ignore-scripts; then
|
|
474
|
+
break
|
|
475
|
+
fi
|
|
476
|
+
if test "${attempt}" = "3"; then
|
|
477
|
+
exit 1
|
|
478
|
+
fi
|
|
479
|
+
echo "npm ci failed; retrying (${attempt}/3)."
|
|
480
|
+
sleep $((attempt * 10))
|
|
481
|
+
done
|
|
482
|
+
|
|
483
|
+
- name: Build workspace package artifacts
|
|
484
|
+
shell: bash
|
|
485
|
+
run: |
|
|
486
|
+
set -euo pipefail
|
|
487
|
+
for dir in packages/sdk packages/core packages/cli; do
|
|
488
|
+
if test -f "${dir}/package.json"; then
|
|
489
|
+
npm --prefix "${dir}" run build:dist
|
|
490
|
+
fi
|
|
491
|
+
done
|
|
412
492
|
|
|
413
493
|
- name: Publish Treeseed content
|
|
414
494
|
shell: bash
|
|
@@ -468,7 +548,27 @@ __WORKING_DIRECTORY_BLOCK__
|
|
|
468
548
|
node --input-type=module -e "import { readFileSync, writeFileSync } from 'node:fs'; const path = 'package.json'; const pkg = JSON.parse(readFileSync(path, 'utf8')); if (pkg.workspaces) { delete pkg.workspaces; writeFileSync(path, JSON.stringify(pkg, null, 2) + '\n'); console.log('Suppressed root workspaces for deployment install.'); }"
|
|
469
549
|
|
|
470
550
|
- name: Install dependencies
|
|
471
|
-
run:
|
|
551
|
+
run: |
|
|
552
|
+
for attempt in 1 2 3; do
|
|
553
|
+
if npm ci --ignore-scripts; then
|
|
554
|
+
break
|
|
555
|
+
fi
|
|
556
|
+
if test "${attempt}" = "3"; then
|
|
557
|
+
exit 1
|
|
558
|
+
fi
|
|
559
|
+
echo "npm ci failed; retrying (${attempt}/3)."
|
|
560
|
+
sleep $((attempt * 10))
|
|
561
|
+
done
|
|
562
|
+
|
|
563
|
+
- name: Build workspace package artifacts
|
|
564
|
+
shell: bash
|
|
565
|
+
run: |
|
|
566
|
+
set -euo pipefail
|
|
567
|
+
for dir in packages/sdk packages/core packages/cli; do
|
|
568
|
+
if test -f "${dir}/package.json"; then
|
|
569
|
+
npm --prefix "${dir}" run build:dist
|
|
570
|
+
fi
|
|
571
|
+
done
|
|
472
572
|
|
|
473
573
|
- name: Report Treeseed deployment state
|
|
474
574
|
shell: bash
|