8000 Use packageManager field to specify that we're using yarn@1.22.17 · Issue #3259 · aws/aws-sdk-js-v3 · GitHub
[go: up one dir, main page]

Skip to content
Use packageManager field to specify that we're using yarn@1.22.17 #3259
@trivikr

Description

@trivikr

Is your feature request related to a problem? Please describe.

The developers working on AWS SDK for JavaScript (v3) have to manually install yarn one time as it's not available by default.

$ aws-sdk-js-v3> node -v
v16.13.1

$ aws-sdk-js-v3> yarn -v
zsh: command not found: yarn

$ aws-sdk-js-v3> yarn
zsh: command not found: yarn

Describe the solution you'd like

Define packageManager field in package.json which specifies that we're using yarn@1.22.17

If developer is using Node.js >=16.10, the corepack will automatically install yarn@1.22.17. For Node.js <16.10, the developer can manually install corepack by running npm install -g corepack.

The corepack is being backported to v14.19.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestNew feature or enhancement. May require GitHub community feedback.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0