Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
Running, for example,
ampx info
in a project that uses Bun as a package manager results in an error message:Changes
Added necessary Bun lockfile reader and package manager controller and updated the code where the other package managers were mentioned and added Bun.
Note
Since
npx
was mentioned at the occurences in the code, I added its Bun pendantbunx
where necessary. I'm not sure if this is correct and it should just runbun
instead, please advise if I'm mistaken here.Validation
Corresponding tests for the lockfile reader and package manager controller have been added
Checklist
run-e2e
label set.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.