## Build files The source code in this repository (located in /src) needs to be compiled to ES2015 JavaScript (located in /lib).
npm install @thomas-brekelmans/fdsThis is done by running $ npm run build for a single build or you can $ npm run start to build once and watch for
changes and rebuild those as soon as they occur.
The built files are checked in to git.
These checks only run on the 'develop' branch, so you can still iterate and experiment quickly on feature branches.
This merge driver needs to be defined in your local /.git/config file. This is done automatically by a postinstall
script, see package.json and the /scripts folder for more details.
$ git checkout develop $ git pull -r$ git checkout YOUR_BRANCH $ git merge-base HEAD develop $ git reset --soft COMMIT_HASH $ git push -f 1. Rebase your single commit feature branch on origin/develop. $ git rebase origin/develop
Fix any conflicts $ git mergetool
1. Build all source files manually after the rebase is complete and all conflicts have been fixed. $ npm run build
1. Add any newly built files to the previous single commit on your feature branch. $ git add . $ git commit --amend --no-edit
1. Push the rebased feature branch to bitbucket so it can keep track of the merge. $ git push -f
1. Merge the rebased feature branch on develop. $ git checkout develop $ git merge YOUR_BRANCH
1. Push the new commit on origin/develop (this will let bitbucket know the merge is done). $ git push