Skip to content

Commit 761d4ae

Browse files
committed
Conflicts: app/index.js app/templates/_package.json app/templates/client/app/app(sass).scss test/fixtures/bower.json test/fixtures/package.json
2 parents fb523d7 + e6a3fe9 commit 761d4ae

170 files changed

Lines changed: 4685 additions & 1944 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* text=auto
1+
* text eol=lf

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ demo
55
.idea
66
.DS_Store
77
release.txt
8-
fixtures/bower.json
9-
fixtures/package.json
8+
test/fixtures/bower.json
9+
test/fixtures/package.json

.travis.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,26 @@
1+
sudo: false
12
language: node_js
23
node_js:
34
- '0.12'
5+
env:
6+
global:
7+
- SAUCE_USERNAME=fullstack_ci
8+
- SAUCE_ACCESS_KEY=1a527ca6-4aa5-4618-86ce-0278bf158cbf
49
before_install:
10+
- ./scripts/sauce_connect_setup.sh
511
- gem update --system
612
- gem install sass --version "=3.3.7"
713
- npm install -g bower grunt-cli
814
services: mongodb
15+
cache:
16+
directories:
17+
- node_modules
18+
- test/fixtures/node_modules
19+
- test/fixtures/bower_components
920
notifications:
1021
webhooks:
1122
urls:
12-
- https://webhooks.gitter.im/e/911ed472ef19bcb27858
23+
- secure: "DhPNqHXuUIeIGE9Ek3+63qhco+4MozXqMZL6dAKoq1MHQ2RAPO6SYIkUYZqDnuWYlwWao2EnTYcDREivIV/m/RnkP9bKlpX/n/RNJe+X4bwFaCU55fVKgkAFn3takSBC5SVoeTWHdWu3WhhqSdioWjT7mlE1wtt/RanSMb5Id8M="
1324
on_success: change # options: [always|never|change] default: always
1425
on_failure: always # options: [always|never|change] default: always
1526
on_start: false # default: false

