aws-amplify / aws-amplify/amplify-cli

Using yarn instead of npm to install function's dependencies

Open
#6,035 4 comments 2 reactions 0 assignees View on GitHub
feature-request functions p3
Dominant language
TypeScript
Stars
2.9k
Forks
825
Avg merge
11d 23h
Merged PRs (30d)
2

Description

In my project, we use yarn and yarn workspaces to manage all dependencies, and I noticed that every time functions are deployed or mocked, the package-lock.json file is generated. Is there a way to set yarn as the default tool or ideally disable installing dependencies step?

Contributor guide

Open the contributing guide

Research direction

The issue does not name files, tests, or entry points. Start by tracing dependency installation during function deployment and mocking, then verify whether the completed behavior supports Yarn or skips installation without generating package-lock.json.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
build-system, cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.