[PR #2404] [CLOSED] Fix SvelteKit example #4300

Closed
opened 2026-03-13 11:40:59 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/2404
Author: @DePasqualeOrg
Created: 4/22/2025
Status: Closed

Base: mainHead: fix-sveltekit-example


📝 Commits (10+)

  • 524e0a2 Remove unnecessary shadcn-svelte components
  • e08ddda Fix missing imports and other errors
  • 75886b9 Fix Biome, formatting, linting
  • 887c781 Format
  • 60fd7ac Remove unused shadcn-svelte components
  • fa73934 Merge branch 'main' into fix-sveltekit-example
  • 4291d35 Update pnpm-lock.yaml
  • b1ecd4b Remove (unneeded?) eslint patch
  • af2019b Fix linter errors
  • 74c82fd Fix package name

📊 Changes

247 files changed (+1196 additions, -5335 deletions)

View changed files

📝 biome.json (+3 -2)
examples/svelte-kit-example/.prettierignore (+11 -0)
examples/svelte-kit-example/.prettierrc (+16 -0)
📝 examples/svelte-kit-example/README.md (+0 -2)
examples/svelte-kit-example/eslint.config.js (+42 -0)
📝 examples/svelte-kit-example/package.json (+19 -9)
📝 examples/svelte-kit-example/src/hooks.server.ts (+5 -5)
📝 examples/svelte-kit-example/src/lib/auth-client.ts (+2 -2)
📝 examples/svelte-kit-example/src/lib/auth.ts (+8 -8)
examples/svelte-kit-example/src/lib/components/ui/accordion/accordion-content.svelte (+0 -25)
examples/svelte-kit-example/src/lib/components/ui/accordion/accordion-item.svelte (+0 -13)
examples/svelte-kit-example/src/lib/components/ui/accordion/accordion-trigger.svelte (+0 -26)
examples/svelte-kit-example/src/lib/components/ui/accordion/index.ts (+0 -17)
examples/svelte-kit-example/src/lib/components/ui/alert-dialog/alert-dialog-action.svelte (+0 -19)
examples/svelte-kit-example/src/lib/components/ui/alert-dialog/alert-dialog-cancel.svelte (+0 -20)
examples/svelte-kit-example/src/lib/components/ui/alert-dialog/alert-dialog-content.svelte (+0 -28)
examples/svelte-kit-example/src/lib/components/ui/alert-dialog/alert-dialog-description.svelte (+0 -15)
examples/svelte-kit-example/src/lib/components/ui/alert-dialog/alert-dialog-footer.svelte (+0 -15)
examples/svelte-kit-example/src/lib/components/ui/alert-dialog/alert-dialog-header.svelte (+0 -12)
examples/svelte-kit-example/src/lib/components/ui/alert-dialog/alert-dialog-overlay.svelte (+0 -20)

...and 80 more files

📄 Description

The SvelteKit example was broken and wrong in a number of ways and wouldn't even build. I've fixed it so that it can now be run without errors, and I removed the unnecessary shadcn-svelte components that weren't being used.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/2404 **Author:** [@DePasqualeOrg](https://github.com/DePasqualeOrg) **Created:** 4/22/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix-sveltekit-example` --- ### 📝 Commits (10+) - [`524e0a2`](https://github.com/better-auth/better-auth/commit/524e0a2bb5125ec19f6f403e35fd3e1cb4d79a4a) Remove unnecessary shadcn-svelte components - [`e08ddda`](https://github.com/better-auth/better-auth/commit/e08ddda0629ed8c47ba285004a228f2fa2064c25) Fix missing imports and other errors - [`75886b9`](https://github.com/better-auth/better-auth/commit/75886b98bf8a2f976f762d82a8576ef0fc433f33) Fix Biome, formatting, linting - [`887c781`](https://github.com/better-auth/better-auth/commit/887c781fc9ec549c60c185dd8e0bac0488a9fcee) Format - [`60fd7ac`](https://github.com/better-auth/better-auth/commit/60fd7ac01a8d6b7b708cfa2292592870d487231b) Remove unused shadcn-svelte components - [`fa73934`](https://github.com/better-auth/better-auth/commit/fa7393486feccd75b45b14db617e458ba529b934) Merge branch 'main' into fix-sveltekit-example - [`4291d35`](https://github.com/better-auth/better-auth/commit/4291d3513842ea4e4588aab88a2080fb7b6d7dff) Update pnpm-lock.yaml - [`b1ecd4b`](https://github.com/better-auth/better-auth/commit/b1ecd4b041c0ca3492c271466e3bc11ca9671cb1) Remove (unneeded?) eslint patch - [`af2019b`](https://github.com/better-auth/better-auth/commit/af2019b8628ad9f2fd67282793141c1a61046205) Fix linter errors - [`74c82fd`](https://github.com/better-auth/better-auth/commit/74c82fdd1108434de7ac55dec6e76160627bc4ce) Fix package name ### 📊 Changes **247 files changed** (+1196 additions, -5335 deletions) <details> <summary>View changed files</summary> 📝 `biome.json` (+3 -2) ➕ `examples/svelte-kit-example/.prettierignore` (+11 -0) ➕ `examples/svelte-kit-example/.prettierrc` (+16 -0) 📝 `examples/svelte-kit-example/README.md` (+0 -2) ➕ `examples/svelte-kit-example/eslint.config.js` (+42 -0) 📝 `examples/svelte-kit-example/package.json` (+19 -9) 📝 `examples/svelte-kit-example/src/hooks.server.ts` (+5 -5) 📝 `examples/svelte-kit-example/src/lib/auth-client.ts` (+2 -2) 📝 `examples/svelte-kit-example/src/lib/auth.ts` (+8 -8) ➖ `examples/svelte-kit-example/src/lib/components/ui/accordion/accordion-content.svelte` (+0 -25) ➖ `examples/svelte-kit-example/src/lib/components/ui/accordion/accordion-item.svelte` (+0 -13) ➖ `examples/svelte-kit-example/src/lib/components/ui/accordion/accordion-trigger.svelte` (+0 -26) ➖ `examples/svelte-kit-example/src/lib/components/ui/accordion/index.ts` (+0 -17) ➖ `examples/svelte-kit-example/src/lib/components/ui/alert-dialog/alert-dialog-action.svelte` (+0 -19) ➖ `examples/svelte-kit-example/src/lib/components/ui/alert-dialog/alert-dialog-cancel.svelte` (+0 -20) ➖ `examples/svelte-kit-example/src/lib/components/ui/alert-dialog/alert-dialog-content.svelte` (+0 -28) ➖ `examples/svelte-kit-example/src/lib/components/ui/alert-dialog/alert-dialog-description.svelte` (+0 -15) ➖ `examples/svelte-kit-example/src/lib/components/ui/alert-dialog/alert-dialog-footer.svelte` (+0 -15) ➖ `examples/svelte-kit-example/src/lib/components/ui/alert-dialog/alert-dialog-header.svelte` (+0 -12) ➖ `examples/svelte-kit-example/src/lib/components/ui/alert-dialog/alert-dialog-overlay.svelte` (+0 -20) _...and 80 more files_ </details> ### 📄 Description The SvelteKit example was broken and wrong in a number of ways and wouldn't even build. I've fixed it so that it can now be run without errors, and I removed the unnecessary shadcn-svelte components that weren't being used. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-13 11:40:59 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#4300