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

636 conf doesnt support local #637

Merged
merged 1 commit into from
Jul 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
5 changes: 2 additions & 3 deletions frontend/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,9 @@ cypress/screenshots/

# misc
.DS_Store
.env
.env.local
.env.development.local
.env.test.local
.env.production.local
.env.*.local

npm-debug.log*
yarn-debug.log*
Expand Down
20 changes: 0 additions & 20 deletions frontend/package-lock.json

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

24 changes: 15 additions & 9 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,25 +72,32 @@
"scripts": {
"start": "echo ERROR: behavior of 'npm run start' was non-standard and thus has been removed to force migration to 'npm run dev'. In the future, 'npm run start' will serve the production build via 'next start', per NextJS conventions.",
"start:build": "next start",
"preinstall": "touch .env.local && cd ../common && npm install && cd ../eslint-config-dojo/ && npm install",
"dev": "dotenvx run --env-file=.env.development --env-file=.env.local -- next dev",
"preinstall": "npm run touch-env && cd ../common && npm install && cd ../eslint-config-dojo/ && npm install",
"touch-env": "touch .env.local .env.development.local .env.production.local .env.beta.local .env.test.local .env",
"dev": "$npm_package_config_run_dev -- next dev",
"precheck": "npm run lint && next build && npm run test:unit",
"precheck:full": "npm run precheck && npm run test:cypress",
"dev:precheck": "npm run precheck && npm run dev",
"build": "npm run build:production",
"build:production": "dotenvx run --env-file=.env.production -- next build",
"build:beta": "dotenvx run --env-file=.env.beta -- next build",
"build:test": "dotenvx run --env-file=.env.test -- next build",
"build:development": "dotenvx run --env-file=.env.development -- next build",
"build:production": "$npm_package_config_run_prod -- next build",
"build:beta": "$npm_package_config_run_beta -- next build",
"build:test": "$npm_package_config_run_test -- next build",
"build:development": "$npm_package_config_run_dev -- next build",
"test": "npm run test:unit && npm run test:cypress",
"test:unit": "vitest run",
"test:cypress": "dotenvx run --env-file=.env.test.local -- cypress run",
"test:unit": "$npm_package_config_run_test -- vitest run",
"test:cypress": "$npm_package_config_run_test -- cypress run",
"lint": "npm run lint:types && eslint .",
"lint:cypress": "eslint cypress",
"lint:fix": "eslint --fix .",
"lint:types": "tsc --noEmit",
"lint:types:watch": "tsc --noEmit --watch"
},
"config": {
"run_dev": "dotenvx run --env-file=.env.development.local --env-file=.env.local --env-file=.env.development --env-file=.env",
"run_test": "dotenvx run --env-file=.env.test.local --env-file=.env.local --env-file=.env.test --env-file=.env",
"run_prod": "dotenvx run --env-file=.env.production.local --env-file=.env.local --env-file=.env.production --env-file=.env",
"run_beta": "dotenvx run --env-file=.env.beta.local --env-file=.env.local --env-file=.env.beta --env-file=.env"
},
"browserslist": {
"production": [
">0.2%",
Expand Down Expand Up @@ -120,7 +127,6 @@
"@typescript-eslint/parser": "^7.12.0",
"command-line-args": "^5.2.1",
"command-line-usage": "^7.0.1",
"cross-env": "^7.0.3",
"cypress": "^13.13.0",
"eslint": "^8.57.0",
"eslint-config-next": "^14.2.3",
Expand Down