@mesh-tech/mesh-cli 0.30.0 → 0.31.0

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/dist/bin/mesh.js CHANGED
@@ -11803,7 +11803,7 @@ function docsSiteFindings(text) {
11803
11803
  findings.push({
11804
11804
  code: "DOCS_SITE_PUBLIC",
11805
11805
  line: decl.line,
11806
- why: `mesh.apps.${decl.ctor} declares a docs site with ${named} \u2014 retired: a docs site has no hostname, no sign-in and no door switch of its own; it is read inside the Hub through the docs door, and the primitive ignores ${retired.length > 1 ? "them" : "it"}`
11806
+ why: `mesh.apps.${decl.ctor} declares a docs site with ${named} \u2014 deprecated: the Hub docs door is the path this site is published on, and it is already built for it (no hostname, no sign-in and no door switch of its own), so the primitive ignores ${retired.length > 1 ? "them" : "it"}`
11807
11807
  });
11808
11808
  }
11809
11809
  const kindStated = decl.ctor === "AppApiSurface" || decl.ctor === "VendorApiSurface" || args.has("kind");
@@ -11836,7 +11836,7 @@ function docsSiteFindings(text) {
11836
11836
  findings.push({
11837
11837
  code: "DOCS_SITE_PUBLIC",
11838
11838
  line: decl.line,
11839
- why: `mesh.apps.ApiDocs is published on an ingress \u2014 a docs site has no hostname of its own; it is read inside the Hub through the docs door of the API surface that declares it, and the ingress is retired (it still deploys, with a preview warning, until a coming minor release refuses it)`
11839
+ why: `mesh.apps.ApiDocs is published on an ingress \u2014 deprecated: the Hub docs door is the path a docs site is published on, and it opens for the API surface that declares the site. The hostname still deploys, with a preview warning, as the compatibility path`
11840
11840
  });
11841
11841
  }
11842
11842
  return findings;
@@ -12220,12 +12220,12 @@ var init_app_check = __esm({
12220
12220
  },
12221
12221
  DOCS_SITE_PUBLIC: {
12222
12222
  gate: "0.3",
12223
- title: "Docs site read through the Hub, not on a hostname of its own",
12224
- // Advisory while the hostname is deprecated rather than refused: a site
12225
- // that still deploys on one keeps deploying this release, with a preview
12226
- // warning, and its tenant CI should say so without going red.
12223
+ title: "Docs site published through the Hub docs door",
12224
+ // Advisory because the public shape is the compatibility path, not a
12225
+ // fault: a site on it keeps deploying, and its tenant CI should read the
12226
+ // route without going red.
12227
12227
  severity: "advisory",
12228
- remediation: "drop the docs hostname \u2014 a docs site is read inside the Hub through the docs door, which signs every reader in: on an API surface remove docs.ingress (docs.auth, docs.basePath and docs.hubDoor are retired with it); on a mesh.apps.ApiDocs remove the ingress (and its auth / authentication) and declare the API as a mesh.apps.AppApiSurface whose docs block builds the site",
12228
+ remediation: "publish the site through the Hub docs door \u2014 declare the API as a mesh.apps.AppApiSurface whose docs block builds this same site (docs: { spec, pages }), declare its readers' role on the ZitadelAppIdentity and grant it from the Hub's Access tab; then drop the hostname (docs.ingress on an API surface, where docs.auth, docs.basePath and docs.hubDoor do nothing either; the ingress with its auth and authentication on a mesh.apps.ApiDocs). The public shape keeps deploying until you do",
12229
12229
  scope: "app"
12230
12230
  },
12231
12231
  DOCS_AUDIENCE_IMPLICIT: {