antd-management-fast-develop 1.0.11 → 1.0.13

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.11",
3
+ "version": "1.0.13",
4
4
  "description": "",
5
5
  "license": "ISC",
6
6
  "author": "",
@@ -21,6 +21,7 @@
21
21
  "ejs:test": "node ./bin/cli.js generate --dataPath ./src/data.json",
22
22
  "precommit": "npm run z:lint:staged:quiet",
23
23
  "publish:npm": "npm publish --registry https://registry.npmjs.org/",
24
+ "z:auto:adjust:file": "echo can exec some file adjust command with here",
24
25
  "prez:documentation:generate": "npx rimraf ./docs && npm run z:documentation:lint",
25
26
  "z:documentation:generate": "npx documentation build src/** -f html --github -o docs",
26
27
  "z:documentation:lint": "npx documentation lint src/**",
@@ -62,20 +63,20 @@
62
63
  "@babel/preset-env": "^7.20.2",
63
64
  "@babel/preset-react": "^7.18.6",
64
65
  "@babel/runtime": "^7.21.0",
65
- "@commitlint/cli": "^17.4.4",
66
+ "@commitlint/cli": "^17.5.0",
66
67
  "@commitlint/config-conventional": "^17.4.4",
67
68
  "@commitlint/config-lerna-scopes": "^17.4.2",
68
- "@commitlint/cz-commitlint": "^17.4.4",
69
+ "@commitlint/cz-commitlint": "^17.5.0",
69
70
  "@pmmmwh/react-refresh-webpack-plugin": "^0.5.10",
70
71
  "@types/jest": "^29.5.0",
71
- "@types/node": "^18.15.5",
72
- "@typescript-eslint/parser": "^5.56.0",
73
- "@umijs/max": "^4.0.62",
72
+ "@types/node": "^18.15.10",
73
+ "@typescript-eslint/parser": "^5.57.0",
74
+ "@umijs/max": "^4.0.63",
74
75
  "commitizen": "^4.3.0",
75
76
  "conventional-changelog-conventionalcommits": "^5.0.0",
76
77
  "cross-env": "^7.0.3",
77
78
  "documentation": "^14.0.1",
78
- "easy-soft-develop": "^2.0.191",
79
+ "easy-soft-develop": "^2.0.198",
79
80
  "eslint": "^8.36.0",
80
81
  "eslint-config-airbnb": "^19.0.4",
81
82
  "eslint-config-airbnb-typescript": "^17.0.0",
@@ -95,12 +96,12 @@
95
96
  "husky": "^8.0.3",
96
97
  "jest": "^29.5.0",
97
98
  "lint-staged": "^13.2.0",
98
- "prettier": "^2.8.6",
99
+ "prettier": "^2.8.7",
99
100
  "prettier-plugin-organize-imports": "^3.2.2",
100
101
  "prettier-plugin-packagejson": "^2.4.3",
101
102
  "react": "^18.2.0",
102
103
  "react-dnd": "^16.0.1",
103
- "rimraf": "^4.4.0",
104
+ "rimraf": "^4.4.1",
104
105
  "stylelint": "^15.3.0",
105
106
  "stylelint-config-prettier": "^9.0.5",
106
107
  "stylelint-config-standard": "^31.0.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: [