From cd05ebe64a45f0396a793f6e066da9d706597603 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E1=84=8B=E1=85=B2=E1=84=8B=E1=85=AD=E1=86=BC=E1=84=90?= =?UTF-8?q?=E1=85=A2?= Date: Sun, 12 Jul 2026 10:35:08 +0900 Subject: [PATCH] fix: build core before extension release verification Fresh release checkouts have no core dist output, while extension workspaces resolve core types through package exports. Build core before verifying extensions and retry the unpublished train as 0.1.1-rc.1. --- .github/workflows/publish.yml | 3 +++ apps/site/src/generated/repo-catalog.ts | 12 ++++++------ docs/changelog.md | 2 +- docs/generated/repo-catalog.json | 12 ++++++------ docs/public/extensions.md | 6 +++--- package-lock.json | 6 +++--- packages/grouping/README.md | 2 +- packages/grouping/package.json | 2 +- packages/patch-preview/README.md | 2 +- packages/patch-preview/package.json | 2 +- packages/search-replace/README.md | 2 +- packages/search-replace/package.json | 2 +- 12 files changed, 28 insertions(+), 25 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f39d98e2..240e00db 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -99,6 +99,9 @@ jobs: ' - name: Install dependencies run: npm ci --no-audit --no-fund + - name: Build core for extension verification + if: startsWith(github.ref_name, 'json-document-extensions-v') + run: npm run build -w @interactive-os/json-document - name: Verify extension prereleases if: startsWith(github.ref_name, 'json-document-extensions-v') run: | diff --git a/apps/site/src/generated/repo-catalog.ts b/apps/site/src/generated/repo-catalog.ts index dccd4156..ecdb76ca 100644 --- a/apps/site/src/generated/repo-catalog.ts +++ b/apps/site/src/generated/repo-catalog.ts @@ -310,7 +310,7 @@ export const repoCatalog = { "status": "official-extension", "private": false, "publishable": true, - "version": "0.1.1-rc.0", + "version": "0.1.1-rc.1", "description": "Official structural group and ungroup extension functions for json-document documents.", "license": "MIT", "summary": "Official extension for structural `group` and `ungroup`.", @@ -628,7 +628,7 @@ export const repoCatalog = { "status": "official-extension", "private": false, "publishable": true, - "version": "0.1.1-rc.0", + "version": "0.1.1-rc.1", "description": "Official patch preview extension functions for dry-running json-document document patches.", "license": "MIT", "summary": "Official headless patch preview extension for `@interactive-os/json-document` documents.", @@ -835,7 +835,7 @@ export const repoCatalog = { "status": "official-extension", "private": false, "publishable": true, - "version": "0.1.1-rc.0", + "version": "0.1.1-rc.1", "description": "Official search and replace extension functions for text fields in json-document documents.", "license": "MIT", "summary": "Official headless search and replace extension for text fields in `@interactive-os/json-document`\ndocuments.", @@ -1219,7 +1219,7 @@ export const repoCatalog = { "status": "official-extension", "private": false, "publishable": true, - "version": "0.1.1-rc.0", + "version": "0.1.1-rc.1", "description": "Official structural group and ungroup extension functions for json-document documents.", "license": "MIT", "summary": "Official extension for structural `group` and `ungroup`.", @@ -1372,7 +1372,7 @@ export const repoCatalog = { "status": "official-extension", "private": false, "publishable": true, - "version": "0.1.1-rc.0", + "version": "0.1.1-rc.1", "description": "Official patch preview extension functions for dry-running json-document document patches.", "license": "MIT", "summary": "Official headless patch preview extension for `@interactive-os/json-document` documents.", @@ -1579,7 +1579,7 @@ export const repoCatalog = { "status": "official-extension", "private": false, "publishable": true, - "version": "0.1.1-rc.0", + "version": "0.1.1-rc.1", "description": "Official search and replace extension functions for text fields in json-document documents.", "license": "MIT", "summary": "Official headless search and replace extension for text fields in `@interactive-os/json-document`\ndocuments.", diff --git a/docs/changelog.md b/docs/changelog.md index ea42b915..4e711eec 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -20,7 +20,7 @@ compatibility promise. Its final shape must be decided before a stable release. Companion integration prereleases are published under the `next` dist-tag for `@interactive-os/json-document-grouping`, `@interactive-os/json-document-patch-preview`, and -`@interactive-os/json-document-search-replace` at `0.1.1-rc.0`. They keep their +`@interactive-os/json-document-search-replace` at `0.1.1-rc.1`. They keep their stable `0.1.0` APIs and expand the core peer range to `^1.0.1 || ^1.1.0-rc.0`, allowing `canvas` to exercise a registry-only RC graph. The grouping RC also commits its documented `selectionAfter` atomically with diff --git a/docs/generated/repo-catalog.json b/docs/generated/repo-catalog.json index e4f32cc3..74004735 100644 --- a/docs/generated/repo-catalog.json +++ b/docs/generated/repo-catalog.json @@ -309,7 +309,7 @@ "status": "official-extension", "private": false, "publishable": true, - "version": "0.1.1-rc.0", + "version": "0.1.1-rc.1", "description": "Official structural group and ungroup extension functions for json-document documents.", "license": "MIT", "summary": "Official extension for structural `group` and `ungroup`.", @@ -627,7 +627,7 @@ "status": "official-extension", "private": false, "publishable": true, - "version": "0.1.1-rc.0", + "version": "0.1.1-rc.1", "description": "Official patch preview extension functions for dry-running json-document document patches.", "license": "MIT", "summary": "Official headless patch preview extension for `@interactive-os/json-document` documents.", @@ -834,7 +834,7 @@ "status": "official-extension", "private": false, "publishable": true, - "version": "0.1.1-rc.0", + "version": "0.1.1-rc.1", "description": "Official search and replace extension functions for text fields in json-document documents.", "license": "MIT", "summary": "Official headless search and replace extension for text fields in `@interactive-os/json-document`\ndocuments.", @@ -1218,7 +1218,7 @@ "status": "official-extension", "private": false, "publishable": true, - "version": "0.1.1-rc.0", + "version": "0.1.1-rc.1", "description": "Official structural group and ungroup extension functions for json-document documents.", "license": "MIT", "summary": "Official extension for structural `group` and `ungroup`.", @@ -1371,7 +1371,7 @@ "status": "official-extension", "private": false, "publishable": true, - "version": "0.1.1-rc.0", + "version": "0.1.1-rc.1", "description": "Official patch preview extension functions for dry-running json-document document patches.", "license": "MIT", "summary": "Official headless patch preview extension for `@interactive-os/json-document` documents.", @@ -1578,7 +1578,7 @@ "status": "official-extension", "private": false, "publishable": true, - "version": "0.1.1-rc.0", + "version": "0.1.1-rc.1", "description": "Official search and replace extension functions for text fields in json-document documents.", "license": "MIT", "summary": "Official headless search and replace extension for text fields in `@interactive-os/json-document`\ndocuments.", diff --git a/docs/public/extensions.md b/docs/public/extensions.md index 7158829a..19a3cfc7 100644 --- a/docs/public/extensions.md +++ b/docs/public/extensions.md @@ -18,9 +18,9 @@ The companion RC set for `canvas` is: ```sh npm install --save-exact \ @interactive-os/json-document@1.1.0-rc.0 \ - @interactive-os/json-document-grouping@0.1.1-rc.0 \ - @interactive-os/json-document-patch-preview@0.1.1-rc.0 \ - @interactive-os/json-document-search-replace@0.1.1-rc.0 + @interactive-os/json-document-grouping@0.1.1-rc.1 \ + @interactive-os/json-document-patch-preview@0.1.1-rc.1 \ + @interactive-os/json-document-search-replace@0.1.1-rc.1 ``` This RC set is an opt-in integration graph. Stable consumers continue to use diff --git a/package-lock.json b/package-lock.json index 268db736..21149a4e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6529,7 +6529,7 @@ }, "packages/grouping": { "name": "@interactive-os/json-document-grouping", - "version": "0.1.1-rc.0", + "version": "0.1.1-rc.1", "license": "MIT", "devDependencies": { "@interactive-os/json-document": "*", @@ -6609,7 +6609,7 @@ }, "packages/patch-preview": { "name": "@interactive-os/json-document-patch-preview", - "version": "0.1.1-rc.0", + "version": "0.1.1-rc.1", "license": "MIT", "devDependencies": { "@interactive-os/json-document": "*", @@ -6679,7 +6679,7 @@ }, "packages/search-replace": { "name": "@interactive-os/json-document-search-replace", - "version": "0.1.1-rc.0", + "version": "0.1.1-rc.1", "license": "MIT", "devDependencies": { "@interactive-os/json-document": "*", diff --git a/packages/grouping/README.md b/packages/grouping/README.md index 347bd0cd..ad2065ee 100644 --- a/packages/grouping/README.md +++ b/packages/grouping/README.md @@ -2,7 +2,7 @@ Official extension for structural `group` and `ungroup`. -> `0.1.1-rc.0` is a companion prerelease for +> `0.1.1-rc.1` is a companion prerelease for > `@interactive-os/json-document@1.1.0-rc.0`. Pin both versions exactly while > the core mutation result contract is under integration testing. diff --git a/packages/grouping/package.json b/packages/grouping/package.json index 402eb279..6ae6dfe9 100644 --- a/packages/grouping/package.json +++ b/packages/grouping/package.json @@ -1,6 +1,6 @@ { "name": "@interactive-os/json-document-grouping", - "version": "0.1.1-rc.0", + "version": "0.1.1-rc.1", "description": "Official structural group and ungroup extension functions for json-document documents.", "type": "module", "license": "MIT", diff --git a/packages/patch-preview/README.md b/packages/patch-preview/README.md index c1510a6f..c23aa522 100644 --- a/packages/patch-preview/README.md +++ b/packages/patch-preview/README.md @@ -2,7 +2,7 @@ Official headless patch preview extension for `@interactive-os/json-document` documents. -> `0.1.1-rc.0` is a companion prerelease for +> `0.1.1-rc.1` is a companion prerelease for > `@interactive-os/json-document@1.1.0-rc.0`. Pin both versions exactly while > the core mutation result contract is under integration testing. diff --git a/packages/patch-preview/package.json b/packages/patch-preview/package.json index c79e2662..74ca36b2 100644 --- a/packages/patch-preview/package.json +++ b/packages/patch-preview/package.json @@ -1,6 +1,6 @@ { "name": "@interactive-os/json-document-patch-preview", - "version": "0.1.1-rc.0", + "version": "0.1.1-rc.1", "description": "Official patch preview extension functions for dry-running json-document document patches.", "type": "module", "license": "MIT", diff --git a/packages/search-replace/README.md b/packages/search-replace/README.md index 5e66e985..43b4472d 100644 --- a/packages/search-replace/README.md +++ b/packages/search-replace/README.md @@ -3,7 +3,7 @@ Official headless search and replace extension for text fields in `@interactive-os/json-document` documents. -> `0.1.1-rc.0` is a companion prerelease for +> `0.1.1-rc.1` is a companion prerelease for > `@interactive-os/json-document@1.1.0-rc.0`. Pin both versions exactly while > the core mutation result contract is under integration testing. diff --git a/packages/search-replace/package.json b/packages/search-replace/package.json index 7354bf9f..eba9d583 100644 --- a/packages/search-replace/package.json +++ b/packages/search-replace/package.json @@ -1,6 +1,6 @@ { "name": "@interactive-os/json-document-search-replace", - "version": "0.1.1-rc.0", + "version": "0.1.1-rc.1", "description": "Official search and replace extension functions for text fields in json-document documents.", "type": "module", "license": "MIT",