@plasius/gpu-lighting 0.1.10 → 0.1.11

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
@@ -20,6 +20,25 @@ The format is based on **[Keep a Changelog](https://keepachangelog.com/en/1.1.0/
20
20
  - **Security**
21
21
  - (placeholder)
22
22
 
23
+ ## [0.1.11] - 2026-04-02
24
+
25
+ - **Added**
26
+ - Demo contract tests that lock the shared 3D harbor mount options and the
27
+ visible lighting state catalog surfaced by `gpu-lighting/demo/`.
28
+
29
+ - **Changed**
30
+ - The browser demo now imports `@plasius/gpu-shared` through an import map
31
+ and public package import instead of a deep internal `node_modules/.../dist`
32
+ path.
33
+ - README guidance now consistently describes the mounted 3D harbor demo
34
+ instead of mixing in stale catalog-only text.
35
+
36
+ - **Fixed**
37
+ - (placeholder)
38
+
39
+ - **Security**
40
+ - (placeholder)
41
+
23
42
  ## [0.1.10] - 2026-03-23
24
43
 
25
44
  - **Added**
@@ -186,3 +205,4 @@ The format is based on **[Keep a Changelog](https://keepachangelog.com/en/1.1.0/
186
205
  [0.1.8]: https://github.com/Plasius-LTD/gpu-lighting/releases/tag/v0.1.8
187
206
  [0.1.9]: https://github.com/Plasius-LTD/gpu-lighting/releases/tag/v0.1.9
188
207
  [0.1.10]: https://github.com/Plasius-LTD/gpu-lighting/releases/tag/v0.1.10
208
+ [0.1.11]: https://github.com/Plasius-LTD/gpu-lighting/releases/tag/v0.1.11
package/README.md CHANGED
@@ -38,6 +38,10 @@ The browser demo now mounts the shared 3D harbor validation scene from
38
38
  `@plasius/gpu-shared` instead of a catalog-only page, so lighting-band behavior
39
39
  is visible against GLTF ships, water, and cloth.
40
40
 
41
+ For browser-only serving, the demo resolves `@plasius/gpu-shared` through an
42
+ import map so the page stays on the published package surface rather than a
43
+ package-private source path.
44
+
41
45
  ## Usage (load one technique)
42
46
 
43
47
  ```js
@@ -164,9 +168,8 @@ npm run demo
164
168
  ```
165
169
 
166
170
  Then open `http://localhost:8000/gpu-lighting/demo/`.
167
-
168
- The demo is intentionally catalog-first. It does not mount a 3D canvas; it
169
- shows profile, technique, and worker-planning state.
171
+ The mounted 3D scene keeps the lighting profile, band-policy, and worker-state
172
+ catalog visible while rendering the shared harbor validation surface.
170
173
 
171
174
  ## Development Checks
172
175
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasius/gpu-lighting",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "description": "Advanced lighting WGSL modules and planning profiles for @plasius/gpu-worker.",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -26,7 +26,7 @@
26
26
  "scripts": {
27
27
  "build": "tsup && cp -R src/techniques dist/techniques",
28
28
  "demo": "python3 -m http.server --directory ..",
29
- "typecheck": "node --check src/index.js",
29
+ "typecheck": "node --check src/index.js && node --check demo/lighting-demo-config.js && node --check demo/main.js",
30
30
  "audit:eslint": "eslint . --max-warnings=0",
31
31
  "audit:deps": "npm ls --all --omit=optional --omit=peer > /dev/null 2>&1 || true",
32
32
  "audit:npm": "npm audit --audit-level=high --omit=dev",
@@ -60,7 +60,7 @@
60
60
  "eslint": "^10.1.0",
61
61
  "globals": "^17.3.0",
62
62
  "tsup": "^8.5.0",
63
- "typescript": "^5.9.3"
63
+ "typescript": "^6.0.2"
64
64
  },
65
65
  "repository": {
66
66
  "type": "git",
@@ -84,8 +84,8 @@
84
84
  }
85
85
  ],
86
86
  "dependencies": {
87
- "@plasius/gpu-shared": "https://registry.npmjs.org/@plasius/gpu-shared/-/gpu-shared-0.1.0.tgz",
88
- "@plasius/gpu-worker": "^0.1.11"
87
+ "@plasius/gpu-shared": "^0.1.4",
88
+ "@plasius/gpu-worker": "^0.1.12"
89
89
  },
90
90
  "overrides": {
91
91
  "minimatch": "^10.2.1"