Ability to specify another package manager for JavaScript SDK projects #44516
Labels
Area-esproj
Issues related to the Javascript project system
untriaged
Request triage from a team member
Sorry if this is the wrong place but coming from this dotnet/aspnetcore#56111 discussion since the JavaScript.SDK currently isnt a public project.
Is your feature request related to a problem? Please describe.
An option to set a package manager other than
npm
when usingMicrosoft.VisualStudio.JavaScript.SDK
for examplepnpm
. This would also be ideal if we want to specify any extra arguments for install such as being able to runnpm ci
condtionally for CI builds.This would also potentially allow us to use deno.
Describe the solution you'd like
Much like the other properties in the
esproj
type it would probably be prefereable to have a similar interface to how the builds and start commands work.Additional context
Currently there is a workaround for this by installing the SDK's .props and .targets outside of the
<Project Sdk="Microsoft.VisualStudio.JavaScript.SDK">
and move it into<Import>
to avoid the.targets
being imported after the override due toThe text was updated successfully, but these errors were encountered: