ember-addon-starterkit
Starter kit for creating and publishing new Ember addons with all batteries included.
Installation
ember install ember-addon-starterkit
Update yuidoc.json to use ember themes
In order to use the installed YUIDoc ember theme we need to update the yuidoc.json with the following new options:
Add the following to the options section
"enabledEnvironments": "development""production" "themedir": "node_modules/yuidoc-ember-theme" "helpers": "node_modules/yuidoc-ember-theme/helpers/helpers.js"
Update config/release.js to push demo app to gh-pages branch
If you want to keep your documentation/demo updated you need to automate that part using the ember-cli-release config.
Add the following to the config/release.js file created by the addon.
/* jshint node:true */var execSync = execSync; // For details on each option run `ember help release`moduleexports = publish: true { // Publish dummy app with docs to gh-pages ; ; }; { console; // eslint-disable-line var output = ; console; // eslint-disable-line}
Usage
Once you have your addon code ready to be published with all the documentation added, You just have to issue only one command:
ember release
For accepting all commands with an yes
ember release --yes
Features
- Release Automation
- npm Package Publishing
- Documentation
- Demo Application
- Test helpers
- Code coverage
Batteries
ember-cli-release
Ember CLI addon that defines a release command for bumping the version of your app or addon. It's a streamlined alternative to the npm version command, with a number of additional advantages. ember-cli-release
ember-cli-github-pages
Easily manage gh-pages of your ember-cli addon ember-cli-github-pages
ember-cli-yuidoc
This is an ember-cli addon for generate html documentation from YUIDoc comments in the source code. ember-cli-yuidoc
yuidoc-ember-theme
An EmberJS based YUIDoc theme yuidoc-ember-theme
ember-cli-code-coverage
Code coverage for ember apps using Istanbul Find more info here
ember-native-dom-helpers
Test helpers for your integration tests that fire native events Find more info here
coveralls
Coveralls.io support. Get the great coverage reporting of coveralls.io and add a cool coverage button ( like the one above ) to your README. Find more info here
Addon Demo
The demo application for this addon is published into gh-pages from the dummy app inside and is available here
- Ember.js v3.12 or above
- Ember CLI v2.13 or above
- Node.js v10 or above
Installation
ember install ember-addon-starterkit
Usage
[Longer description of how to use the addon in apps.]
Contributing
See the Contributing guide for details.
License
This project is licensed under the MIT License.