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,70 +1,70 @@
1
- <?php
2
-
3
- return [
4
-
5
- /*
6
- |--------------------------------------------------------------------------
7
- | Default Broadcaster
8
- |--------------------------------------------------------------------------
9
- |
10
- | This option controls the default broadcaster that will be used by the
11
- | framework when an event needs to be broadcast. You may set this to
12
- | any of the connections defined in the "connections" array below.
13
- |
14
- | Supported: "pusher", "ably", "redis", "log", "null"
15
- |
16
- */
17
-
18
- 'default' => env('BROADCAST_DRIVER', 'null'),
19
-
20
- /*
21
- |--------------------------------------------------------------------------
22
- | Broadcast Connections
23
- |--------------------------------------------------------------------------
24
- |
25
- | Here you may define all of the broadcast connections that will be used
26
- | to broadcast events to other systems or over websockets. Samples of
27
- | each available type of connection are provided inside this array.
28
- |
29
- */
30
-
31
- 'connections' => [
32
-
33
- 'pusher' => [
34
- 'driver' => 'pusher',
35
- 'key' => env('PUSHER_APP_KEY'),
36
- 'secret' => env('PUSHER_APP_SECRET'),
37
- 'app_id' => env('PUSHER_APP_ID'),
38
- 'options' => [
39
- 'host' => env('PUSHER_HOST') ?: 'api-'.env('PUSHER_APP_CLUSTER', 'mt1').'.pusher.com',
40
- 'port' => env('PUSHER_PORT', 443),
41
- 'scheme' => env('PUSHER_SCHEME', 'https'),
42
- 'encrypted' => true,
43
- 'useTLS' => env('PUSHER_SCHEME', 'https') === 'https',
44
- ],
45
- 'client_options' => [
46
- // Guzzle client options: https://docs.guzzlephp.org/en/stable/request-options.html
47
- ],
48
- ],
49
-
50
- 'ably' => [
51
- 'driver' => 'ably',
52
- 'key' => env('ABLY_KEY'),
53
- ],
54
-
55
- 'redis' => [
56
- 'driver' => 'redis',
57
- 'connection' => 'default',
58
- ],
59
-
60
- 'log' => [
61
- 'driver' => 'log',
62
- ],
63
-
64
- 'null' => [
65
- 'driver' => 'null',
66
- ],
67
-
68
- ],
69
-
70
- ];
1
+ <?php
2
+
3
+ return [
4
+
5
+ /*
6
+ |--------------------------------------------------------------------------
7
+ | Default Broadcaster
8
+ |--------------------------------------------------------------------------
9
+ |
10
+ | This option controls the default broadcaster that will be used by the
11
+ | framework when an event needs to be broadcast. You may set this to
12
+ | any of the connections defined in the "connections" array below.
13
+ |
14
+ | Supported: "pusher", "ably", "redis", "log", "null"
15
+ |
16
+ */
17
+
18
+ 'default' => env('BROADCAST_DRIVER', 'null'),
19
+
20
+ /*
21
+ |--------------------------------------------------------------------------
22
+ | Broadcast Connections
23
+ |--------------------------------------------------------------------------
24
+ |
25
+ | Here you may define all of the broadcast connections that will be used
26
+ | to broadcast events to other systems or over websockets. Samples of
27
+ | each available type of connection are provided inside this array.
28
+ |
29
+ */
30
+
31
+ 'connections' => [
32
+
33
+ 'pusher' => [
34
+ 'driver' => 'pusher',
35
+ 'key' => env('PUSHER_APP_KEY'),
36
+ 'secret' => env('PUSHER_APP_SECRET'),
37
+ 'app_id' => env('PUSHER_APP_ID'),
38
+ 'options' => [
39
+ 'host' => env('PUSHER_HOST') ?: 'api-'.env('PUSHER_APP_CLUSTER', 'mt1').'.pusher.com',
40
+ 'port' => env('PUSHER_PORT', 443),
41
+ 'scheme' => env('PUSHER_SCHEME', 'https'),
42
+ 'encrypted' => true,
43
+ 'useTLS' => env('PUSHER_SCHEME', 'https') === 'https',
44
+ ],
45
+ 'client_options' => [
46
+ // Guzzle client options: https://docs.guzzlephp.org/en/stable/request-options.html
47
+ ],
48
+ ],
49
+
50
+ 'ably' => [
51
+ 'driver' => 'ably',
52
+ 'key' => env('ABLY_KEY'),
53
+ ],
54
+
55
+ 'redis' => [
56
+ 'driver' => 'redis',
57
+ 'connection' => 'default',
58
+ ],
59
+
60
+ 'log' => [
61
+ 'driver' => 'log',
62
+ ],
63
+
64
+ 'null' => [
65
+ 'driver' => 'null',
66
+ ],
67
+
68
+ ],
69
+
70
+ ];
@@ -1,110 +1,110 @@
1
- <?php
2
-
3
- use Illuminate\Support\Str;
4
-
5
- return [
6
-
7
- /*
8
- |--------------------------------------------------------------------------
9
- | Default Cache Store
10
- |--------------------------------------------------------------------------
11
- |
12
- | This option controls the default cache connection that gets used while
13
- | using this caching library. This connection is used when another is
14
- | not explicitly specified when executing a given caching function.
15
- |
16
- */
17
-
18
- 'default' => env('CACHE_DRIVER', 'file'),
19
-
20
- /*
21
- |--------------------------------------------------------------------------
22
- | Cache Stores
23
- |--------------------------------------------------------------------------
24
- |
25
- | Here you may define all of the cache "stores" for your application as
26
- | well as their drivers. You may even define multiple stores for the
27
- | same cache driver to group types of items stored in your caches.
28
- |
29
- | Supported drivers: "apc", "array", "database", "file",
30
- | "memcached", "redis", "dynamodb", "octane", "null"
31
- |
32
- */
33
-
34
- 'stores' => [
35
-
36
- 'apc' => [
37
- 'driver' => 'apc',
38
- ],
39
-
40
- 'array' => [
41
- 'driver' => 'array',
42
- 'serialize' => false,
43
- ],
44
-
45
- 'database' => [
46
- 'driver' => 'database',
47
- 'table' => 'cache',
48
- 'connection' => null,
49
- 'lock_connection' => null,
50
- ],
51
-
52
- 'file' => [
53
- 'driver' => 'file',
54
- 'path' => storage_path('framework/cache/data'),
55
- ],
56
-
57
- 'memcached' => [
58
- 'driver' => 'memcached',
59
- 'persistent_id' => env('MEMCACHED_PERSISTENT_ID'),
60
- 'sasl' => [
61
- env('MEMCACHED_USERNAME'),
62
- env('MEMCACHED_PASSWORD'),
63
- ],
64
- 'options' => [
65
- // Memcached::OPT_CONNECT_TIMEOUT => 2000,
66
- ],
67
- 'servers' => [
68
- [
69
- 'host' => env('MEMCACHED_HOST', '127.0.0.1'),
70
- 'port' => env('MEMCACHED_PORT', 11211),
71
- 'weight' => 100,
72
- ],
73
- ],
74
- ],
75
-
76
- 'redis' => [
77
- 'driver' => 'redis',
78
- 'connection' => 'cache',
79
- 'lock_connection' => 'default',
80
- ],
81
-
82
- 'dynamodb' => [
83
- 'driver' => 'dynamodb',
84
- 'key' => env('AWS_ACCESS_KEY_ID'),
85
- 'secret' => env('AWS_SECRET_ACCESS_KEY'),
86
- 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
87
- 'table' => env('DYNAMODB_CACHE_TABLE', 'cache'),
88
- 'endpoint' => env('DYNAMODB_ENDPOINT'),
89
- ],
90
-
91
- 'octane' => [
92
- 'driver' => 'octane',
93
- ],
94
-
95
- ],
96
-
97
- /*
98
- |--------------------------------------------------------------------------
99
- | Cache Key Prefix
100
- |--------------------------------------------------------------------------
101
- |
102
- | When utilizing the APC, database, memcached, Redis, or DynamoDB cache
103
- | stores there might be other applications using the same cache. For
104
- | that reason, you may prefix every cache key to avoid collisions.
105
- |
106
- */
107
-
108
- 'prefix' => env('CACHE_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_cache_'),
109
-
110
- ];
1
+ <?php
2
+
3
+ use Illuminate\Support\Str;
4
+
5
+ return [
6
+
7
+ /*
8
+ |--------------------------------------------------------------------------
9
+ | Default Cache Store
10
+ |--------------------------------------------------------------------------
11
+ |
12
+ | This option controls the default cache connection that gets used while
13
+ | using this caching library. This connection is used when another is
14
+ | not explicitly specified when executing a given caching function.
15
+ |
16
+ */
17
+
18
+ 'default' => env('CACHE_DRIVER', 'file'),
19
+
20
+ /*
21
+ |--------------------------------------------------------------------------
22
+ | Cache Stores
23
+ |--------------------------------------------------------------------------
24
+ |
25
+ | Here you may define all of the cache "stores" for your application as
26
+ | well as their drivers. You may even define multiple stores for the
27
+ | same cache driver to group types of items stored in your caches.
28
+ |
29
+ | Supported drivers: "apc", "array", "database", "file",
30
+ | "memcached", "redis", "dynamodb", "octane", "null"
31
+ |
32
+ */
33
+
34
+ 'stores' => [
35
+
36
+ 'apc' => [
37
+ 'driver' => 'apc',
38
+ ],
39
+
40
+ 'array' => [
41
+ 'driver' => 'array',
42
+ 'serialize' => false,
43
+ ],
44
+
45
+ 'database' => [
46
+ 'driver' => 'database',
47
+ 'table' => 'cache',
48
+ 'connection' => null,
49
+ 'lock_connection' => null,
50
+ ],
51
+
52
+ 'file' => [
53
+ 'driver' => 'file',
54
+ 'path' => storage_path('framework/cache/data'),
55
+ ],
56
+
57
+ 'memcached' => [
58
+ 'driver' => 'memcached',
59
+ 'persistent_id' => env('MEMCACHED_PERSISTENT_ID'),
60
+ 'sasl' => [
61
+ env('MEMCACHED_USERNAME'),
62
+ env('MEMCACHED_PASSWORD'),
63
+ ],
64
+ 'options' => [
65
+ // Memcached::OPT_CONNECT_TIMEOUT => 2000,
66
+ ],
67
+ 'servers' => [
68
+ [
69
+ 'host' => env('MEMCACHED_HOST', '127.0.0.1'),
70
+ 'port' => env('MEMCACHED_PORT', 11211),
71
+ 'weight' => 100,
72
+ ],
73
+ ],
74
+ ],
75
+
76
+ 'redis' => [
77
+ 'driver' => 'redis',
78
+ 'connection' => 'cache',
79
+ 'lock_connection' => 'default',
80
+ ],
81
+
82
+ 'dynamodb' => [
83
+ 'driver' => 'dynamodb',
84
+ 'key' => env('AWS_ACCESS_KEY_ID'),
85
+ 'secret' => env('AWS_SECRET_ACCESS_KEY'),
86
+ 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
87
+ 'table' => env('DYNAMODB_CACHE_TABLE', 'cache'),
88
+ 'endpoint' => env('DYNAMODB_ENDPOINT'),
89
+ ],
90
+
91
+ 'octane' => [
92
+ 'driver' => 'octane',
93
+ ],
94
+
95
+ ],
96
+
97
+ /*
98
+ |--------------------------------------------------------------------------
99
+ | Cache Key Prefix
100
+ |--------------------------------------------------------------------------
101
+ |
102
+ | When utilizing the APC, database, memcached, Redis, or DynamoDB cache
103
+ | stores there might be other applications using the same cache. For
104
+ | that reason, you may prefix every cache key to avoid collisions.
105
+ |
106
+ */
107
+
108
+ 'prefix' => env('CACHE_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_cache_'),
109
+
110
+ ];
@@ -1,34 +1,34 @@
1
- <?php
2
-
3
- return [
4
-
5
- /*
6
- |--------------------------------------------------------------------------
7
- | Cross-Origin Resource Sharing (CORS) Configuration
8
- |--------------------------------------------------------------------------
9
- |
10
- | Here you may configure your settings for cross-origin resource sharing
11
- | or "CORS". This determines what cross-origin operations may execute
12
- | in web browsers. You are free to adjust these settings as needed.
13
- |
14
- | To learn more: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
15
- |
16
- */
17
-
18
- 'paths' => ['api/*', 'sanctum/csrf-cookie'],
19
-
20
- 'allowed_methods' => ['*'],
21
-
22
- 'allowed_origins' => ['*'],
23
-
24
- 'allowed_origins_patterns' => [],
25
-
26
- 'allowed_headers' => ['*'],
27
-
28
- 'exposed_headers' => [],
29
-
30
- 'max_age' => 0,
31
-
32
- 'supports_credentials' => false,
33
-
34
- ];
1
+ <?php
2
+
3
+ return [
4
+
5
+ /*
6
+ |--------------------------------------------------------------------------
7
+ | Cross-Origin Resource Sharing (CORS) Configuration
8
+ |--------------------------------------------------------------------------
9
+ |
10
+ | Here you may configure your settings for cross-origin resource sharing
11
+ | or "CORS". This determines what cross-origin operations may execute
12
+ | in web browsers. You are free to adjust these settings as needed.
13
+ |
14
+ | To learn more: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
15
+ |
16
+ */
17
+
18
+ 'paths' => ['api/*', 'sanctum/csrf-cookie'],
19
+
20
+ 'allowed_methods' => ['*'],
21
+
22
+ 'allowed_origins' => ['*'],
23
+
24
+ 'allowed_origins_patterns' => [],
25
+
26
+ 'allowed_headers' => ['*'],
27
+
28
+ 'exposed_headers' => [],
29
+
30
+ 'max_age' => 0,
31
+
32
+ 'supports_credentials' => false,
33
+
34
+ ];