@mesh-tech/mesh-cli 0.35.2 → 0.36.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 +4 -0
- package/dist/bin/mesh.js.map +1 -1
- package/dist/build-info.json +2 -2
- package/dist/src/commands/create-app.d.ts +1 -0
- package/dist/src/commands/create-app.js +4 -0
- package/dist/src/utils/scaffold-versions.d.ts +1 -0
- package/dist/src/utils/scaffold-versions.js +1 -0
- package/fragments/base/index.ts.hbs +5 -3
- package/fragments/base/package.json.hbs +1 -0
- package/package.json +2 -2
package/dist/build-info.json
CHANGED
|
@@ -515,6 +515,9 @@ async function runComposable(tenant, name, primitives, test) {
|
|
|
515
515
|
const eventsService = workspaceDeps || !primitives.includes("events")
|
|
516
516
|
? { range: "", resolved: true }
|
|
517
517
|
: resolvePublishedRange("@mesh-tech/events-service", repoRoot);
|
|
518
|
+
const eventsUi = workspaceDeps || !primitives.includes("events")
|
|
519
|
+
? { range: "", resolved: true }
|
|
520
|
+
: resolvePublishedRange("@mesh-tech/events-ui", repoRoot);
|
|
518
521
|
const authz = workspaceDeps || !primitives.includes("events")
|
|
519
522
|
? { range: "", resolved: true }
|
|
520
523
|
: resolvePublishedRange("@mesh-tech/authz", repoRoot);
|
|
@@ -536,6 +539,7 @@ async function runComposable(tenant, name, primitives, test) {
|
|
|
536
539
|
meshRange: mesh.range,
|
|
537
540
|
esmBundleRange: esmBundle.range,
|
|
538
541
|
eventsServiceRange: eventsService.range,
|
|
542
|
+
eventsUiRange: eventsUi.range,
|
|
539
543
|
authzRange: authz.range,
|
|
540
544
|
typesNodeRange: SCAFFOLD_TOOLCHAIN["@types/node"],
|
|
541
545
|
tsxRange: SCAFFOLD_TOOLCHAIN.tsx,
|
|
@@ -2,6 +2,7 @@ export declare const SCAFFOLD_PACKAGE_LINES: {
|
|
|
2
2
|
readonly "@mesh-tech/app-kit": "^1.45.0";
|
|
3
3
|
readonly "@mesh-tech/esm-bundle": "^0.1.1";
|
|
4
4
|
readonly "@mesh-tech/events-service": "^0.1.0";
|
|
5
|
+
readonly "@mesh-tech/events-ui": "^0.1.0";
|
|
5
6
|
readonly "@mesh-tech/authz": "^1.19.0";
|
|
6
7
|
};
|
|
7
8
|
export type ScaffoldPackage = keyof typeof SCAFFOLD_PACKAGE_LINES;
|
|
@@ -113,8 +113,10 @@ const config = new mesh.apps.AppConfig("config", {
|
|
|
113
113
|
// for endpoint credentials, the publisher key, the Zitadel introspection app,
|
|
114
114
|
// the delivery task queue, the worker registration that lists the app's
|
|
115
115
|
// Temporal namespace on the Hub's Workflows page (with the service's own
|
|
116
|
-
// housekeeping workflows marked internal, so only staff see them there),
|
|
117
|
-
//
|
|
116
|
+
// housekeeping workflows marked internal, so only staff see them there), the
|
|
117
|
+
// registry surface, and the operator UI (`@mesh-tech/events-ui`, installed in
|
|
118
|
+
// package.json) as its own signed-in Service at `{app}-events-ui` — all
|
|
119
|
+
// children of this one declaration.
|
|
118
120
|
//
|
|
119
121
|
// Its database's schema migration gates the deploy: `pulumi up` waits for the
|
|
120
122
|
// migration Job and fails when it fails, and the service's pods are held until
|
|
@@ -127,7 +129,7 @@ const config = new mesh.apps.AppConfig("config", {
|
|
|
127
129
|
// that as "use the default".
|
|
128
130
|
const events = new mesh.apps.EventsService("events", {
|
|
129
131
|
env,
|
|
130
|
-
identity: { connector, projectId: identity.projectId },
|
|
132
|
+
identity: { connector, projectId: identity.projectId, dependsOn: [identity] },
|
|
131
133
|
config,
|
|
132
134
|
// "thin" sends identifiers only, so nothing the API would mask reaches a
|
|
133
135
|
// third-party endpoint and the consumer follows the identifiers back to the
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
{{#if events}}
|
|
13
13
|
"@mesh-tech/authz": "{{#if workspaceDeps}}workspace:*{{else}}{{authzRange}}{{/if}}",
|
|
14
14
|
"@mesh-tech/events-service": "{{#if workspaceDeps}}workspace:*{{else}}{{eventsServiceRange}}{{/if}}",
|
|
15
|
+
"@mesh-tech/events-ui": "{{#if workspaceDeps}}workspace:*{{else}}{{eventsUiRange}}{{/if}}",
|
|
15
16
|
{{/if}}
|
|
16
17
|
"@mesh-tech/infra-components": "{{#if workspaceDeps}}workspace:*{{else}}{{meshRange}}{{/if}}",
|
|
17
18
|
{{#if events}}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mesh-tech/mesh-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.36.0",
|
|
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.2.0",
|
|
45
|
-
"@mesh-tech/tsconfig": "2.
|
|
45
|
+
"@mesh-tech/tsconfig": "2.37.0",
|
|
46
46
|
"@mesh-tech/workflow-viz": "0.3.1",
|
|
47
47
|
"@tanstack/intent": "^0.3.6",
|
|
48
48
|
"@types/node": "^20.0.0",
|