antd-management-fast-develop 1.0.12 → 1.0.14

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "antd-management-fast-develop",
3
- "version": "1.0.12",
3
+ "version": "1.0.14",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "",
@@ -63,21 +63,21 @@
63
63
  "@babel/preset-env": "^7.20.2",
64
64
  "@babel/preset-react": "^7.18.6",
65
65
  "@babel/runtime": "^7.21.0",
66
- "@commitlint/cli": "^17.5.0",
66
+ "@commitlint/cli": "^17.5.1",
67
67
  "@commitlint/config-conventional": "^17.4.4",
68
68
  "@commitlint/config-lerna-scopes": "^17.4.2",
69
69
  "@commitlint/cz-commitlint": "^17.5.0",
70
70
  "@pmmmwh/react-refresh-webpack-plugin": "^0.5.10",
71
71
  "@types/jest": "^29.5.0",
72
- "@types/node": "^18.15.10",
73
- "@typescript-eslint/parser": "^5.56.0",
72
+ "@types/node": "^18.15.11",
73
+ "@typescript-eslint/parser": "^5.57.0",
74
74
  "@umijs/max": "^4.0.63",
75
75
  "commitizen": "^4.3.0",
76
76
  "conventional-changelog-conventionalcommits": "^5.0.0",
77
77
  "cross-env": "^7.0.3",
78
78
  "documentation": "^14.0.1",
79
79
  "easy-soft-develop": "^2.0.198",
80
- "eslint": "^8.36.0",
80
+ "eslint": "^8.37.0",
81
81
  "eslint-config-airbnb": "^19.0.4",
82
82
  "eslint-config-airbnb-typescript": "^17.0.0",
83
83
  "eslint-config-prettier": "^8.8.0",
@@ -32,9 +32,17 @@ exports.run = function (s, o) {
32
32
 
33
33
  generate(data.list, relativeFolder);
34
34
 
35
- promptInfo('Format generated file:');
35
+ const cmdEslint = `npx eslint --fix --cache --ext .js,.jsx,.ts,.tsx ${relativeFolder}/`;
36
36
 
37
- exec(`npx prettier --write ${relativeFolder}/`);
37
+ promptInfo(`Eslint generated file: ${cmdEslint}`);
38
+
39
+ exec(cmdEslint);
40
+
41
+ const cmdFormat = `npx prettier --cache --write ${relativeFolder}/`;
42
+
43
+ promptInfo(`Format generated file: ${cmdFormat}`);
44
+
45
+ exec(cmdFormat);
38
46
  } else {
39
47
  const simple = {
40
48
  list: [