create-v-kit-spa 1.0.7 → 1.0.9

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.
Files changed (120) hide show
  1. package/README.md +9 -9
  2. package/dist/commands.d.ts +1 -1
  3. package/dist/commands.js +67 -67
  4. package/dist/count.d.ts +2 -2
  5. package/dist/count.js +44 -44
  6. package/dist/index.d.ts +2 -2
  7. package/dist/index.js +3 -3
  8. package/dist/messages.d.ts +2 -2
  9. package/dist/messages.js +69 -69
  10. package/dist/progress.d.ts +1 -1
  11. package/dist/progress.js +37 -37
  12. package/dist/prompts.d.ts +3 -3
  13. package/dist/prompts.js +77 -77
  14. package/dist/utils.d.ts +1 -1
  15. package/dist/utils.js +33 -33
  16. package/dist/version.d.ts +1 -1
  17. package/dist/version.js +20 -20
  18. package/index.d.ts +2 -2
  19. package/lib/158/bootstrap/cache/packages.php +54 -54
  20. package/lib/158/bootstrap/cache/services.php +230 -230
  21. package/lib/158/public/css/app.css +28133 -28133
  22. package/lib/158/public/js/app.js +83979 -83979
  23. package/lib/158/public/mix-manifest.json +3 -3
  24. package/lib/158/storage/framework/views/1ddf75c1b95a4bfcdffdd013ed70c87e04029f74.php +38 -38
  25. package/lib/158/storage/framework/views/7ee0ae105f3a4c476f9d59f2047eb7c745e7d9a5.php +4 -4
  26. package/lib/158/storage/logs/laravel.log +91 -91
  27. package/lib/160/.editorconfig +18 -18
  28. package/lib/160/.env.example +58 -58
  29. package/lib/160/.gitattributes +11 -11
  30. package/lib/160/README.md +66 -66
  31. package/lib/160/app/Console/Kernel.php +32 -32
  32. package/lib/160/app/Exceptions/Handler.php +50 -50
  33. package/lib/160/app/Http/Controllers/Controller.php +13 -13
  34. package/lib/160/app/Http/Controllers/MainController.php +12 -12
  35. package/lib/160/app/Http/Kernel.php +67 -67
  36. package/lib/160/app/Http/Middleware/Authenticate.php +21 -21
  37. package/lib/160/app/Http/Middleware/EncryptCookies.php +17 -17
  38. package/lib/160/app/Http/Middleware/PreventRequestsDuringMaintenance.php +17 -17
  39. package/lib/160/app/Http/Middleware/RedirectIfAuthenticated.php +32 -32
  40. package/lib/160/app/Http/Middleware/TrimStrings.php +19 -19
  41. package/lib/160/app/Http/Middleware/TrustHosts.php +20 -20
  42. package/lib/160/app/Http/Middleware/TrustProxies.php +28 -28
  43. package/lib/160/app/Http/Middleware/ValidateSignature.php +22 -22
  44. package/lib/160/app/Http/Middleware/VerifyCsrfToken.php +17 -17
  45. package/lib/160/app/Models/User.php +44 -44
  46. package/lib/160/app/Providers/AppServiceProvider.php +28 -28
  47. package/lib/160/app/Providers/AuthServiceProvider.php +30 -30
  48. package/lib/160/app/Providers/BroadcastServiceProvider.php +21 -21
  49. package/lib/160/app/Providers/EventServiceProvider.php +42 -42
  50. package/lib/160/app/Providers/RouteServiceProvider.php +52 -52
  51. package/lib/160/artisan +53 -53
  52. package/lib/160/bootstrap/app.php +55 -55
  53. package/lib/160/bootstrap/cache/.gitignore +2 -2
  54. package/lib/160/composer.json +65 -65
  55. package/lib/160/config/app.php +215 -215
  56. package/lib/160/config/auth.php +111 -111
  57. package/lib/160/config/broadcasting.php +70 -70
  58. package/lib/160/config/cache.php +110 -110
  59. package/lib/160/config/cors.php +34 -34
  60. package/lib/160/config/database.php +151 -151
  61. package/lib/160/config/filesystems.php +76 -76
  62. package/lib/160/config/hashing.php +52 -52
  63. package/lib/160/config/logging.php +122 -122
  64. package/lib/160/config/mail.php +118 -118
  65. package/lib/160/config/queue.php +93 -93
  66. package/lib/160/config/sanctum.php +67 -67
  67. package/lib/160/config/services.php +34 -34
  68. package/lib/160/config/session.php +201 -201
  69. package/lib/160/config/view.php +36 -36
  70. package/lib/160/database/factories/UserFactory.php +40 -40
  71. package/lib/160/database/migrations/2014_10_12_000000_create_users_table.php +36 -36
  72. package/lib/160/database/migrations/2014_10_12_100000_create_password_resets_table.php +32 -32
  73. package/lib/160/database/migrations/2019_08_19_000000_create_failed_jobs_table.php +36 -36
  74. package/lib/160/database/migrations/2019_12_14_000001_create_personal_access_tokens_table.php +37 -37
  75. package/lib/160/database/seeders/DatabaseSeeder.php +24 -24
  76. package/lib/160/lang/en/auth.php +20 -20
  77. package/lib/160/lang/en/pagination.php +19 -19
  78. package/lib/160/lang/en/passwords.php +22 -22
  79. package/lib/160/lang/en/validation.php +184 -184
  80. package/lib/160/package.json +25 -25
  81. package/lib/160/phpunit.xml +31 -31
  82. package/lib/160/public/.htaccess +21 -21
  83. package/lib/160/public/index.php +55 -55
  84. package/lib/160/public/robots.txt +2 -2
  85. package/lib/160/resources/js/app.js +32 -32
  86. package/lib/160/resources/js/bootstrap.js +35 -35
  87. package/lib/160/resources/views/welcome.blade.php +132 -132
  88. package/lib/160/routes/api.php +19 -19
  89. package/lib/160/routes/channels.php +18 -18
  90. package/lib/160/routes/console.php +19 -19
  91. package/lib/160/routes/web.php +19 -19
  92. package/lib/160/storage/app/.gitignore +3 -3
  93. package/lib/160/storage/app/public/.gitignore +2 -2
  94. package/lib/160/storage/framework/cache/.gitignore +3 -3
  95. package/lib/160/storage/framework/cache/data/.gitignore +2 -2
  96. package/lib/160/storage/framework/sessions/.gitignore +2 -2
  97. package/lib/160/storage/framework/testing/.gitignore +2 -2
  98. package/lib/160/storage/framework/views/.gitignore +2 -2
  99. package/lib/160/storage/logs/.gitignore +2 -2
  100. package/lib/160/tests/CreatesApplication.php +22 -22
  101. package/lib/160/tests/Feature/ExampleTest.php +21 -21
  102. package/lib/160/tests/TestCase.php +10 -10
  103. package/lib/160/tests/Unit/ExampleTest.php +18 -18
  104. package/lib/160/vite.config.js +26 -26
  105. package/lib/161/resources/js/components/pages/About.vue +4 -4
  106. package/lib/161/resources/js/components/pages/Error.vue +4 -4
  107. package/lib/161/resources/js/components/pages/Home.vue +20 -20
  108. package/lib/161/resources/js/components/templates/App.vue +85 -85
  109. package/lib/161/resources/js/mainStore.js +19 -19
  110. package/lib/161/resources/js/router.js +39 -39
  111. package/lib/161/resources/views/layouts/app.blade.php +13 -13
  112. package/lib/161/storage/framework/views/2e9971bec8a529e679b1529e9584647f.php +13 -13
  113. package/lib/162/resources/js/components/pages/About.vue +4 -4
  114. package/lib/162/resources/js/components/pages/Error.vue +4 -4
  115. package/lib/162/resources/js/components/pages/Home.vue +20 -20
  116. package/lib/162/resources/js/components/templates/App.vue +85 -85
  117. package/lib/162/resources/js/mainStore.js +19 -19
  118. package/lib/162/resources/js/router.js +39 -39
  119. package/lib/162/resources/views/layouts/app.blade.php +13 -13
  120. package/package.json +2 -2
