@patterkit/runtime 0.14.1 → 0.14.3

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,27 @@ version number always means the same runtime behaviour. This package is versione
33
33
 
34
34
  ## [Unreleased]
35
35
 
36
+ ## [0.14.3] - 2026-09-27
37
+
38
+ ### Fixed
39
+
40
+ - **The JS zip's module builds work without npm.** The zip carried the npm package's module build,
41
+ which imports five other packages the zip never included, so copying it into a project and
42
+ importing it failed until you installed them from npm. The zip now carries builds of the runtime
43
+ and of `@patterkit/play-helpers` with their dependencies inside them, under
44
+ `@patterkit/runtime/dist/` and `@patterkit/play-helpers/dist/`. They carry their own registry as a
45
+ result; to share one registry between engines, install from npm. The npm package is unchanged.
46
+
47
+ ## [0.14.2] - 2026-09-27
48
+
49
+ ### Changed
50
+
51
+ - **`@wildwinter/scoperegistry` is a peer dependency.** Your game and every engine in it share one
52
+ registry, so there must be exactly one copy in the install. As a peer, npm installs it once for all
53
+ of them, and if two packages ever need versions that can't be one copy, the install stops and says
54
+ so instead of quietly adding a second. npm installs it for you; with a package manager that doesn't
55
+ install peer dependencies, add `@wildwinter/scoperegistry` yourself.
56
+
36
57
  ## [0.14.1] - 2026-09-27
37
58
 
38
59
  ### Fixed
package/README.md CHANGED
@@ -16,10 +16,14 @@ Three equivalent channels - pick whichever fits how you work; **no npm is requir
16
16
  [`play-js-v*` GitHub Release](https://github.com/patterkit/patter/releases) - this
17
17
  runtime as a plain download, symmetric with the Unity / Unreal / Godot plugin zips.
18
18
  It carries `patterplay.min.js` (the `<script>` drop-in: this runtime plus
19
- `@patterkit/play-helpers` under one global), the module builds under `dist/` (ESM + CJS +
20
- types, for vendoring into your own build), this README, the CHANGELOG, and two `demos/`
21
- (the zero-build drop-in page and the interactive tour).
22
- - **npm**: `npm install @patterkit/runtime` (same version as the zip).
19
+ `@patterkit/play-helpers` under one global), the module builds of both packages under
20
+ `@patterkit/runtime/dist/` and `@patterkit/play-helpers/dist/` (ESM + CJS + types, with their
21
+ dependencies inside them, so they need nothing installed), this README, the CHANGELOG, and two
22
+ `demos/` (the zero-build drop-in page and the interactive tour). The zip's builds carry their own
23
+ registry; to share one registry between engines, install from npm.
24
+ - **npm**: `npm install @patterkit/runtime` (same version as the zip). `@wildwinter/scoperegistry`
25
+ is a peer dependency, so a game holds one registry that every engine shares; npm installs it for
26
+ you, and a package manager that doesn't install peers needs `npm install @wildwinter/scoperegistry`.
23
27
  - **CDN**: `patterplay.min.js` via unpkg/jsDelivr from `@patterkit/play-helpers` (the package
24
28
  that builds it), or loose on the same Release.
25
29
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@patterkit/runtime",
3
- "version": "0.14.1",
3
+ "version": "0.14.3",
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
  }