You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is the weirdest thing and I have no idea if this is a bug with npm or this repo's dependencies or something and this seems like it might be related to #230.
If you install this plugin with the following command npm install --save-dev @shufo/prettier-plugin-blade prettier as listed on the readme, then prettier v2.8.8 is installed for some reason. I've reproduced this in fresh new projects.
Steps to reproduce:
Here is a new project with nothing installed via npm (nls is aliased to npm list --depth=0):
➜ npm install --save-dev @shufo/prettier-plugin-blade prettier
added 184 packages, and audited 185 packages in 4s
37 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
➜ npm install --save-dev prettier
added 1 package, and audited 2 packages in 303ms
1 package is looking for funding
run `npm fund` for details
found 0 vulnerabilities
➜ npm install --save-dev @shufo/prettier-plugin-blade
added 184 packages, and audited 186 packages in 3s
38 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
Also, it doesn't matter if I install this plugin first or prettier first, as long as I install one at a time, I get prettier@3.1.0. If both are in the same line during install, I get prettier@2.8.8.
Expected Behavior
Should install prettier@3.1.0.
Actual Behavior
Installs prettier@2.8.8.
Additional Context
node v21.3.0
npm v10.2.4
The text was updated successfully, but these errors were encountered:
Description
This is the weirdest thing and I have no idea if this is a bug with
npm
or this repo's dependencies or something and this seems like it might be related to #230.If you install this plugin with the following command
npm install --save-dev @shufo/prettier-plugin-blade prettier
as listed on the readme, then prettier v2.8.8 is installed for some reason. I've reproduced this in fresh new projects.Steps to reproduce:
Here is a new project with nothing installed via npm (
nls
is aliased tonpm list --depth=0
):Also, it doesn't matter if I install this plugin first or prettier first, as long as I install one at a time, I get
prettier@3.1.0
. If both are in the same line during install, I getprettier@2.8.8
.Expected Behavior
Should install
prettier@3.1.0
.Actual Behavior
Installs
prettier@2.8.8
.Additional Context
node v21.3.0
npm v10.2.4
The text was updated successfully, but these errors were encountered: