chore(deps): update all js dev dependencies (#11941)

- Update vite to v6
- Update svelte to v5
- Bump nanoid to fix audit
- Align api and cli to both use the same node types version
This commit is contained in:
Tony 2024-12-11 18:55:38 +08:00 committed by GitHub
parent f5eacf3283
commit 17bcec8abe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 1092 additions and 1434 deletions

View File

@ -8,6 +8,6 @@
"dev": "wrangler dev"
},
"devDependencies": {
"wrangler": "^3.75"
"wrangler": "^3.95.0"
}
}

View File

@ -10,16 +10,15 @@
"tauri": "node ../../packages/cli/tauri.js"
},
"dependencies": {
"@tauri-apps/api": "../../packages/api/dist",
"@zerodevx/svelte-json-view": "1.0.9"
"@tauri-apps/api": "../../packages/api/dist"
},
"devDependencies": {
"@iconify-json/codicon": "^1.1.49",
"@iconify-json/ph": "^1.1.13",
"@unocss/extractor-svelte": "^0.61.0",
"unocss": "^0.61.0",
"@sveltejs/vite-plugin-svelte": "^3.1.2",
"svelte": "^4.2.19",
"vite": "^5.4.7"
"@iconify-json/codicon": "^1.2.6",
"@iconify-json/ph": "^1.2.1",
"@sveltejs/vite-plugin-svelte": "5.0.1",
"@unocss/extractor-svelte": "0.65.1",
"svelte": "5.10.1",
"unocss": "0.65.1",
"vite": "6.0.3"
}
}

View File

@ -5,8 +5,9 @@
import 'uno.css'
import './app.css'
import App from './App.svelte'
import { mount } from 'svelte'
const app = new App({
const app = mount(App, {
target: document.querySelector('#app')
})

View File

@ -23,7 +23,7 @@
"example:api:dev": "pnpm run --filter \"api\" tauri dev"
},
"devDependencies": {
"prettier": "^3.3.3"
"prettier": "^3.4.2"
},
"packageManager": "pnpm@9.9.0",
"pnpm": {

View File

@ -48,7 +48,7 @@
"@rollup/plugin-terser": "0.4.4",
"@rollup/plugin-typescript": "12.1.1",
"@types/eslint": "^9.0.0",
"@types/node": "22.10.1",
"@types/node": "^22.10.1",
"eslint": "^9.4.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-security": "3.0.1",

View File

@ -39,9 +39,9 @@
},
"devDependencies": {
"@napi-rs/cli": "2.18.3",
"@types/node": "20.16.1",
"@types/node": "^22.10.1",
"cross-env": "7.0.3",
"vitest": "^2.1.1"
"vitest": "^2.1.8"
},
"engines": {
"node": ">= 10"

File diff suppressed because it is too large Load Diff