@nocobase/cli-v1 2.1.0-alpha.21 → 2.1.0-alpha.23

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-v1",
3
- "version": "2.1.0-alpha.21",
3
+ "version": "2.1.0-alpha.23",
4
4
  "description": "",
5
5
  "license": "Apache-2.0",
6
6
  "main": "./src/index.js",
@@ -8,9 +8,9 @@
8
8
  "nocobase-v1": "./bin/index.js"
9
9
  },
10
10
  "dependencies": {
11
- "@nocobase/cli": "2.1.0-alpha.21",
11
+ "@nocobase/cli": "2.1.0-alpha.23",
12
12
  "@nocobase/license-kit": "^0.3.8",
13
- "@nocobase/utils": "2.1.0-alpha.21",
13
+ "@nocobase/utils": "2.1.0-alpha.23",
14
14
  "@types/fs-extra": "^11.0.1",
15
15
  "@umijs/utils": "3.5.20",
16
16
  "chalk": "^4.1.1",
@@ -28,12 +28,12 @@
28
28
  "tsx": "^4.19.0"
29
29
  },
30
30
  "devDependencies": {
31
- "@nocobase/devtools": "2.1.0-alpha.21"
31
+ "@nocobase/devtools": "2.1.0-alpha.23"
32
32
  },
33
33
  "repository": {
34
34
  "type": "git",
35
35
  "url": "git+https://github.com/nocobase/nocobase.git",
36
36
  "directory": "packages/core/cli"
37
37
  },
38
- "gitHead": "b4c2b469f321ecaec7863a8ae371a02fe6a35aa2"
38
+ "gitHead": "baa19dafe25e85b680b2fea7451f202831930c1c"
39
39
  }
@@ -80,7 +80,7 @@ module.exports = (cli) => {
80
80
  options.retry ? '--retry' : '',
81
81
  ]);
82
82
  buildIndexHtml(true);
83
- if (options.packages && !options.packages.includes('@nocobase/app')) {
83
+ if (!pkgs.includes('@nocobase/app')) {
84
84
  await buildClientV2();
85
85
  }
86
86
  });
package/src/util.js CHANGED
@@ -260,6 +260,7 @@ exports.genTsConfigPaths = function genTsConfigPaths() {
260
260
  const cwd = process.cwd();
261
261
  const cwdLength = cwd.length;
262
262
  const paths = {
263
+ '@docs/*': ['docs/docs/*'],
263
264
  '@@/*': ['.dumi/tmp/*'],
264
265
  };
265
266
  const packages = fg.sync(['packages/*/*/package.json', 'packages/*/*/*/package.json'], {