@joystack/cli 0.1.51 → 0.1.52

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
@@ -14,6 +14,15 @@ Versions: [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
14
14
 
15
15
  ## [Unreleased]
16
16
 
17
+ ## [0.1.52] - 2026-10-14
18
+
19
+ ### Added
20
+
21
+ - `joystack dev` serves `three/addons/` (the glTF loader and the skeleton
22
+ utilities the engine's `.glb` support imports), so a game that declares a
23
+ model file in `assets.js` loads it on the dev server as it will when
24
+ published.
25
+
17
26
  ## [0.1.51] - 2026-10-13
18
27
 
19
28
  ### Added
package/lib/inject.mjs CHANGED
@@ -63,6 +63,11 @@ export const V2_IMPORTS = {
63
63
  // three, mapped to the engine's own vendored same-origin copy so a three-backed
64
64
  // game needs no import map of its own (kept in sync with V2_BARE_SPECIFIERS).
65
65
  three: '/shared/ui/room/vendor/three.js',
66
+ // The three addons the engine vendors (the glTF loader and the skeleton
67
+ // utilities), under the specifier the engine's own model loader imports them
68
+ // by, so a declared `.glb` opens in a game's page. The published map names
69
+ // each file (V2_BARE_SPECIFIERS), since it hashes per file.
70
+ 'three/addons/': '/shared/ui/room/vendor/three-addons/',
66
71
  };
67
72
 
68
73
  // One classic script setting a page global, and its old name when the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@joystack/cli",
3
- "version": "0.1.51",
3
+ "version": "0.1.52",
4
4
  "description": "Joystack game development CLI \u2014 dev server, login, and publishing for standalone Joystack games.",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",