create-v-kit-spa 1.0.9 → 1.0.10

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 (42) hide show
  1. package/README.md +3 -2
  2. package/lib/162/.env.example +7 -1
  3. package/lib/162/README.md +19 -0
  4. package/lib/162/composer.json +7 -3
  5. package/lib/162/composer.lock +1140 -579
  6. package/lib/162/config/cache.php +3 -4
  7. package/lib/162/config/database.php +2 -5
  8. package/lib/162/config/filesystems.php +2 -3
  9. package/lib/162/config/logging.php +1 -1
  10. package/lib/162/config/mail.php +2 -15
  11. package/lib/162/config/queue.php +4 -4
  12. package/lib/162/config/services.php +0 -4
  13. package/lib/162/config/session.php +1 -0
  14. package/lib/162/package-lock.json +1330 -0
  15. package/lib/162/package.json +9 -1
  16. package/lib/162/public/.htaccess +8 -6
  17. package/lib/162/resources/js/app.js +10 -10
  18. package/lib/162/resources/js/components/About.vue +5 -0
  19. package/lib/162/resources/js/components/Home.vue +12 -0
  20. package/lib/162/resources/js/failOver.js +9 -0
  21. package/lib/162/resources/js/router.js +24 -40
  22. package/lib/162/resources/js/{mainStore.js → store.js} +18 -19
  23. package/lib/162/resources/js/{components/templates → templates}/App.vue +66 -86
  24. package/lib/162/resources/js/views/HomeView.vue +8 -0
  25. package/lib/162/resources/views/layouts/app.blade.php +14 -13
  26. package/lib/162/resources/views/welcome.blade.php +2 -2
  27. package/lib/162/routes/web.php +3 -2
  28. package/lib/162/storage/app/.gitignore +3 -0
  29. package/lib/162/storage/app/public/.gitignore +2 -0
  30. package/lib/162/storage/framework/cache/.gitignore +3 -0
  31. package/lib/162/storage/framework/cache/data/.gitignore +2 -0
  32. package/lib/162/storage/framework/sessions/.gitignore +2 -0
  33. package/lib/162/storage/framework/testing/.gitignore +2 -0
  34. package/lib/162/storage/framework/views/.gitignore +2 -0
  35. package/lib/162/storage/logs/.gitignore +2 -0
  36. package/lib/162/vite.config.js +1 -1
  37. package/package.json +3 -2
  38. package/lib/162/app/Http/Controllers/MainController.php +0 -12
  39. package/lib/162/database/database.sqlite +0 -0
  40. package/lib/162/resources/js/components/pages/About.vue +0 -5
  41. package/lib/162/resources/js/components/pages/Error.vue +0 -5
  42. package/lib/162/resources/js/components/pages/Home.vue +0 -21
package/README.md CHANGED
@@ -174,6 +174,7 @@ https://windows.php.net/downloads/releases/archives/php-8.0.9-Win32-vs16-x64.zip
174
174
  | `php artisan migrate` | Create a Sessions table |
175
175
  | `npm run artisan-dev` | Run both `php artisan serve` and `yarn dev` |
176
176
  | `http://127.0.0.1:8000/` | Visit your app, Enjoy! 🎉🎉 |
177
+ | `npm run build ` | Deploy! 🎉🎉 |
177
178
  <br>
178
179
 
179
180
  ## Docs
@@ -184,7 +185,7 @@ Have an idea? Found a bug? See [how to contribute](https://github.com/Shuashuaa/
184
185
 
185
186
  ## Contributors
186
187
  Thanks to:
187
- - [RGienz](https://github.com/RGienz) for contributing and maintaining [vuejs3 - laravel9](#vue-3---laravel-9) 👏
188
+ - [RGienz](https://github.com/RGienz) for contributing and maintaining [vuejs3 - laravel8](#vue-3---laravel-8) 👏
188
189
  <!-- <br>
189
190
 
190
191
  ## Changelog
@@ -192,4 +193,4 @@ To learn about the specific changes in each release, check the [Changelog](./Cha
192
193
  <br> -->
193
194
 
194
195
  ## License
195
- Free and Open Source Under [MIT](./LICENSE) License &copy; 2024-PRESENT [Shuashuaa](https://github.com/Shuashuaa)
196
+ Free and Open Source Under [MIT](./LICENSE) License &copy; 2024-PRESENT [Shuashuaa](https://github.com/Shuashuaa)
@@ -5,12 +5,18 @@ APP_DEBUG=true
5
5
  APP_TIMEZONE=UTC
6
6
  APP_URL=http://localhost
7
7
 
8
+ # DEPLOYMENT
9
+ ASSET_URL=http://{ip_address}:{port}/ProjectName
10
+ VITE_HOST={ip_address}
11
+ VITE_BASE_URL=http://{ip_address}:{port}/ProjectName
12
+ VITE_LOCAL_IP={ip_address}
13
+
8
14
  APP_LOCALE=en
9
15
  APP_FALLBACK_LOCALE=en
10
16
  APP_FAKER_LOCALE=en_US
11
17
 
12
18
  APP_MAINTENANCE_DRIVER=file
13
- # APP_MAINTENANCE_STORE=database
19
+ APP_MAINTENANCE_STORE=database
14
20
 
15
21
  BCRYPT_ROUNDS=12
16
22
 
package/lib/162/README.md CHANGED
@@ -64,3 +64,22 @@ If you discover a security vulnerability within Laravel, please send an e-mail t
64
64
  ## License
65
65
 
66
66
  The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).
67
+
68
+ ## isNeed of api.php
69
+ ```
70
+ php artisan install:api
71
+ ```
72
+
73
+ ## Deployment
74
+
75
+ ```
76
+ // .env
77
+ ASSET_URL=http://{ip_address}:{port}/ProjectName
78
+ VITE_HOST={ip_address}
79
+ VITE_BASE_URL=http://{ip_address}:{port}/ProjectName
80
+ VITE_LOCAL_IP={ip_address}
81
+ ```
82
+
83
+ ```
84
+ npm run build
85
+ ```
@@ -6,7 +6,7 @@
6
6
  "license": "MIT",
7
7
  "require": {
8
8
  "php": "^8.2",
9
- "laravel/framework": "^11.9",
9
+ "laravel/framework": "^11.0",
10
10
  "laravel/tinker": "^2.9"
11
11
  },
12
12
  "require-dev": {
@@ -15,7 +15,8 @@
15
15
  "laravel/sail": "^1.26",
16
16
  "mockery/mockery": "^1.6",
17
17
  "nunomaduro/collision": "^8.0",
18
- "phpunit/phpunit": "^11.0.1"
18
+ "phpunit/phpunit": "^10.5",
19
+ "spatie/laravel-ignition": "^2.4"
19
20
  },
20
21
  "autoload": {
21
22
  "psr-4": {
@@ -43,10 +44,13 @@
43
44
  "post-create-project-cmd": [
44
45
  "@php artisan key:generate --ansi",
45
46
  "@php -r \"file_exists('database/database.sqlite') || touch('database/database.sqlite');\"",
46
- "@php artisan migrate --graceful --ansi"
47
+ "@php artisan migrate --ansi"
47
48
  ]
48
49
  },
49
50
  "extra": {
51
+ "branch-alias": {
52
+ "dev-master": "11.x-dev"
53
+ },
50
54
  "laravel": {
51
55
  "dont-discover": []
52
56
  }