-
Notifications
You must be signed in to change notification settings - Fork 276
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Chore] Rework temp config formatting (#1787)
* [Chore] Rework temp config formatting for RAV + nextjs
- Loading branch information
1 parent
4329759
commit ac30356
Showing
6 changed files
with
49 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,42 @@ | ||
## Unreleased | ||
|
||
# react | ||
|
||
* Replace `scripts/generate-config.js` if you have not modified it. Otherwise: | ||
* Replace comma before a newline (`,`) with semicolon (`;`) in configText prop assignment so it would look like this: | ||
|
||
``` | ||
configText += `config.${prop} = process.env.REACT_APP_${constantCase(prop)} || "${ | ||
config[prop] | ||
}";\n`; | ||
``` | ||
|
||
# angular | ||
|
||
* Replace `scripts/generate-config.ts` if you have not modified it. Otherwise: | ||
* Replace comma before a newline (`,`) with semicolon (`;`) in configText prop assignment so it would look like this: | ||
|
||
``` | ||
configText += `config.${prop} = process.env.${constantCase(prop)} || "${config[prop]}";\n`; | ||
``` | ||
|
||
|
||
# vue | ||
|
||
* Replace `scripts/generate-config.js` if you have not modified it. Otherwise: | ||
* Replace comma before a newline (`,`) with semicolon (`;`) in configText prop assignment so it would look like this: | ||
|
||
``` | ||
configText += `config.${prop} = process.env.VUE_APP_${constantCase(prop)} || "${ | ||
config[prop] | ||
}";\n`; | ||
``` | ||
|
||
# nextjs | ||
|
||
* Replace `scripts/generate-config.ts` if you have not modified it. Otherwise: | ||
* Replace comma before a newline (`,`) with semicolon (`;`) in configText prop assignment so it would look like this: | ||
|
||
``` | ||
configText += `config.${prop} = process.env.${constantCase(prop)} || '${config[prop]}';\n`; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters