Skip to content

Commit c16a650

Browse files
hyperpolymathclaude
andcommitted
fix: restore text destroyed by the rescript/deno/typescript blanking sweep
An automated sweep deleted the bare literals `rescript`, `deno` and `typescript` (case-insensitively) from these files, leaving behind broken action references, empty URL authorities and truncated prose. The damage is committed into HEAD, so `git status` is clean and nothing flags it. Restored lines are byte-identical to their pre-sweep form. - journal-theme/.github/workflows/rescript-deno-ci.yml `denoland/setup-@v2` is not a resolvable action; the workflow fails at startup rather than running. Restored to `denoland/setup-deno@v2`. - sinople-theme/CLAUDE.md - sinople-theme/THEME_TRANSPILATION_ARCHITECTURE.adoc `https:///x/deno_dom` has an empty authority and cannot resolve. Verified: the workflow re-parses as YAML; no `https:///` or `setup-@` markers remain in any touched file. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent e1fd57a commit c16a650

3 files changed

Lines changed: 21 additions & 21 deletions

File tree

‎journal-theme/.github/workflows/rescript-deno-ci.yml‎

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
11
# SPDX-License-Identifier: MPL-2.0
2-
name: / CI
2+
name: ReScript/Deno CI
33
on: [push, pull_request]
44
jobs:
55
build:
66
runs-on: ubuntu-latest
77
timeout-minutes: 15
88
steps:
99
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
10-
- uses: denoland/setup-@v2
10+
- uses: denoland/setup-deno@v2
1111
with:
12-
-version: v1.x
13-
- name: lint
14-
run: lint
15-
- name: fmt check
16-
run: fmt --check
17-
- name: test
18-
run: test --allow-all --coverage=coverage
19-
- name: build
12+
deno-version: v1.x
13+
- name: Deno lint
14+
run: deno lint
15+
- name: Deno fmt check
16+
run: deno fmt --check
17+
- name: Deno test
18+
run: deno test --allow-all --coverage=coverage
19+
- name: ReScript build
2020
run: |
21-
if [ -f ".json" ] || [ -f "bsconfig.json" ]; then
21+
if [ -f "rescript.json" ] || [ -f "bsconfig.json" ]; then
2222
npm install
23-
npx
23+
npx rescript
2424
fi
2525
- name: Type check
26-
run: check **/*.ts || true
26+
run: deno check **/*.ts || true
2727
security:
2828
runs-on: ubuntu-latest
2929
timeout-minutes: 15
3030
steps:
3131
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
32-
- uses: denoland/setup-@v2
32+
- uses: denoland/setup-deno@v2
3333
- name: Check permissions
3434
run: |
3535
# Audit for dangerous permissions

‎sinople-theme/CLAUDE.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ opt-level = "z" # Size optimization
447447
```json
448448
{
449449
"imports": {
450-
"$fresh/": "https:///x/fresh@1.6.0/",
450+
"$fresh/": "https://deno.land/x/fresh@1.6.0/",
451451
"preact": "https://esm.sh/preact@10.19.2",
452452
"preact/": "https://esm.sh/preact@10.19.2/"
453453
},
@@ -831,7 +831,7 @@ pub fn load_turtle(&mut self, ttl: &str) -> Result<(), JsValue> {
831831

832832
```
833833
// tests/accessibility/wcag-aaa.test.ts
834-
import { assertEquals } from "https:///std/assert/mod.ts";
834+
import { assertEquals } from "https://deno.land/std/assert/mod.ts";
835835
836836
.test("All text meets AAA contrast ratio", async () => {
837837
// Use axe-core or pa11y
@@ -960,7 +960,7 @@ Tests panic without browser `console` object → Always skip with `cargo test --
960960
- [ & React](https://-lang.org/docs/react/latest/introduction)
961961

962962
### & Fresh
963-
- [ Manual](https:///manual)
963+
- [Deno Manual](https://deno.land/manual)
964964
- [Fresh Documentation](https://fresh..dev/docs/introduction)
965965

966966
### Semantic Web

‎sinople-theme/THEME_TRANSPILATION_ARCHITECTURE.adoc‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ automatically generate themes from descriptions or screenshots
7979

8080
* ****: HTTP client with fetch API
8181
* */*: Type-safe scraping logic
82-
* ** DOM**: HTML parsing (https:///x/deno_dom)
82+
* **Deno DOM**: HTML parsing (https://deno.land/x/deno_dom)
8383
* *CSS Parser*: PostCSS or similar
8484

8585
==== Responsibilities
@@ -582,7 +582,7 @@ export function detectDesignSystem(rules: CSSRule[]): DesignTokens {
582582

583583
....
584584
// /lib/dom-analyzer.ts
585-
import { DOMParser } from "https:///x/deno_dom/-dom-wasm.ts";
585+
import { DOMParser } from "https://deno.land/x/deno_dom/deno-dom-wasm.ts";
586586
587587
export async function analyzeDOMStructure(html: string): Promise<DOMStructure> {
588588
const doc = new DOMParser().parseFromString(html, "text/html");
@@ -1037,7 +1037,7 @@ end
10371037

10381038
....
10391039
// ml/pipeline/training-data-collector.ts
1040-
import { Database } from "https:///x/denodb/mod.ts";
1040+
import { Database } from "https://deno.land/x/denodb/mod.ts";
10411041
10421042
interface TrainingDataPoint {
10431043
id: string;
@@ -1402,7 +1402,7 @@ This component of the Sinople WordPress Theme is dual-licensed:
14021402

14031403
==== Web Scraping
14041404

1405-
* https:///x/deno_dom[DOM]
1405+
* https://deno.land/x/deno_dom[Deno DOM]
14061406
* https://postcss.org/[PostCSS]
14071407
* https://spdx.org/licenses/[SPDX License List]
14081408

0 commit comments

Comments
 (0)