@haluo/biz 2.0.38 → 2.0.40
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.
- package/README.md +34 -33
- package/dist/haluo-biz.js +589 -644
- package/dist/haluo-biz.umd.cjs +606 -672
- package/dist/{squire-raw-97946106.js → squire-raw.9f05be24.js} +4 -18
- package/dist/style.css +28 -28
- package/package.json +47 -47
package/README.md
CHANGED
|
@@ -1,34 +1,35 @@
|
|
|
1
|
-
|
|
2
|
-
# 说明
|
|
3
|
-
线上 tag=online 2.0.x 分支publish
|
|
4
|
-
测试 tag=next 1.0.x 分支release
|
|
5
|
-
# 发布
|
|
6
|
-
```
|
|
7
|
-
# nrm use npm
|
|
8
|
-
# npm login
|
|
9
|
-
# cd ./packages/haluo-biz
|
|
10
|
-
# npm run build
|
|
11
|
-
npm publish --tag=release # 发布到release环境
|
|
12
|
-
npm publish --tag=publish # 发布到publish环境
|
|
13
|
-
npm publish # 线上环境
|
|
14
|
-
```
|
|
15
|
-
# 安装
|
|
16
|
-
```
|
|
17
|
-
pnpm add @haluo/biz@online
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
# 本地调试
|
|
21
|
-
```
|
|
22
|
-
1、创建本地库
|
|
23
|
-
cd ./packages/haluo-biz
|
|
24
|
-
npm link # 在全局 node_modules 目录下创建符号链接,指向当前模块
|
|
25
|
-
npm unlink # 删除全局符号链接
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
npm
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
npm list
|
|
1
|
+
|
|
2
|
+
# 说明
|
|
3
|
+
线上 tag=online 2.0.x 分支publish
|
|
4
|
+
测试 tag=next 1.0.x 分支release
|
|
5
|
+
# 发布
|
|
6
|
+
```
|
|
7
|
+
# nrm use npm
|
|
8
|
+
# npm login
|
|
9
|
+
# cd ./packages/haluo-biz
|
|
10
|
+
# npm run build
|
|
11
|
+
npm publish --tag=release # 发布到release环境
|
|
12
|
+
npm publish --tag=publish # 发布到publish环境
|
|
13
|
+
npm publish # 线上环境
|
|
14
|
+
```
|
|
15
|
+
# 安装
|
|
16
|
+
```
|
|
17
|
+
pnpm add @haluo/biz@online
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
# 本地调试
|
|
21
|
+
```
|
|
22
|
+
1、创建本地库
|
|
23
|
+
cd ./packages/haluo-biz
|
|
24
|
+
npm link # 在全局 node_modules 目录下创建符号链接,指向当前模块
|
|
25
|
+
npm unlink # 删除全局符号链接
|
|
26
|
+
npm run build:watch # 监听文件变化,自动编译
|
|
27
|
+
|
|
28
|
+
2、业务项目根目录中使用软链访问本地库
|
|
29
|
+
npm link @haluo/biz # 在项目的 node_modules 目录中创建符号链接,指向全局链接的模块
|
|
30
|
+
npm unlink @haluo/biz # 删除项目符号链接
|
|
31
|
+
|
|
32
|
+
3、查看依赖包(非必需)
|
|
33
|
+
npm list # 查看所有依赖包
|
|
34
|
+
npm list -g --depth=0 # 查看全局依赖包
|
|
34
35
|
```
|