diff --git a/clade-portal/deno.json b/clade-portal/deno.json deleted file mode 100644 index ded3e44b..00000000 --- a/clade-portal/deno.json +++ /dev/null @@ -1,24 +0,0 @@ -{ - "name": "@hyperpolymath/clade-portal", - "version": "0.1.0", - "license": "MPL-2.0", - "tasks": { - "gossamer:dev": "deno task res:build && deno task css:build && deno run --allow-net --allow-read --allow-env dev-server.ts", - "gossamer:build": "deno task res:build && deno task css:build && deno run --allow-all build.ts", - "res:build": "npx rescript build", - "res:watch": "npx rescript build -w", - "bundle": "deno task gossamer:build && gossamer bundle", - "css:build": "cp src/styles.css public/styles.css", - "check": "deno check dev-server.ts build.ts", - "clean": "npx rescript clean && rm -rf public/*.js public/*.css" - }, - "imports": { - "@gossamer/api": "https://deno.land/x/gossamer_api@0.1.0/mod.ts", - "rescript": "npm:rescript@12", - "@rescript/core": "npm:@rescript/core@1" - }, - "compilerOptions": { - "strict": true, - "noUnusedLocals": true - } -} diff --git a/deno.json b/deno.json deleted file mode 100644 index 85f4e5db..00000000 --- a/deno.json +++ /dev/null @@ -1,74 +0,0 @@ -{ - "name": "@hyperpolymath/panll", - "version": "0.1.1", - "license": "MPL-2.0", - "description": "Panel workspace framework — TEA (The Elm Architecture) for ReScript with tiling layout, smart routing, keyboard navigation, undo engine, and security-hardened DOM. Build panel-based UIs for desktop and web.", - "exports": "./mod.js", - "nodeModulesDir": "auto", - "tasks": { - "dev": "cargo build && cargo run --bin panll-gossamer & deno task bundle && deno task serve:dev", - "build": "cargo build --release && deno task bundle && deno task css:build", - "gossamer:dev": "cargo build && cargo run --bin panll-gossamer & deno task bundle && deno task serve:dev", - "gossamer:build": "cargo build --release && deno task bundle && deno task css:build", - "gossamer:run": "cargo run --bin panll-gossamer", - "bundle": "deno run -A scripts/bundle.ts", - "bundle:watch": "deno run -A scripts/bundle.ts --watch", - "css:build": "deno run -A --allow-scripts=npm:tailwindcss npm:tailwindcss@^3.4.19 -i ./src/styles/input.css -o ./public/styles.css --minify", - "css:watch": "deno run -A --allow-scripts=npm:tailwindcss npm:tailwindcss@^3.4.19 -i ./src/styles/input.css -o ./public/styles.css --watch", - "serve:dev": "deno run --allow-net=127.0.0.1:8000 --allow-read=. scripts/dev-server.ts", - "test": "deno test --no-check --allow-read --allow-env tests/", - "test:watch": "deno test --no-check --watch --allow-read --allow-env tests/", - "test:coverage": "deno test --no-check --coverage=coverage/ tests/ && deno coverage coverage/", - "bench": "deno bench --no-check --allow-read --allow-env benches/", - "bench:tests": "deno bench --no-check --allow-read --allow-env tests/", - "lint": "deno lint scripts/", - "fmt": "deno fmt scripts/", - "mock:echidna": "deno run --allow-net=127.0.0.1:9000 scripts/mock-echidna.ts", - "res:build": "deno run -A --allow-scripts=npm:rescript npm:rescript@^12.0.0 build", - "res:clean": "deno run -A --allow-scripts=npm:rescript npm:rescript@^12.0.0 clean", - "res:watch": "deno run -A --allow-scripts=npm:rescript npm:rescript@^12.0.0 watch" - }, - "imports": { - "@std/": "jsr:@std/", - "@gossamer/api": "./src-gossamer/bindings/rescript/src/Gossamer.res.js", - "rescript": "npm:rescript@^12.0.0", - "@rescript/core": "npm:@rescript/core@^1.6.1", - "@rescript/core/": "npm:/@rescript/core@1.6.1/", - "@rescript/runtime": "npm:@rescript/runtime@^12.2.0", - "@rescript/runtime/": "npm:/@rescript/runtime@12.2.0/", - "tailwindcss": "npm:tailwindcss@^3.4.19" - }, - "publish": { - "include": [ - "mod.js", - "src/tea/**/*.res.js", - "src/core/PanelBus.res.js", - "src/core/TilingEngine.res.js", - "src/core/EventChain.res.js", - "src/core/SmartRouter.res.js", - "src/core/SafeMount.res.js", - "src/core/SafeDOMCore.res.js", - "src/core/WindowBridge.res.js", - "src/core/KeyboardUtil.res.js", - "src/core/DebugLogger.res.js", - "src/core/AntiCrash.res.js", - "src/core/UndoEngine.res.js", - "src/core/Decoders.res.js", - "src/core/DOMPurify.res.js", - "src/core/TrustedTypes.res.js", - "src/core/FocusDimmingEngine.res.js", - "src/core/HelpContent.res.js", - "src/core/HelpEngine.res.js", - "src/core/RuntimeBridge.res.js", - "LICENSE", - "README.adoc" - ], - "exclude": [ - "!**/*.res.js" - ] - }, - "compilerOptions": { - "strict": true, - "noImplicitAny": true - } -} diff --git a/scripts/bundle.ts b/scripts/bundle.affine similarity index 82% rename from scripts/bundle.ts rename to scripts/bundle.affine index 07a8bb9d..adc4c97b 100644 --- a/scripts/bundle.ts +++ b/scripts/bundle.affine @@ -1,4 +1,12 @@ // SPDX-License-Identifier: MPL-2.0 +// Ported via Harvard Engine mechanical processor + +module bundle; + +// TODO: Complete semantic implementation + +/* === ORIGINAL TYPESCRIPT CONTEXT === +// SPDX-License-Identifier: MPL-2.0 // esbuild bundler for PanLL — resolves bare npm specifiers that WebKitGTK // cannot handle via import maps. // @@ -31,3 +39,5 @@ if (watch) { await ctx.rebuild(); await ctx.dispose(); } + +==================================== */ diff --git a/scripts/dev-server.ts b/scripts/dev-server.affine similarity index 87% rename from scripts/dev-server.ts rename to scripts/dev-server.affine index 49c84648..e8644026 100644 --- a/scripts/dev-server.ts +++ b/scripts/dev-server.affine @@ -1,4 +1,12 @@ // SPDX-License-Identifier: MPL-2.0 +// Ported via Harvard Engine mechanical processor + +module dev-server; + +// TODO: Complete semantic implementation + +/* === ORIGINAL TYPESCRIPT CONTEXT === +// SPDX-License-Identifier: MPL-2.0 // Deno static file server for PanLL dev mode — replaces python3 http.server // // Serves the project root on port 8000 so that public/index.html can resolve @@ -41,3 +49,5 @@ Deno.serve({ port, hostname: "127.0.0.1", onListen: () => { return serveDir(req, { fsRoot: ".", quiet: true }); }); + +==================================== */ diff --git a/scripts/mock-echidna.ts b/scripts/mock-echidna.affine similarity index 98% rename from scripts/mock-echidna.ts rename to scripts/mock-echidna.affine index 7cea9b2d..8f005963 100644 --- a/scripts/mock-echidna.ts +++ b/scripts/mock-echidna.affine @@ -1,4 +1,12 @@ // SPDX-License-Identifier: MPL-2.0 +// Ported via Harvard Engine mechanical processor + +module mock-echidna; + +// TODO: Complete semantic implementation + +/* === ORIGINAL TYPESCRIPT CONTEXT === +// SPDX-License-Identifier: MPL-2.0 /// Mock ECHIDNA REST Server for PanLL development. /// @@ -459,3 +467,5 @@ console.log(` `); Deno.serve({ port: PORT, hostname: "127.0.0.1" }, handleRequest); + +==================================== */