How to update Framework
Before proposing/making a change it is necessary to select the relevant repository.
Repositories:
Display Temple: if you want to change an util, DCO event or update the FrameAnimation.
Display Upload: if you want to create a new upload environment or modify any of the current ones.
Display Boilerplate: if you want to modify the initial questions, add parameters, modify a template or create a new one.
Display Dev Server: if you want to change a configuration in Webpack, install a plugin and other issues related to dev/build.
Propose a change
If you want to propose a change, it will be necessary to create a ticket informing in detail what you want to do. Please read the How to create an issue page.
Workflow for make changes
- Fork the repository
- Clone your new fork locally
- Create a new branch for your changes
- Make your changes
npm install
node_modules in your local fork- Do your code changes in your fork
- Link your local fork with
npm link
- Test your local fork
- By either using
npm link @mediamonks/display-dev-server
in a test project for for example the display-dev-server - Or for the display-boilerplate, running
yo display-boilerplate
in a test project and then installing your changes
- By either using
- Submit your pull request
- Discuss and review your code
- Rebase and tests
- “Merge” your branch to the master branch
- In the master branch, create a new version (tag) with a message
npm version major/minor/patch -m "this has been updated"
git push origin