mirror of
https://github.com/LukeHagar/sveltesociety.dev.git
synced 2025-12-06 12:47:44 +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": {
|
"devDependencies": {
|
||||||
"@actions/core": "^1.10.1",
|
"@actions/core": "^1.10.1",
|
||||||
"@macfja/svelte-persistent-store": "2.4.1",
|
"@macfja/svelte-persistent-store": "2.4.1",
|
||||||
"@sveltejs/adapter-static": "^2.0.3",
|
"@sveltejs/adapter-static": "^3.0.0",
|
||||||
"@sveltejs/kit": "^1.30.3",
|
"@sveltejs/kit": "^2.0.0",
|
||||||
|
"@sveltejs/vite-plugin-svelte": "^3.0.1",
|
||||||
"@types/itemsjs": "^2.1.6",
|
"@types/itemsjs": "^2.1.6",
|
||||||
"@typescript-eslint/eslint-plugin": "^6.14.0",
|
"@typescript-eslint/eslint-plugin": "^6.14.0",
|
||||||
"@typescript-eslint/parser": "^6.14.0",
|
"@typescript-eslint/parser": "^6.14.0",
|
||||||
@@ -42,8 +43,8 @@
|
|||||||
"svelte-select": "^4.4.7",
|
"svelte-select": "^4.4.7",
|
||||||
"typescript": "^5.3.3",
|
"typescript": "^5.3.3",
|
||||||
"undici": "^5.28.2",
|
"undici": "^5.28.2",
|
||||||
"vite": "^4.5.1",
|
"vite": "^5.0.10",
|
||||||
"vitest": "^0.33.0",
|
"vitest": "^1.0.4",
|
||||||
"zod": "^3.22.4"
|
"zod": "^3.22.4"
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"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
|
events
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
throw error(500);
|
error(500);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -27,5 +27,5 @@ export async function load() {
|
|||||||
categories
|
categories
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
throw error(500);
|
error(500);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import path from 'node:path';
|
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 adapter from '@sveltejs/adapter-static';
|
||||||
import hljs from 'highlight.js';
|
import hljs from 'highlight.js';
|
||||||
import { mdsvex, escapeSvelte } from 'mdsvex';
|
import { mdsvex, escapeSvelte } from 'mdsvex';
|
||||||
@@ -45,8 +45,7 @@ const config = {
|
|||||||
...config.include,
|
...config.include,
|
||||||
'../scripts/**/*.js',
|
'../scripts/**/*.js',
|
||||||
'../prettier.config.js',
|
'../prettier.config.js',
|
||||||
'../svelte.config.js',
|
'../svelte.config.js'
|
||||||
'../vite.config.js'
|
|
||||||
];
|
];
|
||||||
return config;
|
return config;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user