@nocobase/cli 2.0.0-alpha.27 → 2.0.0-alpha.28

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-alpha.27",
3
+ "version": "2.0.0-alpha.28",
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-alpha.27",
11
+ "@nocobase/app": "2.0.0-alpha.28",
12
12
  "@nocobase/license-kit": "^0.2.17",
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-alpha.27"
30
+ "@nocobase/devtools": "2.0.0-alpha.28"
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": "bb67b95bc49f8d808209e635296ba15a1bd72f72"
37
+ "gitHead": "25c2df8f18a912feb35780dc05f8b0594432bc15"
38
38
  }
@@ -53,8 +53,8 @@ module.exports = (cli) => {
53
53
  dotenv.config({ path: envFilePath, override: true });
54
54
  }
55
55
  }
56
- if (!process.env.API_BASE_URL) {
57
- throw new Error('Please set API_BASE_URL in environment variables or in .env.perf file');
56
+ if (!process.env.TARGET_ORIGIN) {
57
+ throw new Error('Please set TARGET_ORIGIN in environment variables or in .env.perf file');
58
58
  }
59
59
  const args = command.args.filter((arg) => arg !== file);
60
60
  await run(`k6`, ['run', f, ...(args.length ? ['--', ...args] : [])]);