@plasius/gpu-world-generator 0.0.4 → 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.
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.
@@ -0,0 +1,67 @@
1
+ # Architectural Decision Record (ADR)
2
+
3
+ ## Title
4
+
5
+ > _Concise, descriptive title of the decision (e.g., "Use Azure Container Apps for n8n Deployment")_
6
+
7
+ ---
8
+
9
+ ## Status
10
+
11
+ - Proposed | Accepted | Rejected | Superseded | Deprecated
12
+ - Date: YYYY-MM-DD
13
+ - Version: 1.0
14
+ - Supersedes: ADR-XXXX (if applicable)
15
+ - Superseded by: ADR-YYYY (if applicable)
16
+
17
+ ---
18
+
19
+ ## Tags
20
+
21
+ > _Short keywords to help search and group ADRs (e.g., infra, frontend, security, devops, ai, database)._
22
+
23
+ ---
24
+
25
+ ## Context
26
+
27
+ > _Describe the problem we are solving, relevant background, and constraints.
28
+ > Why are we making this decision? What triggered it?_
29
+
30
+ ---
31
+
32
+ ## Decision
33
+
34
+ > _What is the decision we have made? Clear, affirmative statement of the chosen path._
35
+
36
+ ---
37
+
38
+ ## Alternatives Considered
39
+
40
+ - **Option A**: Description (pros/cons)
41
+ - **Option B**: Description (pros/cons)
42
+ - **Option C**: Description (pros/cons)
43
+
44
+ > _Why were these alternatives not chosen?_
45
+
46
+ ---
47
+
48
+ ## Consequences
49
+
50
+ - Positive outcomes (benefits, opportunities)
51
+ - Negative outcomes (risks, trade-offs)
52
+ - Any technical debt created or avoided
53
+ - Impact on future decisions
54
+
55
+ ---
56
+
57
+ ## Related Decisions
58
+
59
+ > _Link to related ADRs (if any)_
60
+
61
+ ---
62
+
63
+ ## References
64
+
65
+ - [Architectural Decision Records (ADR) standard](https://adr.github.io/)
66
+
67
+ > _Links to docs, benchmarks, discussions, or external resources that influenced this decision_
@@ -1,4 +1,4 @@
1
- # Architecture Decision Records
1
+ # ADR Index
2
2
 
3
3
  - [ADR-0001: GPU World Generator Package Scope](./adr-0001-package-scope.md)
4
4
  - [ADR-0002: Tiled World Generation, LOD, and Stitching](./adr-0002-world-tiling-lod-stitching.md)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plasius/gpu-world-generator",
3
- "version": "0.0.4",
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,17 +26,30 @@
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
- "test:coverage": "c8 --reporter=lcov --reporter=text node --test"
36
+ "test:coverage": "c8 --reporter=lcov --reporter=text node --test",
37
+ "pack:check": "node scripts/verify-public-package.cjs",
38
+ "prepublishOnly": "npm run build && npm run pack:check"
31
39
  },
32
40
  "dependencies": {
33
- "@plasius/gpu-worker": "^0.1.2"
41
+ "@plasius/gpu-worker": "^0.1.3"
34
42
  },
35
43
  "devDependencies": {
44
+ "@eslint/js": "^9.39.1",
45
+ "@typescript-eslint/eslint-plugin": "^8.46.2",
46
+ "@typescript-eslint/parser": "^8.46.2",
36
47
  "@types/node": "^22.10.0",
48
+ "c8": "^10.1.3",
49
+ "eslint": "^9.39.1",
50
+ "globals": "^17.3.0",
37
51
  "tsup": "^8.5.0",
38
- "typescript": "^5.9.3",
39
- "c8": "^10.1.3"
52
+ "typescript": "^5.9.3"
40
53
  },
41
54
  "license": "Apache-2.0",
42
55
  "publishConfig": {
@@ -49,5 +62,8 @@
49
62
  "bugs": {
50
63
  "url": "https://github.com/Plasius-LTD/gpu-world-generator/issues"
51
64
  },
52
- "homepage": "https://github.com/Plasius-LTD/gpu-world-generator#readme"
65
+ "homepage": "https://github.com/Plasius-LTD/gpu-world-generator#readme",
66
+ "overrides": {
67
+ "minimatch": "^10.2.1"
68
+ }
53
69
  }