Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fail app startup on missing env config #189

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/admin/next.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require('dotenv-safe').config();
const path = require('path');

module.exports = {
Expand Down
1 change: 1 addition & 0 deletions packages/admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"cypress-recurse": "^1.18.0",
"date-fns": "^2.19.0",
"dotenv": "^16.0.0",
"dotenv-safe": "^8.2.0",
"gap-web-ui": "*",
"govuk-frontend": "4.7.0",
"gray-matter": "4.0.3",
Expand Down
1 change: 1 addition & 0 deletions packages/applicant/next.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require('dotenv-safe').config();
const path = require('path');

module.exports = {
Expand Down
1 change: 1 addition & 0 deletions packages/applicant/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"cypress-recurse": "^1.18.0",
"date-fns": "^2.19.0",
"dotenv": "^16.0.0",
"dotenv-safe": "^8.2.0",
"form-data": "^4.0.0",
"formidable": "2.1.0",
"gap-web-ui": "*",
Expand Down
18 changes: 18 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6559,6 +6559,7 @@ __metadata:
cypress-recurse: ^1.18.0
date-fns: ^2.19.0
dotenv: ^16.0.0
dotenv-safe: ^8.2.0
gap-web-ui: "*"
govuk-frontend: 4.7.0
gray-matter: 4.0.3
Expand Down Expand Up @@ -6800,6 +6801,7 @@ __metadata:
cypress-recurse: ^1.18.0
date-fns: ^2.19.0
dotenv: ^16.0.0
dotenv-safe: ^8.2.0
eslint: 8.42.0
eslint-config-next: 12.0.7
eslint-config-prettier: ^8.5.0
Expand Down Expand Up @@ -9320,13 +9322,29 @@ __metadata:
languageName: node
linkType: hard

"dotenv-safe@npm:^8.2.0":
version: 8.2.0
resolution: "dotenv-safe@npm:8.2.0"
dependencies:
dotenv: ^8.2.0
checksum: 8b73770330528d77630009afa44239127c44d634b0fa7d7545932a8e72686d774ceadea62d381ed7c911e0facac4ee1489132e44b746f36eb8f2e3ee6929eb78
languageName: node
linkType: hard

"dotenv@npm:^16.0.0":
version: 16.1.4
resolution: "dotenv@npm:16.1.4"
checksum: c1b2e13df4d374a6a29e134c56c7b040ba20500677fe8b9939ea654f3b3badb9aaa0b172e40e4dfa1233a4177dbb8fb79d84cc79a50ac9c9641fe2ad98c14876
languageName: node
linkType: hard

"dotenv@npm:^8.2.0":
version: 8.6.0
resolution: "dotenv@npm:8.6.0"
checksum: 38e902c80b0666ab59e9310a3d24ed237029a7ce34d976796349765ac96b8d769f6df19090f1f471b77a25ca391971efde8a1ea63bb83111bd8bec8e5cc9b2cd
languageName: node
linkType: hard

"duplexify@npm:^3.5.0, duplexify@npm:^3.6.0":
version: 3.7.1
resolution: "duplexify@npm:3.7.1"
Expand Down