Commit 9feec22
authored
Migrate from Deno/ESLint to Vite+ unified toolchain (#148)
* Migrate from Deno/ESLint to Vite+ unified toolchain
- Replace Deno runtime + deno.jsonc + ESLint with Vite+ (vp dev/build/check/lint/fmt)
- Remove eslint, eslint-plugin-svelte, @stylistic/eslint-plugin, svelte-check, svelte2tsx
- Add vite-plus with oxlint (type-aware), oxfmt, and svelte-check-rs
- Configure all 6 oxlint categories (correctness, suspicious, pedantic, perf, restriction, style)
- Update pre-commit hooks from deno fmt/lint to vp fmt/lint
- Fix all lint/type errors: throw literals, ==, Deno refs, jsr imports, implicit any
- Fix screenshots.ts bug: missing continue after failed navigation
- Break import cycles by importing sibling components directly
- Simplify ToggleGroup to accept Record<string, string> options
- Update deps (svelte 5.54, sveltekit 2.55, puppeteer 24.40, marked 17.0.5)
* Update CI workflows from Deno to Node.js/pnpm
Replace deno setup with pnpm in lint workflow, add node_modules install
before prek so vp-fmt/vp-lint hooks can find vp binary. Switch gh-pages
and test workflows from deno reusable workflows to nodejs equivalents.
Add minimal build script to package.json for CI compatibility.
Use npm instead of pnpm in CI workflows
Pin Node 22 in gh-pages workflow for vite-plus native binary compat
Exclude flaky URLs from link checker
beatbump.io (403), parks.lol (502), modern-fluid-typography (429),
mochajs.org and tauri.app (connection resets in CI)
Accept transient HTTP errors in link checker instead of per-domain excludes
Use --accept to tolerate 403/429/5xx (common for rate limiting and
bot blocking), --max-retries 3, and --timeout 30 instead of
maintaining a growing list of excluded domains.
Exclude sites with persistent network errors from link checker
tauri.app, sass-lang.com, multimonitorcalculator.com block CI with
connection resets. Increase timeout to 60s for slow sites.
Exclude learninpublic.org and parks.lol from link checker (persistent timeouts)
Exclude lodash.com from link checker (connection reset)1 parent 511a9f2 commit 9feec22
File tree
30 files changed
+285
-327
lines changed- .github/workflows
- site
- src
- lib
- routes
- [slug]
- tasks
- tests
30 files changed
+285
-327
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
24 | 27 | | |
25 | 28 | | |
26 | 29 | | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | 30 | | |
32 | | - | |
| 31 | + | |
33 | 32 | | |
34 | 33 | | |
35 | | - | |
36 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
37 | 37 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | | - | |
| 16 | + | |
| 17 | + | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
23 | | - | |
24 | | - | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | | - | |
| 17 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | 48 | | |
65 | 49 | | |
66 | 50 | | |
| |||
97 | 81 | | |
98 | 82 | | |
99 | 83 | | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
104 | 88 | | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
111 | 94 | | |
| 95 | + | |
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
5 | 11 | | |
6 | | - | |
| 12 | + | |
7 | 13 | | |
8 | | - | |
| 14 | + | |
| 15 | + | |
9 | 16 | | |
10 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
11 | 20 | | |
12 | 21 | | |
13 | | - | |
| 22 | + | |
14 | 23 | | |
15 | | - | |
16 | 24 | | |
17 | | - | |
18 | | - | |
| 25 | + | |
| 26 | + | |
19 | 27 | | |
20 | | - | |
21 | | - | |
22 | 28 | | |
23 | | - | |
24 | | - | |
| 29 | + | |
| 30 | + | |
25 | 31 | | |
26 | | - | |
27 | | - | |
28 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
29 | 35 | | |
30 | | - | |
31 | 36 | | |
32 | | - | |
33 | | - | |
| 37 | + | |
| 38 | + | |
34 | 39 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
41 | 46 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
8 | | - | |
9 | 9 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
0 commit comments