Skip to content

Conversation

Ponjimon
Copy link

Problem

Running, for example, ampx info in a project that uses Bun as a package manager results in an error message:

{
    message: 'Package manager bun is not supported.',
    resolution: 'Use npm, yarn, or pnpm.'
}

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 pendant bunx where necessary. I'm not sure if this is correct and it should just run bun instead, please advise if I'm mistaken here.

Validation

Corresponding tests for the lockfile reader and package manager controller have been added

Checklist

  • If this PR includes a functional change to the runtime behavior of the code, I have added or updated automated test coverage for this change.
  • If this PR requires a change to the Project Architecture README, I have included that update in this PR.
  • If this PR requires a docs update, I have linked to that docs PR above.
  • If this PR modifies E2E tests, makes changes to resource provisioning, or makes SDK calls, I have run the PR checks with the 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.

@Ponjimon Ponjimon requested a review from a team as a code owner September 22, 2025 20:09
Copy link

changeset-bot bot commented Sep 22, 2025

🦋 Changeset detected

Latest commit: f6d0224

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@aws-amplify/integration-tests Minor
@aws-amplify/cli-core Minor
@aws-amplify/backend-cli Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

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

Successfully merging this pull request may close these issues.

1 participant