chore(dx/desktop): clean up env

This commit is contained in:
Elian Doran 2025-09-02 19:56:18 +03:00
parent c1c237402a
commit d058dbe9af
No known key found for this signature in database
3 changed files with 2 additions and 6 deletions

View File

@ -1 +0,0 @@
TRILIUM_PORT=37743

View File

@ -1,3 +0,0 @@
TRILIUM_PORT=37741
TRILIUM_DATA_DIR=../data
NODE_OPTIONS=--enable-source-maps

View File

@ -30,8 +30,8 @@
"prebuild-install": "^7.1.1"
},
"scripts": {
"dev": "cross-env TRILIUM_DATA_DIR=data tsx scripts/start.mts",
"start-no-dir": "cross-env tsx scripts/start.mts",
"dev": "cross-env TRILIUM_PORT=37741 TRILIUM_DATA_DIR=data tsx scripts/start.mts",
"start-no-dir": "cross-env TRILIUM_PORT=37743 tsx scripts/start.mts",
"build": "tsx scripts/build.ts",
"start-prod": "pnpm build && cross-env TRILIUM_DATA_DIR=data TRILIUM_PORT=37841 electron dist",
"electron-forge:make": "pnpm build && electron-forge make dist",