-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Kevin Van Lierde edited this page Dec 11, 2021
·
15 revisions
This is the Boilerplate to create and update JSTransformers.
To create a new JSTransformer:
- Download Boilerplate with git
git clone https://github.com/jstransformers/boilerplate.git
cd boilerplate
- Update module name in
package.json
andREADME.md
- Create a new GitHub repository without initializing with a
README.md
- Push up your new JSTransformer to GitHub
git init
git remote add newjstransformer git@github.com:jstransformers/jstransformer-NAMEHERE.git
git push newjstransformer master
- Activate Travis CI
- Let the fun begin!
To update a transform to the latest boilerplate:
- Create a new branch
git checkout -b boilerplate
- Bring in the latest changes from Boilerplate
git pull https://github.com/jstransformers/boilerplate.git master
-
Manually resolve merge conflicts
-
Run tests to ensure everything is working
npm install
npm test
- Commit your changes and push them up to the
boilerplate
remote
git add -A
git commit
git push origin boilerplate
- Create a Pull Request with the boilerplate update, and dance! 💃