@patterkit/runtime 0.14.0 → 0.14.2

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/CHANGELOG.md CHANGED
@@ -33,6 +33,26 @@ version number always means the same runtime behaviour. This package is versione
33
33
 
34
34
  ## [Unreleased]
35
35
 
36
+ ## [0.14.2] - 2026-09-27
37
+
38
+ ### Changed
39
+
40
+ - **`@wildwinter/scoperegistry` is a peer dependency.** Your game and every engine in it share one
41
+ registry, so there must be exactly one copy in the install. As a peer, npm installs it once for all
42
+ of them, and if two packages ever need versions that can't be one copy, the install stops and says
43
+ so instead of quietly adding a second. npm installs it for you; with a package manager that doesn't
44
+ install peer dependencies, add `@wildwinter/scoperegistry` yourself.
45
+
46
+ ## [0.14.1] - 2026-09-27
47
+
48
+ ### Fixed
49
+
50
+ - **One copy of `@wildwinter/scoperegistry` again.** 0.14.0 asked for `^0.7.0` while
51
+ `@patterkit/dialect` 0.2.1 asks for `^0.8.0`, so an install got two copies, and a `ScopeRegistry`
52
+ your game made was not the one the runtime used. The runtime now accepts any version from 0.7.0 up
53
+ to 1.0, so it shares whichever copy the rest of your install has, and a later registry release
54
+ cannot split it again. The runtime's behaviour is unchanged.
55
+
36
56
  ## [0.14.0] - 2026-09-24
37
57
 
38
58
  ### Added
package/README.md CHANGED
@@ -19,7 +19,9 @@ Three equivalent channels - pick whichever fits how you work; **no npm is requir
19
19
  `@patterkit/play-helpers` under one global), the module builds under `dist/` (ESM + CJS +
20
20
  types, for vendoring into your own build), this README, the CHANGELOG, and two `demos/`
21
21
  (the zero-build drop-in page and the interactive tour).
22
- - **npm**: `npm install @patterkit/runtime` (same version as the zip).
22
+ - **npm**: `npm install @patterkit/runtime` (same version as the zip). `@wildwinter/scoperegistry`
23
+ is a peer dependency, so a game holds one registry that every engine shares; npm installs it for
24
+ you, and a package manager that doesn't install peers needs `npm install @wildwinter/scoperegistry`.
23
25
  - **CDN**: `patterplay.min.js` via unpkg/jsDelivr from `@patterkit/play-helpers` (the package
24
26
  that builds it), or loose on the same Release.
25
27
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patterkit/runtime",
3
- "version": "0.14.0",
3
+ "version": "0.14.2",
4
4
  "description": "Patter reference runtime: load a bundle and play dialogue - flows, selectors, choices, jumps, effects, properties. Built on @wildwinter/expr + scoperegistry.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -38,7 +38,12 @@
38
38
  "@patterkit/model": ">=0.4.0 <1.0.0",
39
39
  "@patterkit/dialect": ">=0.1.6 <1.0.0",
40
40
  "@wildwinter/expr": "^0.5.0",
41
- "@wildwinter/expr-specificity": "^0.1.0",
42
- "@wildwinter/scoperegistry": "^0.7.0"
41
+ "@wildwinter/expr-specificity": "^0.1.0"
42
+ },
43
+ "peerDependencies": {
44
+ "@wildwinter/scoperegistry": ">=0.7.0 <1.0.0"
45
+ },
46
+ "devDependencies": {
47
+ "@wildwinter/scoperegistry": ">=0.7.0 <1.0.0"
43
48
  }
44
49
  }