From d6bf52c3ba22636c5aa3ea5ede6ecd0ef225ae7c Mon Sep 17 00:00:00 2001 From: Lei OT Date: Fri, 26 Dec 2025 14:25:36 +0800 Subject: [PATCH] docs: --- README.MD | 25 ++++++++++++++++--------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/README.MD b/README.MD index 2dd595b..b08a910 100644 --- a/README.MD +++ b/README.MD @@ -10,14 +10,16 @@ ### Package Structure ``` -src/ -├── utils/ -│ ├── common.js -│ └── request.js -├── hooks/ -│ ├── useXx.js -│ └── useYy.js - +├─dist +│ ├── haina-npm-0.1.0.tgz +│ ├── hooks-0.1.0.tgz +│ ├── utils-0.1.0.tgz +│ ├── utils-commons-0.1.0.tgz +│ └── utils-request-0.1.0.tgz +└─src + ├─ index.js + ├─ hooks/ + └─ utils/ ``` ### Build & Pack @@ -26,7 +28,7 @@ src/ # 打包各模块 npm run pack -# 打包各模块和root +# 打包整个项目(各模块和root) npm run pack:all ``` @@ -43,6 +45,10 @@ npm run pack:all #### Github Action +``` +https://github.com/hainatravel-it/hai-npm/releases/download/v0.1.0/commons-0.1.0.tgz +``` + ## Usage ### 安装整个包 @@ -76,6 +82,7 @@ import { commons, request } from '@haina/utils'; ```sh npm install http://xxxx/npm/utils-commons-0.1.0.tgz +npm install https://package.mycht.cn/npmjs/commons-0.1.0.tgz ``` ```js