generator-folklore 3.0.23 → 3.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -103,11 +103,6 @@ module.exports = class LaravelProjectGenerator extends _generator.default {
|
|
103
103
|
desc: 'Add mediatheque',
|
104
104
|
defaults: false
|
105
105
|
});
|
106
|
-
this.option('auth', {
|
107
|
-
type: Boolean,
|
108
|
-
desc: 'Add auth',
|
109
|
-
defaults: false
|
110
|
-
});
|
111
106
|
}
|
112
107
|
get prompting() {
|
113
108
|
return {
|
@@ -154,10 +149,6 @@ module.exports = class LaravelProjectGenerator extends _generator.default {
|
|
154
149
|
name: 'Panneau',
|
155
150
|
value: 'panneau',
|
156
151
|
checked: true
|
157
|
-
}, !this.options.auth && {
|
158
|
-
name: 'Auth',
|
159
|
-
value: 'auth',
|
160
|
-
checked: true
|
161
152
|
}].filter(Boolean);
|
162
153
|
if (featuresChoices.length) {
|
163
154
|
prompts.push({
|
@@ -185,9 +176,6 @@ module.exports = class LaravelProjectGenerator extends _generator.default {
|
|
185
176
|
if (features.indexOf('panneau') !== -1) {
|
186
177
|
this.options.panneau = true;
|
187
178
|
}
|
188
|
-
if (features.indexOf('auth') !== -1) {
|
189
|
-
this.options.auth = true;
|
190
|
-
}
|
191
179
|
if (features.indexOf('mediatheque') !== -1) {
|
192
180
|
this.options.mediatheque = true;
|
193
181
|
}
|
@@ -268,17 +256,6 @@ module.exports = class LaravelProjectGenerator extends _generator.default {
|
|
268
256
|
quiet: true
|
269
257
|
});
|
270
258
|
}
|
271
|
-
|
272
|
-
// if (this.options.auth) {
|
273
|
-
// this.composeWith('folklore:laravel-auth', {
|
274
|
-
// 'project-name': this.options['project-name'],
|
275
|
-
// 'js-path': jsSrcPath,
|
276
|
-
// 'styles-path': stylesSrcPath,
|
277
|
-
// 'skip-install': true,
|
278
|
-
// 'install-npm': true,
|
279
|
-
// quiet: true,
|
280
|
-
// });
|
281
|
-
// }
|
282
259
|
}
|
283
260
|
get writing() {
|
284
261
|
return {
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "generator-folklore",
|
3
|
-
"version": "3.0.
|
3
|
+
"version": "3.0.24",
|
4
4
|
"description": "Yeoman generator for projects at Folklore",
|
5
5
|
"keywords": [
|
6
6
|
"yeoman-generator"
|
@@ -40,5 +40,5 @@
|
|
40
40
|
"yeoman-generator": "^5.7.0",
|
41
41
|
"yeoman-remote": "^1.0.1"
|
42
42
|
},
|
43
|
-
"gitHead": "
|
43
|
+
"gitHead": "e41d1a9c4dc805aba884403e1e7ceb24545fe4fd"
|
44
44
|
}
|