@nocobase/cli 1.4.13 → 1.4.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": "@nocobase/cli",
3
- "version": "1.4.13",
3
+ "version": "1.4.14",
4
4
  "description": "",
5
5
  "license": "AGPL-3.0",
6
6
  "main": "./src/index.js",
@@ -8,7 +8,7 @@
8
8
  "nocobase": "./bin/index.js"
9
9
  },
10
10
  "dependencies": {
11
- "@nocobase/app": "1.4.13",
11
+ "@nocobase/app": "1.4.14",
12
12
  "@types/fs-extra": "^11.0.1",
13
13
  "@umijs/utils": "3.5.20",
14
14
  "chalk": "^4.1.1",
@@ -25,12 +25,12 @@
25
25
  "tsx": "^4.19.0"
26
26
  },
27
27
  "devDependencies": {
28
- "@nocobase/devtools": "1.4.13"
28
+ "@nocobase/devtools": "1.4.14"
29
29
  },
30
30
  "repository": {
31
31
  "type": "git",
32
32
  "url": "git+https://github.com/nocobase/nocobase.git",
33
33
  "directory": "packages/core/cli"
34
34
  },
35
- "gitHead": "f050b8fc444e552d275b5c3befe57a4f6e2749dd"
35
+ "gitHead": "ddf6d0441915b7e2c9f34d453a350d64e016953e"
36
36
  }
@@ -189,7 +189,10 @@ class PackageManager {
189
189
  },
190
190
  responseType: 'json',
191
191
  });
192
- return res.data.data;
192
+ return {
193
+ licensed_plugins: res.data?.data || [],
194
+ commercial_plugins: res.data?.meta?.commercial_plugins || [],
195
+ };
193
196
  }
194
197
 
195
198
  async getPackages() {