Thomas Dekiere
313f6a9ebc
docs(core): fix syntax to specify configuration flag ( #29223 )
...
```sh
nx build app --development
```
should be
```sh
nx build app --configuration development
```
Co-authored-by: Isaac Mann <isaacplmann@users.noreply.github.com>
2024-12-13 13:20:33 -05:00
Isaac Mann
078593e2ec
docs(core): env var configuration files ( #27163 )
...
Fixes #26653
2024-07-26 15:45:28 -04:00
Stefan Schweiger
215bc42c11
feat(core): additional .local patterns for .env files ( #19163 )
...
## Current Behavior
Loading order of .env files
1. `apps/my-app/.env.[target-name].[target-configuration-name]`
2. `apps/my-app/.env.[target-name]`
3. `apps/my-app/.[target-name].[target-configuration-name].env`
4. `apps/my-app/.[target-name].env`
5. `apps/my-app/.env.local`
6. `apps/my-app/.local.env`
7. `apps/my-app/.env`
8. `.env.[target-name].[target-configuration-name]`
9. `.env.[target-name]`
10. `.[target-name].[target-configuration-name].env`
11. `.[target-name].env`
12. `.env.local`
13. `.local.env`
14. `.env`
## Expected Behavior
1. `apps/my-app/.env.[target-name].[target-configuration-name].local`
2. `apps/my-app/.env.[target-name].[target-configuration-name]`
3. `apps/my-app/.env.[target-name].local`
4. `apps/my-app/.env.[target-name]`
5. `apps/my-app/.[target-name].[target-configuration-name].local.env`
6. `apps/my-app/.[target-name].[target-configuration-name].env`
7. `apps/my-app/.[target-name].local.env`
8. `apps/my-app/.[target-name].env`
9. `apps/my-app/.env.local`
10. `apps/my-app/.local.env`
11. `apps/my-app/.env`
12. `.env.[target-name].[target-configuration-name].local`
13. `.env.[target-name].[target-configuration-name]`
14. `.env.[target-name].local`
15. `.env.[target-name]`
16. `.[target-name].[target-configuration-name].local.env`
17. `.[target-name].[target-configuration-name].env`
18. `.[target-name].local.env`
19. `.[target-name].env`
20. `.env.local`
21. `.local.env`
22. `.env`
## Related Issue(s)
#19161
2024-06-04 16:06:03 -04:00
Barry Michael Doyle
38a947f7f8
docs(nx-dev): update define-environment-variables.md changed NX_ to… ( #23397 )
...
## Current Behavior
Incorrect environment variable prefix `NX_` in docs.
## Expected Behavior
Correct environment variable prefix `NX_PUBLIC_` in docs.
## Related Issue(s)
https://github.com/nrwl/nx/issues/23362
2024-05-15 12:32:16 +02:00
mot
3e63bc0754
docs(core): update define-environment-variables.md ( #21727 )
...
add `dotenvx` example.
## Current Behavior
* env-cmd only
## Expected Behavior
* include dotenvx example
## Related Issue(s)
N/A
Fixes #
N/A
2024-05-08 15:22:27 -04:00
Isaac Mann
b57adf8430
docs(core): nx replay rename ( #21060 )
2024-01-09 09:29:34 -05:00
Isaac Mann
d1e842f827
feat(nx-dev): rename nx-cloud tab to CI ( #20476 )
2023-11-30 08:24:24 -05:00
Isaac Mann
457bbcbe57
docs(core): nx cloud features section ( #20043 )
2023-11-07 08:40:29 -05:00
Isaac Mann
d1fe398ea0
docs(core): packages to api ( #19281 )
2023-09-22 14:24:35 -04:00
Juri
054a371aab
docs(core): random improvements on core section of docs
2023-08-02 09:17:09 +02:00
Craigory Coppola
199d6217c1
feat(core): load environment variables from configuration name ( #17335 )
2023-06-28 14:18:01 -04:00
Craigory Coppola
24e87e6cc4
feat(core): allow loading env vars by target and configuration ( #14998 )
2023-02-14 22:24:08 +00:00
Isaac Mann
20fe12b1b9
docs(core): nx cloud intro ( #13132 )
2022-11-13 13:26:23 -05:00
Benjamin Cabanes
1e5297edfc
docs(core): use shell code blocks ( #12587 )
2022-10-13 21:25:40 +00:00
Isaac Mann
828632c8e4
docs(nxdev): cleanup define env vars ( #11978 )
2022-09-12 13:26:12 +00:00
Isaac Mann
bdfd7bef84
docs(nxdev): target env files ( #11960 )
2022-09-09 13:50:15 -04:00
Isaac Mann
e717660102
docs(nx-dev): diataxis restructure ( #11649 )
...
* docs(nxdev): restructure docs to diataxis style
* docs(nxdev): cleanup
* docs(nxdev): fix links
* chore(nxdev): format
* docs(nxdev): fix broken images
* docs(nxdev): fix links
* docs(nxdev): fix links
* docs(nxdev): fix links
* docs(nxdev): tweaks
* docs(nxdev): redirect rules
* docs(nxdev): fixes
2022-08-29 08:36:55 -04:00