generator-folklore 3.0.14 → 3.0.16

Sign up to get free protection for your applications and to get access to all the features.
@@ -93,7 +93,7 @@ module.exports = class AppGenerator extends _generator.default {
93
93
 
94
94
  dependencies() {
95
95
  this.addDevDependencies({
96
- '@folklore/cli': '^0.0.47'
96
+ '@folklore/cli': '^0.0.50'
97
97
  });
98
98
  }
99
99
 
@@ -33,16 +33,16 @@ module.exports = class EslintGenerator extends _generator.default {
33
33
 
34
34
  dependencies() {
35
35
  this.addDevDependencies({
36
- 'babel-preset-airbnb': 'latest',
37
- '@babel/eslint-parser': 'latest',
36
+ 'babel-preset-airbnb': '^5.0.0',
37
+ '@babel/eslint-parser': '^7.18.9',
38
38
  eslint: '^8.0.0',
39
- 'eslint-config-airbnb': 'latest',
40
- 'eslint-config-prettier': 'latest',
41
- 'eslint-plugin-prettier': 'latest',
42
- 'eslint-plugin-import': 'latest',
43
- 'eslint-plugin-jsx-a11y': 'latest',
44
- 'eslint-plugin-react': 'latest',
45
- 'eslint-plugin-formatjs': 'latest'
39
+ 'eslint-config-airbnb': '^19.0.4',
40
+ 'eslint-config-prettier': '^8.6.0',
41
+ 'eslint-plugin-prettier': '^4.2.1',
42
+ 'eslint-plugin-import': '^2.26.0',
43
+ 'eslint-plugin-jsx-a11y': '^6.6.1',
44
+ 'eslint-plugin-react': '^7.30.1',
45
+ 'eslint-plugin-formatjs': '^4.2.2'
46
46
  });
47
47
  }
48
48
 
@@ -77,7 +77,7 @@ module.exports = class IntlGenerator extends _generator.default {
77
77
 
78
78
  dependencies() {
79
79
  this.addDevDependencies({
80
- '@folklore/cli': '^0.0.47'
80
+ '@folklore/cli': '^0.0.50'
81
81
  });
82
82
  }
83
83
 
@@ -70,11 +70,11 @@ module.exports = class LaravelPanneauGenerator extends _generator.default {
70
70
 
71
71
  packageJSON() {
72
72
  this.addDependencies({
73
- '@panneau/app': '^1.0.3-alpha.1',
74
- '@panneau/core': '^1.0.3-alpha.1',
75
- '@panneau/data': '^1.0.3-alpha.1',
76
- '@panneau/field-text': '^1.0.3-alpha.1',
77
- '@panneau/field-localized': '^1.0.3-alpha.1'
73
+ '@panneau/app': '^2.0.0',
74
+ '@panneau/core': '^2.0.0',
75
+ '@panneau/data': '^2.0.0',
76
+ '@panneau/field-text': '^2.0.0',
77
+ '@panneau/field-localized': '^2.0.0'
78
78
  });
79
79
  },
80
80
 
@@ -171,11 +171,11 @@ module.exports = class LaravelProjectGenerator extends _generator.default {
171
171
  }, !this.options.panneau && {
172
172
  name: 'Panneau',
173
173
  value: 'panneau',
174
- checked: false
174
+ checked: true
175
175
  }, !this.options.auth && {
176
176
  name: 'Auth',
177
177
  value: 'auth',
178
- checked: false
178
+ checked: true
179
179
  }].filter(Boolean);
180
180
 
181
181
  if (featuresChoices.length) {
@@ -375,7 +375,9 @@ module.exports = class LaravelProjectGenerator extends _generator.default {
375
375
  laravel: {
376
376
  'dont-discover': ['laravel/telescope', 'folklore/laravel-folklore']
377
377
  }
378
- }
378
+ },
379
+ 'minimum-stability': 'dev',
380
+ 'prefer-stable': true
379
381
  });
380
382
  },
381
383
 
@@ -196,6 +196,7 @@ return [
196
196
  App\Providers\EventServiceProvider::class,
197
197
  App\Providers\RouteServiceProvider::class,
198
198
  App\Providers\ViewServiceProvider::class,<% if (options.panneau) { %>
199
+ App\Providers\FortifyServiceProvider::class,
199
200
  App\Panneau\PanneauServiceProvider::class,<% } %>
200
201
  ],
201
202
 
