Radish alpha
r
rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5
Radicle web interface
Radicle
Git
Upgrade all Javascript dependencies
Merged rudolfs opened 8 days ago

Upgrade all Javascript dependencies

Changes which were needed after the upgrade:

  • Replace vite-plugin-virtual (vite 8 incompatible) with vite’s built-in define for the buildTimeConfig injection

  • tsconfig: drop deprecated baseUrl (TS 5+ resolves paths relative to tsconfig)

  • Vitest 4: import defineConfig from vitest/config so test is valid in vite configs

  • Zod 4: rename .errors to .issues, make ZodSchema a type-only import, drop the removed SafeParseReturnType

  • Tighten/loosen generic casts in localStore to match stricter zod 4 inference

  • ESLint 9 no-useless-assignment: remove redundant initializers and dead reassignments; disable the rule where Svelte’s reactive blocks confuse the analyser

  • Svelte/eslint prefer-svelte-reactivity: disable for legacy Svelte usages of URL / Set

  • Misc naming-convention and prefer-const fixes

check check-visual check-unit-test check-http-client-unit-test check-radicle-httpd check-e2e check-build check-http 👉 Workflow runs 👉 Branch on GitHub

rudolfs opened with revision 66eebe41 on base a1b07239 +1997 -2150 8 days ago

Upgrade all Javascript dependencies

Changes which were needed after the upgrade:

  • Replace vite-plugin-virtual (vite 8 incompatible) with vite’s built-in define for the buildTimeConfig injection

  • tsconfig: drop deprecated baseUrl (TS 5+ resolves paths relative to tsconfig)

  • Vitest 4: import defineConfig from vitest/config so test is valid in vite configs

  • Zod 4: rename .errors to .issues, make ZodSchema a type-only import, drop the removed SafeParseReturnType

  • Tighten/loosen generic casts in localStore to match stricter zod 4 inference

  • ESLint 9 no-useless-assignment: remove redundant initializers and dead reassignments; disable the rule where Svelte’s reactive blocks confuse the analyser

  • Svelte/eslint prefer-svelte-reactivity: disable for legacy Svelte usages of URL / Set

  • Misc naming-convention and prefer-const fixes

check check-visual check-unit-test check-http-client-unit-test check-radicle-httpd check-e2e check-build check-http 👉 Workflow runs 👉 Branch on GitHub

rudolfs pushed revision 2 58f3ec60 on base a1b07239 +1997 -2150 8 days ago
2color reviewed · 3 comments 8 days ago

Build looks fine.

Not directly related by I saw that the build is 2,745.98 kB │ gzip: 627.12 kB. Have you considered using dynamic imports to improve the initial load, or done any lighthouse testing?

I did some brief research, here are some relevant resources:

  • https://web.dev/articles/vitals-spa-faq
  • https://developer.chrome.com/docs/web-platform/soft-navigations-experiment
rudolfs pushed revision 3 600c69e4 on base 9ca1d797 +1958 -2127 8 days ago

Rebase

rudolfs pushed revision 4 fcc57468 on base 9ca1d797 +1958 -2127 8 days ago
rudolfs pushed revision 5 16415409 on base 9ca1d797 +1991 -2127 8 days ago

Get rid of warnings in dev mode

rudolfs pushed revision 6 80143a6b on base 9ca1d797 +1996 -2128 8 days ago

Key Playwright browser cache on Playwright version

To avoid missing browsers in feature branches.

rudolfs pushed revision 7 c2f35413 on base 9ca1d797 +2005 -2134 8 days ago

Pin npm version to stabilize lockfile

rudolfs pushed revision 8 5d4a3bf2 on base 9ca1d797 +1984 -2132 8 days ago

Update lockfile

rudolfs merged revision 5d4a3bf2 at c45c9198 8 days ago