mirror of
https://github.com/Dictionarry-Hub/profilarr.git
synced 2026-01-28 13:30:56 +01:00
chore: rename dev:vite task to dev:server
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
},
|
||||
"tasks": {
|
||||
"dev": "deno run -A scripts/dev.ts",
|
||||
"dev:vite": "DENO_ENV=development PORT=6969 HOST=0.0.0.0 APP_BASE_PATH=./dist/dev PARSER_HOST=localhost PARSER_PORT=5000 deno run -A npm:vite dev",
|
||||
"dev:server": "DENO_ENV=development PORT=6969 HOST=0.0.0.0 APP_BASE_PATH=./dist/dev PARSER_HOST=localhost PARSER_PORT=5000 deno run -A npm:vite dev",
|
||||
"dev:parser": "cd src/services/parser && dotnet watch run --urls http://localhost:5000",
|
||||
"build": "APP_BASE_PATH=./dist/build deno run -A npm:vite build && deno compile --no-check --allow-net --allow-read --allow-write --allow-env --allow-ffi --allow-run --allow-sys --target x86_64-unknown-linux-gnu --output dist/build/profilarr dist/build/mod.ts",
|
||||
"build:windows": "APP_BASE_PATH=./dist/build deno run -A npm:vite build && deno compile --no-check --allow-net --allow-read --allow-write --allow-env --allow-ffi --allow-run --allow-sys --target x86_64-pc-windows-msvc --output dist/windows/profilarr.exe dist/build/mod.ts",
|
||||
|
||||
@@ -44,7 +44,7 @@ async function runParser() {
|
||||
return process.status;
|
||||
}
|
||||
|
||||
async function runVite() {
|
||||
async function runServer() {
|
||||
const cmd = new Deno.Command('deno', {
|
||||
args: ['run', '-A', 'npm:vite', 'dev'],
|
||||
env: {
|
||||
@@ -74,4 +74,4 @@ console.log(`${colors.parser}[parser]${colors.reset} Starting .NET parser servic
|
||||
console.log(`${colors.server}[server]${colors.reset} Starting Vite dev server...`);
|
||||
console.log('');
|
||||
|
||||
await Promise.all([runParser(), runVite()]);
|
||||
await Promise.all([runParser(), runServer()]);
|
||||
|
||||
Reference in New Issue
Block a user