Fixes #1050. Previously, it was not possible to install src-cli via npm on Windows. It was also not possible to publish the npm package from a Windows computer. This PR fixes both problems. The second problem had to be solved so I could manually test the fix for this PR.:
Fixes #1050. Previously, it was not possible to install src-cli via npm on Windows. It was also not possible to publish the npm package from a Windows computer. This PR fixes both problems. The second problem had to be solved so I could manually test the fix for this PR.:
Test plan
Manually tested locally on a Windows computer
verdaccio
pnpm unpublish --force
pnpm publish
pnpm init
pnpm add @sourcegraph/src
pnpm exec src login
, confirmed it worked