@plasius/gpu-lighting 0.1.1 → 0.1.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +10 -0
  3. package/package.json +11 -2
package/CHANGELOG.md CHANGED
@@ -20,6 +20,20 @@ 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.2] - 2026-03-01
24
+
25
+ - **Added**
26
+ - `lint`, `typecheck`, and security audit scripts for local and CI enforcement.
27
+
28
+ - **Changed**
29
+ - CI now fails early on lint/typecheck/runtime dependency audit before build/test.
30
+
31
+ - **Fixed**
32
+ - Pack-check regex cleanup to remove an unnecessary path escape.
33
+
34
+ - **Security**
35
+ - Runtime dependency vulnerability checks are now enforced in CI.
36
+
23
37
  ## [0.1.1] - 2026-02-28
24
38
 
25
39
  - **Added**
@@ -73,3 +87,4 @@ The format is based on **[Keep a Changelog](https://keepachangelog.com/en/1.1.0/
73
87
  - **Security**
74
88
  - (placeholder)
75
89
  [0.1.1]: https://github.com/Plasius-LTD/gpu-lighting/releases/tag/v0.1.1
90
+ [0.1.2]: https://github.com/Plasius-LTD/gpu-lighting/releases/tag/v0.1.2
package/README.md CHANGED
@@ -98,6 +98,16 @@ npm run demo
98
98
 
99
99
  Then open `http://localhost:8000/gpu-lighting/demo/`.
100
100
 
101
+ ## Development Checks
102
+
103
+ ```sh
104
+ npm run lint
105
+ npm run typecheck
106
+ npm run test:coverage
107
+ npm run build
108
+ npm run pack:check
109
+ ```
110
+
101
111
  ## Files
102
112
 
103
113
  - `src/index.js`: technique/profile catalogs, loader APIs, validation.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasius/gpu-lighting",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "description": "Advanced lighting WGSL modules and planning profiles for @plasius/gpu-worker.",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -26,6 +26,12 @@
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",
30
+ "audit:eslint": "eslint . --max-warnings=0",
31
+ "audit:deps": "npm ls --all --omit=optional --omit=peer > /dev/null 2>&1 || true",
32
+ "audit:npm": "npm audit --audit-level=high --omit=dev",
33
+ "audit:test": "npm run test:coverage",
34
+ "lint": "eslint . --max-warnings=0",
29
35
  "test": "npm run test:unit",
30
36
  "test:unit": "node --test",
31
37
  "test:e2e": "npx playwright install chromium && playwright test",
@@ -48,8 +54,11 @@
48
54
  "author": "Plasius LTD <development@plasius.co.uk>",
49
55
  "license": "Apache-2.0",
50
56
  "devDependencies": {
57
+ "@eslint/js": "^9.39.1",
51
58
  "@playwright/test": "^1.57.0",
52
59
  "c8": "^10.1.3",
60
+ "eslint": "^9.39.1",
61
+ "globals": "^17.3.0",
53
62
  "tsup": "^8.5.0",
54
63
  "typescript": "^5.9.3"
55
64
  },
@@ -75,7 +84,7 @@
75
84
  }
76
85
  ],
77
86
  "dependencies": {
78
- "@plasius/gpu-worker": "^0.1.3"
87
+ "@plasius/gpu-worker": "^0.1.4"
79
88
  },
80
89
  "overrides": {
81
90
  "minimatch": "^10.2.1"