Commit bacec2f
chore: migrate panll off npm onto Deno (standards#253 step)
Eliminate package.json + package-lock.json. All build orchestration
now flows through deno.json tasks using npm: specifiers cached by
`deno install`.
Resolves the lockfile-drift root cause that band-aided in panll#62
(workflow switched npm ci -> npm install --no-audit --no-fund). With
package.json removed, the drift class disappears entirely.
Changes:
- deno.json: add nodeModulesDir=auto; tailwindcss + rescript +
@rescript/core + @rescript/runtime promoted to deno imports; tasks
invoke them via deno run -A --allow-scripts=npm:<pkg> npm:<pkg>@ver.
Pinned-version trailing-slash forms (npm:/pkg@VER/) keep the
res.js subpath imports URL-resolvable.
- .github/workflows/build-validation.yml: drop actions/setup-node;
npm ci/npm run res:build replaced with deno install + deno task
res:build; drop stale src-tauri/ manifest-path (Gossamer migration
completed previously); rust gate now cargo check / cargo test --lib
at workspace root. Linux deps step renamed Tauri -> Gossamer.
- .github/workflows/e2e.yml: replace `npx rescript build` with
`deno task res:build` (3 jobs).
- Delete package.json + package-lock.json (no .npmrc was present).
- deno.lock auto-tidies: packageJson block removed, workspace.
dependencies absorbs the four formerly-package.json deps.
Verified locally:
- `deno install` OK (77 npm packages resolved)
- `deno task res:build` OK (.res.js outputs produced, warnings only)
- `deno task bundle` OK (public/app.bundle.js 5.6MB)
- `deno task css:build` OK (public/styles.css 81KB)
- `deno task test` 2545 passed / 21 failed — IDENTICAL to main
(failures are pre-existing, unrelated)
- `cargo check --lib` OK
- `deno cache scripts/bundle.ts` OK
Tailwind decision: kept via `npm:tailwindcss@^3.4.19` specifier as a
transitional choice. No fully deno-native drop-in worth the swap right
now (windicss/unocss have semantic divergences from the existing
classes). Worth a follow-up issue under standards#253 for a future
tailwind -> deno-native swap.
Refs:
- standards#253 (estate npm->Deno umbrella)
- panll#62 (band-aid superseded — `npm install --no-audit --no-fund`
no longer needed)
- session_2026_05_30_snifs_build_mode_arc (lockfile drift origin)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent ff57277 commit bacec2f
6 files changed
Lines changed: 30 additions & 1243 deletions
File tree
- .github/workflows
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | 23 | | |
29 | 24 | | |
30 | 25 | | |
31 | 26 | | |
32 | 27 | | |
33 | | - | |
| 28 | + | |
34 | 29 | | |
35 | 30 | | |
36 | 31 | | |
| |||
40 | 35 | | |
41 | 36 | | |
42 | 37 | | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
| 38 | + | |
| 39 | + | |
54 | 40 | | |
55 | 41 | | |
56 | | - | |
| 42 | + | |
57 | 43 | | |
58 | 44 | | |
59 | 45 | | |
60 | 46 | | |
61 | 47 | | |
62 | | - | |
| 48 | + | |
63 | 49 | | |
64 | 50 | | |
65 | | - | |
| 51 | + | |
66 | 52 | | |
67 | 53 | | |
68 | 54 | | |
| |||
74 | 60 | | |
75 | 61 | | |
76 | 62 | | |
77 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | | - | |
| 75 | + | |
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
| |||
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
95 | | - | |
| 95 | + | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
26 | | - | |
27 | | - | |
28 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
34 | | - | |
35 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
36 | 40 | | |
37 | 41 | | |
38 | 42 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments