diff --git a/.env-example b/.env-example index 6fbe210..cfea41c 100644 --- a/.env-example +++ b/.env-example @@ -34,4 +34,7 @@ MLAN1_NETWORK=192.168.193.0/24 MLAN1_GATEWAY=192.168.193.252 # admin -WEBHOOK_URL \ No newline at end of file +# used for discord alerts +WEBHOOK_URL +# used to keep the build folder clean +MAX_BUILDS \ No newline at end of file diff --git a/.include b/.include index 3418cd0..9255b7a 100644 --- a/.include +++ b/.include @@ -9,5 +9,7 @@ README.md CHANGELOG.md package.json package-lock.json -controller/lst_ctl.exe -lstV2 \ No newline at end of file +lstV2 +lang +drizzle.config.ts +tsconfig.json \ No newline at end of file diff --git a/package.json b/package.json index 0ac20a7..bfa5da8 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,8 @@ "dev:app": "dotenvx run -f .env -- tsx watch app/src/main.ts", "dev:docs": "npm run translateDocs && cd lstDocs && npm start", "dev:front": "cd frontend && npm run dev", + "dev:db:migrate": "npx drizzle-kit push --config=drizzle-dev.config.ts", + "dev:db:generate": "npx drizzle-kit generate --config=drizzle-dev.config.ts", "dev": "npm run dev:app", "copy:docs": "node scripts/lstDocCopy.mjs", "build:app": "rimraf dist && npx tsc", @@ -15,7 +17,7 @@ "build:docs": "cd lstDocs && rimraf build && npm run build", "build:wrapper": "cd lstWrapper && rimraf publish && dotnet publish -c Release -o ./publish", "build:ctl": " ", - "build": "npm run build:docs && npm run build:front && npm run build:app", + "build": "npm run translateDocs && npm run build:docs && npm run build:front && npm run build:app", "install:front": "cd frontend && npm i", "install:docs": "cd lstDocs && npm i", "install:app": "npm i", @@ -25,8 +27,8 @@ "docker": "docker compose up --build --force-recreate -d", "commit": "cz", "deploy": "standard-version --conventional-commits && npm run build", - "db:migrate": "npx drizzle-kit push --config=drizzle-dev.config.ts", - "db:generate": "npx drizzle-kit generate --config=drizzle-dev.config.ts", + "db:migrate": "npx drizzle-kit push", + "db:generate": "npx drizzle-kit generate", "translateDocs": "cd scripts && node translateScript.js" }, "repository": {