AraBlocks / ara-file-manager

Electron-based desktop app to publish and purchase content with ARA
https://ara.one/app
GNU Lesser General Public License v3.0
26 stars 4 forks source link

feat(scripts/): search for long paths and module version dependencies #553

Closed zootella closed 5 years ago

zootella commented 5 years ago

Lots of modules with slightly different version dependencies are causing node_modules to nest--sometimes many times deep. This is currently keeping the Windows build from working, because many windows apps can't deal with paths longer than 260 characters.

I haven't changed any version numbers in package.json dependencies--that's a bigger endeavor that will need more eyes and lots of testing. Preparing for that, this pull request does two things:

-I've refactored the build scripts to make file names match npm commands, and warn the user about how long steps may take -Two new scripts in the scripts folder print out a report of how long some paths are, and which Ara modules require which versions of each other