This repository has been archived by the owner on Apr 5, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Changelog
Ahmed Tarek edited this page Feb 10, 2017
·
7 revisions
- Features:
- Fix directive html import spelling bug
- docs.json is now using 2 space indentation to ease git merging
-
Features:
- Add Remove feature that removes any generated item along with its links and docs.
- Update Docs feature to use JSON
- Docs now has it's own server
-
Migration:
- Update the docs script in
package.json
to:"docs": "node_modules/node-static/bin/cli.js ./docs -i docs.html -p 8081"
- Run
npm install --save node-static
- In your
docs.js
file extract the docs var and write in a json file called docs.json - Copy the new docs files from the repo and overwrite your old ones, and paste the docs.json you just created.
- Update the docs script in
- Core Enhancements:
- Optimized generator flow
- Features:
- Enhance --dreidev option templates
- Features:
- add --d alias for --default
- enhance --dreidev option
- Features:
- Removed some unused dependancies
- Features:
- Add --default option to create an app with the defaults
- Add --dreidev option for DREIDEV to create their applications easily with one line
-
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
-
-
Features:
- enhance docs
- fix nested service name bug when dashes are used
-
Migration: NONE
-
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
- Features:
- enhanced testing templates
- add test script to run tests once (to be used by CI)
- add tests script to run tests in
watch
mode - removed 'use strict';
- Migration:
- update your package.json scripts with the following scripts:
"test": "karma start --log-level debug --single-run", "tests": "karma start --log-level debug"
-
Features:
- Added test configurations
- Added simple test templates
- Add copy webpack plugin to copy static files to the server
- Updated packages
-
Migration:
- Update your package dependancies with the following:
"angular-mocks": "^1.6.1", "copy-webpack-plugin": "^4.0.1", "jasmine": "^2.2.1", "jasmine-core": "^2.2.0", "karma": "^0.13.2", "karma-jasmine": "^0.3.5", "karma-phantomjs2-launcher": "^0.5.0", "karma-webpack": "^1.6.0"
- Copy the following files to your already generated app:
src/webpack/global.js
,karma.config.js
,test-context.js
- Update your package dependancies with the following:
Built with ❤️ by Tokyo