dprint icon indicating copy to clipboard operation
dprint copied to clipboard

Support plugins on npm via npm specifiers?

Open dsherret opened this issue 6 months ago • 3 comments

{
  "plugins": [
    "npm:[email protected]"
  ]
}

dsherret avatar Jun 26 '25 21:06 dsherret

Is dprint's plugin repository down? My dev workflow is broken at the moment

> dprint fmt 
Error resolving plugin https://plugins.dprint.dev/prettier-0.58.2.json: Error downloading https://plugins.dprint.dev/prettier-0.58.2.json - Error: https://plugins.dprint.dev/prettier-0.58.2.json: Connection Failed: Connect error: connection timed out

atrakh avatar Jun 27 '25 00:06 atrakh

See https://github.com/dprint/dprint/issues/997

dsherret avatar Jun 27 '25 02:06 dsherret

How about letting it refer to local "node_modules" directory?

g-plane avatar Jul 11 '25 03:07 g-plane