SanderRonde / phpstan-vscode

PHPStan plugin for VSCode
https://marketplace.visualstudio.com/items?itemName=SanderRonde.phpstan-vscode
MIT License
41 stars 9 forks source link

Remove yarn lockfile #87

Closed jrmajor closed 1 month ago

jrmajor commented 1 month ago

This confuses VS Code about which package manager it should use. I assume that this is a residue from the migration to Bun.

SanderRonde commented 1 month ago

This is something very annoying where vsce (the VSCode package publisher) thinks that if there's no yarn.lock file npm must be used which isn't the case. It only knows of npm and yarn. Then when attempting to publish it throws an error since what is expected to be installed in the lockfile (which it can't find since it doesn't parse the bun one) does not match what is actually installed (by bun). So this is unfortunately something needed to make publishing work, at least for the time being.

jrmajor commented 1 month ago

Oh, I see. I'll just use npm.packageManager setting instead then :)