mirror of
https://github.com/LukeHagar/sveltesociety.dev.git
synced 2025-12-06 04:21:38 +00:00
feat: SvelteKit v2 and Vite v5 (#510)
* feat: SvelteKit v2 and Vite v5 * Remove duplicated tsconfig include
This commit is contained in:
@@ -18,8 +18,9 @@
|
||||
"devDependencies": {
|
||||
"@actions/core": "^1.10.1",
|
||||
"@macfja/svelte-persistent-store": "2.4.1",
|
||||
"@sveltejs/adapter-static": "^2.0.3",
|
||||
"@sveltejs/kit": "^1.30.3",
|
||||
"@sveltejs/adapter-static": "^3.0.0",
|
||||
"@sveltejs/kit": "^2.0.0",
|
||||
"@sveltejs/vite-plugin-svelte": "^3.0.1",
|
||||
"@types/itemsjs": "^2.1.6",
|
||||
"@typescript-eslint/eslint-plugin": "^6.14.0",
|
||||
"@typescript-eslint/parser": "^6.14.0",
|
||||
@@ -42,8 +43,8 @@
|
||||
"svelte-select": "^4.4.7",
|
||||
"typescript": "^5.3.3",
|
||||
"undici": "^5.28.2",
|
||||
"vite": "^4.5.1",
|
||||
"vitest": "^0.33.0",
|
||||
"vite": "^5.0.10",
|
||||
"vitest": "^1.0.4",
|
||||
"zod": "^3.22.4"
|
||||
},
|
||||
"lint-staged": {
|
||||
|
||||
663
pnpm-lock.yaml
generated
663
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@@ -15,5 +15,5 @@ export async function load() {
|
||||
events
|
||||
};
|
||||
}
|
||||
throw error(500);
|
||||
error(500);
|
||||
}
|
||||
|
||||
@@ -27,5 +27,5 @@ export async function load() {
|
||||
categories
|
||||
};
|
||||
}
|
||||
throw error(500);
|
||||
error(500);
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import path from 'node:path';
|
||||
import { vitePreprocess } from '@sveltejs/kit/vite';
|
||||
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
|
||||
import adapter from '@sveltejs/adapter-static';
|
||||
import hljs from 'highlight.js';
|
||||
import { mdsvex, escapeSvelte } from 'mdsvex';
|
||||
@@ -45,8 +45,7 @@ const config = {
|
||||
...config.include,
|
||||
'../scripts/**/*.js',
|
||||
'../prettier.config.js',
|
||||
'../svelte.config.js',
|
||||
'../vite.config.js'
|
||||
'../svelte.config.js'
|
||||
];
|
||||
return config;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user