Skip to content

Updated IIS doc #2264

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 117 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
117 commits
Select commit Hold shift + click to select a range
ea1caf2
Merge pull request #2081 from angular-fullstack/canary
Awk34 Jul 22, 2016
d98e2dd
docs(getting-started): add getting-started/index.md
Awk34 Jul 27, 2016
6ae049c
docs(readme): add link to getting started
Awk34 Jul 27, 2016
5d7caf8
docs(readme): simplify usage section
Awk34 Jul 27, 2016
f11336d
chore(package): pin sequelize to a higher version
Awk34 Jul 27, 2016
fe34e78
docs(readme): dont' specify exact node versions in generated readme
Awk34 Jul 27, 2016
13f20ba
docs(getting-started): add step1-overview (stub)
Awk34 Jul 27, 2016
13a4e4f
docs(getting-started): write out the rest of the getting started page
Awk34 Jul 28, 2016
065194d
docs(readme): update configurations
Awk34 Aug 2, 2016
a11c986
docs(readme): add note about generator-ng-component
Awk34 Aug 2, 2016
23dc334
docs(index): add note about generator-ng-component
Awk34 Aug 2, 2016
e415041
ci(circle): comment out sauce-connect
Awk34 Aug 2, 2016
649470f
Merge pull request #2095 from angular-fullstack/chore/sqli
Awk34 Aug 2, 2016
318a04f
chore(package): update mocha to version 3.0.0 (#2102)
greenkeeperio-bot Aug 2, 2016
a8990d8
chore(package): update gulp-mocha to version 3.0.0 (#2105)
greenkeeperio-bot Aug 2, 2016
691ffac
chore(package): update should to version 10.0.0 (#2072)
greenkeeperio-bot Aug 3, 2016
616000c
chore(package): update glob to version 7.0.5 (#1995)
greenkeeperio-bot Aug 3, 2016
fd2514e
chore(package): update babel-register to version 6.11.6 (#2089)
greenkeeperio-bot Aug 4, 2016
bc8cd47
chore(package): update lodash to version 4.14.1 (#2098)
greenkeeperio-bot Aug 4, 2016
1b02f47
chore(package): update insight to version 0.8.3 (#2106)
greenkeeperio-bot Aug 4, 2016
ac0648f
chore(server): replace compression with shrink-ray (#2114)
Awk34 Aug 4, 2016
022119a
fix(gulp:build): remove typings task from non-ts
Koslun Aug 5, 2016
3707203
fix(gulp:build): fix crash upon ts type errors
Koslun Aug 5, 2016
f9c75e7
Merge pull request #2120 from angular-fullstack/typings-build
Awk34 Aug 5, 2016
da98690
chore(gulp): update imagemin
Awk34 Jun 12, 2016
346b3be
chore(gulp): switch to new jpeg minifier
Koslun Jul 6, 2016
3375e27
Merge pull request #2007 from angular-fullstack/chore/gulp-imagemin-3
Awk34 Aug 5, 2016
03c1cf5
fix(server): fix dev-only imports (#2124)
Awk34 Aug 6, 2016
1a7100a
chore(package): update node/npm versions in the generated package.jso…
kerimdzhanov Aug 6, 2016
f5988a2
chore(package): remove old unused deps
Awk34 Aug 5, 2016
244cca7
chore(package): exclude bootstrap-styl if !bootstrap
Awk34 Aug 5, 2016
6243f0d
Merge pull request #2122 from angular-fullstack/chore/remove-old-deps
Awk34 Aug 7, 2016
3abd039
chore(package): set istanbul to 1.1.0-alpha.1 (#2035)
Awk34 Aug 8, 2016
65c7655
chore(gen): replace all instances of jade with pug (#2128)
Awk34 Aug 8, 2016
7348858
4.0.0
Awk34 Aug 8, 2016
cd10954
fix(webpack): fix peerDependencies for css loaders (#2131)
Awk34 Aug 8, 2016
f37e214
4.0.1
Awk34 Aug 8, 2016
44084f3
chore(package): update should to version 11.0.0 (#2134)
greenkeeperio-bot Aug 10, 2016
4c12eca
docs(readme): add note about node-gyp
Awk34 Aug 10, 2016
f278ea5
chore(package): bump ui-bootstrap to v2 (#2138)
Awk34 Aug 11, 2016
a76034b
chore(package): bump bootstrap to 3.3.7
Awk34 Aug 11, 2016
1e25de7
feat(gen:gulp): add TODO tasks in gulpfile. rm 2 old grunt tasks
Awk34 Aug 11, 2016
3c20ff0
chore(package): update bootstrap-social to ^5.0.0 (#2139)
Awk34 Aug 11, 2016
da3f054
chore(package): bump angular-validation-match to ^1.9.0 (#2140)
Awk34 Aug 11, 2016
b9abc58
fix(gulp:build): remove protractor typings (#2144)
Awk34 Aug 12, 2016
82d4643
chore(package): update lodash to version 4.15.0 (#2147)
greenkeeperio-bot Aug 12, 2016
a9963b1
chore(package): bump ui-router to ~0.3.1 (#2141)
Awk34 Aug 12, 2016
03ccf56
chore(package): bump flow-bin to 0.30 (#2142)
Awk34 Aug 12, 2016
86f9861
chore(package): update should to version 11.1.0 (#2153)
greenkeeperio-bot Aug 14, 2016
f1e7a87
feat(docs): add daux.io docs
Awk34 Aug 16, 2016
85921be
feat(gen:app): add eslint to the yo write stream
Awk34 Aug 17, 2016
c5ab431
feat(gen:app): run eslint w/ fix on both client & server
Awk34 Aug 17, 2016
5023093
refactor(app): fix eslint errors for default gen
Awk34 Aug 17, 2016
331fb3d
docs(examples): add Modal.md
Awk34 Aug 17, 2016
c606b7b
docs(index): update root doc for 4.0.0
Awk34 Aug 17, 2016
41724a4
ci(circle): try adding docs deployment to circle config
Awk34 Aug 17, 2016
34457bb
docs(readme): strikethough systemjs + jspm
Awk34 Aug 17, 2016
231e500
fix(client:socket.service): import lodash named exports
Awk34 Aug 18, 2016
9f98f7c
Merge pull request #2158 from angular-fullstack/gen-run-eslint-fix
Awk34 Aug 19, 2016
d6fc5f2
docs(examples): add IIS.md
Azayzel Aug 19, 2016
fb38594
ci(circle): ignore gh-pages
Awk34 Aug 20, 2016
01418c5
docs(examples): add heroku deployment
Awk34 Aug 20, 2016
ae4b3ce
clean up #2160
Awk34 Aug 20, 2016
3b695ca
chore(package): update generator-ng-component to version 1.0.2
greenkeeperio-bot Aug 30, 2016
90b5f8e
chore(package): update generator-ng-component to version 1.0.2 (#2191)
Awk34 Aug 31, 2016
8854469
docs(readme): update media paths
Awk34 Aug 31, 2016
cfd1534
docs(readme): remove 4.0.0 beta note
Awk34 Aug 31, 2016
52a2362
chore(package): update bluebird to version 3.4.5 (#2193)
greenkeeperio-bot Aug 31, 2016
6f534fe
4.0.2
Awk34 Sep 1, 2016
5bb43be
fix(gen): fix doc img generation\n\nAdd gulp task to copy images to g…
Awk34 Sep 1, 2016
23d3738
docs(gettingStarted): fill-out Getting Started section more
Awk34 Sep 1, 2016
bae1c86
fix(webpack): fix boostrap-sass import path
antyrat Aug 26, 2016
8e50326
fix(gen:heroku): fix module export, gen base
Awk34 Sep 1, 2016
d3dec09
4.0.3
Awk34 Sep 1, 2016
9806bcd
docs(contributing): add release steps
Awk34 Sep 1, 2016
aa32054
fix(webpack): fix webpack vendor import (#2177)
Awk34 Sep 1, 2016
dd131d9
fix(webpack): conditionally exclude ui-bootstrap
Awk34 Sep 1, 2016
d92cd67
4.0.4
Awk34 Sep 1, 2016
a6b5c3f
chore(package): update babel-plugin-transform-flow-strip-types to ver…
greenkeeperio-bot Sep 1, 2016
de56f41
chore(package): bump some dev deps (#2201)
Awk34 Sep 2, 2016
9ce58e8
fix(client:oauthButtons): add ngInject (#2209)
Awk34 Sep 6, 2016
b530695
fix(socket): add ngInject (#2208)
Awk34 Sep 7, 2016
118ddc4
chore(package): update yeoman-test to version 1.5.0 (#2217)
greenkeeperio-bot Sep 13, 2016
44dccba
fix(heroku): Changed port variable to capital letters so heroku recog…
amygdaloideum Aug 27, 2016
5991a72
fix(server:twitter): make sure IDs are strings
Awk34 Sep 13, 2016
c188229
fix(karma): remove extra `require`
Awk34 Sep 13, 2016
1c2a219
fix(endpoint:controller): fix findOneAndUpdate syntax
Awk34 Sep 13, 2016
3fdf251
chore(package): switch around maintainers
Awk34 Sep 14, 2016
83aab50
Merge branch 'master' of github.com:angular-fullstack/generator-angul…
Awk34 Sep 14, 2016
6223187
docs(prerequisites): add node-gyp info, etc
Awk34 Sep 14, 2016
0911087
docs(gettingStarted:overview): make root section look like the others
Awk34 Sep 14, 2016
94ada70
docs(): set 'devloping' to 02 & 'deployment' to 03
Awk34 Sep 14, 2016
f41e420
fix(client:auth): fix hasOwnProperty instances, fix User usage (#2232)
Awk34 Sep 15, 2016
0ba3235
4.0.5
Awk34 Sep 15, 2016
2633497
docs(changelog): retrofit 3.8.0 changelog
Awk34 Sep 15, 2016
93b5371
chore(package): enforce higher babel plugin versions
Awk34 Sep 15, 2016
3ca3cd5
feat(client:footer): modify footer
Awk34 Sep 20, 2016
68b7b69
fix(client:modal): Fix unknown provider error
Azayzel Sep 23, 2016
75063fd
style(client:modal): fix up PR #2256
Awk34 Sep 26, 2016
db5c156
style(server:express): Use template literals es6 for string concatena…
jihdeh Sep 26, 2016
ad44ee2
feat(client:footer): add documentation link
Awk34 Sep 26, 2016
045abfb
feat(gen:gulp): port changelog code to gulp
Awk34 Sep 27, 2016
57f341d
chore(gen): remove grunt code/deps that have been ported
Awk34 Sep 27, 2016
3a672d6
chore(package): update babel-eslint to version 7.0.0 (#2267)
greenkeeperio-bot Sep 28, 2016
e575bf4
Merge branch 'master' of github.com:angular-fullstack/generator-angul…
Awk34 Sep 28, 2016
2e37092
chore(package): bump some babel deps
Awk34 Sep 30, 2016
94eace3
4.1.0
Awk34 Sep 30, 2016
9894290
docs(daux): change tagline to generator title
Awk34 Oct 4, 2016
4d6329d
docs(readme): Add a more explicit advice for compiling native add-ons…
nstepien Oct 5, 2016
7569c1a
docs(contributing): bug fixes should be against *master*
Awk34 Oct 5, 2016
16a26f4
docs(gen:route): update for 4.x.x [skip ci]
Awk34 Oct 7, 2016
7cf3c0d
docs(developing): add Starting Up page (incomplete)
Awk34 Oct 7, 2016
d1ff217
docs(contributing): add commit-style doc
Awk34 Oct 7, 2016
97126c3
Merge branch 'master' of github.com:angular-fullstack/generator-angul…
Awk34 Oct 7, 2016
ced71fb
chore(package): update mocha to version 3.1.2 (#2289)
greenkeeperio-bot Oct 11, 2016
441e795
chore(package): update generator-ng-component to version 1.0.3 (#2292)
greenkeeperio-bot Oct 12, 2016
89a43a4
chore(package): update lodash to version 4.16.4 (#2283)
greenkeeperio-bot Oct 12, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ bower_components
demo
.idea
.DS_Store
release.txt
release.txt
static
144 changes: 143 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,146 @@
<a name="4.1.0"></a>
# [4.1.0](https://github.com/angular-fullstack/generator-angular-fullstack/compare/4.0.5...v4.1.0) (2016-09-30)


## Notable Changes

* We've bumped some of the Babel deps to `^6.16.0`. This should fix the issues everyone's been seeing with class properties being stripped when using the default settings of Babel without Flow types.


### Bug Fixes

* **client:modal:** Fix unknown provider error ([68b7b69](https://github.com/angular-fullstack/generator-angular-fullstack/commit/68b7b69)), closes [#2247](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2247)


### Features

* **client:footer:**
* add documentation link ([ad44ee2](https://github.com/angular-fullstack/generator-angular-fullstack/commit/ad44ee2))
* modify footer ([3ca3cd5](https://github.com/angular-fullstack/generator-angular-fullstack/commit/3ca3cd5))
* **gen:gulp:** port changelog code to gulp ([045abfb](https://github.com/angular-fullstack/generator-angular-fullstack/commit/045abfb))



<a name="4.0.5"></a>
## [4.0.5](https://github.com/angular-fullstack/generator-angular-fullstack/compare/4.0.4...v4.0.5) (2016-09-15)


### Bug Fixes

* **client:auth:** fix hasOwnProperty instances, fix User usage ([#2232](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2232)) ([f41e420](https://github.com/angular-fullstack/generator-angular-fullstack/commit/f41e420)), closes [#2232](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2232) [#2212](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2212)
* **client:oauthButtons:** add ngInject ([#2209](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2209)) ([9ce58e8](https://github.com/angular-fullstack/generator-angular-fullstack/commit/9ce58e8)), closes [#2206](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2206)
* **endpoint:controller:** fix findOneAndUpdate syntax ([1c2a219](https://github.com/angular-fullstack/generator-angular-fullstack/commit/1c2a219)), closes [#2221](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2221)
* **heroku:** Changed port variable to capital letters so heroku recognize it ([44dccba](https://github.com/angular-fullstack/generator-angular-fullstack/commit/44dccba)), closes [#2185](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2185)
* **karma:** remove extra `require` ([c188229](https://github.com/angular-fullstack/generator-angular-fullstack/commit/c188229)), closes [#2219](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2219)
* **server:twitter:** make sure IDs are strings ([5991a72](https://github.com/angular-fullstack/generator-angular-fullstack/commit/5991a72)), closes [#1997](https://github.com/angular-fullstack/generator-angular-fullstack/issues/1997)
* **socket:** add ngInject ([#2208](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2208)) ([b530695](https://github.com/angular-fullstack/generator-angular-fullstack/commit/b530695)), closes [#2203](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2203)



<a name="4.0.4"></a>
## [4.0.4](https://github.com/angular-fullstack/generator-angular-fullstack/compare/4.0.3...v4.0.4) (2016-09-01)


### Bug Fixes

* **webpack:**
* conditionally exclude ui-bootstrap ([dd131d9](https://github.com/angular-fullstack/generator-angular-fullstack/commit/dd131d9))
* fix webpack vendor import ([#2177](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2177)) ([aa32054](https://github.com/angular-fullstack/generator-angular-fullstack/commit/aa32054)), closes [#2177](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2177)



<a name="4.0.3"></a>
## [4.0.3](https://github.com/angular-fullstack/generator-angular-fullstack/compare/4.0.2...v4.0.3) (2016-09-01)


### Bug Fixes

* **gen:** fix doc img generation\n\nAdd gulp task to copy images to gh-pages ([5bb43be](https://github.com/angular-fullstack/generator-angular-fullstack/commit/5bb43be))
* **gen:heroku:** fix module export, gen base ([8e50326](https://github.com/angular-fullstack/generator-angular-fullstack/commit/8e50326)), closes [#2148](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2148)
* **webpack:** fix boostrap-sass import path ([bae1c86](https://github.com/angular-fullstack/generator-angular-fullstack/commit/bae1c86))



<a name="4.0.2"></a>
## [4.0.2](https://github.com/angular-fullstack/generator-angular-fullstack/compare/4.0.1...v4.0.2) (2016-09-01)


### Bug Fixes

* **client:socket.service:** import lodash named exports ([231e500](https://github.com/angular-fullstack/generator-angular-fullstack/commit/231e500))
* **gulp:build:** remove protractor typings ([#2144](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2144)) ([b9abc58](https://github.com/angular-fullstack/generator-angular-fullstack/commit/b9abc58))


### Features

* **docs:** add daux.io docs ([f1e7a87](https://github.com/angular-fullstack/generator-angular-fullstack/commit/f1e7a87))
* **gen:app:**
* add eslint to the yo write stream ([85921be](https://github.com/angular-fullstack/generator-angular-fullstack/commit/85921be)), closes [#2157](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2157)
* run eslint w/ fix on both client & server ([c5ab431](https://github.com/angular-fullstack/generator-angular-fullstack/commit/c5ab431))
* **gen:gulp:** add TODO tasks in gulpfile. rm 2 old grunt tasks ([1e25de7](https://github.com/angular-fullstack/generator-angular-fullstack/commit/1e25de7))



<a name="4.0.0"></a>
## [4.0.0](https://github.com/angular-fullstack/generator-angular-fullstack/compare/3.7.6...v4.0.0) (2016-08-08)


## Notable Changes

### [Webpack](http://webpack.github.io/)
* No more Bower
* Webpack is a Module Bundler for the front-end.
* Everything starts in `client/app.js`. It imports (using CommonJS / ES2015 imports) everything else needed from there.
* Whenever we create a new Angular 1 module, we export its name, and import that name in another module up the tree, all the way to `client/app.js`. This design pattern allows for easy lazy-loading.

### Gulp v Grunt
Grunt has been removed.
* Gulp is significantly faster to run
* Gulp focuses on programmatic configuration, which makes it a breeze to configure compared to Grunt's JSON-config-focused configuration.
* Gulp development is much more active, with Gulp 4.0.0 hopefully being released soon.

### ESLint
JSHint + JSCS have been replaced with ESLint. ESLint provides a gigantic amount of rules, and is easily pluggable with many plugins. It uses Espree. Also, JSCS has merged with ESLint.

### Types
Flow support has been added. TypeScript type errors have been fixed.

### Async/Sync Auth methods
The following methods from the client Auth service have been split into two: `getCurrentUser`, `isLoggedIn`, `hasRole`, `isAdmin`. The reason that these methods could be both synchronous and asynchronous depending on how many arguments were passed is because they were called from Angular templates. Now, the Angular templates call the sync form of these methods (e.x. `getCurrentUserSync`), and the original functions are now only async.

### Constants
The task runner no longer takes care of creating an Angular module for config constants. It is taken care of by webpack now (the `shared.js` files is now just `require`d)

### Endpoint PUT/PATCH
PUT now defaults to an upsert. PATCH now actually does an HTTP PATCH.

### -Livereload +Browsersync
Livereload has been removed in favor of [Browsersync](https://www.browsersync.io/)



<a name="3.8.0"></a>
# [3.8.0](https://github.com/angular-fullstack/generator-angular-fullstack/compare/3.7.6...v3.8.0) (2016-09-15)


### Bug Fixes

* **authorization:** header workaround for IE11 ([2362103](https://github.com/angular-fullstack/generator-angular-fullstack/commit/2362103)), closes [#2051](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2051)
* **endpoint:controller:** wrap saveUpdates in an if(entity) statement ([31c0a79](https://github.com/angular-fullstack/generator-angular-fullstack/commit/31c0a79)), closes [#2052](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2052) [#2059](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2059)
* **grunt:**
* add comma ([485c44b](https://github.com/angular-fullstack/generator-angular-fullstack/commit/485c44b))
* run express:prod on production port ([aac61b2](https://github.com/angular-fullstack/generator-angular-fullstack/commit/aac61b2)), closes [#1814](https://github.com/angular-fullstack/generator-angular-fullstack/issues/1814)
* **gulp:** fix plain css generation ([#2013](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2013)) ([54479fc](https://github.com/angular-fullstack/generator-angular-fullstack/commit/54479fc)), closes [#2013](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2013)
* **gulpfile:** gulp-filter[@4](https://github.com/4).0.0 need "dot:true" option ([1fbf24b](https://github.com/angular-fullstack/generator-angular-fullstack/commit/1fbf24b)), closes [#2146](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2146) [#2151](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2151)
* **server:** return express stuff ([81ea8fa](https://github.com/angular-fullstack/generator-angular-fullstack/commit/81ea8fa))


### Features

* **gen:** add configurable ports ([#2005](https://github.com/angular-fullstack/generator-angular-fullstack/issues/2005)) ([50e6d0c](https://github.com/angular-fullstack/generator-angular-fullstack/commit/50e6d0c))



<a name="3.7.6"></a>
## [3.7.6](https://github.com/angular-fullstack/generator-angular-fullstack/compare/3.7.5...v3.7.6) (2016-06-21)

Expand All @@ -8,7 +151,6 @@
* Bumped a few generator dependencies



<a name="3.7.5"></a>
## [3.7.5](https://github.com/angular-fullstack/generator-angular-fullstack/compare/3.7.4...v3.7.5) (2016-06-02)

Expand Down
146 changes: 0 additions & 146 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,32 +12,11 @@ module.exports = function (grunt) {
var gitCmd = gruntUtils.gitCmd;
var gitCmdAsync = gruntUtils.gitCmdAsync;

// Load grunt tasks automatically, when needed
require('jit-grunt')(grunt, {
buildcontrol: 'grunt-build-control'
});

grunt.initConfig({
config: {
demo: 'demo'
},
pkg: grunt.file.readJSON('package.json'),
conventionalChangelog: {
options: {
changelogOpts: {
// conventional-changelog options go here
preset: 'angular'
},
writerOpts: {
// conventional-changelog-writer options go here
finalizeContext: gruntUtils.conventionalChangelog.finalizeContext,
commitPartial: gruntUtils.conventionalChangelog.commitPartial
}
},
release: {
src: 'CHANGELOG.md'
}
},
release: {
options: {
commitMessage: '<%= version %>',
Expand All @@ -51,17 +30,6 @@ module.exports = function (grunt) {
npm: false
}
},
updateSubmodules: {
options: {
modules: ['angular-fullstack-deps']
}
},
commitNgFullstackDeps: {
options: {
cwd: 'angular-fullstack-deps',
files: ['package.json', 'bower.json']
}
},
stage: {
options: {
files: ['CHANGELOG.md', 'angular-fullstack-deps']
Expand All @@ -82,43 +50,6 @@ module.exports = function (grunt) {
}
}
},
jshint: {
options: {
curly: false,
node: true
},
all: ['Gruntfile.js', 'src/**/*.js']
},
env: {
fast: {
SKIP_E2E: true
}
},
mochaTest: {
test: {
src: [
'test/*.js'
],
options: {
reporter: 'spec',
timeout: 120000
}
}
},
clean: {
demo: {
files: [{
dot: true,
src: [
'<%= config.demo %>/*',
'!<%= config.demo %>/readme.md',
'!<%= config.demo %>/node_modules',
'!<%= config.demo %>/.git',
'!<%= config.demo %>/dist'
]
}]
}
},
david: {
gen: {
options: {}
Expand All @@ -136,26 +67,6 @@ module.exports = function (grunt) {
gitCmd(['add'].concat(files), {}, this.async());
});

grunt.registerTask('updateSubmodules', function() {
grunt.config.requires('updateSubmodules.options.modules');
var modules = grunt.config.get('updateSubmodules').options.modules;

Q()
.then(gitCmdAsync(['submodule', 'update', '--init', '--recursive']))
.then(function() {
var thens = [];
for (var i = 0, modulesLength = modules.length; i < modulesLength; i++) {
var opts = {cwd: modules[i]};
thens.push(gitCmdAsync(['checkout', 'master'], opts));
thens.push(gitCmdAsync(['fetch'], opts));
thens.push(gitCmdAsync(['pull'], opts));
}
return thens.reduce(Q.when, Q());
})
.catch(grunt.fail.fatal.bind(grunt.fail))
.finally(this.async());
});

grunt.registerTask('commitNgFullstackDeps', function() {
grunt.config.requires(
'commitNgFullstackDeps.options.files',
Expand Down Expand Up @@ -261,63 +172,6 @@ module.exports = function (grunt) {
}
});

grunt.registerTask('updateFixtures', 'updates package and bower fixtures', function(target) {
var genVer = require('./package.json').version;
var dest = __dirname + ((target === 'deps') ? '/angular-fullstack-deps/' : '/test/fixtures/');
var appName = (target === 'deps') ? 'angular-fullstack-deps' : 'tempApp';

var processJson = function(s, d) {
// read file, strip all ejs conditionals, and parse as json
var json = JSON.parse(fs.readFileSync(path.resolve(s), 'utf8').replace(/<%(.*)%>/g, ''));
// set properties
json.name = appName, json.version = genVer;
if (target === 'deps') { json.private = false; }
// stringify json and write it to the destination
fs.writeFileSync(path.resolve(d), JSON.stringify(json, null, 2));
};

processJson('templates/app/_package.json', dest + 'package.json');
processJson('templates/app/_bower.json', dest + 'bower.json');
});

grunt.registerTask('installFixtures', 'install package and bower fixtures', function() {
var done = this.async();

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

grunt.log.ok('installing bower dependencies for generated app');
child_process.exec('bower install', {cwd: '../fixtures'}, function (error, stdout, stderr) {

if(!process.env.SAUCE_USERNAME) {
grunt.log.ok('running npm run-script update-webdriver');
child_process.exec('npm run-script update-webdriver', function() {
shell.cd('../../');
done();
});
} else {
shell.cd('../../');
done();
}
})
});
});

grunt.registerTask('test', function(target, option) {
if (target === 'fast') {
grunt.task.run([
'env:fast'
]);
}

return grunt.task.run([
'updateFixtures',
'installFixtures',
'mochaTest'
])
});

grunt.registerTask('deps', function(target) {
if (!target || target === 'app') grunt.task.run(['updateFixtures']);
grunt.task.run(['david:' + (target || '')]);
Expand Down
2 changes: 1 addition & 1 deletion ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ etc | etc
Item | Answer
----- | -----
Transpiler | Babel / TypeScript
Markup | HTML / Jade
Markup | HTML / Pug
CSS | CSS / LESS / SCSS / Stylus
Router | ngRoute / ui-router
Client Tests | Jasmine / Mocha
Expand Down
2 changes: 1 addition & 1 deletion angular-fullstack-deps
Loading