Skip to content

Commit 8a72d26

Browse files
committed
Merge pull request #1252 from kingcody/chore/update-yeoman-generator
chore(gen): update yeoman-generator to `~0.19.2`
2 parents e335fa0 + 15fdd0f commit 8a72d26

File tree

19 files changed

+72
-43
lines changed

19 files changed

+72
-43
lines changed

app/generator.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export default class Generator extends Base {
3333
},
3434

3535
info: function () {
36-
this.log(this.welcome);
36+
this.log(this.yoWelcome);
3737
this.log('Out of the box I create an AngularJS app with an Express server.\n');
3838
},
3939

@@ -49,7 +49,7 @@ export default class Generator extends Base {
4949
}], function (answers) {
5050
this.skipConfig = answers.skipConfig;
5151

52-
this.filters = this._.defaults(this.config.get('filters'), {
52+
this.filters = this.lodash.defaults(this.config.get('filters'), {
5353
bootstrap: true,
5454
uibootstrap: true,
5555
jasmine: true

app/templates/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# <%= _.slugify(_.humanize(appname)) %>
1+
# <%= lodash.slugify(lodash.humanize(appname)) %>
22

33
This project was generated with the [Angular Full-Stack Generator](https://github.com/DaftMonk/generator-angular-fullstack) version <%= pkg.version %>.
44

app/templates/_bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "<%= _.slugify(_.humanize(appname)) %>",
2+
"name": "<%= lodash.slugify(lodash.humanize(appname)) %>",
33
"version": "0.0.0",
44
"dependencies": {
55
"angular": "~1.4.0",

app/templates/_package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "<%= _.slugify(_.humanize(appname)) %>",
2+
"name": "<%= lodash.slugify(lodash.humanize(appname)) %>",
33
"version": "0.0.0",
44
"main": "server/app.js",
55
"dependencies": {

app/templates/client/components/navbar/navbar(html).html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<span class="icon-bar"></span>
88
<span class="icon-bar"></span>
99
</button>
10-
<a href="/" class="navbar-brand"><%= _.slugify(_.humanize(appname)) %></a>
10+
<a href="/" class="navbar-brand"><%= lodash.slugify(lodash.humanize(appname)) %></a>
1111
</div>
1212
<div collapse="isCollapsed" class="navbar-collapse collapse" id="navbar-main">
1313
<ul class="nav navbar-nav">

app/templates/client/components/navbar/navbar(jade).jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ div.navbar.navbar-default.navbar-static-top(ng-controller='NavbarCtrl')
66
span.icon-bar
77
span.icon-bar
88
span.icon-bar
9-
a.navbar-brand(href='/') <%= _.slugify(_.humanize(appname)) %>
9+
a.navbar-brand(href='/') <%= lodash.slugify(lodash.humanize(appname)) %>
1010

1111
div#navbar-main.navbar-collapse.collapse(collapse='isCollapsed')
1212
ul.nav.navbar-nav

app/templates/server/config/_local.env.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
module.exports = {
99
DOMAIN: 'http://localhost:9000',
10-
SESSION_SECRET: '<%= _.slugify(appname) + "-secret" %>',<% if (filters.facebookAuth) { %>
10+
SESSION_SECRET: '<%= lodash.slugify(appname) + "-secret" %>',<% if (filters.facebookAuth) { %>
1111

1212
FACEBOOK_ID: 'app-id',
1313
FACEBOOK_SECRET: 'secret',<% } if (filters.twitterAuth) { %>

app/templates/server/config/_local.env.sample.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
module.exports = {
99
DOMAIN: 'http://localhost:9000',
10-
SESSION_SECRET: '<%= _.slugify(appname) + "-secret" %>',<% if (filters.facebookAuth) { %>
10+
SESSION_SECRET: '<%= lodash.slugify(appname) + "-secret" %>',<% if (filters.facebookAuth) { %>
1111

1212
FACEBOOK_ID: 'app-id',
1313
FACEBOOK_SECRET: 'secret',<% } if (filters.twitterAuth) { %>

app/templates/server/config/environment/development.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
module.exports = {
66
// MongoDB connection options
77
mongo: {
8-
uri: 'mongodb://localhost/<%= _.slugify(appname) %>-dev'
8+
uri: 'mongodb://localhost/<%= lodash.slugify(appname) %>-dev'
99
},
1010
sequelize: {
1111
uri: 'sqlite://',

app/templates/server/config/environment/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ var all = {
2929

3030
// Secret for session, you will want to change this and make it an environment variable
3131
secrets: {
32-
session: '<%= _.slugify(_.humanize(appname)) + '-secret' %>'
32+
session: '<%= lodash.slugify(lodash.humanize(appname)) + '-secret' %>'
3333
},
3434

3535
// List of user roles

0 commit comments

Comments
 (0)