update tauri config

This commit is contained in:
polv committed 2026-01-25 12:15:05 +07:00
1 parent f5b0903069
commit ffb6474c08
5 files changed
+3 -55

No files matched your search

-2
View File
@@ -1,5 +1,4 @@
import { defineConfig } from 'vitepress'
import nodePolyfills from 'rollup-plugin-polyfill-node';
const TAURI_HOST = ''
@@ -29,7 +28,6 @@ export default defineConfig({
]
},
vite: {
plugins: [nodePolyfills({ include: ['fs'] })],
clearScreen: false,
server: {
// make sure this port matches the devUrl port in tauri.conf.json file
-2
View File
@@ -1,13 +1,11 @@
import type { Theme } from "vitepress";
import DefaultTheme from "vitepress/theme";
import Downloader from "./components/Downloader.vue";
import ytParsePlugin from "./plugins/yt-parse";
export default {
extends: DefaultTheme,
enhanceApp({ app }) {
// register your custom global components
app.component("Downloader", Downloader);
app.use(ytParsePlugin);
},
} satisfies Theme;
+1 -2
View File
@@ -6,15 +6,14 @@
"devDependencies": {
"@tauri-apps/cli": "^2.9.6",
"@types/node": "^20.19.30",
"rollup-plugin-polyfill-node": "^0.13.0",
"vite": "^7.3.1",
"vitepress": "2.0.0-alpha.15",
"vue": "^3.5.27"
},
"scripts": {
"start": "tauri dev",
"dev": "vitepress dev docs",
"build": "vitepress build docs",
"t:dev": "tauri dev",
"preview": "vitepress preview docs"
}
}
-47
View File
@@ -14,9 +14,6 @@ importers:
'@types/node':
specifier: ^20.19.30
version: 20.19.30
rollup-plugin-polyfill-node:
specifier: ^0.13.0
version: 0.13.0(rollup@4.55.2)
vite:
specifier: ^7.3.1
version: 7.3.1(@types/node@20.19.30)
@@ -351,24 +348,6 @@ packages:
'@rolldown/pluginutils@1.0.0-beta.53':
resolution: {integrity: sha512-vENRlFU4YbrwVqNDZ7fLvy+JR1CRkyr01jhSiDpE1u6py3OMzQfztQU2jxykW3ALNxO4kSlqIDeYyD0Y9RcQeQ==}
'@rollup/plugin-inject@5.0.5':
resolution: {integrity: sha512-2+DEJbNBoPROPkgTDNe8/1YXWcqxbN5DTjASVIOx8HS+pITXushyNiBV56RB08zuptzz8gT3YfkqriTBVycepg==}
engines: {node: '>=14.0.0'}
peerDependencies:
rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0
peerDependenciesMeta:
rollup:
optional: true
'@rollup/pluginutils@5.3.0':
resolution: {integrity: sha512-5EdhGZtnu3V88ces7s53hhfK5KSASnJZv8Lulpc04cWO3REESroJXg73DFsOmgbU2BhwV0E20bu2IDZb3VKW4Q==}
engines: {node: '>=14.0.0'}
peerDependencies:
rollup: ^1.20.0||^2.0.0||^3.0.0||^4.0.0
peerDependenciesMeta:
rollup:
optional: true
'@rollup/rollup-android-arm-eabi@4.55.2':
resolution: {integrity: sha512-21J6xzayjy3O6NdnlO6aXi/urvSRjm6nCI6+nF6ra2YofKruGixN9kfT+dt55HVNwfDmpDHJcaS3JuP/boNnlA==}
cpu: [arm]
@@ -899,11 +878,6 @@ packages:
rfdc@1.4.1:
resolution: {integrity: sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA==}
rollup-plugin-polyfill-node@0.13.0:
resolution: {integrity: sha512-FYEvpCaD5jGtyBuBFcQImEGmTxDTPbiHjJdrYIp+mFIwgXiXabxvKUK7ZT9P31ozu2Tqm9llYQMRWsfvTMTAOw==}
peerDependencies:
rollup: ^1.20.0 || ^2.0.0 || ^3.0.0 || ^4.0.0
rollup@4.55.2:
resolution: {integrity: sha512-PggGy4dhwx5qaW+CKBilA/98Ql9keyfnb7lh4SR6shQ91QQQi1ORJ1v4UinkdP2i87OBs9AQFooQylcrrRfIcg==}
engines: {node: '>=18.0.0', npm: '>=8.0.0'}
@@ -1322,22 +1296,6 @@ snapshots:
'@rolldown/pluginutils@1.0.0-beta.53': {}
'@rollup/plugin-inject@5.0.5(rollup@4.55.2)':
dependencies:
'@rollup/pluginutils': 5.3.0(rollup@4.55.2)
estree-walker: 2.0.2
magic-string: 0.30.21
optionalDependencies:
rollup: 4.55.2
'@rollup/pluginutils@5.3.0(rollup@4.55.2)':
dependencies:
'@types/estree': 1.0.8
estree-walker: 2.0.2
picomatch: 4.0.3
optionalDependencies:
rollup: 4.55.2
'@rollup/rollup-android-arm-eabi@4.55.2':
optional: true
@@ -1830,11 +1788,6 @@ snapshots:
rfdc@1.4.1: {}
rollup-plugin-polyfill-node@0.13.0(rollup@4.55.2):
dependencies:
'@rollup/plugin-inject': 5.0.5(rollup@4.55.2)
rollup: 4.55.2
rollup@4.55.2:
dependencies:
'@types/estree': 1.0.8
+2 -2
View File
@@ -5,8 +5,8 @@ description = "A Tauri App"
authors = ["you"]
license = ""
repository = ""
edition = "2021"
rust-version = "1.77.2"
edition = "2024"
rust-version = "1.90.0"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html