@umijs/plugins 4.4.0 → 4.4.2

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.
Files changed (2) hide show
  1. package/dist/model.js +2 -1
  2. package/package.json +4 -4
package/dist/model.js CHANGED
@@ -51,8 +51,9 @@ var model_default = (api) => {
51
51
  enableBy: api.EnableBy.config
52
52
  });
53
53
  api.onGenerateFiles(async () => {
54
+ var _a;
54
55
  const models = await getAllModels(api);
55
- if (api.userConfig.model.sort) {
56
+ if ((_a = api.userConfig.model) == null ? void 0 : _a.sort) {
56
57
  models.sort(api.userConfig.model.sort);
57
58
  }
58
59
  api.writeTmpFile({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umijs/plugins",
3
- "version": "4.4.0",
3
+ "version": "4.4.2",
4
4
  "description": "@umijs/plugins",
5
5
  "homepage": "https://github.com/umijs/umi/tree/master/packages/plugins#readme",
6
6
  "bugs": "https://github.com/umijs/umi/issues",
@@ -45,12 +45,12 @@
45
45
  "styled-components": "6.1.1",
46
46
  "tslib": "^2",
47
47
  "warning": "^4.0.3",
48
- "@umijs/bundler-utils": "4.4.0",
49
- "@umijs/valtio": "1.0.4"
48
+ "@umijs/valtio": "1.0.4",
49
+ "@umijs/bundler-utils": "4.4.2"
50
50
  },
51
51
  "devDependencies": {
52
52
  "antd": "^4.24.1",
53
- "umi": "4.4.0"
53
+ "umi": "4.4.2"
54
54
  },
55
55
  "publishConfig": {
56
56
  "access": "public"