From eb194e0179c83ba86f1fcac398057bf423aaab34 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期五, 07 三月 2025 13:48:34 +0800
Subject: [PATCH] fix: 对接

---
 packages/components/package.json |   20 +++++++++-----------
 1 files changed, 9 insertions(+), 11 deletions(-)

diff --git a/packages/components/package.json b/packages/components/package.json
index 7cf71fd..cd89105 100644
--- a/packages/components/package.json
+++ b/packages/components/package.json
@@ -2,8 +2,7 @@
   "name": "@life-payment/components",
   "main": "src/index.ts",
   "module": "./src/index.ts",
-  "types": "./dist/index.d.ts",
-  "version": "0.0.1",
+  "version": "0.0.4",
   "scripts": {
     "clean": "rimraf dist",
     "build": "pnpm run clean && vite build",
@@ -32,14 +31,11 @@
     "exports": {
       ".": {
         "import": "./dist/index.mjs",
-        "require": "./dist/index.js"
+        "require": "./dist/index.js",
+        "types": "./dist/index.d.ts"
       },
-      "./src/styles/index.scss": {
-        "import": "./dist/styles/index.scss"
-      },
-      "./dist/styles/index.scss": {
-        "import": "./dist/styles/index.scss"
-      },
+      "./src/styles/*": "./dist/styles/*",
+      "./dist/styles/*": "./dist/styles/*",
       "./*": "./*"
     }
   },
@@ -47,6 +43,7 @@
     "@life-payment/core-vue": "workspace:^",
     "@nutui/icons-vue-taro": "0.0.9",
     "@nutui/nutui-taro": "4.3.13",
+    "@tarojs/taro": "3.6.20",
     "@vitejs/plugin-vue": "^5.1.4",
     "@vitejs/plugin-vue-jsx": "^4.0.1",
     "vite": "5.4.3",
@@ -56,7 +53,8 @@
   },
   "peerDependencies": {
     "@life-payment/core-vue": "*",
-    "@nutui/nutui-taro": "4.3.13",
-    "vue": "3.5.12"
+    "@nutui/nutui-taro": "*",
+    "@tarojs/taro": "*",
+    "vue": "*"
   }
 }

--
Gitblit v1.9.1