lowcode-cli 1.0.4 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +2 -2
- package/config/alias.js +35 -0
- package/config/common.js +16 -10
- package/config/pack.config.js +4 -1
- package/config/project.config.js +11 -22
- package/config/size.js +1 -1
- package/config/webpack.project.start.js +2 -1
- package/modified.css +25744 -0
- package/package.json +25 -13
- package/template/preview/package.json +3 -4
- package/template/preview/src/bootstrap.js +6 -5
- package/template/release/package.json +3 -4
- package/template/release/src/bootstrap.js +6 -6
- package/template/release/src/utils/request copy.js +0 -1
- package/template/release/src/utils/request.js +0 -1
package/package.json
CHANGED
@@ -1,13 +1,18 @@
|
|
1
1
|
{
|
2
2
|
"name": "lowcode-cli",
|
3
|
-
"version": "1.0
|
4
|
-
"description": "
|
5
|
-
"scripts": {
|
3
|
+
"version": "1.1.0",
|
4
|
+
"description": "Icode脚手脚",
|
5
|
+
"scripts": {
|
6
|
+
"antdcss": "lessc --js --modify-var='ant-prefix=custom' ./node_modules/antd/dist/antd.variable.less modified.css"
|
7
|
+
},
|
6
8
|
"bin": {
|
7
|
-
"
|
9
|
+
"my": "bin/cmd.js"
|
8
10
|
},
|
9
11
|
"main": "./index.js",
|
10
12
|
"dependencies": {
|
13
|
+
"@ant-design/colors": "^6.0.0",
|
14
|
+
"@ant-design/compatible": "^1.1.0",
|
15
|
+
"@ant-design/icons": "^4.7.0",
|
11
16
|
"@babel/core": "^7.1.2",
|
12
17
|
"@babel/plugin-proposal-class-properties": "^7.1.0",
|
13
18
|
"@babel/plugin-proposal-decorators": "^7.1.2",
|
@@ -19,46 +24,51 @@
|
|
19
24
|
"@babel/preset-react": "^7.0.0",
|
20
25
|
"@babel/preset-typescript": "^7.1.0",
|
21
26
|
"@babel/runtime": "^7.6.3",
|
22
|
-
"
|
27
|
+
"@emotion/css": "^11.9.0",
|
28
|
+
"antd": "^4.21.4",
|
29
|
+
"auto-full-screen": "0.0.2",
|
23
30
|
"autoprefixer": "^9.1.5",
|
24
31
|
"axios": "^0.21.1",
|
25
32
|
"babel-loader": "^8.0.4",
|
26
33
|
"babel-plugin-import": "^1.13.1",
|
27
34
|
"chalk": "^2.4.1",
|
28
35
|
"clean-webpack-plugin": "^3.0.0",
|
36
|
+
"code-math": "0.0.7",
|
29
37
|
"commander": "^5.1.0",
|
30
38
|
"core-js": "^2.5.3",
|
31
39
|
"css-loader": "^1.0.0",
|
32
40
|
"css-minimizer-webpack-plugin": "^1.1.5",
|
41
|
+
"dayjs": "^1.11.3",
|
33
42
|
"dva": "^2.6.0-beta.22",
|
34
43
|
"echarts": "^5.1.0",
|
35
44
|
"express": "^4.17.1",
|
36
45
|
"file-loader": "^6.2.0",
|
37
46
|
"happypack": "^5.0.1",
|
38
47
|
"html-webpack-plugin": "^5.0.0-alpha.14",
|
39
|
-
"import-remote-module": "1.0.
|
40
|
-
"less": "^3.8.1",
|
48
|
+
"import-remote-module": "^1.0.1",
|
41
49
|
"less-loader": "^5.0.0",
|
42
50
|
"lodash": "^4.17.21",
|
43
51
|
"mini-css-extract-plugin": "^1.6.0",
|
44
52
|
"moment": "^2.24.0",
|
53
|
+
"monaco-editor": "^0.32.1",
|
54
|
+
"monaco-editor-webpack-plugin": "^7.0.1",
|
45
55
|
"postcss-flexbugs-fixes": "^4.1.0",
|
46
56
|
"postcss-loader": "^3.0.0",
|
47
57
|
"postcss-pxtorem": "^4.0.1",
|
48
58
|
"progress-bar-webpack-plugin": "2.1.0",
|
49
59
|
"px2rem-loader": "^0.1.9",
|
50
60
|
"qs": "^6.10.1",
|
51
|
-
"
|
52
|
-
"react
|
61
|
+
"rc-util": "^5.22.5",
|
62
|
+
"react": "^16.14.0",
|
63
|
+
"react-dom": "^16.14.0",
|
53
64
|
"react-hot-loader": "^4.3.11",
|
54
|
-
"react-router": "^5.1
|
55
|
-
"react-router-dom": "^5.
|
65
|
+
"react-router": "^5.2.1",
|
66
|
+
"react-router-dom": "^5.3.0",
|
56
67
|
"request": "2.81.0",
|
57
68
|
"style-loader": "^0.23.0",
|
58
69
|
"typescript": "^4.0.5",
|
59
70
|
"typings-for-css-modules-loader": "^1.7.0",
|
60
71
|
"url-loader": "^4.1.1",
|
61
|
-
"auto-full-screen": "0.0.2",
|
62
72
|
"webpack": "^5.6.0",
|
63
73
|
"webpack-bundle-analyzer": "^4.1.0",
|
64
74
|
"webpack-cli": "^4.2.0",
|
@@ -66,7 +76,9 @@
|
|
66
76
|
"webpack-dev-server": "^3.11.0",
|
67
77
|
"webpack-node-externals": "^2.5.2"
|
68
78
|
},
|
69
|
-
"devDependencies": {
|
79
|
+
"devDependencies": {
|
80
|
+
"less": "^3.13.1"
|
81
|
+
},
|
70
82
|
"keywords": [
|
71
83
|
"lowcode"
|
72
84
|
],
|
@@ -31,10 +31,9 @@
|
|
31
31
|
"systemjs": "^6.9.0"
|
32
32
|
},
|
33
33
|
"devDependencies": {
|
34
|
-
"antd": "^
|
35
|
-
"react": "^16.
|
36
|
-
"react-dom": "^16.
|
37
|
-
"tf-lint-config-app": "^2.0.3"
|
34
|
+
"antd": "^4.18.0",
|
35
|
+
"react": "^16.14.0",
|
36
|
+
"react-dom": "^16.14.0"
|
38
37
|
},
|
39
38
|
"author": "",
|
40
39
|
"license": "MIT"
|
@@ -33,11 +33,12 @@ app.router(history => {
|
|
33
33
|
render={() => {
|
34
34
|
const Component = config.component;
|
35
35
|
document.getElementsByTagName('title')[0].innerText = config.title;
|
36
|
-
return
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
36
|
+
return <Component config={config} history={history.history} />;
|
37
|
+
// return (
|
38
|
+
// <ConfigProvider locale={zhCN}>
|
39
|
+
// <Component config={config} history={history.history} />
|
40
|
+
// </ConfigProvider>
|
41
|
+
// );
|
41
42
|
}}
|
42
43
|
/>
|
43
44
|
);
|
@@ -31,10 +31,9 @@
|
|
31
31
|
"systemjs": "^6.9.0"
|
32
32
|
},
|
33
33
|
"devDependencies": {
|
34
|
-
"antd": "^
|
35
|
-
"react": "^16.
|
36
|
-
"react-dom": "^16.
|
37
|
-
"tf-lint-config-app": "^2.0.3"
|
34
|
+
"antd": "^4.18.0",
|
35
|
+
"react": "^16.14.0",
|
36
|
+
"react-dom": "^16.14.0"
|
38
37
|
},
|
39
38
|
"author": "",
|
40
39
|
"license": "MIT"
|
@@ -14,7 +14,6 @@ import zhCN from 'antd/es/locale/zh_CN';
|
|
14
14
|
import './style.less';
|
15
15
|
import { ConfigProvider } from 'antd';
|
16
16
|
|
17
|
-
console.log(999998, routerData);
|
18
17
|
|
19
18
|
// 2. Model
|
20
19
|
|
@@ -33,11 +32,12 @@ app.router(history => {
|
|
33
32
|
render={() => {
|
34
33
|
const Component = config.component;
|
35
34
|
document.getElementsByTagName('title')[0].innerText = config.title;
|
36
|
-
return
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
35
|
+
return <Component config={config} history={history.history} />;
|
36
|
+
// return (
|
37
|
+
// <ConfigProvider locale={zhCN}>
|
38
|
+
// <Component config={config} history={history.history} />
|
39
|
+
// </ConfigProvider>
|
40
|
+
// );
|
41
41
|
}}
|
42
42
|
/>
|
43
43
|
);
|