diff --git a/package.json b/package.json index 1013222e..8a19e805 100644 --- a/package.json +++ b/package.json @@ -16,8 +16,8 @@ }, "devDependencies": { "@sveltejs/adapter-auto": "^3.2.0", - "@sveltejs/kit": "^2.0.0", - "@sveltejs/vite-plugin-svelte": "^3.1.1", + "@sveltejs/kit": "^2.5.27", + "@sveltejs/vite-plugin-svelte": "^4.0.0", "@tailwindcss/typography": "^0.5.13", "@types/glob": "^8.1.0", "@types/html-to-text": "^9.0.4", @@ -28,19 +28,19 @@ "daisyui": "^4.7.3", "eslint": "^8.28.0", "eslint-config-prettier": "^9.1.0", - "eslint-plugin-svelte": "^2.30.0", + "eslint-plugin-svelte": "^2.45.1", "fuse.js": "^7.0.0", "glob": "^10.4.5", "html-to-text": "^9.0.5", "jsdom": "^24.1.1", "postcss": "^8.4.31", - "prettier": "^3.0.3", - "prettier-plugin-svelte": "^3.0.3", + "prettier": "^3.1.0", + "prettier-plugin-svelte": "^3.2.6", "super-sitemap": "^0.15.1", - "svelte": "^4.2.19", - "svelte-check": "^3.4.3", + "svelte": "^5.0.0", + "svelte-check": "^4.0.0", "tailwindcss": "^3.4.1", - "typescript": "^5.0.0", + "typescript": "^5.5.0", "vite": "^5.4.8", "vitest": "^1.0.0" }, diff --git a/src/lib/emails/welcome_email_html.svelte b/src/lib/emails/welcome_email_html.svelte index 2dbfb0c2..6b55b82b 100644 --- a/src/lib/emails/welcome_email_html.svelte +++ b/src/lib/emails/welcome_email_html.svelte @@ -1,3 +1,4 @@ + Welcome to {companyName}! diff --git a/src/routes/(admin)/account/(menu)/+layout.svelte b/src/routes/(admin)/account/(menu)/+layout.svelte index de559a3c..6d1c981b 100644 --- a/src/routes/(admin)/account/(menu)/+layout.svelte +++ b/src/routes/(admin)/account/(menu)/+layout.svelte @@ -3,10 +3,15 @@ import { writable } from "svelte/store" import { setContext } from "svelte" import { WebsiteName } from "../../../../config" + interface Props { + children?: import('svelte').Snippet; + } + + let { children }: Props = $props(); const adminSectionStore = writable("") setContext("adminSection", adminSectionStore) - let adminSection: string + let adminSection: string = $state() adminSectionStore.subscribe((value) => { adminSection = value }) @@ -47,12 +52,12 @@