@plasius/gpu-world-generator 0.0.5 → 0.0.6

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 (2) hide show
  1. package/README.md +10 -0
  2. package/package.json +12 -1
package/README.md CHANGED
@@ -68,6 +68,16 @@ npm install
68
68
  npm run dev
69
69
  ```
70
70
 
71
+ ## Development Checks
72
+
73
+ ```sh
74
+ npm run lint
75
+ npm run typecheck
76
+ npm run test:coverage
77
+ npm run build
78
+ npm run pack:check
79
+ ```
80
+
71
81
  ## Notes
72
82
  - For Vite/Pnpm setups, raw WGSL import is the most reliable.
73
83
  - See `docs/plan.md` for hierarchy and biome rules.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasius/gpu-world-generator",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "description": "GPU-assisted world generation with hex-grid terrain synthesis.",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -26,6 +26,12 @@
26
26
  },
27
27
  "scripts": {
28
28
  "build": "tsup && cp src/terrain.wgsl dist/terrain.wgsl && cp src/field.wgsl dist/field.wgsl && cp src/fractal-prepass.wgsl dist/fractal-prepass.wgsl",
29
+ "typecheck": "tsc --noEmit",
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": "node --test",
30
36
  "test:coverage": "c8 --reporter=lcov --reporter=text node --test",
31
37
  "pack:check": "node scripts/verify-public-package.cjs",
@@ -35,8 +41,13 @@
35
41
  "@plasius/gpu-worker": "^0.1.3"
36
42
  },
37
43
  "devDependencies": {
44
+ "@eslint/js": "^9.39.1",
45
+ "@typescript-eslint/eslint-plugin": "^8.46.2",
46
+ "@typescript-eslint/parser": "^8.46.2",
38
47
  "@types/node": "^22.10.0",
39
48
  "c8": "^10.1.3",
49
+ "eslint": "^9.39.1",
50
+ "globals": "^17.3.0",
40
51
  "tsup": "^8.5.0",
41
52
  "typescript": "^5.9.3"
42
53
  },