lowcode-cli 1.0.3 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,15 +1,18 @@
1
1
  {
2
2
  "name": "lowcode-cli",
3
- "version": "1.0.3",
4
- "description": "低代码构建脚手脚",
3
+ "version": "1.1.1",
4
+ "description": "Icode脚手脚",
5
5
  "scripts": {
6
-
6
+ "antdcss": "lessc --js --modify-var='ant-prefix=custom' ./node_modules/antd/dist/antd.variable.less modified.css"
7
7
  },
8
8
  "bin": {
9
- "lowcode": "bin/cmd.js"
9
+ "my": "bin/cmd.js"
10
10
  },
11
11
  "main": "./index.js",
12
12
  "dependencies": {
13
+ "@ant-design/colors": "^6.0.0",
14
+ "@ant-design/compatible": "^1.1.0",
15
+ "@ant-design/icons": "^4.7.0",
13
16
  "@babel/core": "^7.1.2",
14
17
  "@babel/plugin-proposal-class-properties": "^7.1.0",
15
18
  "@babel/plugin-proposal-decorators": "^7.1.2",
@@ -21,46 +24,51 @@
21
24
  "@babel/preset-react": "^7.0.0",
22
25
  "@babel/preset-typescript": "^7.1.0",
23
26
  "@babel/runtime": "^7.6.3",
24
- "antd": "^3.26.19",
27
+ "@emotion/css": "^11.9.0",
28
+ "antd": "^4.21.4",
29
+ "auto-full-screen": "0.0.2",
25
30
  "autoprefixer": "^9.1.5",
26
31
  "axios": "^0.21.1",
27
32
  "babel-loader": "^8.0.4",
28
33
  "babel-plugin-import": "^1.13.1",
29
34
  "chalk": "^2.4.1",
30
35
  "clean-webpack-plugin": "^3.0.0",
36
+ "code-math": "0.0.7",
31
37
  "commander": "^5.1.0",
32
38
  "core-js": "^2.5.3",
33
39
  "css-loader": "^1.0.0",
34
40
  "css-minimizer-webpack-plugin": "^1.1.5",
41
+ "dayjs": "^1.11.3",
35
42
  "dva": "^2.6.0-beta.22",
36
43
  "echarts": "^5.1.0",
37
44
  "express": "^4.17.1",
38
45
  "file-loader": "^6.2.0",
39
46
  "happypack": "^5.0.1",
40
47
  "html-webpack-plugin": "^5.0.0-alpha.14",
41
- "import-remote-module": "1.0.0",
42
- "less": "^3.8.1",
48
+ "import-remote-module": "^1.0.1",
43
49
  "less-loader": "^5.0.0",
44
50
  "lodash": "^4.17.21",
45
51
  "mini-css-extract-plugin": "^1.6.0",
46
52
  "moment": "^2.24.0",
53
+ "monaco-editor": "^0.32.1",
54
+ "monaco-editor-webpack-plugin": "^7.0.1",
47
55
  "postcss-flexbugs-fixes": "^4.1.0",
48
56
  "postcss-loader": "^3.0.0",
49
57
  "postcss-pxtorem": "^4.0.1",
50
58
  "progress-bar-webpack-plugin": "2.1.0",
51
59
  "px2rem-loader": "^0.1.9",
52
60
  "qs": "^6.10.1",
53
- "react": "^16.9.0",
54
- "react-dom": "^16.9.0",
61
+ "rc-util": "^5.22.5",
62
+ "react": "^16.14.0",
63
+ "react-dom": "^16.14.0",
55
64
  "react-hot-loader": "^4.3.11",
56
- "react-router": "^5.1.2",
57
- "react-router-dom": "^5.1.2",
65
+ "react-router": "^5.2.1",
66
+ "react-router-dom": "^5.3.0",
58
67
  "request": "2.81.0",
59
68
  "style-loader": "^0.23.0",
60
69
  "typescript": "^4.0.5",
61
70
  "typings-for-css-modules-loader": "^1.7.0",
62
71
  "url-loader": "^4.1.1",
63
- "auto-full-screen": "0.0.2",
64
72
  "webpack": "^5.6.0",
65
73
  "webpack-bundle-analyzer": "^4.1.0",
66
74
  "webpack-cli": "^4.2.0",
@@ -69,7 +77,7 @@
69
77
  "webpack-node-externals": "^2.5.2"
70
78
  },
71
79
  "devDependencies": {
72
-
80
+ "less": "^3.13.1"
73
81
  },
74
82
  "keywords": [
75
83
  "lowcode"
@@ -31,10 +31,9 @@
31
31
  "systemjs": "^6.9.0"
32
32
  },
33
33
  "devDependencies": {
34
- "antd": "^3.10.0",
35
- "react": "^16.9.0",
36
- "react-dom": "^16.9.0",
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
- <ConfigProvider locale={zhCN}>
38
- <Component config={config} history={history.history} />
39
- </ConfigProvider>
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
  );
@@ -4,7 +4,7 @@
4
4
  * @date 2020/5/15 14:22:00
5
5
  */
6
6
  import React, { PureComponent } from 'react';
7
- import { addFullScreenEvent, removeFullScreenEvent } from 'viz-full-screen';
7
+ import { addFullScreenEvent, removeFullScreenEvent } from 'auto-full-screen';
8
8
  import { connect } from 'dva';
9
9
  import { Layout, Spin } from 'antd';
10
10
 
@@ -31,10 +31,9 @@
31
31
  "systemjs": "^6.9.0"
32
32
  },
33
33
  "devDependencies": {
34
- "antd": "^3.10.0",
35
- "react": "^16.9.0",
36
- "react-dom": "^16.9.0",
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
- <ConfigProvider locale={zhCN}>
38
- <Component config={config} history={history.history} />
39
- </ConfigProvider>
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
  );
@@ -4,7 +4,7 @@
4
4
  * @date 2020/5/15 14:22:00
5
5
  */
6
6
  import { PureComponent } from 'react';
7
- import { addFullScreenEvent, removeFullScreenEvent } from 'viz-full-screen';
7
+ import { addFullScreenEvent, removeFullScreenEvent } from 'auto-full-screen';
8
8
 
9
9
  class MyLayout extends PureComponent {
10
10
  componentDidMount() {
@@ -34,7 +34,6 @@ export function request(url = '', opts = {}, codes = [0, '']) {
34
34
  },
35
35
  interceptResponse(data) {
36
36
  // 拦截返回的请求做处理
37
- console.log(4444, data);
38
37
 
39
38
  return data;
40
39
  },
@@ -25,7 +25,6 @@ const trimParams = params => {
25
25
 
26
26
  axios.interceptors.response.use(
27
27
  response => {
28
- //console.log(5566, response.status, response.data.data, response.data.data.match(/^http/) >= 0);
29
28
  if (
30
29
  response.status === 401 &&
31
30
  response.data &&