feat: rename server package to hub

Rename the `server/` directory to `hub/` and update all references
across CLI, docs, web, and workspace configuration.
This commit is contained in:
weishu
2026-01-27 19:51:21 +08:00
parent 10fe9f0cd9
commit 37e10a831b
125 changed files with 301 additions and 285 deletions
+5 -3
View File
@@ -57,8 +57,8 @@
"vitepress": "^1.6.4",
},
},
"server": {
"name": "hapi-server",
"hub": {
"name": "hapi-hub",
"version": "0.1.0",
"dependencies": {
"@hapi/protocol": "workspace:*",
@@ -858,6 +858,8 @@
"@twsxtd/hapi-linux-x64": ["@twsxtd/hapi-linux-x64@0.13.0", "", { "os": "linux", "cpu": "x64", "bin": { "hapi": "bin/hapi" } }, "sha512-09RiknUv0CKcjDFMk7RhsImYGRiufJ+/0zPifsVuVMd9e67hlO/2ClJgjF+Ez5Gg348WZX1loi6FJZf0CLIxuw=="],
"@twsxtd/hapi-win32-x64": ["@twsxtd/hapi-win32-x64@0.13.0", "", { "os": "win32", "cpu": "x64", "bin": { "hapi": "bin/hapi.exe" } }, "sha512-d0Dk/VVTi6clLXvHa/rpqR8z2WJqSDOHF384N2n1a9iL8J9amLP/ZckfBm07iz2+xMZcB4r/JgPAedo2psxfGg=="],
"@types/babel__core": ["@types/babel__core@7.20.5", "", { "dependencies": { "@babel/parser": "^7.20.7", "@babel/types": "^7.20.7", "@types/babel__generator": "*", "@types/babel__template": "*", "@types/babel__traverse": "*" } }, "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA=="],
"@types/babel__generator": ["@types/babel__generator@7.27.0", "", { "dependencies": { "@babel/types": "^7.0.0" } }, "sha512-ufFd2Xi92OAVPYsy+P4n7/U7e68fex0+Ee8gSG9KX7eo084CWiQ4sdxktvdl0bOPupXtVJPY19zk6EwWqUQ8lg=="],
@@ -1556,7 +1558,7 @@
"hapi-docs": ["hapi-docs@workspace:docs"],
"hapi-server": ["hapi-server@workspace:server"],
"hapi-hub": ["hapi-hub@workspace:hub"],
"hapi-web": ["hapi-web@workspace:web"],