CHANGELOG.md

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,36 @@
1+
<a name="v2.1.1"></a>
2+
## v2.1.1 (2015-07-29)
3+
4+
5+
#### Bug Fixes
6+
7+
* **app:** use 0.0.0.0 for default IP ([2cd1c24d](http://github.com/DaftMonk/generator-angular-fullstack/commit/2cd1c24d2224e46fa68f8da834e86ac3ed80de8e))
8+
9+
<a name="v2.1.0"></a>
10+
## v2.1.0 (2015-07-15)
11+
12+
13+
#### Bug Fixes
14+
15+
* **app:** missing event.preventDefault ([c90d7621](http://github.com/DaftMonk/generator-angular-fullstack/commit/c90d7621b8f17f6e74f8a59f02fd78a8fcf628aa))
16+
* **demo:** include bootstrap in demo ([19e21331](http://github.com/DaftMonk/generator-angular-fullstack/commit/19e213319ecdf27041948133fe4c9642184133d8))
17+
* **express:** support new options of updated connect-mongo ([727d6616](http://github.com/DaftMonk/generator-angular-fullstack/commit/727d661642441d5ee76e4fba9ebcbba134e43058))
18+
* **jshint:** Removed 'regexp' from server and client jshintrc (I couldn't find it in the docs ([e02f0940](http://github.com/DaftMonk/generator-angular-fullstack/commit/e02f09405de2423d7be92e5ca0f9be740becb693))
19+
* **travis:**
20+
* Remove unicode stuff from file creation test expectations, and add nodejs 0.12 t ([bf9a9737](http://github.com/DaftMonk/generator-angular-fullstack/commit/bf9a9737721d1ea72f3f7b9689d6781e78b4c606))
21+
* Add nodejs 12 to travis.yml ([acecde9d](http://github.com/DaftMonk/generator-angular-fullstack/commit/acecde9d0e02b579d4b0a2a33d7c0f24067258ec))
22+
23+
24+
#### Features
25+
26+
* **app:**
27+
* additional app generator option for ES6 preprocessing using babel ([cbb06a48](http://github.com/DaftMonk/generator-angular-fullstack/commit/cbb06a48e28c594a53f61e49857cbb711bd74ce9))
28+
* additional app generator option for ES6 preprocessing using babel ([bc03aba9](http://github.com/DaftMonk/generator-angular-fullstack/commit/bc03aba9ee82812f29f4ec9f86daf3b8d1c531b8))
29+
* add mongodb error handling to quit app if unable to connect with mongodb server ([31bee73c](http://github.com/DaftMonk/generator-angular-fullstack/commit/31bee73c1085c3a3f3c8e4e6f1f45db28fa9f94b))
30+
* **build:** add gitter webhook for travis ([6b88efdf](http://github.com/DaftMonk/generator-angular-fullstack/commit/6b88efdfb1d6b3b2dcbf47e0517bfc5117247d12))
31+
* **gen:** Remove global jQuery dependency ([a9230ca2](http://github.com/DaftMonk/generator-angular-fullstack/commit/a9230ca2ba1b2727abdc466a11096ec513fd7085))
32+
* **readme:** add david-dm badge & move badges to new line ([f8f32f4f](http://github.com/DaftMonk/generator-angular-fullstack/commit/f8f32f4f67938a5f7416e2a07d7b24d71a12585f))
33+
134
<a name="v2.0.13"></a>
235
### v2.0.13 (2014-08-29)
336

@@ -549,4 +582,4 @@ Closes #18, #17
549582

550583
#### Features
551584

552-
* **gen:** include MongoDB as an option When selected, sets up database with Mongoose. Repl ([280cc84d](http://github.com/DaftMonk/generator-angular-fullstack/commit/280cc84d735c60b1c261540dceda34dd7f91c93c), closes [#2](http://github.com/DaftMonk/generator-angular-fullstack/issues/2))
585+
* **gen:** include MongoDB as an option When selected, sets up database with Mongoose. Repl ([280cc84d](http://github.com/DaftMonk/generator-angular-fullstack/commit/280cc84d735c60b1c261540dceda34dd7f91c93c), closes [#2](http://github.com/DaftMonk/generator-angular-fullstack/issues/2))

Gruntfile.js

Lines changed: 33 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ var markdown = require('marked');
33
var semver = require('semver');
44
var _s = require('underscore.string');
55
var shell = require('shelljs');
6-
var process = require('child_process');
6+
var child_process = require('child_process');
77
var Q = require('q');
88
var helpers = require('yeoman-generator').test;
99
var fs = require('fs-extra');
@@ -58,6 +58,11 @@ module.exports = function (grunt) {
5858
},
5959
all: ['Gruntfile.js', '*/index.js']
6060
},
61+
env: {
62+
fast: {
63+
SKIP_E2E: true
64+
}
65+
},
6166
mochaTest: {
6267
test: {
6368
src: [
@@ -139,6 +144,7 @@ module.exports = function (grunt) {
139144
bootstrap: true,
140145
uibootstrap: true,
141146
mongoose: true,
147+
testing: 'jasmine',
142148
auth: true,
143149
oauth: ['googleAuth', 'twitterAuth'],
144150
socketio: true
@@ -227,12 +233,21 @@ module.exports = function (grunt) {
227233

228234
shell.cd('test/fixtures');
229235
grunt.log.ok('installing npm dependencies for generated app');
230-
process.exec('npm install --quiet', {cwd: '../fixtures'}, function (error, stdout, stderr) {
236+
child_process.exec('npm install --quiet', {cwd: '../fixtures'}, function (error, stdout, stderr) {
231237

232238
grunt.log.ok('installing bower dependencies for generated app');
233-
process.exec('bower install', {cwd: '../fixtures'}, function (error, stdout, stderr) {
234-
shell.cd('../../');
235-
done();
239+
child_process.exec('bower install', {cwd: '../fixtures'}, function (error, stdout, stderr) {
240+
241+
if(!process.env.SAUCE_USERNAME) {
242+
grunt.log.ok('running npm run update-webdriver');
243+
child_process.exec('npm run update-webdriver', function() {
244+
shell.cd('../../');
245+
done();
246+
});
247+
} else {
248+
shell.cd('../../');
249+
done();
250+
}
236251
})
237252
});
238253
});
@@ -242,6 +257,19 @@ module.exports = function (grunt) {
242257
'installFixtures',
243258
'mochaTest'
244259
]);
260+
grunt.registerTask('test', function(target, option) {
261+
if (target === 'fast') {
262+
grunt.task.run([
263+
'env:fast'
264+
]);
265+
}
266+
267+
return grunt.task.run([
268+
'updateFixtures',
269+
'installFixtures',
270+
'mochaTest'
271+
])
272+
});
245273

246274
grunt.registerTask('demo', [
247275
'clean:demo',

0 commit comments

Comments
 (0)