@patterkit/runtime 0.14.1 → 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,16 @@ 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
+
36
46
  ## [0.14.1] - 2026-09-27
37
47
 
38
48
  ### Fixed
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.1",
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",
41
+ "@wildwinter/expr-specificity": "^0.1.0"
42
+ },
43
+ "peerDependencies": {
44
+ "@wildwinter/scoperegistry": ">=0.7.0 <1.0.0"
45
+ },
46
+ "devDependencies": {
42
47
  "@wildwinter/scoperegistry": ">=0.7.0 <1.0.0"
43
48
  }
44
49
  }