Skip to content

Commit

Permalink
migrate docs to sveltekit-2
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasfha committed Jan 10, 2024
1 parent d431b4e commit 8eb215f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
9 changes: 5 additions & 4 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@
"format": "prettier --plugin-search-dir . --write ."
},
"devDependencies": {
"@sveltejs/adapter-auto": "^2.1.0",
"@sveltejs/kit": "^1.20.4",
"@sveltejs/adapter-auto": "^3.0.0",
"@sveltejs/kit": "^2.0.0",
"@sveltejs/vite-plugin-svelte": "^3.0.0",
"@tailwindcss/nesting": "0.0.0-insiders.565cd3e",
"@tailwindcss/typography": "^0.5.9",
"@typescript-eslint/eslint-plugin": "^5.60.0",
Expand All @@ -36,14 +37,14 @@
"tailwindcss": "^3.3.1",
"tslib": "^2.5.3",
"typescript": "^5.1.3",
"vite": "^4.3.9"
"vite": "^5.0.0"
},
"type": "module",
"dependencies": {
"@iconify/svelte": "3.1.4",
"@microflash/rehype-toc": "1.0.2",
"@sentry/sveltekit": "7.64.0",
"@sveltejs/adapter-vercel": "3.0.2",
"@sveltejs/adapter-vercel": "^4.0.0",
"@vercel/analytics": "1.0.1",
"cloudinary": "^1.32.0",
"flowbite-svelte": "0.44.20",
Expand Down
2 changes: 1 addition & 1 deletion docs/src/routes/api/sign-cloudinary-params/+server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const POST = (async ({ request }) => {
return json({ signature })
} catch (e) {
console.error(e)
throw error(500, (e as Error).message)
error(500, (e as Error).message);
}
}) satisfies RequestHandler;

2 changes: 1 addition & 1 deletion docs/svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { mdsvex } from 'mdsvex';
import mdsvexConfig from './mdsvex.config.js';
import preprocess from 'svelte-preprocess';
import adapter from '@sveltejs/adapter-vercel';
import { vitePreprocess } from '@sveltejs/kit/vite';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
import { sass } from 'svelte-preprocess-sass';

/** @type {import('@sveltejs/kit').Config} */
Expand Down

0 comments on commit 8eb215f

Please sign in to comment.