Skip to content

[Feature] Install dependencies without optional #2840

Description

@RuBAN-GT
  • I'd be willing to implement this feature (contributing guide)
  • This feature is important to have in this repository; a contrib plugin wouldn't do

Describe the user story

Hi everyone, in my package.json I have several entries from optionalDependencies.
The previous yarn v1 has an ability to ignore them using ignore-optional flags.
What about the latest yarn v2? As I understood properly install command doesn't provide the way to control it (https://yarnpkg.com/cli/install).

Describe the solution you'd like

To add ignore-optional option for install command.

Thank you!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions