Просмотр исходного кода

:heavy_plus_sign: add 3rd packages

Jeremy Zheng 1 день назад
Родитель
Сommit
c4762f3477
3 измененных файлов с 20 добавлено и 3 удалено
  1. 8 2
      api-v13/composer.json
  2. 11 0
      api-v13/package.json
  3. 1 1
      scripts/laravel.sh

+ 8 - 2
api-v13/composer.json

@@ -10,10 +10,16 @@
     "license": "MIT",
     "require": {
         "php": "^8.3",
+        "aws/aws-sdk-php": "^3.379",
+        "casbin/casbin": "^4.1",
+        "firebase/php-jwt": "^7.0",
+        "guzzlehttp/guzzle": "^7.10",
         "inertiajs/inertia-laravel": "^3.0",
         "laravel/framework": "^13.0",
         "laravel/tinker": "^3.0",
-        "laravel/wayfinder": "^0.1.14"
+        "laravel/wayfinder": "^0.1.14",
+        "opensearch-project/opensearch-php": "^2.6",
+        "phpoffice/phpspreadsheet": "^5.6"
     },
     "require-dev": {
         "fakerphp/faker": "^1.24",
@@ -104,4 +110,4 @@
         }
     },
     "minimum-stability": "stable"
-}
+}

+ 11 - 0
api-v13/package.json

@@ -29,17 +29,28 @@
         "typescript-eslint": "^8.23.0"
     },
     "dependencies": {
+        "@fortawesome/fontawesome-free": "^7.2.0",
         "@inertiajs/react": "^3.0.0",
         "@inertiajs/vite": "^3.0.0",
+        "@material/web": "^2.4.1",
+        "@tabler/core": "^1.4.0",
+        "@tabler/icons": "^3.41.1",
+        "@tabler/icons-webfont": "^3.41.1",
         "@tailwindcss/vite": "^4.1.11",
         "@types/react": "^19.2.0",
         "@types/react-dom": "^19.2.0",
         "@vitejs/plugin-react": "^5.2.0",
+        "bootstrap": "^5.3.8",
+        "bulma": "^1.0.4",
         "class-variance-authority": "^0.7.1",
         "clsx": "^2.1.1",
         "concurrently": "^9.0.1",
+        "dayjs": "^1.11.20",
+        "dompurify": "^3.4.0",
         "globals": "^15.14.0",
+        "jsdom": "^29.0.2",
         "laravel-vite-plugin": "^3.0.0",
+        "marked": "^18.0.2",
         "react": "^19.2.0",
         "react-dom": "^19.2.0",
         "tailwind-merge": "^3.0.1",

+ 1 - 1
scripts/laravel.sh

@@ -4,7 +4,7 @@ set -e
 
 git config --global --add safe.directory "$(dirname -- "$(realpath -- "$PWD")")"
 
-composer8.5 require --no-scripts \
+composer require --no-scripts \
     guzzlehttp/guzzle opensearch-project/opensearch-php phpoffice/phpspreadsheet aws/aws-sdk-php firebase/php-jwt casbin/casbin
 
 npm install --save \