refactor: move vite.standalone.config to docker/, remove .nvmrc

This commit is contained in:
iliya 2026-02-27 21:07:15 +02:00
parent 5b08cca69b
commit 1c629436eb
4 changed files with 2 additions and 3 deletions

1
.nvmrc
View file

@ -1 +0,0 @@
20

View file

@ -6,7 +6,7 @@
"src/preload/index.ts",
"src/renderer/main.tsx",
"electron.vite.config.ts",
"vite.standalone.config.ts"
"docker/vite.standalone.config.ts"
],
"project": ["src/**/*.{ts,tsx}!"],
"ignore": ["tsconfig*.json"],

View file

@ -46,7 +46,7 @@
"test:coverage": "vitest run --coverage",
"test:coverage:critical": "vitest run --coverage --config vitest.critical.config.ts",
"standalone": "tsx src/main/standalone.ts",
"standalone:build": "electron-vite build && vite build --config vite.standalone.config.ts",
"standalone:build": "electron-vite build && vite build --config docker/vite.standalone.config.ts",
"standalone:start": "node dist-standalone/index.cjs",
"prepare": "husky",
"postinstall": "electron-rebuild -f -o node-pty || echo 'node-pty rebuild failed (terminal will be disabled)'"