From d2912e05001425be226f93bef9fd8ff8030cb641 Mon Sep 17 00:00:00 2001 From: Jalil Arfaoui Date: Tue, 9 Nov 2021 09:50:14 +0100 Subject: [PATCH] chore: add Chrome Web Store extensions ids for LMEL --- .env.proding.lmel | 2 ++ .env.production.lmel | 2 ++ .env.staging.lmel | 2 ++ loadEnv.js | 2 +- 4 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .env.proding.lmel create mode 100644 .env.production.lmel create mode 100644 .env.staging.lmel diff --git a/.env.proding.lmel b/.env.proding.lmel new file mode 100644 index 000000000..ef55f940e --- /dev/null +++ b/.env.proding.lmel @@ -0,0 +1,2 @@ +CHROME_EXTENSION_ID=dckgogglpeojhbnpgooenkklhibdmebn +FIREFOX_EXTENSION_ID={xxx} diff --git a/.env.production.lmel b/.env.production.lmel new file mode 100644 index 000000000..d336ee893 --- /dev/null +++ b/.env.production.lmel @@ -0,0 +1,2 @@ +CHROME_EXTENSION_ID=heoimefmbpfjhpiepkomlkijgmlappko +FIREFOX_EXTENSION_ID={xxx} diff --git a/.env.staging.lmel b/.env.staging.lmel new file mode 100644 index 000000000..248500995 --- /dev/null +++ b/.env.staging.lmel @@ -0,0 +1,2 @@ +CHROME_EXTENSION_ID=dhkphghnepognepapelplhfegpcboaeb +FIREFOX_EXTENSION_ID={xxx} diff --git a/loadEnv.js b/loadEnv.js index c0d3e58fb..7bc6405fe 100644 --- a/loadEnv.js +++ b/loadEnv.js @@ -7,10 +7,10 @@ function loadEnv({ path, encoding, debug }) { const FACET = process.env.FACET || 'dismoi'; const dotenvFiles = [ - `.env.${FACET}`, `.env.${NODE_ENV}.${FACET}.local`, `.env.${NODE_ENV}.local`, `.env.${NODE_ENV}.${FACET}`, + `.env.${FACET}`, `.env.${NODE_ENV}`, // Don't include `.env.local` for `test` environment // since normally you expect tests to produce the same