@plasius/gpu-worker 0.1.3 → 0.1.4

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 +16 -1
  2. package/README.md +10 -0
  3. package/package.json +10 -1
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.4] - 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.3] - 2026-02-28
24
38
 
25
39
  - **Added**
@@ -128,7 +142,7 @@ The format is based on **[Keep a Changelog](https://keepachangelog.com/en/1.1.0/
128
142
 
129
143
  ---
130
144
 
131
- [Unreleased]: https://github.com/Plasius-LTD/gpu-worker/compare/v0.1.3...HEAD
145
+ [Unreleased]: https://github.com/Plasius-LTD/gpu-worker/compare/v0.1.4...HEAD
132
146
  [0.1.0-beta.1]: https://github.com/Plasius-LTD/gpu-worker/releases/tag/v0.1.0-beta.1
133
147
  [0.1.0]: https://github.com/Plasius-LTD/gpu-worker/releases/tag/v0.1.0
134
148
  [0.1.2]: https://github.com/Plasius-LTD/gpu-worker/releases/tag/v0.1.2
@@ -147,3 +161,4 @@ The format is based on **[Keep a Changelog](https://keepachangelog.com/en/1.1.0/
147
161
  - **Security**
148
162
  - (placeholder)
149
163
  [0.1.3]: https://github.com/Plasius-LTD/gpu-worker/releases/tag/v0.1.3
164
+ [0.1.4]: https://github.com/Plasius-LTD/gpu-worker/releases/tag/v0.1.4
package/README.md CHANGED
@@ -121,6 +121,16 @@ certificate for that name and set `DEMO_HOST`, `DEMO_PORT`, `DEMO_TLS_CERT`, and
121
121
 
122
122
  `npm run build` emits `dist/index.js`, `dist/index.cjs`, and `dist/worker.wgsl`.
123
123
 
124
+ ## Development Checks
125
+
126
+ ```sh
127
+ npm run lint
128
+ npm run typecheck
129
+ npm run test:coverage
130
+ npm run build
131
+ npm run pack:check
132
+ ```
133
+
124
134
  ## Files
125
135
  - `demo/index.html`: Loads the WebGPU demo.
126
136
  - `demo/main.js`: WebGPU setup, queue jobs, physics worklists, and indirect draw.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasius/gpu-worker",
3
- "version": "0.1.3",
3
+ "version": "0.1.4",
4
4
  "description": "WebGPU worker runtime with a lock-free job queue for WGSL workloads.",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -27,6 +27,12 @@
27
27
  "build": "tsup && cp src/worker.wgsl dist/worker.wgsl",
28
28
  "demo": "python3 -m http.server",
29
29
  "demo:https": "node demo/serve-https.js",
30
+ "typecheck": "node --check src/index.js",
31
+ "audit:eslint": "eslint . --max-warnings=0",
32
+ "audit:deps": "npm ls --all --omit=optional --omit=peer > /dev/null 2>&1 || true",
33
+ "audit:npm": "npm audit --audit-level=high --omit=dev",
34
+ "audit:test": "npm run test:coverage",
35
+ "lint": "eslint . --max-warnings=0",
30
36
  "test": "npm run test:unit",
31
37
  "test:unit": "node --test",
32
38
  "test:e2e": "npx playwright install chromium && playwright test",
@@ -52,8 +58,11 @@
52
58
  "@plasius/gpu-lock-free-queue": "^0.2.2"
53
59
  },
54
60
  "devDependencies": {
61
+ "@eslint/js": "^9.39.1",
55
62
  "@playwright/test": "^1.57.0",
56
63
  "c8": "^10.1.3",
64
+ "eslint": "^9.39.1",
65
+ "globals": "^17.3.0",
57
66
  "tsup": "^8.5.0",
58
67
  "typescript": "^5.9.3"
59
68
  },