create-pixi-vn 2.0.9 → 2.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/template-react-vite-muijoy/.vscode/launch.json +9 -2
- package/template-react-vite-muijoy/.vscode/tasks.json +20 -4
- package/template-react-vite-muijoy/package-lock.json +100 -81
- package/template-react-vite-muijoy/package.json +3 -2
- package/template-react-vite-muijoy/src/components/loading.tsx +5 -44
- package/template-react-vite-muijoy/src/components/menus/settings/about.tsx +1 -1
- package/template-react-vite-muijoy/src/components/quick-tools.tsx +1 -1
- package/template-react-vite-muijoy/src/components/screens/narration/narration-cards.tsx +2 -3
- package/template-react-vite-muijoy/src/lib/query/narration-query.ts +5 -1
- package/template-react-vite-muijoy/src/lib/utils/assets-utility.ts +1 -1
- package/template-react-vite-muijoy-ink/.vscode/extensions.json +1 -2
- package/template-react-vite-muijoy-ink/.vscode/launch.json +9 -2
- package/template-react-vite-muijoy-ink/.vscode/settings.json +1 -6
- package/template-react-vite-muijoy-ink/.vscode/tasks.json +20 -4
- package/template-react-vite-muijoy-ink/_gitignore +0 -1
- package/template-react-vite-muijoy-ink/package-lock.json +104 -311
- package/template-react-vite-muijoy-ink/package.json +4 -5
- package/template-react-vite-muijoy-ink/src/App.tsx +25 -25
- package/template-react-vite-muijoy-ink/src/assets/index.ts +4 -2
- package/template-react-vite-muijoy-ink/src/assets/ink-manifest.gen.json +1 -4
- package/template-react-vite-muijoy-ink/src/components/loading.tsx +5 -44
- package/template-react-vite-muijoy-ink/src/components/menus/settings/about.tsx +1 -1
- package/template-react-vite-muijoy-ink/src/components/quick-tools.tsx +1 -1
- package/template-react-vite-muijoy-ink/src/components/screens/narration/narration-cards.tsx +2 -3
- package/template-react-vite-muijoy-ink/src/content/labels/second.label.ts +1207 -0
- package/template-react-vite-muijoy-ink/src/content/labels/start.label.ts +566 -0
- package/template-react-vite-muijoy-ink/src/lib/i18n.ts +1 -22
- package/template-react-vite-muijoy-ink/src/lib/query/narration-query.ts +5 -1
- package/template-react-vite-muijoy-ink/src/lib/utils/assets-utility.ts +1 -1
- package/template-react-vite-muijoy-ink/src/pixi-vn-keys.gen.d.ts +0 -2
- package/template-react-vite-muijoy-ink/src/routes/__root.tsx +0 -4
- package/template-react-vite-muijoy-ink/vite.config.ts +0 -6
- package/template-react-vite-muijoy-ink-tauri/.assetpack.ts +0 -9
- package/template-react-vite-muijoy-ink-tauri/.vscode/extensions.json +1 -5
- package/template-react-vite-muijoy-ink-tauri/.vscode/launch.json +6 -10
- package/template-react-vite-muijoy-ink-tauri/.vscode/settings.json +1 -6
- package/template-react-vite-muijoy-ink-tauri/.vscode/tasks.json +17 -48
- package/template-react-vite-muijoy-ink-tauri/README.md +3 -3
- package/template-react-vite-muijoy-ink-tauri/_gitignore +0 -11
- package/template-react-vite-muijoy-ink-tauri/package-lock.json +100 -557
- package/template-react-vite-muijoy-ink-tauri/package.json +5 -15
- package/template-react-vite-muijoy-ink-tauri/src/App.tsx +25 -25
- package/template-react-vite-muijoy-ink-tauri/src/assets/index.ts +4 -2
- package/template-react-vite-muijoy-ink-tauri/src/assets/ink-manifest.gen.json +1 -4
- package/template-react-vite-muijoy-ink-tauri/src/components/loading.tsx +5 -44
- package/template-react-vite-muijoy-ink-tauri/src/components/menus/main-menu.tsx +1 -16
- package/template-react-vite-muijoy-ink-tauri/src/components/menus/settings/about.tsx +1 -1
- package/template-react-vite-muijoy-ink-tauri/src/components/menus/settings/quick-menus.tsx +1 -17
- package/template-react-vite-muijoy-ink-tauri/src/components/menus/settings/system-controls.tsx +1 -11
- package/template-react-vite-muijoy-ink-tauri/src/components/quick-tools.tsx +1 -1
- package/template-react-vite-muijoy-ink-tauri/src/components/screens/narration/narration-cards.tsx +2 -3
- package/template-react-vite-muijoy-ink-tauri/src/content/labels/second.label.ts +1207 -0
- package/template-react-vite-muijoy-ink-tauri/src/content/labels/start.label.ts +566 -0
- package/template-react-vite-muijoy-ink-tauri/src/lib/i18n.ts +1 -22
- package/template-react-vite-muijoy-ink-tauri/src/lib/query/narration-query.ts +5 -1
- package/template-react-vite-muijoy-ink-tauri/src/lib/query/settings-query.ts +1 -7
- package/template-react-vite-muijoy-ink-tauri/src/lib/utils/assets-utility.ts +1 -1
- package/template-react-vite-muijoy-ink-tauri/src/pixi-vn-keys.gen.d.ts +0 -2
- package/template-react-vite-muijoy-ink-tauri/src/routes/__root.tsx +0 -4
- package/template-react-vite-muijoy-ink-tauri/vite.config.ts +0 -30
- package/template-react-vite-muijoy-tauri/.assetpack.ts +0 -9
- package/template-react-vite-muijoy-tauri/.vscode/extensions.json +1 -4
- package/template-react-vite-muijoy-tauri/.vscode/launch.json +6 -10
- package/template-react-vite-muijoy-tauri/.vscode/tasks.json +17 -48
- package/template-react-vite-muijoy-tauri/README.md +3 -3
- package/template-react-vite-muijoy-tauri/_gitignore +0 -10
- package/template-react-vite-muijoy-tauri/package-lock.json +100 -331
- package/template-react-vite-muijoy-tauri/package.json +4 -12
- package/template-react-vite-muijoy-tauri/src/components/loading.tsx +5 -44
- package/template-react-vite-muijoy-tauri/src/components/menus/main-menu.tsx +1 -16
- package/template-react-vite-muijoy-tauri/src/components/menus/settings/about.tsx +1 -1
- package/template-react-vite-muijoy-tauri/src/components/menus/settings/quick-menus.tsx +1 -17
- package/template-react-vite-muijoy-tauri/src/components/menus/settings/system-controls.tsx +1 -11
- package/template-react-vite-muijoy-tauri/src/components/quick-tools.tsx +1 -1
- package/template-react-vite-muijoy-tauri/src/components/screens/narration/narration-cards.tsx +2 -3
- package/template-react-vite-muijoy-tauri/src/lib/query/narration-query.ts +5 -1
- package/template-react-vite-muijoy-tauri/src/lib/query/settings-query.ts +1 -7
- package/template-react-vite-muijoy-tauri/src/lib/utils/assets-utility.ts +1 -1
- package/template-react-vite-muijoy-tauri/vite.config.ts +0 -24
- package/template-react-vite-muijoy-ink/ink/second_part.ink +0 -571
- package/template-react-vite-muijoy-ink/ink/start.ink +0 -214
- package/template-react-vite-muijoy-ink/src/content/ink/hashtag-commands.ts +0 -38
- package/template-react-vite-muijoy-ink/src/content/ink/text-replaces.ts +0 -19
- package/template-react-vite-muijoy-ink/src/lib/hooks/ink-hooks.tsx +0 -12
- package/template-react-vite-muijoy-ink-tauri/_github/workflows/desktop.yml +0 -188
- package/template-react-vite-muijoy-ink-tauri/_github/workflows/mobile.yml +0 -270
- package/template-react-vite-muijoy-ink-tauri/ink/second_part.ink +0 -571
- package/template-react-vite-muijoy-ink-tauri/ink/start.ink +0 -214
- package/template-react-vite-muijoy-ink-tauri/src/content/ink/hashtag-commands.ts +0 -55
- package/template-react-vite-muijoy-ink-tauri/src/content/ink/text-replaces.ts +0 -19
- package/template-react-vite-muijoy-ink-tauri/src/lib/hooks/ink-hooks.tsx +0 -12
- package/template-react-vite-muijoy-ink-tauri/src/lib/hooks/quit-hooks.ts +0 -24
- package/template-react-vite-muijoy-ink-tauri/src/lib/steam.ts +0 -143
- package/template-react-vite-muijoy-ink-tauri/src-tauri/Cargo.toml +0 -50
- package/template-react-vite-muijoy-ink-tauri/src-tauri/build.rs +0 -46
- package/template-react-vite-muijoy-ink-tauri/src-tauri/capabilities/default.json +0 -21
- package/template-react-vite-muijoy-ink-tauri/src-tauri/icons/128x128.png +0 -0
- package/template-react-vite-muijoy-ink-tauri/src-tauri/icons/128x128@2x.png +0 -0
- package/template-react-vite-muijoy-ink-tauri/src-tauri/icons/32x32.png +0 -0
- package/template-react-vite-muijoy-ink-tauri/src-tauri/icons/Square107x107Logo.png +0 -0
- package/template-react-vite-muijoy-ink-tauri/src-tauri/icons/Square142x142Logo.png +0 -0
- package/template-react-vite-muijoy-ink-tauri/src-tauri/icons/Square150x150Logo.png +0 -0
- package/template-react-vite-muijoy-ink-tauri/src-tauri/icons/Square284x284Logo.png +0 -0
- package/template-react-vite-muijoy-ink-tauri/src-tauri/icons/Square30x30Logo.png +0 -0
- package/template-react-vite-muijoy-ink-tauri/src-tauri/icons/Square310x310Logo.png +0 -0
- package/template-react-vite-muijoy-ink-tauri/src-tauri/icons/Square44x44Logo.png +0 -0
- package/template-react-vite-muijoy-ink-tauri/src-tauri/icons/Square71x71Logo.png +0 -0
- package/template-react-vite-muijoy-ink-tauri/src-tauri/icons/Square89x89Logo.png +0 -0
- package/template-react-vite-muijoy-ink-tauri/src-tauri/icons/StoreLogo.png +0 -0
- package/template-react-vite-muijoy-ink-tauri/src-tauri/icons/icon.icns +0 -0
- package/template-react-vite-muijoy-ink-tauri/src-tauri/icons/icon.ico +0 -0
- package/template-react-vite-muijoy-ink-tauri/src-tauri/icons/icon.png +0 -0
- package/template-react-vite-muijoy-ink-tauri/src-tauri/src/lib.rs +0 -64
- package/template-react-vite-muijoy-ink-tauri/src-tauri/src/main.rs +0 -6
- package/template-react-vite-muijoy-ink-tauri/src-tauri/src/steam.rs +0 -238
- package/template-react-vite-muijoy-ink-tauri/src-tauri/tauri.conf.json +0 -50
- package/template-react-vite-muijoy-tauri/_github/workflows/desktop.yml +0 -188
- package/template-react-vite-muijoy-tauri/_github/workflows/mobile.yml +0 -270
- package/template-react-vite-muijoy-tauri/src/lib/hooks/quit-hooks.ts +0 -24
- package/template-react-vite-muijoy-tauri/src/lib/steam.ts +0 -143
- package/template-react-vite-muijoy-tauri/src-tauri/Cargo.toml +0 -50
- package/template-react-vite-muijoy-tauri/src-tauri/build.rs +0 -46
- package/template-react-vite-muijoy-tauri/src-tauri/capabilities/default.json +0 -21
- package/template-react-vite-muijoy-tauri/src-tauri/icons/128x128.png +0 -0
- package/template-react-vite-muijoy-tauri/src-tauri/icons/128x128@2x.png +0 -0
- package/template-react-vite-muijoy-tauri/src-tauri/icons/32x32.png +0 -0
- package/template-react-vite-muijoy-tauri/src-tauri/icons/Square107x107Logo.png +0 -0
- package/template-react-vite-muijoy-tauri/src-tauri/icons/Square142x142Logo.png +0 -0
- package/template-react-vite-muijoy-tauri/src-tauri/icons/Square150x150Logo.png +0 -0
- package/template-react-vite-muijoy-tauri/src-tauri/icons/Square284x284Logo.png +0 -0
- package/template-react-vite-muijoy-tauri/src-tauri/icons/Square30x30Logo.png +0 -0
- package/template-react-vite-muijoy-tauri/src-tauri/icons/Square310x310Logo.png +0 -0
- package/template-react-vite-muijoy-tauri/src-tauri/icons/Square44x44Logo.png +0 -0
- package/template-react-vite-muijoy-tauri/src-tauri/icons/Square71x71Logo.png +0 -0
- package/template-react-vite-muijoy-tauri/src-tauri/icons/Square89x89Logo.png +0 -0
- package/template-react-vite-muijoy-tauri/src-tauri/icons/StoreLogo.png +0 -0
- package/template-react-vite-muijoy-tauri/src-tauri/icons/icon.icns +0 -0
- package/template-react-vite-muijoy-tauri/src-tauri/icons/icon.ico +0 -0
- package/template-react-vite-muijoy-tauri/src-tauri/icons/icon.png +0 -0
- package/template-react-vite-muijoy-tauri/src-tauri/src/lib.rs +0 -64
- package/template-react-vite-muijoy-tauri/src-tauri/src/main.rs +0 -6
- package/template-react-vite-muijoy-tauri/src-tauri/src/steam.rs +0 -238
- package/template-react-vite-muijoy-tauri/src-tauri/tauri.conf.json +0 -50
|
@@ -3,7 +3,6 @@ import { SettingsDialogue } from "@/components/menus/settings";
|
|
|
3
3
|
import { OfflineAllert } from "@/components/modals/error-allerts";
|
|
4
4
|
import { RootProvider } from "@/components/providers/root-provider";
|
|
5
5
|
import { INTERFACE_DATA_USE_QUERY_KEY } from "@/constants";
|
|
6
|
-
import useInkInitialization from "@/lib/hooks/ink-hooks";
|
|
7
6
|
import { useConfirmBackNavigation } from "@/lib/hooks/navigation-hooks";
|
|
8
7
|
import { useAutoSaveOnPageClose } from "@/lib/hooks/save-hooks";
|
|
9
8
|
import { useI18n } from "@/lib/i18n";
|
|
@@ -12,7 +11,6 @@ import { defineAssets } from "@/lib/utils/assets-utility";
|
|
|
12
11
|
import { initializeIndexedDB } from "@/lib/utils/db-utility";
|
|
13
12
|
import { loadRefreshSave } from "@/lib/utils/save-utility";
|
|
14
13
|
import type { RouterContext } from "@/router";
|
|
15
|
-
import { setupInkHmrListener } from "@drincs/pixi-vn-ink/vite-listener";
|
|
16
14
|
import { setupPixivnViteData } from "@drincs/pixi-vn/vite-listener";
|
|
17
15
|
import { TanStackDevtools } from "@tanstack/react-devtools";
|
|
18
16
|
import { hotkeysDevtoolsPlugin } from "@tanstack/react-hotkeys-devtools";
|
|
@@ -28,7 +26,6 @@ export const Route = createRootRouteWithContext<RouterContext>()({
|
|
|
28
26
|
// Game.onNavigate(async (to) => redirect({ to }));
|
|
29
27
|
await Promise.all([import("@/content"), initializeIndexedDB(), defineAssets(), useI18n()]);
|
|
30
28
|
await setupPixivnViteData();
|
|
31
|
-
await setupInkHmrListener();
|
|
32
29
|
if (location.pathname !== "/") {
|
|
33
30
|
const isRefreshSaveExist = await loadRefreshSave();
|
|
34
31
|
if (isRefreshSaveExist) {
|
|
@@ -46,7 +43,6 @@ export const Route = createRootRouteWithContext<RouterContext>()({
|
|
|
46
43
|
});
|
|
47
44
|
|
|
48
45
|
function RootComponent() {
|
|
49
|
-
useInkInitialization();
|
|
50
46
|
useAutoSaveOnPageClose();
|
|
51
47
|
useConfirmBackNavigation();
|
|
52
48
|
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { AssetPack } from "@assetpack/core";
|
|
2
|
-
import { vitePluginInk } from "@drincs/pixi-vn-ink/vite";
|
|
3
2
|
import { vitePluginPixivn } from "@drincs/pixi-vn/vite";
|
|
4
3
|
import tailwindcss from "@tailwindcss/vite";
|
|
5
4
|
import { devtools } from "@tanstack/devtools-vite";
|
|
@@ -38,11 +37,6 @@ export default defineConfig(({ mode }) => ({
|
|
|
38
37
|
labels: "./src/content/labels/*.label.ts",
|
|
39
38
|
typeFilePath: "./src/pixi-vn-keys.gen.d.ts",
|
|
40
39
|
}),
|
|
41
|
-
vitePluginInk({
|
|
42
|
-
inkGlob: "./ink/**/*.ink",
|
|
43
|
-
inkJsonOutputPattern: "./public/ink-json/[path][name].gen.json",
|
|
44
|
-
inkJsonManifestPath: "./src/assets/ink-manifest.gen.json",
|
|
45
|
-
}),
|
|
46
40
|
VitePWA({
|
|
47
41
|
// generate icons with: npm run icon
|
|
48
42
|
includeAssets: ["favicon.ico", "apple-touch-icon-180x180.png"],
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import type { AssetPackConfig } from "@assetpack/core";
|
|
2
2
|
import { pixiPipes } from "@assetpack/core/pixi";
|
|
3
3
|
|
|
4
|
-
// TAURI_ENV_TARGET_TRIPLE is set by `tauri build` before running beforeBuildCommand
|
|
5
|
-
const isTauri = !!process.env.TAURI_ENV_TARGET_TRIPLE;
|
|
6
|
-
|
|
7
4
|
const config: AssetPackConfig = {
|
|
8
5
|
entry: "./src/assets",
|
|
9
6
|
output: "./public/assets",
|
|
@@ -14,12 +11,6 @@ const config: AssetPackConfig = {
|
|
|
14
11
|
output: "src/assets/manifest.gen.json",
|
|
15
12
|
createShortcuts: true,
|
|
16
13
|
},
|
|
17
|
-
// For Tauri: skip @0.5x mipmaps (unused on desktop, WebView handles DPR)
|
|
18
|
-
resolutions: isTauri ? { default: 1 } : undefined,
|
|
19
|
-
// For Tauri: raise WebP quality — files are local so bandwidth is not a concern
|
|
20
|
-
compression: isTauri
|
|
21
|
-
? { png: true, jpg: true, webp: { quality: 88, alphaQuality: 88 } }
|
|
22
|
-
: undefined,
|
|
23
14
|
}),
|
|
24
15
|
],
|
|
25
16
|
};
|
|
@@ -3,10 +3,6 @@
|
|
|
3
3
|
"ms-vscode.vscode-typescript-next",
|
|
4
4
|
"anseki.vscode-color",
|
|
5
5
|
"pflannery.vscode-versionlens",
|
|
6
|
-
"biomejs.biome"
|
|
7
|
-
"drincs-productions.pixi-vn-ink-vscode",
|
|
8
|
-
"tauri-apps.tauri-vscode",
|
|
9
|
-
"rust-lang.rust-analyzer",
|
|
10
|
-
"vadimcn.vscode-lldb"
|
|
6
|
+
"biomejs.biome"
|
|
11
7
|
]
|
|
12
8
|
}
|
|
@@ -7,19 +7,15 @@
|
|
|
7
7
|
"type": "editor-browser",
|
|
8
8
|
"url": "http://localhost:5173",
|
|
9
9
|
"webRoot": "${workspaceFolder}",
|
|
10
|
-
"preLaunchTask": "
|
|
11
|
-
"postDebugTask": "Stop Vite Dev Server"
|
|
10
|
+
"preLaunchTask": "Restart Vite Dev Server"
|
|
12
11
|
},
|
|
13
12
|
{
|
|
14
|
-
"
|
|
13
|
+
"name": "Debug Game (Chrome)",
|
|
15
14
|
"request": "launch",
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"terminal": "console",
|
|
21
|
-
"preLaunchTask": "Cargo Build (Desktop Dev)",
|
|
22
|
-
"postDebugTask": "Stop Vite Desktop Server"
|
|
15
|
+
"type": "chrome",
|
|
16
|
+
"url": "http://localhost:5173",
|
|
17
|
+
"webRoot": "${workspaceFolder}",
|
|
18
|
+
"preLaunchTask": "Restart Vite Dev Server"
|
|
23
19
|
},
|
|
24
20
|
{
|
|
25
21
|
"name": "Debug Game Preview",
|
|
@@ -55,10 +55,5 @@
|
|
|
55
55
|
// does fetch when he does Pull
|
|
56
56
|
"git.fetchOnPull": true,
|
|
57
57
|
// move file
|
|
58
|
-
"js/ts.updateImportsOnFileMove.enabled": "always"
|
|
59
|
-
// ink
|
|
60
|
-
"ink.mainFile": "start.ink",
|
|
61
|
-
"ink.rootFolder": "ink",
|
|
62
|
-
"ink.markup": "Markdown",
|
|
63
|
-
"ink.engine": "pixi-vn"
|
|
58
|
+
"js/ts.updateImportsOnFileMove.enabled": "always"
|
|
64
59
|
}
|
|
@@ -18,9 +18,10 @@
|
|
|
18
18
|
{
|
|
19
19
|
"label": "Start Vite Dev Server",
|
|
20
20
|
"type": "shell",
|
|
21
|
-
"command": "npm run dev",
|
|
21
|
+
"command": "echo $$ > /tmp/vite-watcher.pid; kill -- -$(cat /tmp/vite-dev.pid 2>/dev/null) 2>/dev/null; rm -f /tmp/vite-dev.log /tmp/vite-dev.pid; FORCE_COLOR=1 setsid npm run dev >/tmp/vite-dev.log 2>&1 & echo $! > /tmp/vite-dev.pid; tail -f /tmp/vite-dev.log",
|
|
22
22
|
"isBackground": true,
|
|
23
23
|
"dependsOn": ["Install Dependencies"],
|
|
24
|
+
"dependsOrder": "sequence",
|
|
24
25
|
"problemMatcher": {
|
|
25
26
|
"owner": "vite",
|
|
26
27
|
"pattern": {
|
|
@@ -29,20 +30,20 @@
|
|
|
29
30
|
"background": {
|
|
30
31
|
"activeOnStart": true,
|
|
31
32
|
"beginsPattern": ".",
|
|
32
|
-
"endsPattern": "Local:\\s+http://localhost
|
|
33
|
+
"endsPattern": "Local:\\s+http://localhost:\\d+/"
|
|
33
34
|
}
|
|
34
35
|
},
|
|
35
36
|
"presentation": {
|
|
36
37
|
"reveal": "always",
|
|
37
38
|
"panel": "dedicated",
|
|
38
|
-
"clear":
|
|
39
|
-
"close":
|
|
39
|
+
"clear": true,
|
|
40
|
+
"close": false
|
|
40
41
|
}
|
|
41
42
|
},
|
|
42
43
|
{
|
|
43
|
-
"label": "
|
|
44
|
+
"label": "Kill Vite Watcher",
|
|
44
45
|
"type": "shell",
|
|
45
|
-
"command": "
|
|
46
|
+
"command": "kill $(cat /tmp/vite-watcher.pid 2>/dev/null) 2>/dev/null; rm -f /tmp/vite-watcher.pid; exit 0",
|
|
46
47
|
"presentation": {
|
|
47
48
|
"reveal": "never",
|
|
48
49
|
"panel": "dedicated",
|
|
@@ -50,33 +51,14 @@
|
|
|
50
51
|
}
|
|
51
52
|
},
|
|
52
53
|
{
|
|
53
|
-
"label": "
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"isBackground": true,
|
|
57
|
-
"dependsOn": ["Install Dependencies"],
|
|
58
|
-
"problemMatcher": {
|
|
59
|
-
"owner": "vite",
|
|
60
|
-
"pattern": {
|
|
61
|
-
"regexp": "^(?!x)x"
|
|
62
|
-
},
|
|
63
|
-
"background": {
|
|
64
|
-
"activeOnStart": true,
|
|
65
|
-
"beginsPattern": ".",
|
|
66
|
-
"endsPattern": "Local:\\s+http://localhost:4173/"
|
|
67
|
-
}
|
|
68
|
-
},
|
|
69
|
-
"presentation": {
|
|
70
|
-
"reveal": "always",
|
|
71
|
-
"panel": "dedicated",
|
|
72
|
-
"clear": false,
|
|
73
|
-
"close": true
|
|
74
|
-
}
|
|
54
|
+
"label": "Restart Vite Dev Server",
|
|
55
|
+
"dependsOn": ["Kill Vite Watcher", "Start Vite Dev Server"],
|
|
56
|
+
"dependsOrder": "sequence"
|
|
75
57
|
},
|
|
76
58
|
{
|
|
77
|
-
"label": "Stop Vite
|
|
59
|
+
"label": "Stop Vite Dev Server",
|
|
78
60
|
"type": "shell",
|
|
79
|
-
"command": "
|
|
61
|
+
"command": "kill -- -$(cat /tmp/vite-dev.pid 2>/dev/null) 2>/dev/null; kill $(cat /tmp/vite-watcher.pid 2>/dev/null) 2>/dev/null; rm -f /tmp/vite-dev.pid /tmp/vite-dev.log /tmp/vite-watcher.pid; exit 0",
|
|
80
62
|
"presentation": {
|
|
81
63
|
"reveal": "never",
|
|
82
64
|
"panel": "dedicated",
|
|
@@ -84,22 +66,9 @@
|
|
|
84
66
|
}
|
|
85
67
|
},
|
|
86
68
|
{
|
|
87
|
-
"label": "
|
|
88
|
-
"type": "shell",
|
|
89
|
-
"command": "cargo build --manifest-path=./src-tauri/Cargo.toml --no-default-features",
|
|
90
|
-
"dependsOn": ["Start Vite Desktop Server"],
|
|
91
|
-
"presentation": {
|
|
92
|
-
"reveal": "always",
|
|
93
|
-
"panel": "dedicated",
|
|
94
|
-
"clear": true,
|
|
95
|
-
"close": true
|
|
96
|
-
},
|
|
97
|
-
"problemMatcher": ["$rustc"]
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
"label": "Start Vite Desktop Server",
|
|
69
|
+
"label": "Start Vite Preview Server",
|
|
101
70
|
"type": "shell",
|
|
102
|
-
"command": "npm run
|
|
71
|
+
"command": "npm run preview",
|
|
103
72
|
"isBackground": true,
|
|
104
73
|
"dependsOn": ["Install Dependencies"],
|
|
105
74
|
"problemMatcher": {
|
|
@@ -110,7 +79,7 @@
|
|
|
110
79
|
"background": {
|
|
111
80
|
"activeOnStart": true,
|
|
112
81
|
"beginsPattern": ".",
|
|
113
|
-
"endsPattern": "localhost:
|
|
82
|
+
"endsPattern": "Local:\\s+http://localhost:4173/"
|
|
114
83
|
}
|
|
115
84
|
},
|
|
116
85
|
"presentation": {
|
|
@@ -121,9 +90,9 @@
|
|
|
121
90
|
}
|
|
122
91
|
},
|
|
123
92
|
{
|
|
124
|
-
"label": "Stop Vite
|
|
93
|
+
"label": "Stop Vite Preview Server",
|
|
125
94
|
"type": "shell",
|
|
126
|
-
"command": "pkill -f 'vite' 2>/dev/null; pkill -f 'npm run
|
|
95
|
+
"command": "pkill -f 'vite' 2>/dev/null; pkill -f 'npm run preview' 2>/dev/null; exit 0",
|
|
127
96
|
"presentation": {
|
|
128
97
|
"reveal": "never",
|
|
129
98
|
"panel": "dedicated",
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# my-app-project-name
|
|
2
|
-
|
|
3
|
-
my-app-description
|
|
1
|
+
# my-app-project-name
|
|
2
|
+
|
|
3
|
+
my-app-description
|
|
@@ -13,7 +13,6 @@ dist-ssr
|
|
|
13
13
|
*.local
|
|
14
14
|
.assetpack
|
|
15
15
|
public/assets
|
|
16
|
-
public/ink-json
|
|
17
16
|
|
|
18
17
|
# Editor directories and files
|
|
19
18
|
.idea
|
|
@@ -23,13 +22,3 @@ public/ink-json
|
|
|
23
22
|
*.njsproj
|
|
24
23
|
*.sln
|
|
25
24
|
*.sw?
|
|
26
|
-
|
|
27
|
-
# Tauri
|
|
28
|
-
*Cargo.lock
|
|
29
|
-
src-tauri/target
|
|
30
|
-
src-tauri/gen
|
|
31
|
-
|
|
32
|
-
# Steam redistributable libraries (copied automatically by build.rs)
|
|
33
|
-
src-tauri/steam_api64.dll
|
|
34
|
-
src-tauri/libsteam_api.so
|
|
35
|
-
src-tauri/libsteam_api.dylib
|