angelscripts-stack-upgrade
Angel script to copy files from source directory to cwd with deep merging of json files
usage
-
install script to existing project
$ npm install angelscripts-stack-upgrade
-
create
stacks/myStackChanges
- package.json
- dna |- file.json
- folder |+ subfolder |- file.js
-
execute the script via
organic-angel
$ angel stack add stacks/myStackChanges
What happens
- all json file contents are deep merged into current working directory. Files not already present in cwd will be created.
- all other files are copied w/ override to current working directory
npm install
is started once all copies are finished.
example
- organic-stem-skeleton look at
/upgrades
folder