Skip to content
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

pm: add some missing npm_ env vars #14786

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open

pm: add some missing npm_ env vars #14786

wants to merge 10 commits into from

Conversation

nektro
Copy link
Contributor

@nektro nektro commented Oct 24, 2024

Closes #73
Closes #2793
Closes #13803

@nektro nektro marked this pull request as ready for review October 24, 2024 10:08
@@ -1035,6 +1036,35 @@ pub const PackageJSON = struct {
}
}
}
read_config: {
if (json.asProperty("config")) |config_prop| {
Copy link
Collaborator

Choose a reason for hiding this comment

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

this looks identical to the block above, might be a handy helper something like config_prop.e_object.createStringMap()

Copy link
Collaborator

@dylan-conway dylan-conway left a comment

Choose a reason for hiding this comment

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

A test should be added to bun-workspace.test.ts for multiple package.json with config fields

@hadarziv-army
Copy link

It looks like it should close my issue too #13803

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants