Skip to content

Commit

Permalink
Remove dotenv support
Browse files Browse the repository at this point in the history
Going to real environmental variables to make this easier in a monorepo.
  • Loading branch information
jrjohnson committed Jan 30, 2024
1 parent 7d023ea commit 7d8e8b0
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 18 deletions.
1 change: 0 additions & 1 deletion .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
- "@sentry/ember"
- "browserslist"
- "caniuse-db"
- "dotenv"
- "ember-a11y-testing"
- "ember-cli-dependency-checker"
- "ember-cli-dependency-lint"
Expand Down
7 changes: 0 additions & 7 deletions config/environment.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
'use strict';
const { existsSync } = require('fs');
const dotenv = require('dotenv');
const path = require('path');
const dotEnvPath = path.join(__dirname, '../.env');
if (existsSync(dotEnvPath)) {
dotenv.config({ path: dotEnvPath });
}

module.exports = function (environment) {
const ENV = {
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@
"caniuse-db": "^1.0.30001580",
"class-validator": "^0.14.0",
"concurrently": "^8.2.1",
"dotenv": "^16.4.1",
"ember-a11y-refocus": "3.0.2",
"ember-a11y-testing": "^6.1.1",
"ember-ajax": "^5.1.2",
Expand Down Expand Up @@ -135,8 +134,8 @@
"stylelint-config-standard": "^34.0.0",
"stylelint-prettier": "^4.0.2",
"stylelint-scss": "^5.3.2",
"testem-failure-only-reporter": "^1.0.0",
"terser-webpack-plugin": "^5.3.9",
"testem-failure-only-reporter": "^1.0.0",
"tracked-built-ins": "^3.2.0",
"validator": "^13.11.0",
"webpack": "^5.88.2",
Expand Down
8 changes: 0 additions & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7d8e8b0

Please sign in to comment.