Skip to content

[build-utils][cli] Add env vars for VERCEL_PROJECT_SETTINGS_ - #9332

Merged
kodiakhq[bot] merged 12 commits into
mainfrom
styfle/vccli-487-boa-needs-a-way-to-read-the-nodejs
Jan 31, 2023
Merged

kodiakhq[bot] merged 12 commits into
mainfrom
styfle/vccli-487-boa-needs-a-way-to-read-the-nodejs

Conversation

@styfle

@styfle styfle commented Jan 27, 2023 •

Copy link
Copy Markdown
Member

This PR adds a few new environment variables for project settings.

This allows frameworks targeting the Build Output API to read data that is normally only available in through the config object when developing a Builder/Runtime.

This will also solve the problem of old Builders/Runtimes that never passed the config through to getNodeVersion().

cb1kenobi
cb1kenobi previously approved these changes Jan 31, 2023

@cb1kenobi cb1kenobi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

TooTallNate
TooTallNate previously approved these changes Jan 31, 2023

@TooTallNate TooTallNate left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple minor non-blocking nits. Looks good!

cb1kenobi
cb1kenobi previously approved these changes Jan 31, 2023
TooTallNate
TooTallNate previously approved these changes Jan 31, 2023
Co-authored-by: Nathan Rajlich <[email protected]>
@kodiakhq
kodiakhq Bot merged commit dbea973 into main Jan 31, 2023
@kodiakhq
kodiakhq Bot deleted the styfle/vccli-487-boa-needs-a-way-to-read-the-nodejs branch January 31, 2023 23:27

This branch was successfully deployed

1 active deployment
Preview — 081d74d4 Deployed Jan 31, 2023 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants