gm-antd 0.1.0 → 1.0.0
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 +1 -1
- package/package.json +7 -8
package/README.md
CHANGED
|
@@ -46,5 +46,5 @@ Fork自antd@2.24.0,做AntD组件二次开发及文档使用。[在线文档](h
|
|
|
46
46
|
- 将package.json中的name改为`gm-antd`。(在完成发布后再改回来,这是因为build使用的antd-tools脚手架没有相关文档且其依赖package.json的name为antd,而npm发包只能用package的name为名,暂时先这样手动处理)
|
|
47
47
|
- 运行`yarn publish`发布;
|
|
48
48
|
|
|
49
|
-
##
|
|
49
|
+
## 其他
|
|
50
50
|
- antd官方贡献指南:https://ant.design/docs/react/contributing-cn
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gm-antd",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"description": "An enterprise-class UI design language and React components implementation",
|
|
5
5
|
"title": "GM Ant Design",
|
|
6
|
-
"homepage": "https://
|
|
6
|
+
"homepage": "https://gmfe.github.io/gm-antd/index-cn",
|
|
7
7
|
"repository": {
|
|
8
8
|
"type": "git",
|
|
9
|
-
"url": "https://github.com/gmfe/
|
|
9
|
+
"url": "https://github.com/gmfe/antd"
|
|
10
10
|
},
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"contributors": [
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
"unpkg": "dist/antd.min.js",
|
|
29
29
|
"typings": "lib/index.d.ts",
|
|
30
30
|
"scripts": {
|
|
31
|
-
"start": "antd-tools run clean && cross-env NODE_ENV=development concurrently \"bisheng start -c ./site/bisheng.config.js\"",
|
|
31
|
+
"start": "yarn add-ts-no-check && antd-tools run clean && cross-env NODE_ENV=development concurrently \"bisheng start -c ./site/bisheng.config.js\"",
|
|
32
32
|
"prepare": "husky install",
|
|
33
|
-
"compile": "antd-tools run compile",
|
|
33
|
+
"compile": "yarn add-ts-no-check && antd-tools run compile",
|
|
34
34
|
"build": "npm run compile && NODE_OPTIONS='--max-old-space-size=4096' npm run dist",
|
|
35
35
|
"changelog": "node ./scripts/print-changelog",
|
|
36
|
-
"dist": "antd-tools run dist",
|
|
36
|
+
"dist": "yarn add-ts-no-check && antd-tools run dist",
|
|
37
37
|
"dist:esbuild": "ESBUILD=true npm run dist",
|
|
38
38
|
"dist:esbuild-no-dup-check": "ESBUILD=true NO_DUP_CHECK=true npm run dist",
|
|
39
39
|
"pub": "npm run version && antd-tools run pub",
|
|
@@ -78,8 +78,7 @@
|
|
|
78
78
|
"test-image": "jest --config .jest.image.js --no-cache -i -u",
|
|
79
79
|
"argos": "node ./scripts/argos-upload.js",
|
|
80
80
|
"version": "node ./scripts/generate-version",
|
|
81
|
-
"add-ts-no-check": "add-ts-nocheck --patterns 'node_modules/{@gm-common,gm-api}/**/!(*.d).ts,src/**/!(*.d).ts'"
|
|
82
|
-
"postinstall": "add-ts-nocheck"
|
|
81
|
+
"add-ts-no-check": "add-ts-nocheck --patterns 'node_modules/{@gm-common,gm-api}/**/!(*.d).ts,src/**/!(*.d).ts'"
|
|
83
82
|
},
|
|
84
83
|
"browserslist": [
|
|
85
84
|
"> 0.5%",
|