- chore(deps): upkeep 2026-11-24 — 15 bumps, pnpm 11.29.0, deepmerge skip retired - docs(deps): the 2026-11-24 upkeep — retired override, extension and OSV skip Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
15 KiB
01 — Tech Stack (verified 2026-07-15 · re-verified 2026-07-27 · updated 2026-10-21)
All version lines below were checked against upstream release channels on 2026-07-15. Install the latest patch within each stated line. Renovate keeps them current afterwards (§5) — the owner's self-hosted Renovate on Gitea since 2026-11-24 (D38); Dependabot did it from 2026-10-21 until the GitHub account was suspended.
Re-verified 2026-07-27 against
E:\poli0981-dev\package.json— the org's closest sibling project, already shipping Astro 7 on Cloudflare Workers. Astro / Svelte / Tailwind / Wrangler / Node confirmed as stated; TypeScript, ESLint, lefthook and knip were all a major behind and have been corrected below. Prefer that project'spackage.jsonas the reference when scaffolding — it is a working install, not a claim.Installed at v1.1 (2026-10-21, from
node_modules): Node 24.19 · pnpm 11.15.1 · Astro 7.4.1 · Svelte 5.57.2 ·@astrojs/svelte9.1.0 · Tailwind 4.3.3 · TypeScript 6.0.3 · MiniSearch 7.2.0 · nanostores 1.5.5 ·@vite-pwa/astro1.2.0 ·unplugin-icons24.0.0 · Vitest 5.0.5 · Playwright 1.64.1 ·@axe-core/playwright4.14.0 · happy-dom 21.0.3 · Wrangler 4.151.3 · ESLint 10.13 ·typescript-eslint8.72 · Prettier 3.9 · knip 6.42 · lefthook 2.2.2.package.jsonis the authority; this line is a snapshot.Changed for v1.2 (2026-10-23): Node 26.12 ·
@types/node26.6 · TypeScript 7.0.2 (tsc, as@typescript/native) beside 6.0.3 (the API, via@typescript/typescript66.0.2) · SonarScanner CLI 8.2 throughsonarqube-scan-action8.3.Upkeep 2026-11-04: pnpm 11.28.9 · Astro 7.4.5 · Svelte 5.57.3 ·
@astrojs/svelte9.1.2 · Tailwind 4.3.4 · Vitest 5.1.0 · Wrangler 4.156 · ESLint 10.14 ·typescript-eslint8.72.1 · knip 6.44 ·pnpm/action-setup6.1.1 ·sonarqube-scan-action8.4.1 (CLI 8.3.1).@vite-pwa/astrostays on 1.2.0 — 2.0.0 was tried and refused (docs/09 §7) — and pnpm stays on the 11 line although 12 is out: a pnpm major is a decision, not an upkeep bump.Upkeep 2026-11-09: pnpm 11.28.11 · Astro 7.4.7 (Rolldown 1.3.0) · Tailwind 4.3.5 · Wrangler 4.158 · Playwright 1.65.0 · knip 6.44.2 ·
eslint-plugin-svelte3.24.1 ·@vite-pwa/astro2.0.1 (on@unplugin-pwa0.0.4 and@vite-pwa/workbox-*8.0.14), which needsrolldown,magicast,@vite-pwa/workbox-swkitand@vite-pwa/workbox-windowas direct devDependencies under pnpm (docs/09 §7) and drops workbox-build 7 with ~270 transitive packages. Node 26.13.0 is the newest 26.x (LTS since 2026-10-28).Upkeep 2026-11-16: pnpm 11.28.12 (a security release) · Astro 7.4.12 (Rolldown 1.3.2) ·
@astrojs/svelte9.1.6 ·@vite-pwa/astro2.0.2 (@vite-pwa/workbox-*8.0.15) · Wrangler 4.162 · Playwright 1.65.1 · ESLint 10.15 ·typescript-eslint8.72.2 · Prettier 3.10 · knip 6.45 ·sonarqube-scan-action8.5.0 (CLI 8.4.0) ·osv-scanner-action2.7.1 ·create-pull-request8.1.3. Node 26.13.1 (a security release, 2026-11-10) reaches CI and Workers Builds by itself through.nvmrc=26.Forge move 2026-11-24 (D38): CI on Gitea Actions; SonarQube Cloud, the SonarScanner pin, CodeQL,
osv-scanner-action(now the pinned osv-scanner 2.7.1 binary),create-pull-requestandupload-artifact(nowchristopherhx/gitea-upload-artifactv4) left the workflows; Qodana runs the CLI 2026.3.1 through the opsreusable-qodana.yml.Upkeep 2026-11-24: pnpm 11.29.0 · Astro 7.4.13 (Rolldown 1.3.3) · Svelte 5.59.1 ·
@vite-pwa/astro2.0.4 · Wrangler 4.166 · Vitest 5.1.1 ·typescript-eslint8.73 · knip 6.48 ·prettier-plugin-svelte4.2. Theminimatchoverride and the astro2tsxpackageExtensionsretired (their callers now ask for the right versions); the deepmerge advisory was withdrawn, soosv-scanner.tomlskips nothing (docs/09 §7). Node 26.13.1 is still the newest 26.x.
1. Runtime & toolchain
| Layer | Package | Line (2026-07-15) | Notes |
|---|---|---|---|
| Runtime | Node.js | 26 (26.12 at v1.2; was 24 LTS "Krypton" until 2026-10-23) | LTS from 2026-10-28, maintenance from 2027-10, end of life 2029-04. Taken five days before the LTS label at the owner's request (D7 amended) — Node 24 had entered maintenance on 2026-10-20, and CI, the e2e suite and a Workers Builds preview all passed on 26 first. Pin via .nvmrc = 26 and "engines": { "node": ">=26 <27" }; CI and the deploy job read .nvmrc, and @types/node majors are held to the same line (a Renovate rule, §5). Node 25+ ships no Corepack: a laptop whose pnpm came from Corepack needs npm install -g corepack (or a standalone pnpm) after upgrading, or pnpm and the lefthook hooks stop working. |
| Package manager | pnpm | 11.x (11.29.0 since 2026-11-24, packageManager; 11.28.12 from 2026-11-16, 11.28.11 from 2026-11-09, 11.28.9 from 2026-11-04, 11.15.1 before) |
packageManager field pinned; CI's pnpm/action-setup reads it (no version:), so CI, the deploy job, Renovate and laptops run the same pnpm. Do not set ignore-scripts — pnpm ≥ 10 already blocks dependency install scripts and wants an allowBuilds allowlist in pnpm-workspace.yaml instead (docs/09 §7). pnpm 11's default 24 h minimumReleaseAge refuses day-old releases — Renovate's 3-day release age keeps every update PR installable (§5). |
| Deploy CLI | Wrangler | 4.x (4.151 at v1.1) | CI's deploy job runs wrangler deploy on pushes to main (D38; Workers Builds did until then, with wrangler versions upload previews for PRs); CI also runs wrangler deploy --dry-run to bundle worker/ and validate wrangler.jsonc. Since D25 there is a Worker script (worker/index.ts), tested under Vitest in Node — the local workerd runtime stays blocked in allowBuilds (docs/09 §7). Types for the Worker are written by hand (worker/env.ts), not @cloudflare/workers-types. |
2. Framework & UI
| Layer | Package | Line | Notes |
|---|---|---|---|
| Framework | astro |
7.x (7.0.9 at P1; 7.4.1 at v1.1) | Static output. Ships Vite 8 + Rolldown (Rust bundler). Content Layer + Zod validation is the backbone of the data pipeline. security.csp provides the per-page meta policy (docs/09 §4); <ClientRouter /> is not used — Astro does not support it with security.csp (docs/02 §6). |
| Islands | svelte + @astrojs/svelte |
Svelte 5.x (5.57 at v1.1) | Runes mode. Only 6 islands exist (docs/02 §5). |
| Styling | tailwindcss + @tailwindcss/vite |
4.3.x (≥ 4.3.2) | CSS-first config via @theme; tokens in docs/06 §2. |
| Language | typescript + @typescript/native |
6.x API + 7.x compiler, side by side (since 2026-10-23) | strict + noUncheckedIndexedAccess (docs/10 §1). TypeScript 7's native compiler still ships no programmatic API, and astro check (its language server asserts ts.findConfigFile/ts.sys), typescript-eslint's project service and svelte2tsx all load one — so Microsoft's documented pair is used: "typescript": "npm:@typescript/typescript6@^6" (re-exports TS 6; bin tsc6) and "@typescript/native": "npm:typescript@^7" (bin tsc). pnpm check = astro check (TS 6, .astro files) then tsc --noEmit (TS 7, every .ts file — which nothing type-checked before: astro check reports .astro diagnostics only). .svelte script blocks are still checked by nothing. A TS 7-only setup waits on Astro (withastro/astro #18471, roadmap discussion 1321) and typescript-eslint (#10940). Dependabot ignores both majors (§5.4). |
| State | nanostores only |
1.x | Cross-island filter/search state (~1 KB). There is no @nanostores/svelte package — it returns 404 on the registry (verified in P1, 2026-07-27). None is needed: a nanostores atom already satisfies Svelte's store contract (.subscribe(cb) fires immediately and returns an unsubscribe), so $atom auto-subscription works directly. Bindings exist for React/Vue/Solid/Preact/Lit/Angular precisely because those frameworks lack that contract. |
| Search | minisearch |
7.x | Client-side index; options in docs/05 §A2. Loaded with a dynamic import() on first search, so it is not in any page's static bundle. |
| Icons | unplugin-icons + @iconify-json/simple-icons + @iconify-json/lucide |
latest | Simple Icons = app logos (SVG, CC0 set — trademark caveat in docs/14 §3d); Lucide = UI icons. In islands: ~icons/lucide/<name> via unplugin-icons (compiler: 'svelte'). In .astro: ShIcon.astro / src/lib/icon.ts, which read the same vendored JSON at build time (data-driven names cannot be static imports). Nothing fetched at runtime. |
| Fonts | @fontsource-variable/bricolage-grotesque, @fontsource/be-vietnam-pro, @fontsource/ibm-plex-mono |
latest | latin + vietnamese subsets only (Bricolage's single stylesheet relies on unicode-range, docs/06 §3). |
| PWA / offline | @vite-pwa/astro |
2.x (2.0.1 since 2026-11-09; 1.2.0 before) | Installable (manifest linked, PNG icons) with an offline fallback page — not a full precache PWA (docs/08 Part D). 2.x is a rewrite on @unplugin-pwa 0.0.x: named export AstroPWAIntegration, generateSW instead of workbox. Under pnpm it needs four direct devDependencies — rolldown and magicast (or the SW build stops) and @vite-pwa/workbox-swkit + @vite-pwa/workbox-window (or sw.js/registerSW.js keep bare ES imports a classic script cannot run, while the build reports success). The SW is emitted unminified so check:sw can read it. 2.0.0 was refused on 2026-11-04 for exactly those silent failures (docs/09 §7). |
| Feeds & SEO | @astrojs/rss, @astrojs/sitemap |
latest | /rss.xml (new apps) + sitemap with hreflang. |
| Third-party runtime (not packages) | Cloudflare Web Analytics beacon · Cloudflare Turnstile api.js |
— | Loaded by our own code from their origins — the only third-party requests (hard rule 7, D25/D26, docs/09 §4). |
3. Quality tooling
| Purpose | Package | Line |
|---|---|---|
| Lint | eslint 10.x flat config + typescript-eslint 8.x + eslint-plugin-astro 3.x + eslint-plugin-svelte 3.x |
latest |
| Format | prettier 3.x + prettier-plugin-astro + prettier-plugin-svelte + prettier-plugin-tailwindcss |
latest |
| Dead code | knip |
6.x |
| Unit / island / script / Worker tests | vitest + @vitest/coverage-v8 + happy-dom |
5.x (5.1.0) — four projects, coverage ratchet (docs/11 §1) |
| End-to-end + a11y | @playwright/test + @axe-core/playwright |
1.64 / 4.14 — Chromium, desktop + Pixel 7 (docs/11 §5) |
| Icon generation | sharp (dev only, pnpm icons) |
0.35 — output committed, builds never need it |
| Git hooks | lefthook |
2.x |
| Link checking (CI) | lychee via lycheeverse/lychee-action |
v2 line (v2.9.0) |
| Dep updates | Renovate (renovate.json → local>poli0981/renovate-config, self-hosted on Gitea) |
npm + action pins, daily 13:31 UTC, grouped non-major, OSV security PRs — docs/12 §6 (Dependabot until D38) |
| CVE / code scanning | osv-scanner 2.7.1 (pinned binary) + pnpm audit --prod in gates; the ops security.yml — gitleaks, Opengrep, osv-scanner (replaced CodeQL, D38); Qodana qodana-js, CLI 2026.3.1, Ultimate licence, native mode (qodana.yml, D35). SonarQube Cloud dropped (D38) |
latest |
4. Rationale for the contested picks
Astro over a React/Vite SPA (JSONPrism stack). The site is a content directory: hundreds of pages that never change between deploys. Astro prerenders every page (SEO for "download X" queries), validates the dataset with Zod at build time (hard rule 2), has i18n routing built in, and ships zero JS except the islands we opt into. An SPA would invert all of that for no benefit.
Svelte 5 over React islands. Both are supported; Svelte wins on bundle size for six small islands, and it is the fresher muscle memory (BookmarkMagic). React remains a documented fallback if a needed library is React-only (none identified).
MiniSearch over Fuse.js / Pagefind. Dataset is small (≤ ~1 000 records ×
~6 short fields). MiniSearch gives prefix + fuzzy search with a custom
processTerm hook — exactly where the Vietnamese normalizer plugs in
(docs/05 §A1) — at a fraction of Pagefind's machinery. Pagefind indexes
rendered HTML and is the right tool only if the dataset grows 10×.
No @astrojs/cloudflare adapter. The adapter exists for SSR on Workers.
SoftHarbor is 100 % prerendered, so astro build → dist/ → Workers Static
Assets needs no adapter. The one Worker of D25 (worker/) is a small
hand-written module that Wrangler bundles beside the assets; it runs only
for assets.run_worker_first paths (/api/verify), so pages stay on the
unbilled asset path and no SSR exists.
5. Version & CVE policy
- Install latest stable within each line above; never pre-releases.
- Renovate runs daily (13:31 UTC, the owner's runner), npm and the
workflow actions, holding a new npm release for 3 days (also clearing
pnpm 11's 24 h
minimumReleaseAge); minor + patch are grouped, majors arrive one PR each, and OSV advisories open their own PRs without the wait. Actions stay pinned to commit SHAs with a version comment, and Renovate bumps both (docs/12 §6). The ops pins and the osv-scanner binary are bumped by hand. osv-scanner+pnpm audit --prodrun on every PR and push tomain(ci.ymlgatesjob); a finding fails it. A finding with no patched release of the direct dependency is fixed with anoverridesfloor inpnpm-workspace.yaml, the advisory ids in a comment (docs/09 §7), or a tracking issue.- Node upgrades follow LTS lines, adopted once CI, the e2e suite and a
deploy pass on them;
@types/nodemoves with.nvmrcand Renovate proposes no majors of it in between. (Node 26 was taken on 2026-10-23, five days before its LTS promotion — the owner's call, D7.) TypeScript is exempt from rule 1 while Astro needs the TS 6 API (§2):typescriptstays the TS 6 wrapper and@typescript/nativeis TS 7; Renovate proposes neither major (D21). - Every dependency bump that touches Astro/Vite/Tailwind majors must re-run spike S1 (docs/11 §3) before merge — in practice, the full CI including the e2e suite on the built site.
6. Known risk — Astro 7 freshness
Astro 7 shipped ~3 weeks before this suite; 7.0.x patches are landing weekly. Risk: a plugin in §2 misbehaves under Rolldown.
- Mitigation: spike S1 compiles the entire integration set on day one.
- Fallback (pre-approved): pin
astro@6.5.x+ its bundled Vite; no other stack change. Record the fallback in the decision log if taken. - Outcome: S1 passed on 7.1.3 (2026-07-27); the fallback was never
needed, and the site runs 7.4.1 at v1.1. One Astro behaviour shaped the
architecture since:
<ClientRouter />is unsupported together withsecurity.csp, so v1.1 moved to native cross-document View Transitions (docs/02 §6).