Skip to content

Commit 03e0dfa

Browse files
merge canary
1 parent 7d30f2e commit 03e0dfa

File tree

204 files changed

+3058
-1329
lines changed

Some content is hidden

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

204 files changed

+3058
-1329
lines changed

Diff for: .babelrc

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"presets": ["es2015"],
3+
"plugins": ["transform-class-properties"]
4+
}

Diff for: .gitignore

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
node_modules
22
bower_components
3-
test/temp
3+
/generators/*
4+
/test/*
45
demo
56
.idea
67
.DS_Store
7-
release.txt
8-
test/fixtures/bower.json
9-
test/fixtures/package.json
8+
release.txt

Diff for: .npmignore

+8
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
11
angular-fullstack-deps
22
test
33
.idea
4+
src
5+
scripts
6+
ISSUE_TEMPLATE.md
7+
PULL_REQUEST_TEMPLATE.md
8+
.travis.yml
9+
gulpfile.babel.js
10+
Gruntfile.js
11+
.jshintrc

Diff for: CHANGELOG.md

+151
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,154 @@
1+
<a name="3.6.1"></a>
2+
# [3.6.1](https://github.com/angular-fullstack/generator-angular-fullstack/compare/3.6.0...v3.6.1) (2016-04-23)
3+
4+
5+
### Bug Fixes
6+
7+
* **package:** revert to Grunt 0.4.5 if user chooses Grunt ([1cc91a3](https://github.com/angular-fullstack/generator-angular-fullstack/commit/1cc91a3)), closes [#1815](https://github.com/angular-fullstack/generator-angular-fullstack/issues/1815)
8+
9+
10+
11+
<a name="3.6.0"></a>
12+
# [3.6.0](https://github.com/angular-fullstack/generator-angular-fullstack/compare/3.5.0...v3.6.0) (2016-04-21)
13+
14+
15+
### Bug Fixes
16+
17+
* **gen:heroku:** allow for grunt or gulp ([954baa4](https://github.com/angular-fullstack/generator-angular-fullstack/commit/954baa4))
18+
* **gen:openshift:** allow for grunt or gulp ([2f1a229](https://github.com/angular-fullstack/generator-angular-fullstack/commit/2f1a229))
19+
* **gulp:** build images before rev-replace ([4139694](https://github.com/angular-fullstack/generator-angular-fullstack/commit/4139694))
20+
* **gulp:copy:constant:** fix output dir ([a5e31cf](https://github.com/angular-fullstack/generator-angular-fullstack/commit/a5e31cf)), closes [#1748](https://github.com/angular-fullstack/generator-angular-fullstack/issues/1748)
21+
* **gulp:inject:** prevent `'inject:css'` from showing up twice ([09b4f01](https://github.com/angular-fullstack/generator-angular-fullstack/commit/09b4f01))
22+
* **gulp:inject:css:** remove leading `/` ([6de6272](https://github.com/angular-fullstack/generator-angular-fullstack/commit/6de6272))
23+
* **gulp:jshint:** include jshint alongside gulp-jshint ([978f6ba](https://github.com/angular-fullstack/generator-angular-fullstack/commit/978f6ba))
24+
* **gulp:serve:**
25+
* add `env:all` ([27531fb](https://github.com/angular-fullstack/generator-angular-fullstack/commit/27531fb)), closes [#1779](https://github.com/angular-fullstack/generator-angular-fullstack/issues/1779)
26+
* remove extra comma ([d9d9f62](https://github.com/angular-fullstack/generator-angular-fullstack/commit/d9d9f62))
27+
* **gulp:styles:** fix styles task for plain CSS ([dc72c33](https://github.com/angular-fullstack/generator-angular-fullstack/commit/dc72c33)), closes [#1747](https://github.com/angular-fullstack/generator-angular-fullstack/issues/1747)
28+
* **gulp:test:client:** move around some `'tsd'` tasks ([86c7510](https://github.com/angular-fullstack/generator-angular-fullstack/commit/86c7510))
29+
* **gulp:wiredep:** copy `exclude` array code from Grunt ([2997e34](https://github.com/angular-fullstack/generator-angular-fullstack/commit/2997e34)), closes [#1739](https://github.com/angular-fullstack/generator-angular-fullstack/issues/1739)
30+
* **livereload:** ignore api routes and specific non-html files ([c6a396b](https://github.com/angular-fullstack/generator-angular-fullstack/commit/c6a396b)), closes [#1636](https://github.com/angular-fullstack/generator-angular-fullstack/issues/1636) [#1764](https://github.com/angular-fullstack/generator-angular-fullstack/issues/1764)
31+
* **server:user:spec:** replace `context` with `describe` ([5716660](https://github.com/angular-fullstack/generator-angular-fullstack/commit/5716660))
32+
* **ts:**
33+
* exclude ui-router.mock.ts from tsconfig.client.test.json if using ngroute ([3e40776](https://github.com/angular-fullstack/generator-angular-fullstack/commit/3e40776))
34+
* fix typo of gulp's typescript test configuration file ([023b261](https://github.com/angular-fullstack/generator-angular-fullstack/commit/023b261))
35+
* **user:** fix email and password validation ([474a3a1](https://github.com/angular-fullstack/generator-angular-fullstack/commit/474a3a1))
36+
37+
### Features
38+
39+
* **GitHub:** add issue and PR templates ([79b1db7](https://github.com/angular-fullstack/generator-angular-fullstack/commit/79b1db7))
40+
* **gulp:**
41+
* add serve:debug, add gulp-node-inspector ([f6eb26d](https://github.com/angular-fullstack/generator-angular-fullstack/commit/f6eb26d))
42+
* port `grunt buildcontrol` tasks over to gulp ([3221678](https://github.com/angular-fullstack/generator-angular-fullstack/commit/3221678))
43+
44+
45+
46+
<a name="3.5.0"></a>
47+
## [3.5.0](https://github.com/angular-fullstack/generator-angular-fullstack/compare/3.4.2...v3.5.0) (2016-03-20)
48+
49+
50+
### Notable Changes
51+
52+
A lot of various dependencies were updated
53+
54+
55+
### Bug Fixes
56+
57+
* **gen:**
58+
* import exec ([4f3f9dc](https://github.com/angular-fullstack/generator-angular-fullstack/commit/4f3f9dc))
59+
* move some insight code ([7be23bd](https://github.com/angular-fullstack/generator-angular-fullstack/commit/7be23bd))
60+
* shim determineAppname, use name argument if provided ([bdaeb5a](https://github.com/angular-fullstack/generator-angular-fullstack/commit/bdaeb5a)), closes [#1682](https://github.com/angular-fullstack/generator-angular-fullstack/issues/1682)
61+
* **grunt:** update rev-ed images in css as well as js ([5a24b83](https://github.com/angular-fullstack/generator-angular-fullstack/commit/5a24b83)), closes [#977](https://github.com/angular-fullstack/generator-angular-fullstack/issues/977)
62+
* **grunt:filerev:** don't rev assets/fonts/ ([5228536](https://github.com/angular-fullstack/generator-angular-fullstack/commit/5228536))
63+
* **gulp:** add inject:tsconfig to inject task ([bb045c5](https://github.com/angular-fullstack/generator-angular-fullstack/commit/bb045c5))
64+
* **gulp:build:** exclude local.env.sample.js ([429d5f3](https://github.com/angular-fullstack/generator-angular-fullstack/commit/429d5f3)), closes [#1570](https://github.com/angular-fullstack/generator-angular-fullstack/issues/1570)
65+
* **jshint:** capitalize MongoStore ([310cb22](https://github.com/angular-fullstack/generator-angular-fullstack/commit/310cb22))
66+
* **model:user:** add missing `return` statements ([f6ca289](https://github.com/angular-fullstack/generator-angular-fullstack/commit/f6ca289))
67+
68+
<a name="3.4.2"></a>
69+
## [3.4.2](https://github.com/angular-fullstack/generator-angular-fullstack/compare/3.4.1...v3.4.2) (2016-03-12)
70+
71+
72+
### Features
73+
74+
* **gen:** add Insight stat tracker ([fdf35b3](https://github.com/angular-fullstack/generator-angular-fullstack/commit/fdf35b3))
75+
76+
77+
<a name="3.4.1"></a>
78+
## [3.4.1](https://github.com/angular-fullstack/generator-angular-fullstack/compare/3.4.0...v3.4.1) (2016-03-11)
79+
80+
81+
### Bug Fixes
82+
83+
* **gen:** shim determineAppname, use name argument if provided ([bdaeb5a](https://github.com/angular-fullstack/generator-angular-fullstack/commit/bdaeb5a)), closes [#1682](https://github.com/angular-fullstack/generator-angular-fullstack/issues/1682)
84+
* **grunt:** update rev-ed images in css as well as js ([5a24b83](https://github.com/angular-fullstack/generator-angular-fullstack/commit/5a24b83)), closes [#977](https://github.com/angular-fullstack/generator-angular-fullstack/issues/977)
85+
* **grunt:filerev:** don't rev assets/fonts/ ([5228536](https://github.com/angular-fullstack/generator-angular-fullstack/commit/5228536))
86+
* **gulp:** add inject:tsconfig to inject task ([bb045c5](https://github.com/angular-fullstack/generator-angular-fullstack/commit/bb045c5))
87+
* **gulp:build:** exclude local.env.sample.js ([429d5f3](https://github.com/angular-fullstack/generator-angular-fullstack/commit/429d5f3)), closes [#1570](https://github.com/angular-fullstack/generator-angular-fullstack/issues/1570)
88+
89+
90+
<a name="3.4.0"></a>
91+
# [3.4.0](https://github.com/angular-fullstack/generator-angular-fullstack/compare/3.3.0...v3.4.0) (2016-03-09)
92+
93+
94+
### Notable Changes
95+
96+
* Updated Angular to 1.5 (the main page now uses an Angular 1.5 component)
97+
* Updated generator-ng-component to ~0.2.1. Angular subgenerators will now generate ES6 code and TypeScript code.
98+
* Updated angular-bootstrap to ~1.1.2
99+
* Updated bluebird to ^3.3.3, and set mongoose to use bluebird instead of mpromise. This allows us to remove promisification of mongoose APIs.
100+
* Updated PhantomJS to ^2.1.4
101+
102+
### Bug Fixes
103+
104+
* **deps:**
105+
* always include grunt-babel if grunt chosen ([7ba7d1f](https://github.com/angular-fullstack/generator-angular-fullstack/commit/7ba7d1f))
106+
* include tslint ([543d784](https://github.com/angular-fullstack/generator-angular-fullstack/commit/543d784))
107+
* **gen:** fix Stylus & Sass extensions ([37d6c46](https://github.com/angular-fullstack/generator-angular-fullstack/commit/37d6c46)), closes [#1609](https://github.com/angular-fullstack/generator-angular-fullstack/issues/1609)
108+
* **grunt:babel:** exclude local.env.sample.js ([3e0518b](https://github.com/angular-fullstack/generator-angular-fullstack/commit/3e0518b))
109+
* **grunt:injector:** sort js/ts modules ([fe6aba2](https://github.com/angular-fullstack/generator-angular-fullstack/commit/fe6aba2))
110+
* **gulp:** add inject:tsconfig, change script watcher ([978e07e](https://github.com/angular-fullstack/generator-angular-fullstack/commit/978e07e))
111+
* **gulp:build:**
112+
* add copy:fonts task ([27f1cc8](https://github.com/angular-fullstack/generator-angular-fullstack/commit/27f1cc8))
113+
* fix building when using Jade ([687cd09](https://github.com/angular-fullstack/generator-angular-fullstack/commit/687cd09))
114+
* **gulp:ts:** fix gulp not using latest typescript config after changed ([6a6afd9](https://github.com/angular-fullstack/generator-angular-fullstack/commit/6a6afd9))
115+
* **gulp:tslint:** exclude both typings and test_typings ([2e83bd1](https://github.com/angular-fullstack/generator-angular-fullstack/commit/2e83bd1))
116+
* **gulp:watch:** re-compile jade to .tmp ([18412a7](https://github.com/angular-fullstack/generator-angular-fullstack/commit/18412a7))
117+
* **server:oauth:** fix sequelize syntax ([221f7a4](https://github.com/angular-fullstack/generator-angular-fullstack/commit/221f7a4)), closes [#1654](https://github.com/angular-fullstack/generator-angular-fullstack/issues/1654)
118+
* **tslint:** fix no-trailing-comma ([d7cd347](https://github.com/angular-fullstack/generator-angular-fullstack/commit/d7cd347))
119+
120+
### Features
121+
122+
* **gen:** add 'es6' to generator-ng-component filters ([65530b3](https://github.com/angular-fullstack/generator-angular-fullstack/commit/65530b3))
123+
124+
125+
<a name="3.3.0"></a>
126+
# [3.3.0](https://github.com/angular-fullstack/generator-angular-fullstack/compare/3.2.0...v3.3.0) (2016-02-02)
127+
128+
129+
### Notable Changes
130+
131+
* TypeScript support
132+
* Gulp support
133+
134+
### Features
135+
136+
* **client:** move navbar and footer directive usage to around the router view directive in index.html ([c429adb](https://github.com/angular-fullstack/generator-angular-fullstack/commit/c429adb))
137+
138+
### Bug Fixes
139+
140+
* **gulp:**
141+
* make coverage tests work ([d3fd0c0](https://github.com/angular-fullstack/generator-angular-fullstack/commit/d3fd0c0))
142+
* exclude constant file from lint:scripts:client ([103db11](https://github.com/angular-fullstack/generator-angular-fullstack/commit/103db11)), closes [#1587](https://github.com/angular-fullstack/generator-angular-fullstack/issues/1587)
143+
* **grunt:**
144+
* fix wrong tslint vs jshint ([15f60db](https://github.com/angular-fullstack/generator-angular-fullstack/commit/15f60db))
145+
* exclude constant file from jshint:all ([f4e590f](https://github.com/angular-fullstack/generator-angular-fullstack/commit/f4e590f))
146+
* **babel:** don't try to transpile JSON files ([885438f](https://github.com/angular-fullstack/generator-angular-fullstack/commit/885438f)), closes [#1561](https://github.com/angular-fullstack/generator-angular-fullstack/issues/1561)
147+
* **build:** don't copy local.env.sample ([be5a1f4](https://github.com/angular-fullstack/generator-angular-fullstack/commit/be5a1f4)), closes [#1570](https://github.com/angular-fullstack/generator-angular-fullstack/issues/1570)
148+
* **gen:test:** make sure we overwrite conflicts, add missing options from mock prompt options ([d6aeacf](https://github.com/angular-fullstack/generator-angular-fullstack/commit/d6aeacf))
149+
* **npm:** make sure to include mocha for server tests ([6c4e926](https://github.com/angular-fullstack/generator-angular-fullstack/commit/6c4e926))
150+
151+
1152
<a name="3.3.0-beta.0"></a>
2153
# [3.3.0-beta.0](https://github.com/DaftMonk/generator-angular-fullstack/compare/3.2.0...v3.3.0-beta.0) (2016-01-06)
3154

Diff for: Gruntfile.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
var shell = require('shelljs');
44
var child_process = require('child_process');
55
var Q = require('q');
6-
var helpers = require('yeoman-generator').test;
6+
var helpers = require('yeoman-test');
77
var fs = require('fs');
88
var path = require('path');
99

@@ -87,7 +87,7 @@ module.exports = function (grunt) {
8787
curly: false,
8888
node: true
8989
},
90-
all: ['Gruntfile.js', '*/index.js']
90+
all: ['Gruntfile.js', 'src/**/*.js']
9191
},
9292
env: {
9393
fast: {
@@ -276,8 +276,8 @@ module.exports = function (grunt) {
276276
fs.writeFileSync(path.resolve(d), JSON.stringify(json, null, 2));
277277
};
278278

279-
processJson('app/templates/_package.json', dest + 'package.json');
280-
processJson('app/templates/_bower.json', dest + 'bower.json');
279+
processJson('templates/app/_package.json', dest + 'package.json');
280+
processJson('templates/app/_bower.json', dest + 'bower.json');
281281
});
282282