@@ -0,0 +1,18 @@
1
+ <?php
2
+
3
+ return [
4
+ /*
5
+ |--------------------------------------------------------------------------
6
+ | Authentication Language Lines
7
+ |--------------------------------------------------------------------------
8
+ |
9
+ | The following language lines are used during authentication for various
10
+ | messages that we need to display to the user. You are free to modify
11
+ | these language lines according to your application's requirements.
12
+ |
13
+ */
14
+
15
+ 'failed' => 'These credentials do not match our records.',
16
+ 'password' => 'The provided password is incorrect.',
17
+ 'throttle' => 'Too many login attempts. Please try again in :seconds seconds.',
18
+ ];
@@ -0,0 +1,17 @@
1
+ <?php
2
+
3
+ return [
4
+ /*
5
+ |--------------------------------------------------------------------------
6
+ | Pagination Language Lines
7
+ |--------------------------------------------------------------------------
8
+ |
9
+ | The following language lines are used by the paginator library to build
10
+ | the simple pagination links. You are free to change them to anything
11
+ | you want to customize your views to better match your application.
12
+ |
13
+ */
14
+
15
+ 'previous' => '&laquo; Previous',
16
+ 'next' => 'Next &raquo;',
17
+ ];
@@ -0,0 +1,20 @@
1
+ <?php
2
+
3
+ return [
4
+ /*
5
+ |--------------------------------------------------------------------------
6
+ | Password Reset Language Lines
7
+ |--------------------------------------------------------------------------
8
+ |
9
+ | The following language lines are the default lines which match reasons
10
+ | that are given by the password broker for a password update attempt
11
+ | has failed, such as for an invalid token or invalid new password.
12
+ |
13
+ */
14
+
15
+ 'reset' => 'Your password has been reset!',
16
+ 'sent' => 'We have emailed your password reset link!',
17
+ 'throttled' => 'Please wait before retrying.',
18
+ 'token' => 'This password reset token is invalid.',
19
+ 'user' => "We can't find a user with that email address.",
20
+ ];
@@ -0,0 +1,167 @@
1
+ <?php
2
+
3
+ return [
4
+ /*
5
+ |--------------------------------------------------------------------------
6
+ | Validation Language Lines
7
+ |--------------------------------------------------------------------------
8
+ |
9
+ | The following language lines contain the default error messages used by
10
+ | the validator class. Some of these rules have multiple versions such
11
+ | as the size rules. Feel free to tweak each of these messages here.
12
+ |
13
+ */
14
+
15
+ 'accepted' => 'The :attribute must be accepted.',
16
+ 'accepted_if' => 'The :attribute must be accepted when :other is :value.',
17
+ 'active_url' => 'The :attribute is not a valid URL.',
18
+ 'after' => 'The :attribute must be a date after :date.',
19
+ 'after_or_equal' => 'The :attribute must be a date after or equal to :date.',
20
+ 'alpha' => 'The :attribute must only contain letters.',
21
+ 'alpha_dash' => 'The :attribute must only contain letters, numbers, dashes and underscores.',
22
+ 'alpha_num' => 'The :attribute must only contain letters and numbers.',
23
+ 'array' => 'The :attribute must be an array.',
24
+ 'before' => 'The :attribute must be a date before :date.',
25
+ 'before_or_equal' => 'The :attribute must be a date before or equal to :date.',
26
+ 'between' => [
27
+ 'array' => 'The :attribute must have between :min and :max items.',
28
+ 'file' => 'The :attribute must be between :min and :max kilobytes.',
29
+ 'numeric' => 'The :attribute must be between :min and :max.',
30
+ 'string' => 'The :attribute must be between :min and :max characters.',
31
+ ],
32
+ 'boolean' => 'The :attribute field must be true or false.',
33
+ 'confirmed' => 'The :attribute confirmation does not match.',
34
+ 'current_password' => 'The password is incorrect.',
35
+ 'date' => 'The :attribute is not a valid date.',
36
+ 'date_equals' => 'The :attribute must be a date equal to :date.',
37
+ 'date_format' => 'The :attribute does not match the format :format.',
38
+ 'declined' => 'The :attribute must be declined.',
39
+ 'declined_if' => 'The :attribute must be declined when :other is :value.',
40
+ 'different' => 'The :attribute and :other must be different.',
41
+ 'digits' => 'The :attribute must be :digits digits.',
42
+ 'digits_between' => 'The :attribute must be between :min and :max digits.',
43
+ 'dimensions' => 'The :attribute has invalid image dimensions.',
44
+ 'distinct' => 'The :attribute field has a duplicate value.',
45
+ 'doesnt_end_with' => 'The :attribute may not end with one of the following: :values.',
46
+ 'doesnt_start_with' => 'The :attribute may not start with one of the following: :values.',
47
+ 'email' => 'The :attribute must be a valid email address.',
48
+ 'ends_with' => 'The :attribute must end with one of the following: :values.',
49
+ 'enum' => 'The selected :attribute is invalid.',
50
+ 'exists' => 'The selected :attribute is invalid.',
51
+ 'file' => 'The :attribute must be a file.',
52
+ 'filled' => 'The :attribute field must have a value.',
53
+ 'gt' => [
54
+ 'array' => 'The :attribute must have more than :value items.',
55
+ 'file' => 'The :attribute must be greater than :value kilobytes.',
56
+ 'numeric' => 'The :attribute must be greater than :value.',
57
+ 'string' => 'The :attribute must be greater than :value characters.',
58
+ ],
59
+ 'gte' => [
60
+ 'array' => 'The :attribute must have :value items or more.',
61
+ 'file' => 'The :attribute must be greater than or equal to :value kilobytes.',
62
+ 'numeric' => 'The :attribute must be greater than or equal to :value.',
63
+ 'string' => 'The :attribute must be greater than or equal to :value characters.',
64
+ ],
65
+ 'image' => 'The :attribute must be an image.',
66
+ 'in' => 'The selected :attribute is invalid.',
67
+ 'in_array' => 'The :attribute field does not exist in :other.',
68
+ 'integer' => 'The :attribute must be an integer.',
69
+ 'ip' => 'The :attribute must be a valid IP address.',
70
+ 'ipv4' => 'The :attribute must be a valid IPv4 address.',
71
+ 'ipv6' => 'The :attribute must be a valid IPv6 address.',
72
+ 'json' => 'The :attribute must be a valid JSON string.',
73
+ 'lt' => [
74
+ 'array' => 'The :attribute must have less than :value items.',
75
+ 'file' => 'The :attribute must be less than :value kilobytes.',
76
+ 'numeric' => 'The :attribute must be less than :value.',
77
+ 'string' => 'The :attribute must be less than :value characters.',
78
+ ],
79
+ 'lte' => [
80
+ 'array' => 'The :attribute must not have more than :value items.',
81
+ 'file' => 'The :attribute must be less than or equal to :value kilobytes.',
82
+ 'numeric' => 'The :attribute must be less than or equal to :value.',
83
+ 'string' => 'The :attribute must be less than or equal to :value characters.',
84
+ ],
85
+ 'mac_address' => 'The :attribute must be a valid MAC address.',
86
+ 'max' => [
87
+ 'array' => 'The :attribute must not have more than :max items.',
88
+ 'file' => 'The :attribute must not be greater than :max kilobytes.',
89
+ 'numeric' => 'The :attribute must not be greater than :max.',
90
+ 'string' => 'The :attribute must not be greater than :max characters.',
91
+ ],
92
+ 'mimes' => 'The :attribute must be a file of type: :values.',
93
+ 'mimetypes' => 'The :attribute must be a file of type: :values.',
94
+ 'min' => [
95
+ 'array' => 'The :attribute must have at least :min items.',
96
+ 'file' => 'The :attribute must be at least :min kilobytes.',
97
+ 'numeric' => 'The :attribute must be at least :min.',
98
+ 'string' => 'The :attribute must be at least :min characters.',
99
+ ],
100
+ 'multiple_of' => 'The :attribute must be a multiple of :value.',
101
+ 'not_in' => 'The selected :attribute is invalid.',
102
+ 'not_regex' => 'The :attribute format is invalid.',
103
+ 'numeric' => 'The :attribute must be a number.',
104
+ 'password' => [
105
+ 'letters' => 'The :attribute must contain at least one letter.',
106
+ 'mixed' => 'The :attribute must contain at least one uppercase and one lowercase letter.',
107
+ 'numbers' => 'The :attribute must contain at least one number.',
108
+ 'symbols' => 'The :attribute must contain at least one symbol.',
109
+ 'uncompromised' =>
110
+ 'The given :attribute has appeared in a data leak. Please choose a different :attribute.',
111
+ ],
112
+ 'present' => 'The :attribute field must be present.',
113
+ 'prohibited' => 'The :attribute field is prohibited.',
114
+ 'prohibited_if' => 'The :attribute field is prohibited when :other is :value.',
115
+ 'prohibited_unless' => 'The :attribute field is prohibited unless :other is in :values.',
116
+ 'prohibits' => 'The :attribute field prohibits :other from being present.',
117
+ 'regex' => 'The :attribute format is invalid.',
118
+ 'required' => 'The :attribute field is required.',
119
+ 'required_array_keys' => 'The :attribute field must contain entries for: :values.',
120
+ 'required_if' => 'The :attribute field is required when :other is :value.',
121
+ 'required_unless' => 'The :attribute field is required unless :other is in :values.',
122
+ 'required_with' => 'The :attribute field is required when :values is present.',
123
+ 'required_with_all' => 'The :attribute field is required when :values are present.',
124
+ 'required_without' => 'The :attribute field is required when :values is not present.',
125
+ 'required_without_all' => 'The :attribute field is required when none of :values are present.',
126
+ 'same' => 'The :attribute and :other must match.',
127
+ 'size' => [
128
+ 'array' => 'The :attribute must contain :size items.',
129
+ 'file' => 'The :attribute must be :size kilobytes.',
130
+ 'numeric' => 'The :attribute must be :size.',
131
+ 'string' => 'The :attribute must be :size characters.',
132
+ ],
133
+ 'starts_with' => 'The :attribute must start with one of the following: :values.',
134
+ 'string' => 'The :attribute must be a string.',
135
+ 'timezone' => 'The :attribute must be a valid timezone.',
136
+ 'token_failed' => 'Invalid code',
137
+ 'unique' => 'The :attribute has already been taken.',
138
+ 'uploaded' => 'The :attribute failed to upload.',
139
+ 'url' => 'The :attribute must be a valid URL.',
140
+ 'uuid' => 'The :attribute must be a valid UUID.',
141
+
142
+ /*
143
+ |--------------------------------------------------------------------------
144
+ | Custom Validation Language Lines
145
+ |--------------------------------------------------------------------------
146
+ |
147
+ | Here you may specify custom validation messages for attributes using the
148
+ | convention "attribute.rule" to name the lines. This makes it quick to
149
+ | specify a specific custom language line for a given attribute rule.
150
+ |
151
+ */
152
+
153
+ 'custom' => [],
154
+
155
+ /*
156
+ |--------------------------------------------------------------------------
157
+ | Custom Validation Attributes
158
+ |--------------------------------------------------------------------------
159
+ |
160
+ | The following language lines are used to swap our attribute placeholder
161
+ | with something more reader friendly such as "E-Mail Address" instead
162
+ | of "email". This simply helps us make our message more expressive.
163
+ |
164
+ */
165
+
166
+ 'attributes' => [],
167
+ ];
@@ -32,9 +32,9 @@ module.exports = class PrettierGenerator extends _generator.default {
32
32
 
33
33
  dependencies() {
34
34
  this.addDevDependencies({
35
- prettier: 'latest',
36
- '@prettier/plugin-php': 'latest',
37
- '@trivago/prettier-plugin-sort-imports': 'latest'
35
+ prettier: '^2.8.4',
36
+ '@prettier/plugin-php': '^0.19.3',
37
+ '@trivago/prettier-plugin-sort-imports': '^4.1.1'
38
38
  });
39
39
  }
40
40
 
@@ -116,7 +116,7 @@ module.exports = class ReactAppGenerator extends _generator.default {
116
116
  'react-router': '^6.0.0',
117
117
  'react-router-dom': '^6.0.0',
118
118
  'react-helmet': '^6.0.0',
119
- classnames: 'latest',
119
+ classnames: '^2.3.1',
120
120
  '@folklore/routes': '^0.1.1',
121
121
  '@folklore/fonts': '^0.0.11',
122
122
  '@folklore/forms': '^0.0.19',
@@ -124,11 +124,11 @@ module.exports = class ReactAppGenerator extends _generator.default {
124
124
  '@folklore/hooks': '^0.0.27',
125
125
  '@folklore/tracking': '^0.0.14',
126
126
  // Polyfills
127
- intl: 'latest',
128
- '@formatjs/intl-locale': 'latest',
129
- '@formatjs/intl-pluralrules': 'latest',
130
- 'intersection-observer': 'latest',
131
- 'resize-observer-polyfill': 'latest'
127
+ intl: '^1.2.5',
128
+ '@formatjs/intl-locale': '^3.0.5',
129
+ '@formatjs/intl-pluralrules': '^5.1.2',
130
+ 'intersection-observer': '^0.12.2',
131
+ 'resize-observer-polyfill': '^1.5.1'
132
132
  });
133
133
  }
134
134
 
@@ -39,9 +39,9 @@ module.exports = class StylelintGenerator extends _generator.default {
39
39
  dependencies() {
40
40
  this.addDevDependencies({
41
41
  stylelint: '^15.0.0',
42
- 'stylelint-config-standard-scss': 'latest',
43
- 'stylelint-config-idiomatic-order': 'latest',
44
- 'stylelint-config-standard': 'latest'
42
+ 'stylelint-config-standard-scss': '^7.0.1',
43
+ 'stylelint-config-idiomatic-order': '^9.0.0',
44
+ 'stylelint-config-standard': '^30.0.1'
45
45
  });
46
46
  }
47
47
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "generator-folklore",
3
- "version": "3.0.14",
3
+ "version": "3.0.16",
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": "e029ffd9da346c70713c353a748f6f228fe4a2ae"
43
+ "gitHead": "6ec0b30e81fd5508831e2b6f7b7337fa9b69e208"
44
44
  }