@mesh-tech/mesh-cli 0.40.5 → 0.40.7
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/build-info.json +2 -2
- package/fragments/base/index.ts.hbs +5 -1
- package/package.json +2 -2
- package/templates/api-auth/index.ts.hbs +2 -0
- package/templates/api-role-gating/index.ts.hbs +5 -1
- package/templates/external-service/index.ts.hbs +2 -0
- package/templates/workflow/index.ts.hbs +2 -0
package/dist/build-info.json
CHANGED
|
@@ -182,6 +182,8 @@ const api = new mesh.apps.Service("api", {
|
|
|
182
182
|
],
|
|
183
183
|
ingress: env.buildIngress({ subdomain: "{{name}}" }),
|
|
184
184
|
// Drives readiness, liveness and the Hub uptime sampler on BOTH ingress kinds.
|
|
185
|
+
// An `ingress.pathMatches` list must route this path too: the sampler
|
|
186
|
+
// requests it on the public URL.
|
|
185
187
|
// `ingress.healthCheckPath` sets the ALB target group's path only, and a
|
|
186
188
|
// gateway (HTTPRoute) tenant has no target group — so the path belongs here.
|
|
187
189
|
// A boot that can outlast the liveness window (a busy node, a tight CPU
|
|
@@ -250,7 +252,9 @@ const worker = new mesh.apps.TemporalWorker("worker", {
|
|
|
250
252
|
// =============================================================================
|
|
251
253
|
// Access — LAST. The pointer is what the Hub's App -> Access tab reads; without
|
|
252
254
|
// it the tab is blank and no one can be granted a role, including the two the
|
|
253
|
-
// events service authorizes its subscribers by.
|
|
255
|
+
// events service authorizes its subscribers by. Keep the name "authz": an app
|
|
256
|
+
// that moves to policy-engine hands its metadata path to SpiceDBSchema, which
|
|
257
|
+
// adopts the Export published under that name.
|
|
254
258
|
// =============================================================================
|
|
255
259
|
|
|
256
260
|
new mesh.auth.AppAuthzPointer("authz", {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mesh-tech/mesh-cli",
|
|
3
|
-
"version": "0.40.
|
|
3
|
+
"version": "0.40.7",
|
|
4
4
|
"description": "CLI for Mesh platform development utilities",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@mesh-tech/agent-contracts": "0.6.0",
|
|
45
|
-
"@mesh-tech/tsconfig": "2.
|
|
45
|
+
"@mesh-tech/tsconfig": "2.48.1",
|
|
46
46
|
"@mesh-tech/workflow-viz": "0.3.2",
|
|
47
47
|
"@tanstack/intent": "^0.3.6",
|
|
48
48
|
"@types/node": "^20.0.0",
|
|
@@ -112,6 +112,8 @@ const api = new mesh.apps.Service("api", {
|
|
|
112
112
|
},
|
|
113
113
|
ingress: env.buildIngress({ subdomain: "{{name}}-api" }),
|
|
114
114
|
// Drives readiness, liveness and the Hub uptime sampler on BOTH ingress kinds.
|
|
115
|
+
// An `ingress.pathMatches` list must route this path too: the sampler
|
|
116
|
+
// requests it on the public URL.
|
|
115
117
|
// `ingress.healthCheckPath` sets the ALB target group's path only, and a
|
|
116
118
|
// gateway (HTTPRoute) tenant has no target group — so the path belongs here.
|
|
117
119
|
// A boot that can outlast the liveness window (a busy node, a tight CPU
|
|
@@ -86,6 +86,8 @@ const api = new mesh.apps.Service("api", {
|
|
|
86
86
|
},
|
|
87
87
|
ingress: env.buildIngress({ subdomain: "{{name}}-api" }),
|
|
88
88
|
// Drives readiness, liveness and the Hub uptime sampler on BOTH ingress kinds.
|
|
89
|
+
// An `ingress.pathMatches` list must route this path too: the sampler
|
|
90
|
+
// requests it on the public URL.
|
|
89
91
|
// `ingress.healthCheckPath` sets the ALB target group's path only, and a
|
|
90
92
|
// gateway (HTTPRoute) tenant has no target group — so the path belongs here.
|
|
91
93
|
// A boot that can outlast the liveness window (a busy node, a tight CPU
|
|
@@ -105,7 +107,9 @@ const api = new mesh.apps.Service("api", {
|
|
|
105
107
|
// component to publish it, so the pointer publishes the compiled blob itself
|
|
106
108
|
// at the conventional …/authz/ops-hub-metadata path and references it.
|
|
107
109
|
// It publishes env.zitadel — the project bound above through zitadelAppProjectId;
|
|
108
|
-
// never pass a `zitadel:` override here (that is the Hub's own escape hatch).
|
|
110
|
+
// never pass a `zitadel:` override here (that is the Hub's own escape hatch).
|
|
111
|
+
// Keep the name "authz": an app that moves to policy-engine hands this path to
|
|
112
|
+
// SpiceDBSchema, which adopts the Export published under that name. ---
|
|
109
113
|
new mesh.auth.AppAuthzPointer("authz", {
|
|
110
114
|
env,
|
|
111
115
|
mode: "role-gating",
|
|
@@ -73,6 +73,8 @@ const api = new mesh.apps.Service("api", {
|
|
|
73
73
|
link: [vendorpay.link()],
|
|
74
74
|
ingress: env.buildIngress({ subdomain: "{{name}}-api" }),
|
|
75
75
|
// Drives readiness, liveness and the Hub uptime sampler on BOTH ingress kinds.
|
|
76
|
+
// An `ingress.pathMatches` list must route this path too: the sampler
|
|
77
|
+
// requests it on the public URL.
|
|
76
78
|
// `ingress.healthCheckPath` sets the ALB target group's path only, and a
|
|
77
79
|
// gateway (HTTPRoute) tenant has no target group — so the path belongs here.
|
|
78
80
|
// A boot that can outlast the liveness window (a busy node, a tight CPU
|
|
@@ -46,6 +46,8 @@ const api = new mesh.apps.Service("api", {
|
|
|
46
46
|
],
|
|
47
47
|
ingress: env.buildIngress({ subdomain: "{{name}}-api" }),
|
|
48
48
|
// Drives readiness, liveness and the Hub uptime sampler on BOTH ingress kinds.
|
|
49
|
+
// An `ingress.pathMatches` list must route this path too: the sampler
|
|
50
|
+
// requests it on the public URL.
|
|
49
51
|
// `ingress.healthCheckPath` sets the ALB target group's path only, and a
|
|
50
52
|
// gateway (HTTPRoute) tenant has no target group — so the path belongs here.
|
|
51
53
|
// A boot that can outlast the liveness window (a busy node, a tight CPU
|