This repository has been archived by the owner on Apr 5, 2021. It is now read-only.
Releases: a-tokyo/generator-at-angular
Releases · a-tokyo/generator-at-angular
0.3.0
0.2.9
Features:
- Add support for multiple nesting (more than twice) i.e: comp1/comp2/comp3/comp4/directive
- Enhance core directive templates to be imported in
core.module.js
not called - Enhance service directive templates to be imported in
core.module.js
not called - Enhance directive testing templates, service is now added to module using
module.factory(..)
- Enhance service testing templates, service is now added to module using
module.factory(..)
- Unified comment markers
- Docs script now tries to open in chrome then falls back to default browse
- Docs script add linux
xdg-open
command - Add
.editorconfig
file to define and maintain consistent coding styles between different editors and IDEs - Activated copy-webpack-plugin in
config/global.js
- Add a check not to document duplicates (since theyre supposed to be documented)
config/global.js
,webpack.config.js
,karma.conf.js
were updated to use const and let instead of var and using strict to support older versions like node 4 and 5.
Core Enhancements:
- Unified Markers
- Make use of es6 to enhance flow and ensure data integrity
Migration:
-
In your
core.module.js
add the following lines: (p.s: other comment lines in this file are no longer needed)// Add directive imports above // Add service imports above // Add directive to module above // Add service to module above
-
Update the docs script in
package.json
to:"docs": "open -a \"Google Chrome\" docs/docs.html || open docs/docs.html || xdg-open docs/docs.html",
-
In
index.routes.js
add the following lines: (p.s: other comment lines in this file are no longer needed)// Add new routes above // Add new states above
0.2.8
0.2.7
0.2.7
- Features:
- Add auto-generated documentation feature
- enhanced testing templates
- enhanced performance
- Migration:
- In your index.components.js
- change the line:
/* Add New COMPONENTS Above */
to// Add new components above
- change the line:
- copy the folder
generators/app/_docs
to your root directory asdocs
- In your package.json file add the script:
"docs": "open docs/docs.html",
- In your index.components.js
For more details regarding versions and migration check the wiki