Update to SvelteKit 3
Los mantenedores suelen responder en 2 días
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 22/100
- Tipo de issue
- Refactorización
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- documentation, frontend
Línea de trabajo
This is a full SvelteKit 3 migration, not a first-issue. After the listed TypeScript/Vite upgrades, run npx sv migrate sveltekit-3, then follow the checklists: move adapter and vitePreprocess into vite.config.ts, retarget tsconfig.json extends, and rename $lib/$app imports. Touch the named call sites for goto/invalidateAll/handleError in src/hooks.server.ts, storage pages, and src/lib/storage/*.svelte.ts, then update AGENTS.md and helm env docs. Done when the app builds, env/zod, OIDC redirects, and forms behave under the new APIs.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
[!CAUTION]
This is not a complete list
And we should also wait for a few svelte patches before migrating
Prerequisit upgrades
- TypeScript 5 to 6+
- Vite 7 to 8
Auto migration
- Run
npx sv migrate sveltekit-3
Configuration
- Delete
svelte.config.jsand moveadapter()andvitePreprocess()
into thesveltekit({ ... })plugin options invite.config.ts -
tsconfig.json: change"extends"from"./.svelte-kit/tsconfig.json"to"$app/tsconfig"
Module aliases and imports
-
$lib→#lib -
$app/environment→$app/env— 15 refs on main, 25 on the S3 branch
Environment variables
- Rework all ENV vars to conform to the new env convention
- Add zod schemas for every env
Navigation, forms and errors
-
goto()optioninvalidateAll→refreshAll,replaceState→replace. Affected:
src/routes/(app)/storage/[bucket]/[...prefix]/+page.svelte:28on main; on the S3 branch also
storage/browse/[connection]/[bucket]/[...prefix]/+page.svelte:61,84andstorage/+layout.svelte:53 - Standalone
invalidateAll()→refreshAll():src/lib/storage/state.svelte.ts:188,337,359
plusarchive.svelte.ts:236and other call sites - Rework
handleErroratsrc/hooks.server.ts:94— it now receives all errors including
expectederror()throws, so every 404/403 would currently be logged aterrorlevel and have
its message replaced with "An unexpected error occurred". Discriminate onkind. - Review
use:enhanceforms — cross-pageactionnow navigates automatically, and enhanced
responses use thefail()status instead of always 200 - Check external redirects still work — they now need
{ external: true }or an origin allowlist
(relevant to the OIDC flow insrc/routes/auth/) -
$app/paths: Pathnames no longer start with/, which affects the
PUBLIC_PATHSprefix matching insrc/hooks.server.ts:46-55
Documentation
- Update
AGENTS.md— it documents$libpaths, the$env/process.envlogging setup and the
superforms rule, all of which change - Update
deploy/helm/cockpitREADME and any env-var documentation
- Lenguaje dominante
- TypeScript
- Estrellas
- 1
- Forks
- 0
- Merge medio
- 4 d 6 h
- PR fusionados (30 d)
- 12
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de stackabletech/cockpit
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
stackabletech/cockpit#224 ·
Los mantenedores suelen responder en 2 días
-
Remove unused dependenciesPosiblemente ocupada @Bohreromir la tomó hace 17 días. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
stackabletech/cockpit#101 ·
Los mantenedores suelen responder en 2 días
-
RELEASE first versionAbierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
stackabletech/cockpit#362 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 57/100
stackabletech/cockpit#361 ·
Los mantenedores suelen responder en 2 días
-
Define Admin definitionAbierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
stackabletech/cockpit#360 ·
Los mantenedores suelen responder en 2 días
Todos los issues de stackabletech/cockpit
Issues similares
-
bug(sight): the dashboard's text truncations split surrogate pairs and show broken charactersAbiertocomponent:sight
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
agentic-os-org/ANOLISA#6738 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
bug Durable Agents Observability (AI Telemetry) status: needs triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
mastra-ai/mastra#26470 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
paperclipai/paperclip#15630 ·
Los mantenedores suelen responder en 1 día
-
[good first issue, hacktoberfest] ⛩️ Add new Theme: Sakura Latte (good-first-issue)Posiblemente ocupada @PGrayCS la tomó hoy. Abiertocommunity first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
Dificultad 1/5 1-3 horas Aptitud para principiantes 78/100
lingdojo/kana-dojo#31937 · 1 comentario · 5 reacciones ·
Los mantenedores suelen responder en 1 día
-
feature/cohorts feature/feature-flags team/feature-flags
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día