diff --git a/NodeApp/package.json b/NodeApp/package.json index 62bc16894e2dd001aedce741b41eb57184017f22..4aca7f781ba6e64b917f964953f849ba4bf7ac01 100644 --- a/NodeApp/package.json +++ b/NodeApp/package.json @@ -30,7 +30,7 @@ "lint" : "npx eslint .", "genversion" : "npx genversion -s -e src/config/Version.ts", "build" : "npm run genversion; npx tsc", - "start:dev" : "npm run genversion; npm run lint; tsc --noEmit && npx tsx dist/app.js", + "start:dev" : "npm run genversion; npm run lint; tsc --noEmit && npx tsx src/app.ts", "test" : "echo \"Error: no test specified\" && exit 1" }, "dependencies" : { diff --git a/NodeApp/src/init.ts b/NodeApp/src/init.ts index 05bae6e670f89acc85e3f1b73ec8efb57bea9463..14f9d35a99c733f94630b3204fc96e6dcbbc31c8 100644 --- a/NodeApp/src/init.ts +++ b/NodeApp/src/init.ts @@ -2,7 +2,8 @@ import path from 'node:path'; import dotenv from 'dotenv'; import dotenvExpand from 'dotenv-expand'; import { fileURLToPath } from 'url'; -import './shared/helpers/TypeScriptExtensions.js'; // ATTENTION : This line MUST be the second of this file +import './shared/helpers/TypeScriptExtensions.js'; + dotenvExpand.expand(dotenv.config({ path : path.join(path.dirname(fileURLToPath(import.meta.url)), '../.env'), diff --git a/NodeApp/src/shared b/NodeApp/src/shared index 021300d29473dee2ad229384d22a521c0e5c14aa..771f8cd079b39ec4050c5ece024dc4d70f342529 160000 --- a/NodeApp/src/shared +++ b/NodeApp/src/shared @@ -1 +1 @@ -Subproject commit 021300d29473dee2ad229384d22a521c0e5c14aa +Subproject commit 771f8cd079b39ec4050c5ece024dc4d70f342529 diff --git a/NodeApp/src/sharedByClients b/NodeApp/src/sharedByClients index bcbf1f6d8c8c9b8848e96106efc80f3adaa8c89f..de38dfe025658959d3947c4aeb4466c7820d2983 160000 --- a/NodeApp/src/sharedByClients +++ b/NodeApp/src/sharedByClients @@ -1 +1 @@ -Subproject commit bcbf1f6d8c8c9b8848e96106efc80f3adaa8c89f +Subproject commit de38dfe025658959d3947c4aeb4466c7820d2983