DEV Community

npm local packages - one big fuckup?

Markus René Einicher on April 07, 2020

Using local packages with PHP/Composer is very simple: you just add a local folder to repositories in your projects package.json file and thats it....
Collapse
 
patarapolw profile image
Pacharapol Withayasakpunt • Edited

yarn add ./local copies to target node_modules, instead of using the local one. (Still I prefer npm install ./local, for exactly the reason you not prefer.)

Never liked link, because it is practically invisible to VCS, like Git.

Collapse
 
sergix profile image
Peyton McGinnis

deno seeks to solve some of the problems you've listed.

Also, please don't use expletives in the titles of your posts.