@indfnd/common-mobile-pro 1.0.51 → 1.0.53
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/CHANGELOG.md +361 -346
- package/README.md +31 -31
- package/dist/gy-common-mobile-es.min.js +1 -1
- package/dist/gy-common-mobile-es.min.js.LICENSE.txt +5 -0
- package/dist/gy-common-mobile-umd-unuse.min.js +162510 -163698
- package/dist/styles/common-index.css +1 -1
- package/package.json +108 -108
package/README.md
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
# 项目启动
|
|
2
|
-
|
|
3
|
-
browser弃用!!!!!!!!!!!!!!!
|
|
4
|
-
|
|
5
|
-
## 项目安装
|
|
6
|
-
|
|
7
|
-
1、gy-common-mobile工程
|
|
8
|
-
复制package-install.json的dependencies字段 到 package.json
|
|
9
|
-
然后gy-common-mobile工程执行yarn
|
|
10
|
-
删除package.json的dependencies字段内容
|
|
11
|
-
|
|
12
|
-
2、lambo-design-mobile工程
|
|
13
|
-
pnpm install
|
|
14
|
-
lambo-design-mobile工程执行yarn link-all
|
|
15
|
-
|
|
16
|
-
3、gy-common-mobile工程执行yarn link-add
|
|
17
|
-
gy-common-mobile工程执行yarn build
|
|
18
|
-
gy-common-mobile工程执行yarn link
|
|
19
|
-
|
|
20
|
-
4、业务工程执行yarn link @indfnd/common-mobile-pro
|
|
21
|
-
|
|
22
|
-
### 报错问题
|
|
23
|
-
|
|
24
|
-
1. 若build报错提示找不到lambo-design-mobile里的某个组件,手动link一下,或者修改package-install.json,重新yarn
|
|
25
|
-
|
|
26
|
-
## 发布组件
|
|
27
|
-
|
|
28
|
-
1. yarn release,发布新版本成功后,在 `vendor-custom-mobile` 工程中更新版本号,执行 `yarn build`
|
|
29
|
-
2. 如果本地调试,需要build后,将 `gy-common-mobile-umd.min.js` 拷到 `vendor-custom-mobile` 的 `node_modules` 目录下,直接link会报错
|
|
30
|
-
|
|
31
|
-
|
|
1
|
+
# 项目启动
|
|
2
|
+
|
|
3
|
+
browser弃用!!!!!!!!!!!!!!!
|
|
4
|
+
|
|
5
|
+
## 项目安装
|
|
6
|
+
|
|
7
|
+
1、gy-common-mobile工程
|
|
8
|
+
复制package-install.json的dependencies字段 到 package.json
|
|
9
|
+
然后gy-common-mobile工程执行yarn
|
|
10
|
+
删除package.json的dependencies字段内容
|
|
11
|
+
|
|
12
|
+
2、lambo-design-mobile工程
|
|
13
|
+
pnpm install
|
|
14
|
+
lambo-design-mobile工程执行yarn link-all
|
|
15
|
+
|
|
16
|
+
3、gy-common-mobile工程执行yarn link-add
|
|
17
|
+
gy-common-mobile工程执行yarn build
|
|
18
|
+
gy-common-mobile工程执行yarn link
|
|
19
|
+
|
|
20
|
+
4、业务工程执行yarn link @indfnd/common-mobile-pro
|
|
21
|
+
|
|
22
|
+
### 报错问题
|
|
23
|
+
|
|
24
|
+
1. 若build报错提示找不到lambo-design-mobile里的某个组件,手动link一下,或者修改package-install.json,重新yarn
|
|
25
|
+
|
|
26
|
+
## 发布组件
|
|
27
|
+
|
|
28
|
+
1. yarn release,发布新版本成功后,在 `vendor-custom-mobile` 工程中更新版本号,执行 `yarn build`
|
|
29
|
+
2. 如果本地调试,需要build后,将 `gy-common-mobile-umd.min.js` 拷到 `vendor-custom-mobile` 的 `node_modules` 目录下,直接link会报错
|
|
30
|
+
|
|
31
|
+
|