This project is just a small demo to show how we might want to help users update this prototype kit by merging various files.
- Pull down this repo
npm start
- shorthand fornpm run kit
npm run kit
- NPM installs dependencies and then updates the kitnpm run kit:update
- just updates the kit
I've namespaced the scripts to show that we might want grainular control of the install/run process
-
User has downloaded the kit but has changed some of the options
- Run
npm run kit:update
- check
app/config.js
values should still be remembered
- Run
-
Design Team decide to add new attributes to
kit/config/config.js
- add new key/value paid to
kit/config/config.js
- Run
npm run kit:update
- check
app/config.js
previous values should still be set and new attributes/values should be added
- add new key/value paid to
(OPTIONAL) - Add help text to to kit/config/config-help-text.js
- Run npm run kit:update
- check app/config.js
previous values should still be set and new attributes/values should be added along with help text
- Merge other application assets
- warn if configuration options are being depreciated or deleted
- automatically fetch latest kit release