If you've found an issue, please submit it in the issues with a link to a jsbin that demonstrates the issue (clone this template)
If you would like to add functionality, please submit an issue first to make sure it's a direction we want to take.
When submitting a Pull Request please submit it to the master
branch.
Please do the following:
- Follow the existing styles (we have an
.editorconfig
file) - Document your changes in the README
- Create an example that demonstrates your changes so people can see how your changes work
git checkout master
- run
npm install
- change your directory to the demo and test your code using
npm run start
which runs webpack and hosts the app locally athttp://localhost:8080
- Write your code in ES6 goodness :-)
- run
npm run build
in both the root directory and the demo directory - commit your changes
- run
- update
README.md
,CHANGELOG.md
, and do any other final polishing to prepare for publishing- git commit changes
Note: There's a symlink for dist
in the demo
folders. Just FYI...
Another Note: Due to some inconsistencies with angular versions, always use require('angular-fix')
rather than simply require('angular')
There are actually two package.json
files. One for the library and one for the demo. There are also two webpack configs for each of these (one for dev config and the other for the uglifying). Running npm run build
in both folders will run webpack with each of those configs.
In the demo, you can run npm run start
to start the development server.
grunt deploy
: Publishes the demo to gh-pages (note, only publishes current state of the demo, so make sure that you build that folder before you run this).
- Tests! We don't have any... But we do have the scaffolding for them. See the top of the
formly-field.js
file for an example of how to hook those up. - Any of the issues in GitHub, let us know if you have some time to fix one. Especially those labeld PR Please!
- Examples, examples, examples! The website is driven by examples. Please follow the instructions in this file for what you need to do!