283283
grunt.registerTask('installFixtures', 'install package and bower fixtures', function() {

Diff for: ISSUE_TEMPLATE.md

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Item | Version
2+
----- | -----
3+
generator-angular-fullstack | x.x.x
4+
Node | x.x.x
5+
npm | x.x.x
6+
Operating System | OS X 10 / Windows 10 / Ubuntu 15.10 / etc
7+
etc | etc
8+
9+
Item | Answer
10+
----- | -----
11+
Transpiler | Babel / TypeScript
12+
Markup | HTML / Jade
13+
CSS | CSS / LESS / SCSS / Stylus
14+
Router | ngRoute / ui-router
15+
Build Tool | Grunt / Gulp
16+
Client Tests | Jasmine / Mocha
17+
DB | MongoDB / SQL
18+
Auth | Y / N
19+
etc | etc

Diff for: PULL_REQUEST_TEMPLATE.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
- [ ] I have read the [Contributing Documents](https://github.com/DaftMonk/generator-angular-fullstack/blob/master/contributing.md)
2+
- [ ] My commit(s) follow the [AngularJS commit message guidelines](https://docs.google.com/document/d/1QrDFcIiPjSLDn3EL15IJygNPiHORgU1_OOAqWjiDU5Y/)
3+
- [ ] The generator's tests pass (`generator-angular-fullstack$ npm test`)

Diff for: app/templates/client/app/main/main.controller.spec.js

-33
This file was deleted.

Diff for: app/templates/server/api/user(auth)/user.model.spec(mongooseModels).js

-79
This file was deleted.

Diff for: contributing.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@ Additionally for this generator:
99
* When submitting a PR, make sure that the commit messages match the [AngularJS conventions][commit-message-format] (see below).
1010
* When submitting a bugfix, write a test that exposes the bug and fails before applying your fix. Submit the test alongside the fix.
1111
* When submitting a new feature, add tests that cover the feature.
12+
* Open Issues marked with the [EASY](https://github.com/angular-fullstack/generator-angular-fullstack/issues?q=is%3Aopen+is%3Aissue+label%3AEasy) label are believed to be easy changes, and would be good Issues to tackle for new contributors.
1213

1314
To run the generator:
1415
1. Clone it and `cd` to its root
1516
2. `npm install`
16-
3. `npm link` (tells NPM to look to your own version)
17-
4. `yo angular-fullstack` as normal. It should run from your cloned version rather than the one downloaded from NPM.
17+
3. `npm link` (tells npm to look to your own version)
18+
4. `yo angular-fullstack` as normal. It should run from your cloned version rather than the one downloaded from npm.
1819

1920
## Git Commit Guidelines
2021

Diff for: endpoint/index.js

-9
This file was deleted.

0 commit comments

Comments
 (0)