diff --git a/.changeset/delay-initial-route.md b/.changeset/delay-initial-route.md deleted file mode 100644 index 1b1929a1a..000000000 --- a/.changeset/delay-initial-route.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@inkandswitch/patchwork": patch ---- - -Wait for configured modules to load before routing the root view so registered frame tools are available for the initial route. diff --git a/.changeset/expose-account-doc-handle.md b/.changeset/expose-account-doc-handle.md deleted file mode 100644 index baca2963c..000000000 --- a/.changeset/expose-account-doc-handle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@inkandswitch/patchwork": patch ---- - -Expose the account document handle as `window.accountDocHandle` alongside `window.patchwork.account`. diff --git a/.changeset/package-list-override-belongs-to-the-site.md b/.changeset/package-list-override-belongs-to-the-site.md deleted file mode 100644 index 7817bea99..000000000 --- a/.changeset/package-list-override-belongs-to-the-site.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -"@inkandswitch/patchwork": minor ---- - -`setup()` now uses `packageListURL` as given instead of letting `localStorage.systemPackageListURL` silently replace it. A site that wants a dev override resolves it itself and passes the result in: - -```ts -const packageListURL = - new URLSearchParams(location.search).get("system-package-list") || - localStorage.getItem("systemPackageListURL") || - DEFAULT_PACKAGE_LIST; -``` - -This keeps the precedence in one place — the site — so a site can add its own override sources without fighting the library for priority. diff --git a/.changeset/publish-e2e-runner.md b/.changeset/publish-e2e-runner.md deleted file mode 100644 index f6c3deb49..000000000 --- a/.changeset/publish-e2e-runner.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"@inkandswitch/patchwork-e2e": minor ---- - -Publish the e2e suite as a package with a `patchwork-e2e` bin, so any Patchwork site repo can run it against its own build. Run it from the repo root after a build; it starts the site's preview server (`pnpm preview`, overridable with `--preview-command` and `--site-dir`) and points the suite at it, writing reports and traces into the directory you ran from. - -The cross-profile sync test against a deployed site now takes its origin from `--live-site=` (or `PATCHWORK_E2E_LIVE_SITE`) instead of a hardcoded patchwork.inkandswitch.com, and skips when neither is set. Also new: `--base-url` to test an already-running server, `--port`, and `--extra-tests-dir` to run a site's own specs alongside the suite as a `:extra` project — those get the same fixtures, baseURL and preview server, and can import `createDoc`, `waitForRepoReady` and friends from `@inkandswitch/patchwork-e2e/helpers`. - -The preview server now takes the first free port from 5173 up, and runs with `--strictPort`. Before, `vite preview` would quietly move to another port when 5173 was busy and the run would hang until Playwright's two-minute webServer timeout expired. - -The suite is compiled to `dist/` and published as JavaScript. Playwright does not transform files under `node_modules`, so shipping the TypeScript sources made the config unloadable for consumers. diff --git a/.changeset/repository-metadata.md b/.changeset/repository-metadata.md deleted file mode 100644 index 1245a816e..000000000 --- a/.changeset/repository-metadata.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@inkandswitch/patchwork-bootloader": patch -"@inkandswitch/patchwork-filesystem": patch -"@inkandswitch/patchwork-elements": patch -"@inkandswitch/patchwork-plugins": patch -"@inkandswitch/edge-handles": patch -"@inkandswitch/patchwork": patch ---- - -Add `repository` metadata pointing at inkandswitch/patchwork-next, so npm links each package to its source directory and can attest provenance when published from CI. diff --git a/core/bootloader/CHANGELOG.md b/core/bootloader/CHANGELOG.md index 9fde9ba77..5313581fc 100644 --- a/core/bootloader/CHANGELOG.md +++ b/core/bootloader/CHANGELOG.md @@ -1,5 +1,15 @@ # @inkandswitch/patchwork-bootloader +## 0.5.1 + +### Patch Changes + +- 5f70c14: Add `repository` metadata pointing at inkandswitch/patchwork-next, so npm links each package to its source directory and can attest provenance when published from CI. +- Updated dependencies [5f70c14] + - @inkandswitch/patchwork-filesystem@0.2.4 + - @inkandswitch/patchwork-elements@4.0.3 + - @inkandswitch/patchwork-plugins@1.0.2 + ## 0.5.0 ### Minor Changes diff --git a/core/bootloader/package.json b/core/bootloader/package.json index 73702c93b..f109e76ed 100644 --- a/core/bootloader/package.json +++ b/core/bootloader/package.json @@ -5,7 +5,7 @@ "url": "git+https://github.com/inkandswitch/patchwork-next.git", "directory": "core/bootloader" }, - "version": "0.5.0", + "version": "0.5.1", "author": "chee", "type": "module", "license": "MIT", diff --git a/core/elements/CHANGELOG.md b/core/elements/CHANGELOG.md index 382ebd7bd..90da6c8be 100644 --- a/core/elements/CHANGELOG.md +++ b/core/elements/CHANGELOG.md @@ -1,5 +1,14 @@ # @inkandswitch/patchwork-elements +## 4.0.3 + +### Patch Changes + +- 5f70c14: Add `repository` metadata pointing at inkandswitch/patchwork-next, so npm links each package to its source directory and can attest provenance when published from CI. +- Updated dependencies [5f70c14] + - @inkandswitch/patchwork-filesystem@0.2.4 + - @inkandswitch/patchwork-plugins@1.0.2 + ## 4.0.2 ### Patch Changes diff --git a/core/elements/package.json b/core/elements/package.json index 67a7a86ab..d2114b891 100644 --- a/core/elements/package.json +++ b/core/elements/package.json @@ -5,7 +5,7 @@ "url": "git+https://github.com/inkandswitch/patchwork-next.git", "directory": "core/elements" }, - "version": "4.0.2", + "version": "4.0.3", "author": "Ink & Switch", "type": "module", "description": "", diff --git a/core/filesystem/CHANGELOG.md b/core/filesystem/CHANGELOG.md index 78f793178..574f895ae 100644 --- a/core/filesystem/CHANGELOG.md +++ b/core/filesystem/CHANGELOG.md @@ -1,5 +1,11 @@ # @inkandswitch/patchwork-filesystem +## 0.2.4 + +### Patch Changes + +- 5f70c14: Add `repository` metadata pointing at inkandswitch/patchwork-next, so npm links each package to its source directory and can attest provenance when published from CI. + ## 0.2.3 ### Patch Changes diff --git a/core/filesystem/package.json b/core/filesystem/package.json index 9de3f487e..1e5b49770 100644 --- a/core/filesystem/package.json +++ b/core/filesystem/package.json @@ -6,7 +6,7 @@ "directory": "core/filesystem" }, "type": "module", - "version": "0.2.3", + "version": "0.2.4", "author": "Ink & Switch", "description": "", "main": "dist/index.js", diff --git a/core/patchwork/CHANGELOG.md b/core/patchwork/CHANGELOG.md index 667fc921f..2167dd05e 100644 --- a/core/patchwork/CHANGELOG.md +++ b/core/patchwork/CHANGELOG.md @@ -1,5 +1,31 @@ # @inkandswitch/patchwork +## 0.2.0 + +### Minor Changes + +- 2fffabe: `setup()` now uses `packageListURL` as given instead of letting `localStorage.systemPackageListURL` silently replace it. A site that wants a dev override resolves it itself and passes the result in: + + ```ts + const packageListURL = + new URLSearchParams(location.search).get("system-package-list") || + localStorage.getItem("systemPackageListURL") || + DEFAULT_PACKAGE_LIST; + ``` + + This keeps the precedence in one place — the site — so a site can add its own override sources without fighting the library for priority. + +### Patch Changes + +- 6be3922: Wait for configured modules to load before routing the root view so registered frame tools are available for the initial route. +- 77bd37c: Expose the account document handle as `window.accountDocHandle` alongside `window.patchwork.account`. +- 5f70c14: Add `repository` metadata pointing at inkandswitch/patchwork-next, so npm links each package to its source directory and can attest provenance when published from CI. +- Updated dependencies [5f70c14] + - @inkandswitch/patchwork-bootloader@0.5.1 + - @inkandswitch/patchwork-filesystem@0.2.4 + - @inkandswitch/patchwork-elements@4.0.3 + - @inkandswitch/patchwork-plugins@1.0.2 + ## 0.1.0 ### Minor Changes diff --git a/core/patchwork/package.json b/core/patchwork/package.json index a147bf4a6..87d76daf7 100644 --- a/core/patchwork/package.json +++ b/core/patchwork/package.json @@ -5,7 +5,7 @@ "url": "git+https://github.com/inkandswitch/patchwork-next.git", "directory": "core/patchwork" }, - "version": "0.1.0", + "version": "0.2.0", "author": "Ink & Switch", "type": "module", "license": "MIT", diff --git a/core/plugins/CHANGELOG.md b/core/plugins/CHANGELOG.md index dea9d10d5..a3ddd08cf 100644 --- a/core/plugins/CHANGELOG.md +++ b/core/plugins/CHANGELOG.md @@ -1,5 +1,13 @@ # @inkandswitch/patchwork-plugins +## 1.0.2 + +### Patch Changes + +- 5f70c14: Add `repository` metadata pointing at inkandswitch/patchwork-next, so npm links each package to its source directory and can attest provenance when published from CI. +- Updated dependencies [5f70c14] + - @inkandswitch/patchwork-filesystem@0.2.4 + ## 1.0.1 ### Patch Changes diff --git a/core/plugins/package.json b/core/plugins/package.json index c10627bdc..500b7e27d 100644 --- a/core/plugins/package.json +++ b/core/plugins/package.json @@ -6,7 +6,7 @@ "directory": "core/plugins" }, "type": "module", - "version": "1.0.1", + "version": "1.0.2", "author": "Ink & Switch", "description": "", "main": "dist/index.js", diff --git a/packages/e2e/CHANGELOG.md b/packages/e2e/CHANGELOG.md new file mode 100644 index 000000000..f6979bd6d --- /dev/null +++ b/packages/e2e/CHANGELOG.md @@ -0,0 +1,13 @@ +# @inkandswitch/patchwork-e2e + +## 0.2.0 + +### Minor Changes + +- 48e292a: Publish the e2e suite as a package with a `patchwork-e2e` bin, so any Patchwork site repo can run it against its own build. Run it from the repo root after a build; it starts the site's preview server (`pnpm preview`, overridable with `--preview-command` and `--site-dir`) and points the suite at it, writing reports and traces into the directory you ran from. + + The cross-profile sync test against a deployed site now takes its origin from `--live-site=` (or `PATCHWORK_E2E_LIVE_SITE`) instead of a hardcoded patchwork.inkandswitch.com, and skips when neither is set. Also new: `--base-url` to test an already-running server, `--port`, and `--extra-tests-dir` to run a site's own specs alongside the suite as a `:extra` project — those get the same fixtures, baseURL and preview server, and can import `createDoc`, `waitForRepoReady` and friends from `@inkandswitch/patchwork-e2e/helpers`. + + The preview server now takes the first free port from 5173 up, and runs with `--strictPort`. Before, `vite preview` would quietly move to another port when 5173 was busy and the run would hang until Playwright's two-minute webServer timeout expired. + + The suite is compiled to `dist/` and published as JavaScript. Playwright does not transform files under `node_modules`, so shipping the TypeScript sources made the config unloadable for consumers. diff --git a/packages/e2e/package.json b/packages/e2e/package.json index 8a1cbd93e..30ca34e41 100644 --- a/packages/e2e/package.json +++ b/packages/e2e/package.json @@ -5,7 +5,7 @@ "url": "git+https://github.com/inkandswitch/patchwork-next.git", "directory": "packages/e2e" }, - "version": "0.1.2", + "version": "0.2.0", "type": "module", "description": "Browser + Service-Worker end-to-end sync tests (Playwright) for a Patchwork site.", "bin": { diff --git a/packages/edge-handles/CHANGELOG.md b/packages/edge-handles/CHANGELOG.md index 211ddb9e5..1be080a4c 100644 --- a/packages/edge-handles/CHANGELOG.md +++ b/packages/edge-handles/CHANGELOG.md @@ -1,5 +1,11 @@ # @inkandswitch/edge-handles +## 0.1.1 + +### Patch Changes + +- 5f70c14: Add `repository` metadata pointing at inkandswitch/patchwork-next, so npm links each package to its source directory and can attest provenance when published from CI. + ## 0.1.0 ### Minor Changes diff --git a/packages/edge-handles/package.json b/packages/edge-handles/package.json index a84e5a877..e387b592e 100644 --- a/packages/edge-handles/package.json +++ b/packages/edge-handles/package.json @@ -5,7 +5,7 @@ "url": "git+https://github.com/inkandswitch/patchwork-next.git", "directory": "packages/edge-handles" }, - "version": "0.1.0", + "version": "0.1.1", "type": "module", "description": "Doc-backed reactive cells with named upstream/downstream connections.", "files": [