@nocobase/cli 2.0.0-beta.3 → 2.0.0-beta.5

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": "2.0.0-beta.3",
3
+ "version": "2.0.0-beta.5",
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": "2.0.0-beta.3",
11
+ "@nocobase/app": "2.0.0-beta.5",
12
12
  "@nocobase/license-kit": "^0.3.5",
13
13
  "@types/fs-extra": "^11.0.1",
14
14
  "@umijs/utils": "3.5.20",
@@ -27,12 +27,12 @@
27
27
  "tsx": "^4.19.0"
28
28
  },
29
29
  "devDependencies": {
30
- "@nocobase/devtools": "2.0.0-beta.3"
30
+ "@nocobase/devtools": "2.0.0-beta.5"
31
31
  },
32
32
  "repository": {
33
33
  "type": "git",
34
34
  "url": "git+https://github.com/nocobase/nocobase.git",
35
35
  "directory": "packages/core/cli"
36
36
  },
37
- "gitHead": "6c178de2050651bcfcc0b2708de0246977eac510"
37
+ "gitHead": "ea028f41293607ac0a20d054107e2ba772d639b2"
38
38
  }
@@ -283,7 +283,12 @@ module.exports = (cli) => {
283
283
  NOCOBASE_PKG_URL = 'https://pkg.nocobase.com/',
284
284
  NOCOBASE_PKG_USERNAME,
285
285
  NOCOBASE_PKG_PASSWORD,
286
+ DISABLE_PKG_DOWNLOAD,
286
287
  } = process.env;
288
+ if (DISABLE_PKG_DOWNLOAD === 'true') {
289
+ logger.info('Package download is disabled.');
290
+ return;
291
+ }
287
292
  let accessKeyId;
288
293
  let accessKeySecret;
289
294
  try {
@@ -62,6 +62,7 @@ module.exports = (cli) => {
62
62
  if (descJson['devDependencies']?.['@nocobase/devtools']) {
63
63
  descJson['devDependencies']['@nocobase/devtools'] = stdout;
64
64
  }
65
+ descJson['resolutions'] = sourceJson['resolutions'];
65
66
  const json = deepmerge(descJson, sourceJson);
66
67
  await writeJSON(descPath, json, { spaces: 2, encoding: 'utf8' });
67
68
  await run('yarn', ['install']);
@@ -24,8 +24,8 @@
24
24
  "@types/react-dom": "^18.0.0",
25
25
  "react-router-dom": "^6.30.1",
26
26
  "react-router": "^6.30.1",
27
+ "antd": "5.24.2",
27
28
  "async": "^3.2.6",
28
- "antd": "5.12.8",
29
29
  "rollup": "4.24.0",
30
30
  "semver": "^7.7.1"
31
31
  },