@lark-apaas/fullstack-cli 1.1.59-alpha.20260719084243 → 1.1.59-alpha.20260719094042

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.
Files changed (2) hide show
  1. package/dist/index.js +6 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -8852,6 +8852,7 @@ import { spawn as spawn2, spawnSync as spawnSync7 } from "child_process";
8852
8852
 
8853
8853
  // src/commands/preview-artifact/readiness.ts
8854
8854
  function isPreviewBusinessResponseReady(response) {
8855
+ if (response.status === 401 || response.status === 403) return true;
8855
8856
  return response.status !== 404 && response.status < 500 && !response.headers.get("content-type")?.includes("text/html");
8856
8857
  }
8857
8858
 
@@ -9106,11 +9107,11 @@ async function runPreviewArtifactProbe(options) {
9106
9107
  coverage.clientAssets = entryReferences.localExecutable;
9107
9108
  if (entryReferences.localExecutable.length === 0) {
9108
9109
  reasons.push("client HTML has no local executable entry asset");
9109
- }
9110
- for (const externalAsset of entryReferences.unsupportedExternal) {
9111
- reasons.push(
9112
- `external client entry asset is unsupported: ${externalAsset}`
9113
- );
9110
+ for (const externalAsset of entryReferences.unsupportedExternal) {
9111
+ reasons.push(
9112
+ `external client entry asset is unsupported: ${externalAsset}`
9113
+ );
9114
+ }
9114
9115
  }
9115
9116
  for (const entryAsset of entryAssets) {
9116
9117
  if (!resolveClientEntryAsset(clientRoot, options.appBasePath, entryAsset)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lark-apaas/fullstack-cli",
3
- "version": "1.1.59-alpha.20260719084243",
3
+ "version": "1.1.59-alpha.20260719094042",
4
4
  "description": "CLI tool for fullstack template management",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",