@indfnd/common-mobile-pro 1.0.14 → 1.0.16
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 +28 -11
- package/README.md +1 -45
- package/dist/gy-common-mobile-umd-unuse.min.js +134017 -116380
- package/dist/gy-common-mobile-umd.min.js +132515 -114942
- package/dist/styles/common-index.css +1 -1
- package/dist/styles/index.css +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,26 +2,43 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
-
### [1.0.
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
### Bug Fixes
|
|
9
|
-
|
|
10
|
-
* 更新 ([357ebf7](http://git.inspur.com/imp-ec/szyx_2/app/business/gy-common-mobile/commit/357ebf71713604475c1896f94e70468db509d735))
|
|
11
|
-
* 修改 ([9994507](http://git.inspur.com/imp-ec/szyx_2/app/business/gy-common-mobile/commit/999450795a3b49b18f166929874fd21e10be8bc1))
|
|
12
|
-
|
|
13
|
-
### [1.0.13](http://git.inspur.com/imp-ec/szyx_2/app/business/gy-common-mobile/compare/v1.0.12...v1.0.13) (2024-12-12)
|
|
5
|
+
### [1.0.16](http://git.inspur.com/imp-ec/szyx_2/app/business/gy-common-mobile/compare/v1.0.15...v1.0.16) (2024-12-28)
|
|
14
6
|
|
|
15
7
|
|
|
16
8
|
### Features
|
|
17
9
|
|
|
18
|
-
*
|
|
10
|
+
* 输入框增加下划线样式 ([30135e7](http://git.inspur.com/imp-ec/szyx_2/app/business/gy-common-mobile/commit/30135e7414daa417b901d7884076e31e97c20665))
|
|
11
|
+
* audit-box组件新增leftTabTitle rightTabTitle ([a6d610c](http://git.inspur.com/imp-ec/szyx_2/app/business/gy-common-mobile/commit/a6d610c87c410ba383dd771878396d8e754f6baa))
|
|
19
12
|
|
|
20
13
|
|
|
21
14
|
### Bug Fixes
|
|
22
15
|
|
|
23
|
-
* 更新 ([
|
|
16
|
+
* 更新 ([6028343](http://git.inspur.com/imp-ec/szyx_2/app/business/gy-common-mobile/commit/6028343f073af92329f8439280b740be1c31a2c9))
|
|
17
|
+
* 更新 ([ff20c8a](http://git.inspur.com/imp-ec/szyx_2/app/business/gy-common-mobile/commit/ff20c8a8d49a89ee52b2e1e2a9f06275e6346361))
|
|
18
|
+
* 文件预览 ([c19df68](http://git.inspur.com/imp-ec/szyx_2/app/business/gy-common-mobile/commit/c19df687824e5130400775d8967b37ee849736fc))
|
|
24
19
|
|
|
20
|
+
### [1.0.15](http://git.inspur.com/imp-ec/szyx_2/app/business/gy-common-mobile/compare/v1.0.14...v1.0.15) (2024-12-26)
|
|
21
|
+
|
|
22
|
+
### [1.0.14](http://git.inspur.com/imp-ec/szyx_2/app/business/gy-common-mobile/compare/v1.0.13...v1.0.14) (2024-12-12)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Bug Fixes
|
|
26
|
+
|
|
27
|
+
* 更新 ([357ebf7](http://git.inspur.com/imp-ec/szyx_2/app/business/gy-common-mobile/commit/357ebf71713604475c1896f94e70468db509d735))
|
|
28
|
+
* 修改 ([9994507](http://git.inspur.com/imp-ec/szyx_2/app/business/gy-common-mobile/commit/999450795a3b49b18f166929874fd21e10be8bc1))
|
|
29
|
+
|
|
30
|
+
### [1.0.13](http://git.inspur.com/imp-ec/szyx_2/app/business/gy-common-mobile/compare/v1.0.12...v1.0.13) (2024-12-12)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### Features
|
|
34
|
+
|
|
35
|
+
* ListBox组件添加查看详情和删除按钮 ([aad1632](http://git.inspur.com/imp-ec/szyx_2/app/business/gy-common-mobile/commit/aad163270dfa63683f4ccfcc3f6ae7ba467332d2))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
### Bug Fixes
|
|
39
|
+
|
|
40
|
+
* 更新 ([bbc93d9](http://git.inspur.com/imp-ec/szyx_2/app/business/gy-common-mobile/commit/bbc93d93403e3b752922daaa9ed7a07525a650f1))
|
|
41
|
+
|
|
25
42
|
### [1.0.12](http://git.inspur.com/imp-ec/szyx_2/app/business/gy-common-mobile/compare/v1.0.11...v1.0.12) (2024-12-11)
|
|
26
43
|
|
|
27
44
|
|
package/README.md
CHANGED
|
@@ -9,9 +9,7 @@
|
|
|
9
9
|
删除package.json的dependencies字段内容
|
|
10
10
|
|
|
11
11
|
2、lambo-design-mobile工程
|
|
12
|
-
|
|
13
|
-
在publish文件夹下新建link-add.js文件
|
|
14
|
-
修改package.json文件 在 "scripts" 中增加 "link-all": "node publish/link-all.js"
|
|
12
|
+
pnpm install
|
|
15
13
|
lambo-design-mobile工程执行yarn link-all
|
|
16
14
|
|
|
17
15
|
3、gy-common-mobile工程执行yarn link-add
|
|
@@ -20,46 +18,4 @@ gy-common-mobile工程执行yarn link
|
|
|
20
18
|
|
|
21
19
|
4、业务工程执行yarn link @indfnd/common-mobile-pro
|
|
22
20
|
|
|
23
|
-
link-add.js文件内容如下:
|
|
24
|
-
const fs = require('fs');
|
|
25
|
-
const path = require('path');
|
|
26
|
-
const { execSync } = require('child_process');
|
|
27
|
-
|
|
28
|
-
// 获取当前目录下的 node_modules 目录
|
|
29
|
-
const projectRoot = path.resolve(__dirname, '..');
|
|
30
|
-
const nodeModulesPath = path.join(projectRoot, 'node_modules');
|
|
31
|
-
const lamboDesignPath = path.join(nodeModulesPath, '@lambo-design-mobile');
|
|
32
|
-
|
|
33
|
-
// 读取 @lambo-design-mobile 目录中的所有文件夹
|
|
34
|
-
fs.readdir(lamboDesignPath, (err, folders) => {
|
|
35
|
-
if (err) {
|
|
36
|
-
console.error('Error reading @lambo-design-mobile:', err);
|
|
37
|
-
return;
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
// 遍历每一个文件夹
|
|
41
|
-
folders.forEach((folder) => {
|
|
42
|
-
const packageJsonPath = path.join(lamboDesignPath, folder, 'package.json');
|
|
43
|
-
fs.readFile(packageJsonPath, 'utf8', (err, data) => {
|
|
44
|
-
if (err) {
|
|
45
|
-
console.error(`Error reading ${packageJsonPath}:`, err);
|
|
46
|
-
return;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
try {
|
|
50
|
-
const packageJson = JSON.parse(data);
|
|
51
|
-
// 执行 yarn link
|
|
52
|
-
console.log(`Linking package: ${packageJson.name}`);
|
|
53
|
-
execSync(`yarn link --cwd=${path.join(lamboDesignPath, folder)}`, {
|
|
54
|
-
stdio: 'inherit',
|
|
55
|
-
});
|
|
56
|
-
} catch (error) {
|
|
57
|
-
console.error(`Failed to parse ${packageJsonPath}:`, error);
|
|
58
|
-
}
|
|
59
|
-
});
|
|
60
|
-
});
|
|
61
|
-
});
|
|
62
|
-
|
|
63
|
-
`
|
|
64
|
-
|
|
65
21
|
## 发布组件
|