Skip to content

Commit 34eb71a

Browse files
authored
chore(web-ui): upgrade dev dependencies (#73)
1 parent e87c5b8 commit 34eb71a

File tree

5 files changed

+542
-433
lines changed

5 files changed

+542
-433
lines changed

packages/web-ui/package.json

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,19 @@
1010
"preview": "vite preview",
1111
"check": "svelte-check --tsconfig ./tsconfig.json"
1212
},
13+
"dependencies": {
14+
"@node-core/caritat": "workspace:*",
15+
"@node-core/caritat-crypto": "workspace:*"
16+
},
1317
"devDependencies": {
14-
"@sveltejs/vite-plugin-svelte": "^2.0.1",
15-
"@tsconfig/svelte": "^4.0.0",
18+
"@sveltejs/vite-plugin-svelte": "^6.0.1",
19+
"@tsconfig/svelte": "^5.0.0",
1620
"gh-pages": "^4.0.0",
17-
"svelte": "^4.0.0",
18-
"svelte-check": "^3.0.0",
19-
"svelte-preprocess": "^5.0.0",
21+
"svelte": "^5.0.0",
22+
"svelte-check": "^4.0.0",
23+
"svelte-preprocess": "^6.0.0",
2024
"tslib": "^2.3.1",
2125
"typescript": "^5.0.0",
22-
"vite": "^4.0.0"
26+
"vite": "^7.0.0"
2327
}
2428
}

packages/web-ui/src/main.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import App from "./App.svelte";
2+
import { mount } from "svelte";
23

3-
const app = new App({
4+
const app = mount(App, {
45
target: document.getElementById("app"),
56
});
67

packages/web-ui/svelte.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import sveltePreprocess from "svelte-preprocess";
1+
import { sveltePreprocess } from "svelte-preprocess";
22

33
export default {
44
// Consult https://github.com/sveltejs/svelte-preprocess

packages/web-ui/tsconfig.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
"allowImportingTsExtensions": true,
44
"noEmit": true,
55
"lib": ["ESNext", "dom"],
6-
"paths": {
7-
"@node-core/caritat-crypto/*": ["../crypto/src/*"]
8-
}
6+
"module": "preserve",
7+
"moduleResolution": "bundler",
8+
"verbatimModuleSyntax": true
99
},
1010
"references": [{ "path": "../crypto" }]
1111
}

0 commit comments

Comments
 (0)