@samanhappy/mcphub 0.7.7 → 0.8.1

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.
@@ -5,8 +5,8 @@
5
5
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
6
  <title>MCP Hub Dashboard</title>
7
7
  <link rel="icon" type="image/x-icon" href="./assets/favicon-DJnZjsC8.ico">
8
- <script type="module" crossorigin src="./assets/index-Dr8Yov3b.js"></script>
9
- <link rel="stylesheet" crossorigin href="./assets/index-B0BhrPem.css">
8
+ <script type="module" crossorigin src="./assets/index-DINekbuX.js"></script>
9
+ <link rel="stylesheet" crossorigin href="./assets/index-BTlOGwgN.css">
10
10
  </head>
11
11
  <body class="bg-gray-100">
12
12
  <div id="root"></div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@samanhappy/mcphub",
3
- "version": "0.7.7",
3
+ "version": "0.8.1",
4
4
  "description": "A hub server for mcp servers",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -25,8 +25,10 @@
25
25
  "author": "",
26
26
  "license": "ISC",
27
27
  "dependencies": {
28
+ "@apidevtools/swagger-parser": "^11.0.1",
28
29
  "@modelcontextprotocol/sdk": "^1.12.1",
29
30
  "@types/pg": "^8.15.2",
31
+ "axios": "^1.10.0",
30
32
  "bcryptjs": "^3.0.2",
31
33
  "dotenv": "^16.3.1",
32
34
  "dotenv-expand": "^12.0.2",
@@ -34,6 +36,7 @@
34
36
  "express-validator": "^7.2.1",
35
37
  "jsonwebtoken": "^9.0.2",
36
38
  "openai": "^4.103.0",
39
+ "openapi-types": "^12.1.3",
37
40
  "pg": "^8.16.0",
38
41
  "pgvector": "^0.2.1",
39
42
  "postgres": "^3.4.7",
@@ -54,6 +57,7 @@
54
57
  "@types/node": "^22.15.21",
55
58
  "@types/react": "^19.0.12",
56
59
  "@types/react-dom": "^19.0.4",
60
+ "@types/supertest": "^6.0.3",
57
61
  "@types/uuid": "^10.0.0",
58
62
  "@typescript-eslint/eslint-plugin": "^6.7.4",
59
63
  "@typescript-eslint/parser": "^6.7.4",
@@ -66,6 +70,8 @@
66
70
  "i18next": "^24.2.3",
67
71
  "i18next-browser-languagedetector": "^8.0.4",
68
72
  "jest": "^29.7.0",
73
+ "jest-environment-node": "^30.0.0",
74
+ "jest-mock-extended": "4.0.0-beta1",
69
75
  "lucide-react": "^0.486.0",
70
76
  "next": "^15.2.4",
71
77
  "postcss": "^8.5.3",
@@ -74,6 +80,7 @@
74
80
  "react-dom": "^19.1.0",
75
81
  "react-i18next": "^15.4.1",
76
82
  "react-router-dom": "^7.6.0",
83
+ "supertest": "^7.1.1",
77
84
  "tailwind-merge": "^3.1.0",
78
85
  "tailwind-scrollbar-hide": "^2.0.0",
79
86
  "tailwindcss": "^4.0.17",
@@ -96,6 +103,10 @@
96
103
  "lint": "eslint . --ext .ts",
97
104
  "format": "prettier --write \"src/**/*.ts\"",
98
105
  "test": "jest",
106
+ "test:watch": "jest --watch",
107
+ "test:coverage": "jest --coverage",
108
+ "test:verbose": "jest --verbose",
109
+ "test:ci": "jest --ci --coverage --watchAll=false",
99
110
  "frontend:dev": "cd frontend && vite",
100
111
  "frontend:build": "cd frontend && vite build",
101
112
  "frontend:preview": "cd frontend && vite preview",