Skip to content

Commit 3f1c791

Browse files
feat(deno): migrate 8 SSG adapter package.json → deno.json (Class B, standards#253 STEP 7) (#25)
Workspace-finalisation pass for ssg-collection: convert the 8 unpaired adapters/ leaf manifests from package.json (devDep rescript@^12.0.0) to deno.json with Class B wrap-via-npm pattern, per docs/migrations/npm-to-deno-template/MIGRATION.md. Migrated: - ssg-fixes/wagasm-ssg/adapters/ - ssg-fixes/zigzag-ssg/adapters/ - stubs/milk/adapters/ - stubs/parallax/adapters/ - stubs/prodigy/adapters/ - stubs/terrapin/adapters/ - variants/wagasm/adapters/ - variants/zigzag/adapters/ Each gains canonical Class B deno.json: - tasks build/clean/watch use `deno run -A --node-modules-dir=auto npm:rescript@^12.0.0` (replaces bare `rescript` from prior package.json `scripts`, avoiding the `:npx_or_npm_run_in_ci` ban-evasion path) - imports map `"rescript": "npm:rescript@^12.0.0"` - nodeModulesDir: "auto" (rescript lifecycle requires resolvable node_modules) Carry-forward: 6 already-paired leaves (implementations/eclipse, implementations/odd, implementations/hackenbush/adapters, ssg-fixes/eclipse-ssg, ssg-fixes/hackenbush-ssg/adapters, stubs/rescribe/adapters) retain their existing package.json alongside the pre-existing deno.json — per-repo follow-up, out of scope for this PR to keep the diff strictly additive on Deno + strictly removal on the unpaired bucket. Closes part of hyperpolymath/standards#275 (STEP 7 workspace finalisation). Refs hyperpolymath/standards#253 (umbrella). Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent f448ff5 commit 3f1c791

16 files changed

Lines changed: 120 additions & 136 deletions

File tree

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/wagasm-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/wagasm-ssg/adapters/package.json

Lines changed: 0 additions & 17 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/zigzag-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/zigzag-ssg/adapters/package.json

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

stubs/milk/adapters/deno.json

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/milk-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+
}

stubs/milk/adapters/package.json

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

stubs/parallax/adapters/deno.json

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/parallax-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+
}

stubs/parallax/adapters/package.json

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

stubs/prodigy/adapters/deno.json

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/prodigy-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+
}

stubs/prodigy/adapters/package.json

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

0 commit comments

Comments
 (0)