@@ -1,93 +1,93 @@
1
- <?php
2
-
3
- return [
4
-
5
- /*
6
- |--------------------------------------------------------------------------
7
- | Default Queue Connection Name
8
- |--------------------------------------------------------------------------
9
- |
10
- | Laravel's queue API supports an assortment of back-ends via a single
11
- | API, giving you convenient access to each back-end using the same
12
- | syntax for every one. Here you may define a default connection.
13
- |
14
- */
15
-
16
- 'default' => env('QUEUE_CONNECTION', 'sync'),
17
-
18
- /*
19
- |--------------------------------------------------------------------------
20
- | Queue Connections
21
- |--------------------------------------------------------------------------
22
- |
23
- | Here you may configure the connection information for each server that
24
- | is used by your application. A default configuration has been added
25
- | for each back-end shipped with Laravel. You are free to add more.
26
- |
27
- | Drivers: "sync", "database", "beanstalkd", "sqs", "redis", "null"
28
- |
29
- */
30
-
31
- 'connections' => [
32
-
33
- 'sync' => [
34
- 'driver' => 'sync',
35
- ],
36
-
37
- 'database' => [
38
- 'driver' => 'database',
39
- 'table' => 'jobs',
40
- 'queue' => 'default',
41
- 'retry_after' => 90,
42
- 'after_commit' => false,
43
- ],
44
-
45
- 'beanstalkd' => [
46
- 'driver' => 'beanstalkd',
47
- 'host' => 'localhost',
48
- 'queue' => 'default',
49
- 'retry_after' => 90,
50
- 'block_for' => 0,
51
- 'after_commit' => false,
52
- ],
53
-
54
- 'sqs' => [
55
- 'driver' => 'sqs',
56
- 'key' => env('AWS_ACCESS_KEY_ID'),
57
- 'secret' => env('AWS_SECRET_ACCESS_KEY'),
58
- 'prefix' => env('SQS_PREFIX', 'https://sqs.us-east-1.amazonaws.com/your-account-id'),
59
- 'queue' => env('SQS_QUEUE', 'default'),
60
- 'suffix' => env('SQS_SUFFIX'),
61
- 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
62
- 'after_commit' => false,
63
- ],
64
-
65
- 'redis' => [
66
- 'driver' => 'redis',
67
- 'connection' => 'default',
68
- 'queue' => env('REDIS_QUEUE', 'default'),
69
- 'retry_after' => 90,
70
- 'block_for' => null,
71
- 'after_commit' => false,
72
- ],
73
-
74
- ],
75
-
76
- /*
77
- |--------------------------------------------------------------------------
78
- | Failed Queue Jobs
79
- |--------------------------------------------------------------------------
80
- |
81
- | These options configure the behavior of failed queue job logging so you
82
- | can control which database and table are used to store the jobs that
83
- | have failed. You may change them to any database / table you wish.
84
- |
85
- */
86
-
87
- 'failed' => [
88
- 'driver' => env('QUEUE_FAILED_DRIVER', 'database-uuids'),
89
- 'database' => env('DB_CONNECTION', 'mysql'),
90
- 'table' => 'failed_jobs',
91
- ],
92
-
93
- ];
1
+ <?php
2
+
3
+ return [
4
+
5
+ /*
6
+ |--------------------------------------------------------------------------
7
+ | Default Queue Connection Name
8
+ |--------------------------------------------------------------------------
9
+ |
10
+ | Laravel's queue API supports an assortment of back-ends via a single
11
+ | API, giving you convenient access to each back-end using the same
12
+ | syntax for every one. Here you may define a default connection.
13
+ |
14
+ */
15
+
16
+ 'default' => env('QUEUE_CONNECTION', 'sync'),
17
+
18
+ /*
19
+ |--------------------------------------------------------------------------
20
+ | Queue Connections
21
+ |--------------------------------------------------------------------------
22
+ |
23
+ | Here you may configure the connection information for each server that
24
+ | is used by your application. A default configuration has been added
25
+ | for each back-end shipped with Laravel. You are free to add more.
26
+ |
27
+ | Drivers: "sync", "database", "beanstalkd", "sqs", "redis", "null"
28
+ |
29
+ */
30
+
31
+ 'connections' => [
32
+
33
+ 'sync' => [
34
+ 'driver' => 'sync',
35
+ ],
36
+
37
+ 'database' => [
38
+ 'driver' => 'database',
39
+ 'table' => 'jobs',
40
+ 'queue' => 'default',
41
+ 'retry_after' => 90,
42
+ 'after_commit' => false,
43
+ ],
44
+
45
+ 'beanstalkd' => [
46
+ 'driver' => 'beanstalkd',
47
+ 'host' => 'localhost',
48
+ 'queue' => 'default',
49
+ 'retry_after' => 90,
50
+ 'block_for' => 0,
51
+ 'after_commit' => false,
52
+ ],
53
+
54
+ 'sqs' => [
55
+ 'driver' => 'sqs',
56
+ 'key' => env('AWS_ACCESS_KEY_ID'),
57
+ 'secret' => env('AWS_SECRET_ACCESS_KEY'),
58
+ 'prefix' => env('SQS_PREFIX', 'https://sqs.us-east-1.amazonaws.com/your-account-id'),
59
+ 'queue' => env('SQS_QUEUE', 'default'),
60
+ 'suffix' => env('SQS_SUFFIX'),
61
+ 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
62
+ 'after_commit' => false,
63
+ ],
64
+
65
+ 'redis' => [
66
+ 'driver' => 'redis',
67
+ 'connection' => 'default',
68
+ 'queue' => env('REDIS_QUEUE', 'default'),
69
+ 'retry_after' => 90,
70
+ 'block_for' => null,
71
+ 'after_commit' => false,
72
+ ],
73
+
74
+ ],
75
+
76
+ /*
77
+ |--------------------------------------------------------------------------
78
+ | Failed Queue Jobs
79
+ |--------------------------------------------------------------------------
80
+ |
81
+ | These options configure the behavior of failed queue job logging so you
82
+ | can control which database and table are used to store the jobs that
83
+ | have failed. You may change them to any database / table you wish.
84
+ |
85
+ */
86
+
87
+ 'failed' => [
88
+ 'driver' => env('QUEUE_FAILED_DRIVER', 'database-uuids'),
89
+ 'database' => env('DB_CONNECTION', 'mysql'),
90
+ 'table' => 'failed_jobs',
91
+ ],
92
+
93
+ ];
@@ -1,67 +1,67 @@
1
- <?php
2
-
3
- use Laravel\Sanctum\Sanctum;
4
-
5
- return [
6
-
7
- /*
8
- |--------------------------------------------------------------------------
9
- | Stateful Domains
10
- |--------------------------------------------------------------------------
11
- |
12
- | Requests from the following domains / hosts will receive stateful API
13
- | authentication cookies. Typically, these should include your local
14
- | and production domains which access your API via a frontend SPA.
15
- |
16
- */
17
-
18
- 'stateful' => explode(',', env('SANCTUM_STATEFUL_DOMAINS', sprintf(
19
- '%s%s',
20
- 'localhost,localhost:3000,127.0.0.1,127.0.0.1:8000,::1',
21
- Sanctum::currentApplicationUrlWithPort()
22
- ))),
23
-
24
- /*
25
- |--------------------------------------------------------------------------
26
- | Sanctum Guards
27
- |--------------------------------------------------------------------------
28
- |
29
- | This array contains the authentication guards that will be checked when
30
- | Sanctum is trying to authenticate a request. If none of these guards
31
- | are able to authenticate the request, Sanctum will use the bearer
32
- | token that's present on an incoming request for authentication.
33
- |
34
- */
35
-
36
- 'guard' => ['web'],
37
-
38
- /*
39
- |--------------------------------------------------------------------------
40
- | Expiration Minutes
41
- |--------------------------------------------------------------------------
42
- |
43
- | This value controls the number of minutes until an issued token will be
44
- | considered expired. If this value is null, personal access tokens do
45
- | not expire. This won't tweak the lifetime of first-party sessions.
46
- |
47
- */
48
-
49
- 'expiration' => null,
50
-
51
- /*
52
- |--------------------------------------------------------------------------
53
- | Sanctum Middleware
54
- |--------------------------------------------------------------------------
55
- |
56
- | When authenticating your first-party SPA with Sanctum you may need to
57
- | customize some of the middleware Sanctum uses while processing the
58
- | request. You may change the middleware listed below as required.
59
- |
60
- */
61
-
62
- 'middleware' => [
63
- 'verify_csrf_token' => App\Http\Middleware\VerifyCsrfToken::class,
64
- 'encrypt_cookies' => App\Http\Middleware\EncryptCookies::class,
65
- ],
66
-
67
- ];
1
+ <?php
2
+
3
+ use Laravel\Sanctum\Sanctum;
4
+
5
+ return [
6
+
7
+ /*
8
+ |--------------------------------------------------------------------------
9
+ | Stateful Domains
10
+ |--------------------------------------------------------------------------
11
+ |
12
+ | Requests from the following domains / hosts will receive stateful API
13
+ | authentication cookies. Typically, these should include your local
14
+ | and production domains which access your API via a frontend SPA.
15
+ |
16
+ */
17
+
18
+ 'stateful' => explode(',', env('SANCTUM_STATEFUL_DOMAINS', sprintf(
19
+ '%s%s',
20
+ 'localhost,localhost:3000,127.0.0.1,127.0.0.1:8000,::1',
21
+ Sanctum::currentApplicationUrlWithPort()
22
+ ))),
23
+
24
+ /*
25
+ |--------------------------------------------------------------------------
26
+ | Sanctum Guards
27
+ |--------------------------------------------------------------------------
28
+ |
29
+ | This array contains the authentication guards that will be checked when
30
+ | Sanctum is trying to authenticate a request. If none of these guards
31
+ | are able to authenticate the request, Sanctum will use the bearer
32
+ | token that's present on an incoming request for authentication.
33
+ |
34
+ */
35
+
36
+ 'guard' => ['web'],
37
+
38
+ /*
39
+ |--------------------------------------------------------------------------
40
+ | Expiration Minutes
41
+ |--------------------------------------------------------------------------
42
+ |
43
+ | This value controls the number of minutes until an issued token will be
44
+ | considered expired. If this value is null, personal access tokens do
45
+ | not expire. This won't tweak the lifetime of first-party sessions.
46
+ |
47
+ */
48
+
49
+ 'expiration' => null,
50
+
51
+ /*
52
+ |--------------------------------------------------------------------------
53
+ | Sanctum Middleware
54
+ |--------------------------------------------------------------------------
55
+ |
56
+ | When authenticating your first-party SPA with Sanctum you may need to
57
+ | customize some of the middleware Sanctum uses while processing the
58
+ | request. You may change the middleware listed below as required.
59
+ |
60
+ */
61
+
62
+ 'middleware' => [
63
+ 'verify_csrf_token' => App\Http\Middleware\VerifyCsrfToken::class,
64
+ 'encrypt_cookies' => App\Http\Middleware\EncryptCookies::class,
65
+ ],
66
+
67
+ ];
@@ -1,34 +1,34 @@
1
- <?php
2
-
3
- return [
4
-
5
- /*
6
- |--------------------------------------------------------------------------
7
- | Third Party Services
8
- |--------------------------------------------------------------------------
9
- |
10
- | This file is for storing the credentials for third party services such
11
- | as Mailgun, Postmark, AWS and more. This file provides the de facto
12
- | location for this type of information, allowing packages to have
13
- | a conventional file to locate the various service credentials.
14
- |
15
- */
16
-
17
- 'mailgun' => [
18
- 'domain' => env('MAILGUN_DOMAIN'),
19
- 'secret' => env('MAILGUN_SECRET'),
20
- 'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'),
21
- 'scheme' => 'https',
22
- ],
23
-
24
- 'postmark' => [
25
- 'token' => env('POSTMARK_TOKEN'),
26
- ],
27
-
28
- 'ses' => [
29
- 'key' => env('AWS_ACCESS_KEY_ID'),
30
- 'secret' => env('AWS_SECRET_ACCESS_KEY'),
31
- 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
32
- ],
33
-
34
- ];
1
+ <?php
2
+
3
+ return [
4
+
5
+ /*
6
+ |--------------------------------------------------------------------------
7
+ | Third Party Services
8
+ |--------------------------------------------------------------------------
9
+ |
10
+ | This file is for storing the credentials for third party services such
11
+ | as Mailgun, Postmark, AWS and more. This file provides the de facto
12
+ | location for this type of information, allowing packages to have
13
+ | a conventional file to locate the various service credentials.
14
+ |
15
+ */
16
+
17
+ 'mailgun' => [
18
+ 'domain' => env('MAILGUN_DOMAIN'),
19
+ 'secret' => env('MAILGUN_SECRET'),
20
+ 'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'),
21
+ 'scheme' => 'https',
22
+ ],
23
+
24
+ 'postmark' => [
25
+ 'token' => env('POSTMARK_TOKEN'),
26
+ ],
27
+
28
+ 'ses' => [
29
+ 'key' => env('AWS_ACCESS_KEY_ID'),
30
+ 'secret' => env('AWS_SECRET_ACCESS_KEY'),
31
+ 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
32
+ ],
33
+
34
+ ];