Skip to content
Snippets Groups Projects
Commit 89279bd2 authored by michael.minelli's avatar michael.minelli
Browse files

Merge branch 'env_management' into v2.2.0

parents ebc21d2e 693f8299
Branches
Tags
No related merge requests found
Pipeline #26630 failed
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
"chalk": "^4.1.2", "chalk": "^4.1.2",
"dockerode": "^3.3.5", "dockerode": "^3.3.5",
"dotenv": "^16.3.1", "dotenv": "^16.3.1",
"dotenv-expand": "^10.0.0",
"fs-extra": "^11.1.1", "fs-extra": "^11.1.1",
"http-status-codes": "^2.2.0", "http-status-codes": "^2.2.0",
"json5": "^2.2.3", "json5": "^2.2.3",
...@@ -1450,6 +1451,14 @@ ...@@ -1450,6 +1451,14 @@
"url": "https://github.com/motdotla/dotenv?sponsor=1" "url": "https://github.com/motdotla/dotenv?sponsor=1"
} }
}, },
"node_modules/dotenv-expand": {
"version": "10.0.0",
"resolved": "https://registry.npmjs.org/dotenv-expand/-/dotenv-expand-10.0.0.tgz",
"integrity": "sha512-GopVGCpVS1UKH75VKHGuQFqS1Gusej0z4FyQkPdwjil2gNIv+LNsqBlboOzpJFZKVT95GkCyWJbBSdFEFUWI2A==",
"engines": {
"node": ">=12"
}
},
"node_modules/dotenv-vault": { "node_modules/dotenv-vault": {
"version": "1.25.0", "version": "1.25.0",
"resolved": "https://registry.npmjs.org/dotenv-vault/-/dotenv-vault-1.25.0.tgz", "resolved": "https://registry.npmjs.org/dotenv-vault/-/dotenv-vault-1.25.0.tgz",
......
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
"chalk" : "^4.1.2", "chalk" : "^4.1.2",
"dockerode" : "^3.3.5", "dockerode" : "^3.3.5",
"dotenv" : "^16.3.1", "dotenv" : "^16.3.1",
"dotenv-expand" : "^10.0.0",
"fs-extra" : "^11.1.1", "fs-extra" : "^11.1.1",
"http-status-codes": "^2.2.0", "http-status-codes": "^2.2.0",
"json5" : "^2.2.3", "json5" : "^2.2.3",
......
// Read from the .env file // Read from the .env file
// ATTENTION : This lines MUST be the first of this file (except for the path import) // ATTENTION : This lines MUST be the first of this file (except for the path import)
const path = require('node:path'); const path = require('node:path');
require('dotenv').config({ const myEnv = require('dotenv').config({
path : path.join(__dirname, '../.env'), path : path.join(__dirname, '../.env'),
DOTENV_KEY: 'dotenv://:key_bebfddf18e3dd9a0bafafe0e383313f75add1da6fbe41ea5fde51f37ef1776aa@dotenv.local/vault/.env.vault?environment=development' DOTENV_KEY: 'dotenv://:key_bebfddf18e3dd9a0bafafe0e383313f75add1da6fbe41ea5fde51f37ef1776aa@dotenv.local/vault/.env.vault?environment=development'
}); });
require('dotenv-expand').expand(myEnv);
require('./shared/helpers/TypeScriptExtensions'); // ATTENTION : This line MUST be the second of this file require('./shared/helpers/TypeScriptExtensions'); // ATTENTION : This line MUST be the second of this file
import ClientsSharedConfig from './sharedByClients/config/ClientsSharedConfig'; import ClientsSharedConfig from './sharedByClients/config/ClientsSharedConfig';
......
Subproject commit 8424367748a6fc47f8da10b85e7663f3f7d07620 Subproject commit efe1bf313f57d1826faf935c183d37a0835f8c2d
Subproject commit 97ba763f9517880ecfa6245c172a0e330ebdd11a Subproject commit d9379b055a4626e4b35cf4cc4a7429040a4aeaf7
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment