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
..
2019-08-17 13:25:22 -04:00
2024-05-31 18:05:26 -04:00
2024-05-30 13:31:27 -04:00
2024-05-23 15:58:53 +02:00
2023-09-21 08:28:05 -04:00
2024-05-30 09:53:18 -04:00
2024-05-27 10:00:35 -04:00
2024-06-04 16:06:03 -04:00
2024-03-25 07:39:26 -07:00
2024-04-09 09:40:50 -04:00
2024-06-04 15:02:41 -04:00
2024-05-22 11:54:15 -04:00
2024-05-25 14:51:20 -04:00
2024-02-03 00:14:05 -05:00
2024-06-04 15:02:41 -04:00
2024-05-30 13:31:27 -04:00
2024-03-15 09:52:37 -06:00
2024-05-22 11:54:15 -04:00
2024-05-21 09:31:37 -04:00
2024-04-29 12:28:35 -04:00
2024-05-16 19:11:58 +00:00
2024-04-04 16:09:35 -04:00
2024-03-12 16:04:02 +01:00
2024-05-02 12:25:41 -04:00
2024-03-12 16:04:02 +01:00
2024-03-12 16:04:02 +01:00