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
It'd be great if the extension could pick up a local installation of dprint in node_modules (basically ./node_modules/.bin/dprint). That way, projects relying on package.json could declare the minimum version they need in the devDependencies property and people cloning the repository would not have to figure out how to do a global installation.
The text was updated successfully, but these errors were encountered:
Ok, my problem was related to the same spacing issue that prevented me from installing dprint with npm install in the first place. /Users/my name/dprint-project/node_modules/dprint/dprint fmt fails. It should be "/Users/my name/dprint-project/node_modules/dprint/dprint" fmt.
I'll open a PR.
luisherranz
changed the title
Support local node_modules installation
Support local node_modules installation in folders with spaces
May 17, 2022
It'd be great if the extension could pick up a local installation of
dprint
innode_modules
(basically./node_modules/.bin/dprint
). That way, projects relying onpackage.json
could declare the minimum version they need in thedevDependencies
property and people cloning the repository would not have to figure out how to do a global installation.The text was updated successfully, but these errors were encountered: