@playcraft/cli 0.0.38 → 0.0.39

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.
@@ -3,7 +3,7 @@ import { exec } from 'child_process';
3
3
  import crypto from 'crypto';
4
4
  import { saveGlobalConfig, loadGlobalConfig } from '../config.js';
5
5
  /** 默认云端 Portal(Next.js `/cli-auth` 与 API 同源时的基址;可通过 --url 或 PLAYCRAFT_URL 覆盖) */
6
- export const DEFAULT_PLAYCRAFT_CLOUD_BASE = 'https://playcraft.aix.inltgame.com';
6
+ export const DEFAULT_PLAYCRAFT_CLOUD_BASE = 'https://playcraft.aix.intlgame.com';
7
7
  const CALLBACK_PORT = 3456;
8
8
  const TIMEOUT_MS = 5 * 60 * 1000;
9
9
  function escapeHtml(text) {
package/dist/index.js CHANGED
@@ -47,7 +47,7 @@ program
47
47
  program
48
48
  .command('login')
49
49
  .description('登录 PlayCraft 账号并获取 CLI token')
50
- .option('--url <url>', 'Portal / API 基址(默认 https://playcraft.aix.inltgame.com,可用环境变量 PLAYCRAFT_URL 覆盖)')
50
+ .option('--url <url>', 'Portal / API 基址(默认 https://playcraft.aix.intlgame.com,可用环境变量 PLAYCRAFT_URL 覆盖)')
51
51
  .action(async (options) => {
52
52
  const { loginCommand } = await import('./commands/login.js');
53
53
  await loginCommand(options);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@playcraft/cli",
3
- "version": "0.0.38",
3
+ "version": "0.0.39",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "bin": {
@@ -23,8 +23,8 @@
23
23
  "release": "node scripts/release.js"
24
24
  },
25
25
  "dependencies": {
26
- "@playcraft/build": "^0.0.38",
27
- "@playcraft/common": "^0.0.26",
26
+ "@playcraft/build": "^0.0.39",
27
+ "@playcraft/common": "^0.0.27",
28
28
  "chokidar": "^4.0.3",
29
29
  "commander": "^13.1.0",
30
30
  "cors": "^2.8.6",