Upgrade to Sveltekit 2

This commit is contained in:
Dallas Hoffman 2024-03-23 14:22:16 -04:00
parent 20e8488e3c
commit c09373d552
4 changed files with 1356 additions and 997 deletions

2321
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -18,23 +18,23 @@
"dependencies": {
"@bytemd/plugin-gfm": "^1.21.0",
"bytemd": "1.21.0",
"kysely": "^0.26.3",
"kysely": "^0.27.3",
"sqlocal": "^0.7.1"
},
"devDependencies": {
"@picocss/pico": "^1.5.10",
"@sveltejs/adapter-static": "^2.0.3",
"@sveltejs/kit": "^1.30.3",
"@vite-pwa/assets-generator": "^0.0.10",
"@vite-pwa/sveltekit": "^0.2.7",
"@sveltejs/adapter-static": "^3.0.1",
"@sveltejs/kit": "^2.5.4",
"@vite-pwa/assets-generator": "^0.2.4",
"@vite-pwa/sveltekit": "^0.4.0",
"patch-package": "^8.0.0",
"prettier": "^2.8.0",
"prettier-plugin-svelte": "^2.10.1",
"sass": "^1.69.5",
"svelte": "^4.2.8",
"svelte-check": "^3.6.2",
"svelte": "^4.2.12",
"svelte-check": "^3.6.8",
"tslib": "^2.6.2",
"typescript": "^5.3.3",
"vite": "^4.5.1"
"typescript": "^5.4.3",
"vite": "^5.2.3"
}
}

View File

@ -1,3 +1,15 @@
diff --git a/node_modules/bytemd/package.json b/node_modules/bytemd/package.json
index 9103d88..e59f261 100644
--- a/node_modules/bytemd/package.json
+++ b/node_modules/bytemd/package.json
@@ -16,6 +16,7 @@
"author": "Rongjian Zhang",
"exports": {
".": {
+ "svelte": "./svelte/index.js",
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
diff --git a/node_modules/bytemd/svelte/editor.svelte b/node_modules/bytemd/svelte/editor.svelte
index 652a063..9ab0895 100644
--- a/node_modules/bytemd/svelte/editor.svelte

View File

@ -1,5 +1,5 @@
import adapter from '@sveltejs/adapter-static';
import { vitePreprocess } from '@sveltejs/kit/vite';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
/** @type {import('@sveltejs/kit').Config} */
const config = {