Ryan Albrecht
04/14/2023, 6:17 PMgarciadev
04/14/2023, 6:30 PMRyan Albrecht
04/14/2023, 6:30 PMgarciadev
04/14/2023, 6:36 PMbox.json. Something like:
"scripts":{
"cleanInstall":"delete modules --force --recurse;install"
}
You can then run it from CommandBox as: run-script cleanInstall
This will delete the modules folder and then install everythinggarciadev
04/14/2023, 6:38 PMRyan Albrecht
04/14/2023, 6:39 PMgarciadev
04/14/2023, 6:42 PMdelete modules --force --recurse;install and just have it take care of it for you.bdw429s
04/14/2023, 7:47 PMbdw429s
04/14/2023, 7:48 PMmodules. It's harder when you account for all the packages (like coldbox, or testbox) which can be installed anywhere on disk with a custom install path.bdw429s
04/14/2023, 7:48 PMbdw429s
04/14/2023, 7:49 PMmodules by just comparing all the top level folders against the installPaths key in box.json.bdw429s
04/14/2023, 7:49 PMbox.json which you want to keep installed, but have gotten untracked.Ryan Albrecht
04/14/2023, 9:33 PMRyan Albrecht
04/14/2023, 9:34 PM