Skip to content

Should add official angular tools/libs to get Angular Environment Variables from Vercel Environment Variables #28381

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

Closed
trinm90 opened this issue Sep 9, 2024 · 4 comments

Comments

@trinm90
Copy link

trinm90 commented Sep 9, 2024

Which @angular/* package(s) are relevant/related to the feature request?

common

Description

I use Angular Environment Variables from environment.ts file. Everything is OK on my dev environment. But when I deploy my project to Vercel & need to use Vercel Environment Variables, I have to do an extra step of installing dotenv and creating the set-env.js file : link to the file

Proposed solution

Can Angular team please create an official tool or lib to get the Environment Variables that works with Vercel Environment Variables?

Alternatives considered

Manually creating the set-env.js or config.js to convert Vercel Environment Variables to Angular Environment Variables in environment.ts file : link to the file

@ngbot ngbot bot modified the milestone: needsTriage Sep 9, 2024
@alan-agius4 alan-agius4 transferred this issue from angular/angular Sep 9, 2024
@alan-agius4
Copy link
Collaborator

This should be solved in v19 which is currently in prerelease via #28362

@trinm90
Copy link
Author

trinm90 commented Sep 22, 2024

This should be solved in v19 which is currently in prerelease via #28362

If I remember correctly, v19 is not a Long-term support version, but v20 will be. Have Angular team specify a release day for v20?

@JoostK
Copy link
Member

JoostK commented Sep 22, 2024

This should be solved in v19 which is currently in prerelease via #28362

If I remember correctly, v19 is not a Long-term support version, but v20 will be. Have Angular team specify a release day for v20?

That would be Node's support policy, not Angular's. All Angular majors are supported for ~1.5 years, per https://angular.dev/reference/releases#support-policy-and-schedule

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Oct 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants