Skip to content
Open
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
14 changes: 0 additions & 14 deletions .changeset/package-list-override-belongs-to-the-site.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/publish-e2e-runner.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/repository-metadata.md

This file was deleted.

10 changes: 10 additions & 0 deletions core/bootloader/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion core/bootloader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
9 changes: 9 additions & 0 deletions core/elements/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion core/elements/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "",
Expand Down
6 changes: 6 additions & 0 deletions core/filesystem/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion core/filesystem/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
24 changes: 24 additions & 0 deletions core/patchwork/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# @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

- 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
Expand Down
2 changes: 1 addition & 1 deletion core/patchwork/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
8 changes: 8 additions & 0 deletions core/plugins/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion core/plugins/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
13 changes: 13 additions & 0 deletions packages/e2e/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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=<url>` (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 `<browser>: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.
2 changes: 1 addition & 1 deletion packages/e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
6 changes: 6 additions & 0 deletions packages/edge-handles/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/edge-handles/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
Expand Down