Skip to content

Commit

Permalink
Merge branch 'release/1.0.0-rc.19'
Browse files Browse the repository at this point in the history
  • Loading branch information
Gery Hirschfeld committed Jun 5, 2015
2 parents 40731c7 + 610fa1b commit 2955a29
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 44 deletions.
14 changes: 6 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,51 +1,50 @@
1.0.0-rc.19 / 2015-06-05
==================

* Fixed app-ts: util.spec.ts reference path
* Fixed README.md typos

1.0.0-rc.18 / 2015-06-05
==================

* Release 1.0.0-rc.18
* Fixed missing templates folder in the package.json
* Updated README.md

1.0.0-rc.17 / 2015-06-05
==================

* Release 1.0.0-rc.17
* Fixed .gitignore at the app generator

1.0.0-rc.16 / 2015-06-05
==================

* Release 1.0.0-rc.16
* Added Pull-Request TypeScript support
* Added filter generator
* Fixed unit test templates

1.0.0-rc.15 / 2015-06-04
==================

* Release 1.0.0-rc.15
* Updated all test cases
* Improved all generators

1.0.0-rc.14 / 2015-05-29
==================

* Release 1.0.0-rc-14
* Update module generator
* Add language property to the package.json
* Add TypeScript possibility into the script-base.js

1.0.0-rc.13 / 2015-05-29
==================

* Release 1.0.0-rc-13
* Update structure: new feature/module structure
* Update gulp: slitted gulp task into files


1.0.0-rc.12 / 2015-05-29
==================

* Release 1.0.0-rc.11
* Fix app/home
* Fix app/layout
* Update app/jshint
Expand All @@ -64,6 +63,5 @@
1.0.0-rc.10 / 2015-05-29
==================

* Release 1.0.0-rc.10
* Update README.md
* New Structure for the main app construction
71 changes: 37 additions & 34 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,48 +62,50 @@ When you generate the project it should run these commands, but if you notice mi
# Templating
Most of the templates will be generated with a standard karma unit/midway test
- `yo hirsch:module myModule`
Adds a new module to your project and also the karma tesjs
Adds a new module to your project
- `yo hirsch:constant myConstant`
Adds a new constant to your project
- `yo hirsch:view myNewView`
Adds a new view template and a controller in the view directory of the chosen module
Adds a new view with a template and a controller in the view directory of the chosen module
- `yo hirsch:service myService`
Adds a new service to the chosen module of your project and also some karma tesjs
Adds a new service to the chosen module of your project
- `yo hirsch:factory myService`
Adds a new service to the chosen module of your project and also some karma tesjs
Adds a new service to the chosen module of your project
- `yo hirsch:filter myFilter`
Adds a new filter to the chosen module of your project and also some karma tesjs
Adds a new filter to the chosen module of your project
- `yo hirsch:directive myDirective`
Adds a new directive to the chosen module of your project and also some karma tesjs
Adds a new directive to the chosen module of your project
# Task Runner
## Building
- `gulp`
Injecjs all JS files into your index.html, generates a css from your less and start a watcher for further changes to restart the process
Injects all JS files into your index.html, generates a css from your less and start a watcher for further changes to restart the process
- `gulp help` or `gulp list`
Lisjs all tasks
Lists all tasks
- `gulp build`
Injecjs all JS files into your index.html and generates a css from your less
Injects all JS files into your index.html and generates a css from your less
- `gulp style`
Expand All @@ -119,26 +121,28 @@ When you generate the project it should run these commands, but if you notice mi
## Servers (default)
Both tasks starts a server for testing your app. It also starts a watcher for your source code, when your source code has been modified the server refreshes the page.
- `gulp serve`
Opens the browser(localhost:3000) with your app and refreshes it when your source code has been modified
This points on your src folder
- `gulp serve-dist`
Opens the browser(localhost:3001) and presents the application of the dist folder
This points on your dist folder
## Testing
- `gulp test`
Runs all your karma tesjs
Runs all your karma tests
- `gulp test:unit`
Runs all your unit karma tesjs
Runs all your unit karma tests
- `gulp test:midway`
Runs all your midway karma tesjs
Runs all your midway karma tests
# Styleguide
Expand All @@ -149,7 +153,7 @@ I use this style guide for my apps:
```
projectRoot/
|
+-- dist/ ( minified app version will placed by gulp here with the task 'gulp dist' )
+-- dist/ (minified app version will placed by gulp here with the task 'gulp dist')
|
+-- src/
| |
Expand All @@ -166,25 +170,24 @@ projectRoot/
| | + core/
| | | |
| | | + config/
| | | | + thirdParty.config.js ( 3rd party modules configurations )
| | | | + angular.config.js ( Defines the AngularJS modules and configures them )
| | | | + run.js (Startup code)
| | | | + thirdParty.config.js (3rd party modules configurations)
| | | | + angular.config.js (Defines the AngularJS modules and configures them)
| | | | + config.module.js
| | | |
| | | + constants/
| | | | + global.constants.js ( Global constant like moment or lodash )
| | | | + global.constants.js (Global constant like moment or lodash)
| | | | + constants.module.js
| | | |
| | | + router/
| | | | + router.config.js ( ui.router middleware )
| | | | + router.constants.js ( ui.router middleware )
| | | | + router.js ( ui.router middleware )
| | | | + router.module.js ( ui.router middleware )
| | | | + router.service.js ( ui.router middleware )
| | | | + router.config.js (ui.router middleware)
| | | | + router.constants.js (ui.router middleware)
| | | | + router.js (ui.router middleware)
| | | | + router.module.js (ui.router middleware)
| | | | + router.service.js (ui.router middleware)
| | | |
| | | + util/
| | | | + util.js ( service that generates the server url for the current environment )
| | | | + evenjs.js ( event bus service )
| | | | + util.js (service that generates the server url for the current environment)
| | | | + events.js (event bus service)
| | | | + logger.js
| | | | + uti.module.js
| | | |
Expand All @@ -205,7 +208,7 @@ projectRoot/
| | | |
| | | + services/
| | | | |
| | | | + <serviceName>.service.js (service or factory)
| | | | + <serviceName>.service.js (ervice or factory)
| | | | + services.module.js
| | | |
| | | + templates/
Expand All @@ -227,8 +230,8 @@ projectRoot/
| | +-- less/
| | +-- medias/
| |
| +-- lib/ ( Bower packages )
| +-- index.html ( "MAIN" - This is the start page of your single-page-application and has some gulp vars )
| +-- lib/ (Bower packages)
| +-- index.html ("MAIN" - This is the start page of your single-page-application and has some gulp vars)
|
+-- test/
| |
Expand All @@ -237,17 +240,17 @@ projectRoot/
| + midway/
| + unit/
|
+-- .bowerrc ( defines the location for the bower_componenjs )
+-- .bowerrc (defines the location for the bower_components)
+-- .gitignore
+-- .jshintrc ( JSHint Syntax definiations )
+-- .jshintrc (JSHint Syntax definitions)
+-- bower.json
+-- gulpfile.js ( Task Runner )
+-- gulpfile.js (Task Runner)
+-- karma-midway.config.js
+-- karma-shared.config.js
+-- karma-unit.config.js
+-- package.json
+-- project.config.js ( Path definitions for gulp )
+-- README.md ( describes the project and how to set it up )
+-- project.config.js (Path definitions for gulp)
+-- README.md (describes the project and how to set it up)
+-- jsd.json (contains type definition dependencies)
```
Expand Down
2 changes: 1 addition & 1 deletion app/templates/test-ts/unit/core/util/util.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/// <reference path="../../../typings/tsd.d.ts"/>
/// <reference path="../../../../typings/tsd.d.ts"/>

module <%= prompts.prefix %>.core.util.test {
'use strict';
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "generator-hirsch",
"version": "1.0.0-rc.18",
"version": "1.0.0-rc.19",
"description": "Yeoman generator for large module-based AngularJS applications with the option to use typescript",
"license": "MIT",
"main": "app/index.js",
Expand Down

0 comments on commit 2955a29

Please sign in to comment.