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
..
2022-05-05 09:33:00 -04:00
2023-03-01 12:25:33 -05:00
2024-06-04 16:06:03 -04:00
2023-09-22 14:24:35 -04:00
2022-02-02 11:46:27 +00:00
2022-01-05 16:23:44 -05:00
2022-01-05 16:23:44 -05:00
2022-05-28 17:04:48 +00:00
2023-12-19 12:28:04 -05:00
2023-12-19 12:28:04 -05:00
2023-12-19 12:28:04 -05:00
2024-05-23 15:58:53 +02:00
2024-04-18 15:53:35 +02:00
2022-01-12 19:55:20 -05:00
2023-06-29 14:52:57 +01:00
2024-05-10 15:42:46 -04:00
2024-03-18 09:55:56 -04:00
2024-05-16 11:24:07 +01:00
2024-04-12 09:28:54 +02:00
2024-04-17 15:21:21 +02:00
2024-05-14 14:19:49 -04:00
2024-02-03 00:14:05 -05:00
2024-05-23 15:58:53 +02:00