Skip to content

Commit e14fe44

Browse files
feat(deno): workspace finalisation — root deno.json + 2 hackenbush adapters + 4 redundant package.json removals (STEP 7 closeout) (#26)
Completes the STEP 7 workspace finalisation acceptance criteria for ssg-collection from hyperpolymath/standards#275: 1. **Root `deno.json` with `workspace` field** — flat workspace member list of all 32 sub-projects with their own deno.json (post the prior commit's 8 adapter migrations + this commit's 2 hackenbush adapter additions). Top-level tasks delegate to per-member tasks via `deno task --recursive`. This was the missing acceptance gate (criterion 1 of issue #275 body). 2. **2 hackenbush adapter migrations** — `implementations/hackenbush/` and `ssg-fixes/hackenbush-ssg/` adapters had deno.json at PARENT level only; their adapter leaf only had package.json. Now each adapter dir gets its own canonical Class B deno.json matching the prior commit's 8-adapter pattern. The parent deno.json was the SSG engine itself — adapters are a separate sub-package surface. 3. **4 redundant paired package.json removals** — `implementations/eclipse/package.json` (paired deno.json supersedes), `implementations/odd/package.json` (idem), `ssg-fixes/eclipse-ssg/package.json` (idem), `stubs/rescribe/adapters/package.json` (idem). Each had only the `rescript@^12.0.0` devDep + `rescript`-script entries; their paired deno.json takes over the build. The "out of scope" caveat from the prior commit body is now retired — verified no internal repo reference imports these by name. After this commit, ssg-collection has zero `package.json` files — workspace finalisation complete. Refs hyperpolymath/standards#275 (this completes the STEP 7 ssg-collection scope) Refs hyperpolymath/standards#253 (umbrella npm → Deno migration) Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 3f1c791 commit e14fe44

9 files changed

Lines changed: 81 additions & 97 deletions

File tree

deno.json

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
{
2+
"$schema": "https://deno.land/x/deno/cli/schemas/config-file.v1.json",
3+
"name": "@hyperpolymath/ssg-collection",
4+
"version": "0.1.0",
5+
"license": "MPL-2.0",
6+
"workspace": [
7+
"./implementations/eclipse",
8+
"./implementations/hackenbush",
9+
"./implementations/hackenbush/adapters",
10+
"./implementations/odd",
11+
"./implementations/qed",
12+
"./implementations/rats",
13+
"./implementations/wokelang/frontend",
14+
"./ssg-fixes/baremetal-ssg",
15+
"./ssg-fixes/eclipse-ssg",
16+
"./ssg-fixes/hackenbush-ssg",
17+
"./ssg-fixes/hackenbush-ssg/adapters",
18+
"./ssg-fixes/jtv-playground/experiments/api-demos/rest-api-rescript",
19+
"./ssg-fixes/jtv-playground/experiments/api-demos/websocket-chat-rescript",
20+
"./ssg-fixes/jtv-playground/experiments/database-demos/arangodb-demo-rescript",
21+
"./ssg-fixes/jtv-playground/experiments/utilities/form-validation-rescript",
22+
"./ssg-fixes/wagasm-ssg/adapters",
23+
"./ssg-fixes/zigzag-ssg/adapters",
24+
"./stubs/milk/adapters",
25+
"./stubs/parallax/adapters",
26+
"./stubs/prodigy/adapters",
27+
"./stubs/rescribe/adapters",
28+
"./stubs/terrapin/adapters",
29+
"./variants/baremetal",
30+
"./variants/befunge",
31+
"./variants/gungir",
32+
"./variants/labnote",
33+
"./variants/my",
34+
"./variants/orbital",
35+
"./variants/praxis",
36+
"./variants/saur",
37+
"./variants/wagasm/adapters",
38+
"./variants/zigzag/adapters"
39+
],
40+
"tasks": {
41+
"build-all": "deno task --recursive build",
42+
"test-all": "deno task --recursive test",
43+
"fmt": "deno fmt",
44+
"lint": "deno lint"
45+
},
46+
"fmt": {
47+
"useTabs": false,
48+
"lineWidth": 100,
49+
"indentWidth": 2
50+
}
51+
}

implementations/eclipse/package.json

Lines changed: 0 additions & 16 deletions
This file was deleted.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"$schema": "https://deno.land/x/deno/cli/schemas/config-file.v1.json",
3+
"name": "@hyperpolymath/hackenbush-ssg-adapter",
4+
"version": "0.1.0",
5+
"license": "MPL-2.0",
6+
"tasks": {
7+
"build": "deno run -A --node-modules-dir=auto npm:rescript@^12.0.0",
8+
"clean": "deno run -A --node-modules-dir=auto npm:rescript@^12.0.0 clean",
9+
"watch": "deno run -A --node-modules-dir=auto npm:rescript@^12.0.0 -w"
10+
},
11+
"imports": {
12+
"rescript": "npm:rescript@^12.0.0"
13+
},
14+
"nodeModulesDir": "auto"
15+
}

implementations/hackenbush/adapters/package.json

Lines changed: 0 additions & 17 deletions
This file was deleted.

implementations/odd/package.json

Lines changed: 0 additions & 14 deletions
This file was deleted.

ssg-fixes/eclipse-ssg/package.json

Lines changed: 0 additions & 16 deletions
This file was deleted.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"$schema": "https://deno.land/x/deno/cli/schemas/config-file.v1.json",
3+
"name": "@hyperpolymath/hackenbush-ssg-adapter",
4+
"version": "0.1.0",
5+
"license": "MPL-2.0",
6+
"tasks": {
7+
"build": "deno run -A --node-modules-dir=auto npm:rescript@^12.0.0",
8+
"clean": "deno run -A --node-modules-dir=auto npm:rescript@^12.0.0 clean",
9+
"watch": "deno run -A --node-modules-dir=auto npm:rescript@^12.0.0 -w"
10+
},
11+
"imports": {
12+
"rescript": "npm:rescript@^12.0.0"
13+
},
14+
"nodeModulesDir": "auto"
15+
}

ssg-fixes/hackenbush-ssg/adapters/package.json

Lines changed: 0 additions & 17 deletions
This file was deleted.

stubs/rescribe/adapters/package.json

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)