@lark-apaas/fullstack-cli 1.1.65-alpha.20260902125800 → 1.1.66-alpha.20260902172318

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": "@lark-apaas/fullstack-cli",
3
- "version": "1.1.65-alpha.20260902125800",
3
+ "version": "1.1.66-alpha.20260902172318",
4
4
  "description": "CLI tool for fullstack template management",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -342,16 +342,11 @@ function publicServerReachable() {
342
342
  settled = true;
343
343
  resolve(reachable);
344
344
  };
345
- const basePath =
346
- process.env.CLIENT_BASE_PATH?.startsWith('/') &&
347
- !process.env.CLIENT_BASE_PATH.startsWith('//')
348
- ? process.env.CLIENT_BASE_PATH.replace(/\/+$/, '')
349
- : '';
350
345
  const request = http.get(
351
346
  {
352
347
  host: '127.0.0.1',
353
348
  port: PUBLIC_SERVER_PORT,
354
- path: `${basePath}/__innerapi__/capability/list`,
349
+ path: '/__innerapi__/capability/list',
355
350
  },
356
351
  response => {
357
352
  if (response.statusCode !== 200) {
@@ -70,15 +70,8 @@ const restoreEpochMs = Number(process.env.MIAODA_PLATFORM_ENV_NOT_BEFORE_MS);
70
70
  const publicHost = process.env.SERVER_HOST || '0.0.0.0';
71
71
  const publicPort = Number(process.env.SERVER_PORT || 3000);
72
72
  const logDir = path.resolve(projectRoot, process.env.LOG_DIR || 'logs');
73
- const configuredClientBasePath = process.env.CLIENT_BASE_PATH;
74
- const readinessBasePath =
75
- configuredClientBasePath?.startsWith('/') &&
76
- !configuredClientBasePath.startsWith('//')
77
- ? configuredClientBasePath.replace(/\/+$/, '')
78
- : '';
79
73
  const readinessPath =
80
- process.env.MIAODA_NEST_READINESS_PATH ||
81
- `${readinessBasePath}/__innerapi__/capability/list`;
74
+ process.env.MIAODA_NEST_READINESS_PATH || '/__innerapi__/capability/list';
82
75
  const sourceReadyTimeoutMs = positiveDuration(
83
76
  'MIAODA_NEST_SOURCE_READY_TIMEOUT_MS',
84
77
  60_000