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

Upgrade dotenv-cli to v7 #220

Merged
merged 1 commit into from
Apr 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ S3_SECRET_ACCESS_KEY=

# imgproxy
IMGPROXY_PORT=6080
IMGPROXY_URL=http://${DEV_DOMAIN:-localhost}${WORKAROUND_DOTENV_ISSUE}:${IMGPROXY_PORT}
IMGPROXY_URL=http://${DEV_DOMAIN:-localhost}:${IMGPROXY_PORT}
IMGPROXY_KEY=943b421c9eb07c830af81030552c86009268de4e532ba2ee2eab8247c6da0881
IMGPROXY_SALT=520f986b998545b4785e0defbc4f3c1203f22de2374a3d53cb7a7fe9fea309c5
IMGPROXY_USE_ABS=false
Expand All @@ -39,7 +39,7 @@ DAM_CDN_ORIGIN_HEADER=

# api
API_PORT=4000
API_URL=http://${DEV_DOMAIN:-localhost}${WORKAROUND_DOTENV_ISSUE}:${API_PORT}/api
API_URL=http://${DEV_DOMAIN:-localhost}:${API_PORT}/api
API_URL_INTERNAL=http://localhost:$API_PORT/api
CORS_ALLOWED_ORIGIN="^http:\/\/(localhost|.*\.dev\.vivid-planet\.cloud|192\.168\.\d{1,3}\.\d{1,3}):\d{2,4}"

Expand All @@ -49,12 +49,12 @@ BLOB_STORAGE_DIRECTORY_PREFIX="starter"

# admin
ADMIN_PORT=8000
ADMIN_URL=http://${DEV_DOMAIN:-localhost}${WORKAROUND_DOTENV_ISSUE}:${ADMIN_PORT}
ADMIN_URL=http://${DEV_DOMAIN:-localhost}:${ADMIN_PORT}
SITES_CONFIG='{"main": {"url": "$SITE_URL", "previewUrl": "$SITE_URL/preview/main", "preloginEnabled": false}, "secondary": {"url": "$SITE_URL", "previewUrl": "$SITE_URL/preview/secondary", "preloginEnabled": false}}'

# site
SITE_PORT=3000
SITE_URL=http://${DEV_DOMAIN:-localhost}${WORKAROUND_DOTENV_ISSUE}:${SITE_PORT}
SITE_URL=http://${DEV_DOMAIN:-localhost}:${SITE_PORT}
# no gtm in dev mode
NEXT_PUBLIC_GTM_ID=
NEXT_PUBLIC_SITE_URL=$SITE_URL
Expand Down
2 changes: 1 addition & 1 deletion admin/package-lock.json

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

2 changes: 1 addition & 1 deletion admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"@types/react-router-dom": "^5.1.7",
"@vitejs/plugin-react-swc": "^3.6.0",
"chokidar-cli": "^2.1.0",
"dotenv-cli": "^7.3.0",
"dotenv-cli": "^7.0.0",
"eslint": "^8.0.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.1",
Expand Down
23 changes: 7 additions & 16 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
},
"devDependencies": {
"@comet/dev-process-manager": "^2.0.0",
"dotenv-cli": "^6.0.0",
"dotenv-cli": "^7.0.0",
"husky": "^7.0.1",
"lint-staged": "^11.1.1",
"npm-run-all": "^4.1.5",
Expand Down
20 changes: 10 additions & 10 deletions site/package-lock.json

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

2 changes: 1 addition & 1 deletion site/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"@types/react-dom": "^17.0.0",
"@types/styled-components": "^5.0.0",
"chokidar-cli": "^2.0.0",
"dotenv-cli": "^6.0.0",
"dotenv-cli": "^7.0.0",
"eslint": "^8.0.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.0.0",
Expand Down
Loading