Skip to content

Updated dependencies. - #32

Merged
amyjko merged 2 commits into
mainfrom
update-dependencies
Sep 26, 2026
Merged

amyjko merged 2 commits into
mainfrom
update-dependencies

Conversation

@amyjko

@amyjko amyjko commented Sep 20, 2026

Copy link
Copy Markdown
Owner

Routine dependency maintenance, bumping ten packages and releasing as v0.10.2.

What changed

Minor bumps: @playwright/test 1.63.0, @supabase/ssr 0.12.7, @supabase/supabase-js 2.116.0, happy-dom 20.14.5, prettier 3.9.8, supabase CLI 2.117.0, svelte 5.57.1, type-fest 5.10.0, vite 8.3.0.

vitest 4 → 5, which needed no source or config changes. Its breaking changes all miss this repo: vi.mock must now be top level rather than merely warned about, and the two calls in refresh.test.ts already are; clearMocks now defaults to on, and there is no vi.fn or vi.spyOn to clear; the rest concern benchmarks, browser mode, coverage, and the -t flag. Per-file @vitest-environment docblocks still work, so the two configs stay as they are.

engines.node >=22 → >=22.12, Vitest 5's floor. .npmrc sets engine-strict=true, so the old range advertised node versions on which npm ci fails outright. CI already runs node 22.

src/database/database.types.ts regenerated. The newer Supabase CLI parenthesizes the conditional types it uses as constraints in Tables, TablesInsert, TablesUpdate, Enums, and CompositeTypes. Identical meaning, but CI regenerates the file and fails on any byte difference, so it has to be committed.

What was held back

TypeScript stays at 6. 7.0.2 is out, but svelte-check@4.7.6 and @sveltejs/kit@2.70.3 both still declare typescript "^5 || ^6", with no prerelease offering support. CI gates types with svelte-check, not tsc, so bumping would run the gate against an unsupported compiler. Worth revisiting once the Svelte toolchain declares TS 7 support.

Verification

Ran the full test.yaml sequence locally against local Supabase: svelte-check clean across 1571 files, 288 unit tests, 208 e2e tests, npm run build, 74 Playwright tests, and npm run format reformatted nothing.

🤖 Generated with Claude Code

amyjko and others added 2 commits September 20, 2026 09:47
Minor bumps to playwright, supabase-js, ssr, happy-dom, prettier, the Supabase CLI, svelte,
type-fest, and vite, plus vitest 4 to 5. TypeScript stays at 6: svelte-check and kit both still
cap it there, and svelte-check is CI's type gate.

Vitest 5 needed no source or config changes. It does require node 22.12, so engines moves from
>=22 to >=22.12, which engine-strict makes load-bearing.

The regenerated database types are a formatting-only change from the newer CLI, committed so CI's
drift check passes.

Verified against the full CI sequence locally: svelte-check clean, 288 unit tests, 208 e2e tests,
74 Playwright tests, build, and format all pass.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Patch bumps to supabase-js, vite-plugin-svelte, prettier, the Supabase CLI, vite, and vitest.
TypeScript stays at 6: svelte-check 4.7.6 and kit 2.70.3 still cap their peer range at ^6.

Supabase CLI 2.118 no longer formats `gen types` output (it suggests oxfmt instead), so the
regenerated database types are unformatted. They are committed as generated, because CI's drift
check compares the file byte for byte and the file is already excluded from prettier.

The remaining npm audit warning (cookie <0.7 via kit) predates this change and has no real fix;
the suggested --force would downgrade kit to 0.0.30.

Verified against the full CI sequence locally: svelte-check clean, 288 unit tests, 208 e2e tests,
74 Playwright tests, build, and format all pass.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@amyjko
amyjko merged commit d5044e0 into main Sep 26, 2026
1 check passed
@amyjko
amyjko deleted the update-dependencies branch September 26, 2026 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant