Skip to content

Moves node depedencies up the tree to prevent long paths (Windows limits length to 260)

Notifications You must be signed in to change notification settings

LeZuse/node-flatten-deps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flatten Dependencies

Moves node dependencies up the tree to prevent long paths.
On Windows the path limit is 260 chars, which can be a big problem for larger projects.

Installation

npm install -g flatten-deps

Disclaimer

Be certain that none of your installed dependencies rely directly on the file system structure. This script can break these. Often that means checking bin commands.

Usage

cd PROJECT_ROOT
flatten-deps

TODO

  • Tests

About

Moves node depedencies up the tree to prevent long paths (Windows limits length to 260)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published