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

Feature request: Support alternative package managers #7560

Open
marcoreni opened this issue Oct 11, 2024 · 1 comment
Open

Feature request: Support alternative package managers #7560

marcoreni opened this issue Oct 11, 2024 · 1 comment
Labels
type/feature Feature request

Comments

@marcoreni
Copy link

Describe your idea/feature/enhancement

Right now SAM install dependencies through NPM. If the project makes use of alternative package managers (pnpm or yarn) this may cause issues since lock files may not be respected, leading to unpredictable builds. It would be nice to support alternative package managers as well.

Proposal

Recognise the package manager according to the file existing in the project (pnpm-lock / package-lock / yarn.lock) and use the appropriate tool

@marcoreni marcoreni added stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at. type/feature Feature request labels Oct 11, 2024
@mndeveci
Copy link
Contributor

Hi @marcoreni thanks for feature recommendation.

SAM CLI does support custom builds via using Makefile. You should be able to use any package managers of your choice in that way. If you haven't done so I will recommend giving it a try to see how well it works.

In the meantime, I will keep this issue open for any future discussions.

@mndeveci mndeveci removed the stage/needs-triage Automatically applied to new issues and PRs, indicating they haven't been looked at. label Oct 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature Feature request
Projects
None yet
Development

No branches or pull requests

2 participants