Skip to content

For Microsoft.VisualStudio.JavaScript.Sdk projects it should be possible to configure packages installs to use npm ci rather than npm install #42171

Open
@gklittlejohn

Description

@gklittlejohn

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

My understanding is for purposes such as building under a CI environment it may be desirable to to use npm ci to install dependencies as it does not write to package-lock.json causing dependencies to be frozen for the project meaning builds can be reproducible.

Describe the solution you'd like

A property for configuring the command for installing dependencies via npm.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-esprojIssues related to the Javascript project systemuntriagedRequest triage from a team member

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions