Skip to content

Commit

Permalink
release 0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Swiip committed Oct 8, 2014
1 parent 7603319 commit ec99a88
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,13 @@ I tried many configurations for Protractor without success, any hint would be ap

## Changelog

### 0.6.0

* **Breaking Change** Directory structure evolved to the recommendations from the Angular team. *Do not run this version of the generator on an existing project generated with a previous version*
* Isolation of the proxy middleware, some fixes and disabling by default
* Minifying HTML (index, not the partials)
* Thanks to @intellix, @marani and special thanks to @zckrs wich join me as commiter

### 0.5.1

* Restore CSS wiring with wiredep
Expand Down
6 changes: 5 additions & 1 deletion app/templates/gulp/proxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,11 @@ var proxy = httpProxy.createProxyServer({
target: proxyTarget
});

proxy.on('error', function(error) {
proxy.on('error', function(error, req, res) {
res.writeHead(500, {
'Content-Type': 'text/plain'
});

console.error(chalk.red('[Proxy]'), error);
});

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-gulp-angular",
"version": "0.5.1",
"version": "0.6.0",
"description": "Yeoman generator for Gulp & Angular",
"license": "MIT",
"main": "app/index.js",
Expand Down

0 comments on commit ec99a88

Please sign in to comment.