generator-folklore 3.0.11 → 3.0.13
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/generators/laravel-panneau/index.js +1 -1
- package/lib/generators/laravel-panneau/templates/app/Panneau/PanneauServiceProvider.php +0 -11
- package/lib/generators/laravel-project/index.js +1 -1
- package/lib/generators/stylelint/index.js +2 -2
- package/lib/generators/stylelint/templates/stylelintrc +2 -2
- package/package.json +2 -2
@@ -36,7 +36,6 @@ class PanneauServiceProvider extends BaseServiceProvider
|
|
36
36
|
{
|
37
37
|
$this->bootFields();
|
38
38
|
$this->bootViews();
|
39
|
-
$this->bootAuth();
|
40
39
|
}
|
41
40
|
|
42
41
|
protected function bootFields()
|
@@ -77,14 +76,4 @@ class PanneauServiceProvider extends BaseServiceProvider
|
|
77
76
|
$view->composer('errors::*', \App\Panneau\Composers\AppComposer::class);
|
78
77
|
});
|
79
78
|
}
|
80
|
-
|
81
|
-
protected function bootAuth()
|
82
|
-
{
|
83
|
-
Fortify::authenticateUsing(function (Request $request) {
|
84
|
-
$user = User::where('email', $request->email)->first();
|
85
|
-
if (!is_null($user) && Hash::check($request->password, $user->password)) {
|
86
|
-
return $user;
|
87
|
-
}
|
88
|
-
});
|
89
|
-
}
|
90
79
|
}
|
@@ -38,10 +38,10 @@ module.exports = class StylelintGenerator extends _generator.default {
|
|
38
38
|
|
39
39
|
dependencies() {
|
40
40
|
this.addDevDependencies({
|
41
|
-
stylelint: '^
|
41
|
+
stylelint: '^15.0.0',
|
42
42
|
'stylelint-config-standard-scss': 'latest',
|
43
43
|
'stylelint-config-idiomatic-order': 'latest',
|
44
|
-
'stylelint-config-
|
44
|
+
'stylelint-config-standard': 'latest'
|
45
45
|
});
|
46
46
|
}
|
47
47
|
|
@@ -2,10 +2,10 @@
|
|
2
2
|
"extends": [
|
3
3
|
"stylelint-config-standard-scss",
|
4
4
|
"stylelint-config-idiomatic-order",
|
5
|
-
"stylelint-config-
|
5
|
+
"stylelint-config-standard"
|
6
6
|
],
|
7
7
|
"rules": {
|
8
|
-
"
|
8
|
+
"declaration-property-value-no-unknown": true,
|
9
9
|
"alpha-value-notation": "number",<% if (camelCase) {%>
|
10
10
|
"selector-class-pattern": [
|
11
11
|
"^[a-z][a-z0-9A-Z]+$",
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "generator-folklore",
|
3
|
-
"version": "3.0.
|
3
|
+
"version": "3.0.13",
|
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": "2f25bebee9243a8a29a18beeca8a5849cd8467f5"
|
44
44
|
}
|