From ac9a1026c22c81f967cab5d456bd43bf968f047a Mon Sep 17 00:00:00 2001
From: Plumbiu <3434909403@qq.com>
Date: Fri, 29 Dec 2023 10:57:30 +0800
Subject: [PATCH] chore: update deps

---
 package.json                   | 37 +++++++++++++++++-----------------
 packages/core/src/relations.ts |  2 +-
 2 files changed, 20 insertions(+), 19 deletions(-)

diff --git a/package.json b/package.json
index 58eea25a..46c3cc0b 100644
--- a/package.json
+++ b/package.json
@@ -1,4 +1,5 @@
 {
+  "name": "truth-cli-monorepo",
   "version": "1.0.0",
   "type": "module",
   "scripts": {
@@ -19,34 +20,34 @@
   },
   "license": "MIT",
   "devDependencies": {
-    "@changesets/cli": "^2.26.2",
+    "@changesets/cli": "^2.27.1",
     "@commitlint/cli": "^18.4.3",
     "@commitlint/config-conventional": "^18.4.3",
-    "@plumbiu/eslint-config": "^0.1.10",
+    "@plumbiu/eslint-config": "^0.2.0",
     "@types/minimist": "^1.2.5",
-    "@types/node": "^20.10.0",
-    "@vitejs/plugin-vue": "^4.5.0",
-    "@vitest/coverage-v8": "^0.34.6",
+    "@types/node": "^20.10.5",
+    "@vitejs/plugin-vue": "^5.0.0",
+    "@vitest/coverage-v8": "^1.1.0",
     "commitizen": "^4.3.0",
-    "cz-git": "^1.7.1",
-    "esbuild": "^0.19.8",
-    "eslint": "^8.54.0",
-    "eslint-config-prettier": "^9.0.0",
+    "cz-git": "^1.8.0",
+    "esbuild": "^0.19.10",
+    "eslint": "^8.56.0",
+    "eslint-config-prettier": "^9.1.0",
     "esno": "^4.0.0",
     "husky": "^8.0.3",
-    "lint-staged": "^15.1.0",
+    "lint-staged": "^15.2.0",
     "minimist": "^1.2.8",
     "picocolors": "^1.0.0",
-    "prettier": "^3.1.0",
-    "puppeteer": "^21.5.2",
-    "terser": "^5.24.0",
-    "typescript": "^5.3.2",
-    "unplugin-auto-import": "^0.17.1",
-    "unplugin-vue-components": "^0.25.2",
-    "vite": "^5.0.2",
+    "prettier": "^3.1.1",
+    "puppeteer": "^21.6.1",
+    "terser": "^5.26.0",
+    "typescript": "^5.3.3",
+    "unplugin-auto-import": "^0.17.3",
+    "unplugin-vue-components": "^0.26.0",
+    "vite": "^5.0.10",
     "vite-plugin-compression2": "^0.11.0",
     "vite-plugin-singlefile": "^0.13.5",
-    "vitest": "^0.34.6"
+    "vitest": "^1.1.0"
   },
   "config": {
     "commitizen": {
diff --git a/packages/core/src/relations.ts b/packages/core/src/relations.ts
index 492bbb65..334258fb 100644
--- a/packages/core/src/relations.ts
+++ b/packages/core/src/relations.ts
@@ -49,7 +49,7 @@ export function genRelations() {
       if (dir.name === '.bin' || !dir.isDirectory()) {
         continue
       }
-      const filePath = `${pkgPath}/package.json`
+      const filePath = path.join(pkgPath, 'package.json')
       if (fs.existsSync(filePath)) {
         const pkg = useReadFile(filePath)
         const { name, version, dependencies, devDependencies, homepage } = pkg