@solid-stack/builder 3.0.0 → 3.2.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/README.md +7 -3
- package/dist/bin.js +156 -52
- package/dist/bin.js.map +1 -1
- package/dist/core/buildSchema.d.ts +71 -0
- package/dist/core/buildSchema.d.ts.map +1 -1
- package/dist/core/composition/compileGraphComposition.d.ts.map +1 -1
- package/dist/core/composition/compileServiceComposition.d.ts.map +1 -1
- package/dist/core/composition/composeEnvironment.d.ts +1 -0
- package/dist/core/composition/composeEnvironment.d.ts.map +1 -1
- package/dist/core/composition/validateOverrideCompose.d.ts.map +1 -1
- package/dist/core/config/resolveBuildStage.d.ts +5 -1
- package/dist/core/config/resolveBuildStage.d.ts.map +1 -1
- package/dist/core/config/serviceGraph.d.ts +1 -1
- package/dist/core/config/serviceGraph.d.ts.map +1 -1
- package/dist/core/config/types.d.ts +4 -0
- package/dist/core/config/types.d.ts.map +1 -1
- package/dist/core/mesh/applyMeshExtends.d.ts.map +1 -1
- package/dist/core/runners/runFiniteTester.d.ts +1 -0
- package/dist/core/runners/runFiniteTester.d.ts.map +1 -1
- package/dist/core/runners/runTestUnit.d.ts +2 -0
- package/dist/core/runners/runTestUnit.d.ts.map +1 -1
- package/dist/index.js +156 -52
- package/dist/index.js.map +1 -1
- package/dist/types/index.d.ts +12 -2
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/schemas/build-schema.json +394 -0
- package/schemas/mesh-schema.json +24 -0
|
@@ -37,6 +37,7 @@ export declare const serviceEndpointSchema: z.ZodObject<{
|
|
|
37
37
|
}>;
|
|
38
38
|
export declare const mainServiceSchema: z.ZodObject<{
|
|
39
39
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
40
|
+
buildArgs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
40
41
|
endpoints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
41
42
|
port: z.ZodNumber;
|
|
42
43
|
publicPort: z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"AUTO">]>>;
|
|
@@ -57,6 +58,7 @@ export declare const mainServiceSchema: z.ZodObject<{
|
|
|
57
58
|
"override-compose": z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
58
59
|
}, "strict", z.ZodTypeAny, {
|
|
59
60
|
env?: Record<string, string> | undefined;
|
|
61
|
+
buildArgs?: Record<string, string> | undefined;
|
|
60
62
|
endpoints?: Record<string, {
|
|
61
63
|
port: number;
|
|
62
64
|
publicPort?: number | "AUTO" | undefined;
|
|
@@ -67,6 +69,7 @@ export declare const mainServiceSchema: z.ZodObject<{
|
|
|
67
69
|
"override-compose"?: string | undefined;
|
|
68
70
|
}, {
|
|
69
71
|
env?: Record<string, string> | undefined;
|
|
72
|
+
buildArgs?: Record<string, string> | undefined;
|
|
70
73
|
endpoints?: Record<string, {
|
|
71
74
|
port: number;
|
|
72
75
|
publicPort?: number | "AUTO" | undefined;
|
|
@@ -165,6 +168,7 @@ export declare const ordinaryServiceSchema: z.ZodEffects<z.ZodObject<{
|
|
|
165
168
|
}>;
|
|
166
169
|
export declare const mainOverlaySchema: z.ZodObject<{
|
|
167
170
|
env: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
171
|
+
buildArgs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
168
172
|
endpoints: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
169
173
|
port: z.ZodOptional<z.ZodNumber>;
|
|
170
174
|
publicPort: z.ZodOptional<z.ZodOptional<z.ZodUnion<[z.ZodNumber, z.ZodLiteral<"AUTO">]>>>;
|
|
@@ -185,6 +189,7 @@ export declare const mainOverlaySchema: z.ZodObject<{
|
|
|
185
189
|
"override-compose": z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
|
|
186
190
|
}, "strict", z.ZodTypeAny, {
|
|
187
191
|
env?: Record<string, string> | undefined;
|
|
192
|
+
buildArgs?: Record<string, string> | undefined;
|
|
188
193
|
endpoints?: Record<string, {
|
|
189
194
|
port?: number | undefined;
|
|
190
195
|
publicPort?: number | "AUTO" | undefined;
|
|
@@ -195,6 +200,7 @@ export declare const mainOverlaySchema: z.ZodObject<{
|
|
|
195
200
|
"override-compose"?: string | undefined;
|
|
196
201
|
}, {
|
|
197
202
|
env?: Record<string, string> | undefined;
|
|
203
|
+
buildArgs?: Record<string, string> | undefined;
|
|
198
204
|
endpoints?: Record<string, {
|
|
199
205
|
port?: number | undefined;
|
|
200
206
|
publicPort?: number | "AUTO" | undefined;
|
|
@@ -274,16 +280,56 @@ export declare const buildStageSchema: z.ZodObject<{
|
|
|
274
280
|
}, {
|
|
275
281
|
services?: Record<string, unknown> | undefined;
|
|
276
282
|
}>;
|
|
283
|
+
export declare const isolatedInfraOverlaySchema: z.ZodObject<{
|
|
284
|
+
services: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnknown>, Record<string, unknown>, Record<string, unknown>>>;
|
|
285
|
+
}, "strict", z.ZodTypeAny, {
|
|
286
|
+
services?: Record<string, unknown> | undefined;
|
|
287
|
+
}, {
|
|
288
|
+
services?: Record<string, unknown> | undefined;
|
|
289
|
+
}>;
|
|
290
|
+
export declare const isolatableBuildStageSchema: z.ZodObject<{
|
|
291
|
+
services: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnknown>, Record<string, unknown>, Record<string, unknown>>>;
|
|
292
|
+
"on-inframode-isolated": z.ZodOptional<z.ZodObject<{
|
|
293
|
+
services: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnknown>, Record<string, unknown>, Record<string, unknown>>>;
|
|
294
|
+
}, "strict", z.ZodTypeAny, {
|
|
295
|
+
services?: Record<string, unknown> | undefined;
|
|
296
|
+
}, {
|
|
297
|
+
services?: Record<string, unknown> | undefined;
|
|
298
|
+
}>>;
|
|
299
|
+
}, "strict", z.ZodTypeAny, {
|
|
300
|
+
services?: Record<string, unknown> | undefined;
|
|
301
|
+
"on-inframode-isolated"?: {
|
|
302
|
+
services?: Record<string, unknown> | undefined;
|
|
303
|
+
} | undefined;
|
|
304
|
+
}, {
|
|
305
|
+
services?: Record<string, unknown> | undefined;
|
|
306
|
+
"on-inframode-isolated"?: {
|
|
307
|
+
services?: Record<string, unknown> | undefined;
|
|
308
|
+
} | undefined;
|
|
309
|
+
}>;
|
|
277
310
|
export declare const buildJsonSchema: z.ZodObject<{
|
|
278
311
|
$schema: z.ZodOptional<z.ZodString>;
|
|
279
312
|
name: z.ZodEffects<z.ZodString, string, string>;
|
|
280
313
|
services: z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnknown>, Record<string, unknown>, Record<string, unknown>>;
|
|
281
314
|
dev: z.ZodOptional<z.ZodObject<{
|
|
282
315
|
services: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnknown>, Record<string, unknown>, Record<string, unknown>>>;
|
|
316
|
+
"on-inframode-isolated": z.ZodOptional<z.ZodObject<{
|
|
317
|
+
services: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnknown>, Record<string, unknown>, Record<string, unknown>>>;
|
|
318
|
+
}, "strict", z.ZodTypeAny, {
|
|
319
|
+
services?: Record<string, unknown> | undefined;
|
|
320
|
+
}, {
|
|
321
|
+
services?: Record<string, unknown> | undefined;
|
|
322
|
+
}>>;
|
|
283
323
|
}, "strict", z.ZodTypeAny, {
|
|
284
324
|
services?: Record<string, unknown> | undefined;
|
|
325
|
+
"on-inframode-isolated"?: {
|
|
326
|
+
services?: Record<string, unknown> | undefined;
|
|
327
|
+
} | undefined;
|
|
285
328
|
}, {
|
|
286
329
|
services?: Record<string, unknown> | undefined;
|
|
330
|
+
"on-inframode-isolated"?: {
|
|
331
|
+
services?: Record<string, unknown> | undefined;
|
|
332
|
+
} | undefined;
|
|
287
333
|
}>>;
|
|
288
334
|
prod: z.ZodOptional<z.ZodObject<{
|
|
289
335
|
services: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnknown>, Record<string, unknown>, Record<string, unknown>>>;
|
|
@@ -294,10 +340,23 @@ export declare const buildJsonSchema: z.ZodObject<{
|
|
|
294
340
|
}>>;
|
|
295
341
|
test: z.ZodOptional<z.ZodObject<{
|
|
296
342
|
services: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnknown>, Record<string, unknown>, Record<string, unknown>>>;
|
|
343
|
+
"on-inframode-isolated": z.ZodOptional<z.ZodObject<{
|
|
344
|
+
services: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnknown>, Record<string, unknown>, Record<string, unknown>>>;
|
|
345
|
+
}, "strict", z.ZodTypeAny, {
|
|
346
|
+
services?: Record<string, unknown> | undefined;
|
|
347
|
+
}, {
|
|
348
|
+
services?: Record<string, unknown> | undefined;
|
|
349
|
+
}>>;
|
|
297
350
|
}, "strict", z.ZodTypeAny, {
|
|
298
351
|
services?: Record<string, unknown> | undefined;
|
|
352
|
+
"on-inframode-isolated"?: {
|
|
353
|
+
services?: Record<string, unknown> | undefined;
|
|
354
|
+
} | undefined;
|
|
299
355
|
}, {
|
|
300
356
|
services?: Record<string, unknown> | undefined;
|
|
357
|
+
"on-inframode-isolated"?: {
|
|
358
|
+
services?: Record<string, unknown> | undefined;
|
|
359
|
+
} | undefined;
|
|
301
360
|
}>>;
|
|
302
361
|
e2e: z.ZodOptional<z.ZodObject<{
|
|
303
362
|
services: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodUnknown>, Record<string, unknown>, Record<string, unknown>>>;
|
|
@@ -312,12 +371,18 @@ export declare const buildJsonSchema: z.ZodObject<{
|
|
|
312
371
|
services: Record<string, unknown>;
|
|
313
372
|
dev?: {
|
|
314
373
|
services?: Record<string, unknown> | undefined;
|
|
374
|
+
"on-inframode-isolated"?: {
|
|
375
|
+
services?: Record<string, unknown> | undefined;
|
|
376
|
+
} | undefined;
|
|
315
377
|
} | undefined;
|
|
316
378
|
prod?: {
|
|
317
379
|
services?: Record<string, unknown> | undefined;
|
|
318
380
|
} | undefined;
|
|
319
381
|
test?: {
|
|
320
382
|
services?: Record<string, unknown> | undefined;
|
|
383
|
+
"on-inframode-isolated"?: {
|
|
384
|
+
services?: Record<string, unknown> | undefined;
|
|
385
|
+
} | undefined;
|
|
321
386
|
} | undefined;
|
|
322
387
|
e2e?: {
|
|
323
388
|
services?: Record<string, unknown> | undefined;
|
|
@@ -328,12 +393,18 @@ export declare const buildJsonSchema: z.ZodObject<{
|
|
|
328
393
|
services: Record<string, unknown>;
|
|
329
394
|
dev?: {
|
|
330
395
|
services?: Record<string, unknown> | undefined;
|
|
396
|
+
"on-inframode-isolated"?: {
|
|
397
|
+
services?: Record<string, unknown> | undefined;
|
|
398
|
+
} | undefined;
|
|
331
399
|
} | undefined;
|
|
332
400
|
prod?: {
|
|
333
401
|
services?: Record<string, unknown> | undefined;
|
|
334
402
|
} | undefined;
|
|
335
403
|
test?: {
|
|
336
404
|
services?: Record<string, unknown> | undefined;
|
|
405
|
+
"on-inframode-isolated"?: {
|
|
406
|
+
services?: Record<string, unknown> | undefined;
|
|
407
|
+
} | undefined;
|
|
337
408
|
} | undefined;
|
|
338
409
|
e2e?: {
|
|
339
410
|
services?: Record<string, unknown> | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"buildSchema.d.ts","sourceRoot":"","sources":["../../src/core/buildSchema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"buildSchema.d.ts","sourceRoot":"","sources":["../../src/core/buildSchema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;EAAgK,CAAC;AAChM,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;EAA4D,CAAC;AAC/F,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAA0N,CAAC;AACzP,eAAO,MAAM,mBAAmB;;;;;;;;;;;;EAAmF,CAAC;AACpH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAyV,CAAC;AAC5X,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAmP,CAAC;AAClR,eAAO,MAAM,mBAAmB;;;;;;;;;;;;EAAyC,CAAC;AAC1E,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAwO,CAAC;AAC3Q,eAAO,MAAM,mBAAmB,wGAO9B,CAAC;AASH,eAAO,MAAM,gBAAgB;;;;;;EAAoE,CAAC;AAClG,eAAO,MAAM,0BAA0B;;;;;;EAAqE,CAAC;AAC7G,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;EAAoI,CAAC;AAC5K,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAqQ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compileGraphComposition.d.ts","sourceRoot":"","sources":["../../../src/core/composition/compileGraphComposition.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAiB,MAAM,sBAAsB,CAAC;AAUvE,OAAO,KAAK,EAAE,oBAAoB,
|
|
1
|
+
{"version":3,"file":"compileGraphComposition.d.ts","sourceRoot":"","sources":["../../../src/core/composition/compileGraphComposition.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,WAAW,EAAiB,MAAM,sBAAsB,CAAC;AAUvE,OAAO,KAAK,EAAE,oBAAoB,EAAiC,mBAAmB,EAA+C,MAAM,oBAAoB,CAAC;AAWhK,OAAO,KAAK,EAAE,mBAAmB,EAA4E,MAAM,YAAY,CAAC;AAQhI,MAAM,WAAW,iBAAiB;IAAG,KAAK,EAAE,WAAW,CAAC;IAAC,WAAW,EAAE,SAAS,GAAC,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,SAAS,EAAE,GAAG,CAAC,MAAM,EAAC,oBAAoB,CAAC,CAAC;IAAC,IAAI,CAAC,EAAE,mBAAmB,CAAC;IAAC,IAAI,CAAC,EAAE,OAAO,CAAC;IAAC,cAAc,CAAC,EAAE,OAAO,CAAA;CAAE;AAC7O,eAAO,MAAM,mBAAmB,iCAA+B,CAAC;AAqDhE,wBAAgB,uBAAuB,CAAC,KAAK,EAAC,iBAAiB,GAAE,mBAAmB,CAuFnF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compileServiceComposition.d.ts","sourceRoot":"","sources":["../../../src/core/composition/compileServiceComposition.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;
|
|
1
|
+
{"version":3,"file":"compileServiceComposition.d.ts","sourceRoot":"","sources":["../../../src/core/composition/compileServiceComposition.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAMxD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AACtD,MAAM,WAAW,gCAAgC;IAAG,IAAI,CAAC,EAAC,OAAO,GAAC,SAAS,CAAC;IAAC,eAAe,CAAC,EAAC,OAAO,GAAC,SAAS,CAAC;IAAC,cAAc,CAAC,EAAC,OAAO,GAAC,SAAS,CAAA;CAAE;AACpJ,wBAAgB,yBAAyB,CAAC,KAAK,EAAC,WAAW,EAAC,UAAU,EAAC,MAAM,EAAC,OAAO,GAAC,gCAAmC,GAAE,mBAAmB,CAI7I"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { ComposeService, ComposeEnvironmentMap } from "./types.js";
|
|
2
2
|
export declare function normalizeComposeEnvironment(value: unknown, context: string): ComposeEnvironmentMap;
|
|
3
3
|
export declare function mergeComposeEnvironment(service: ComposeService, overlay: Record<string, string>): void;
|
|
4
|
+
export declare function normalizeComposeBuildArgs(value: unknown, context: string, sourceFile?: string): Record<string, string>;
|
|
4
5
|
//# sourceMappingURL=composeEnvironment.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"composeEnvironment.d.ts","sourceRoot":"","sources":["../../../src/core/composition/composeEnvironment.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AACxE,wBAAgB,2BAA2B,CAAC,KAAK,EAAC,OAAO,EAAC,OAAO,EAAC,MAAM,GAAE,qBAAqB,CAK9F;AACD,wBAAgB,uBAAuB,CAAC,OAAO,EAAC,cAAc,EAAC,OAAO,EAAC,MAAM,CAAC,MAAM,EAAC,MAAM,CAAC,GAAE,IAAI,CAA6G"}
|
|
1
|
+
{"version":3,"file":"composeEnvironment.d.ts","sourceRoot":"","sources":["../../../src/core/composition/composeEnvironment.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AACxE,wBAAgB,2BAA2B,CAAC,KAAK,EAAC,OAAO,EAAC,OAAO,EAAC,MAAM,GAAE,qBAAqB,CAK9F;AACD,wBAAgB,uBAAuB,CAAC,OAAO,EAAC,cAAc,EAAC,OAAO,EAAC,MAAM,CAAC,MAAM,EAAC,MAAM,CAAC,GAAE,IAAI,CAA6G;AAC/M,wBAAgB,yBAAyB,CAAC,KAAK,EAAC,OAAO,EAAC,OAAO,EAAC,MAAM,EAAC,UAAU,CAAC,EAAC,MAAM,GAAE,MAAM,CAAC,MAAM,EAAC,MAAM,CAAC,CAO/G"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"validateOverrideCompose.d.ts","sourceRoot":"","sources":["../../../src/core/composition/validateOverrideCompose.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,qBAAqB,CAAC;AAQpE,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAClE,MAAM,WAAW,oBAAoB;IAAE,IAAI,EAAC,cAAc,CAAC;IAAA,SAAS,EAAC,IAAI,CAAC,eAAe,EAAC,SAAS,GAAC,UAAU,GAAC,SAAS,GAAC,SAAS,CAAC,CAAC;CAAC;AACrI,MAAM,WAAW,6BAA6B;IAC5C,SAAS,CAAC,EAAE,6BAA6B,CAAC;IAC1C,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,8DAA8D;IAC9D,oBAAoB,EAAE,MAAM,CAAC;IAC7B,oEAAoE;IACpE,mBAAmB,EAAE,MAAM,CAAC;CAC7B;AAUD,wBAAgB,8BAA8B,CAAC,QAAQ,EAAC,eAAe,EAAC,OAAO,EAAC,6BAA6B,GAAE,oBAAoB,
|
|
1
|
+
{"version":3,"file":"validateOverrideCompose.d.ts","sourceRoot":"","sources":["../../../src/core/composition/validateOverrideCompose.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,qBAAqB,CAAC;AAQpE,OAAO,KAAK,EAAE,eAAe,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC;AAClE,MAAM,WAAW,oBAAoB;IAAE,IAAI,EAAC,cAAc,CAAC;IAAA,SAAS,EAAC,IAAI,CAAC,eAAe,EAAC,SAAS,GAAC,UAAU,GAAC,SAAS,GAAC,SAAS,CAAC,CAAC;CAAC;AACrI,MAAM,WAAW,6BAA6B;IAC5C,SAAS,CAAC,EAAE,6BAA6B,CAAC;IAC1C,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,8DAA8D;IAC9D,oBAAoB,EAAE,MAAM,CAAC;IAC7B,oEAAoE;IACpE,mBAAmB,EAAE,MAAM,CAAC;CAC7B;AAUD,wBAAgB,8BAA8B,CAAC,QAAQ,EAAC,eAAe,EAAC,OAAO,EAAC,6BAA6B,GAAE,oBAAoB,CAgFlI"}
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import type { BuildJson, Environment } from "../../types/index.js";
|
|
2
2
|
import type { EffectiveBuildConfig } from "./types.js";
|
|
3
|
-
export declare
|
|
3
|
+
export declare const ISOLATED_OVERLAY_KEY: "on-inframode-isolated";
|
|
4
|
+
export interface ResolveBuildStageOptions {
|
|
5
|
+
isolated?: boolean;
|
|
6
|
+
}
|
|
7
|
+
export declare function resolveBuildStage(build: BuildJson, stage: Environment, sourceFile: string, options?: ResolveBuildStageOptions): EffectiveBuildConfig;
|
|
4
8
|
//# sourceMappingURL=resolveBuildStage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolveBuildStage.d.ts","sourceRoot":"","sources":["../../../src/core/config/resolveBuildStage.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,
|
|
1
|
+
{"version":3,"file":"resolveBuildStage.d.ts","sourceRoot":"","sources":["../../../src/core/config/resolveBuildStage.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAiB,MAAM,sBAAsB,CAAC;AAGlF,OAAO,KAAK,EAAE,oBAAoB,EAA4B,MAAM,YAAY,CAAC;AAEjF,eAAO,MAAM,oBAAoB,EAAG,uBAAgC,CAAC;AACrE,MAAM,WAAW,wBAAwB;IAAG,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE;AAGhE,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,EAAE,OAAO,GAAE,wBAA6B,GAAG,oBAAoB,CAoExJ"}
|
|
@@ -4,7 +4,7 @@ export interface GraphProfile {
|
|
|
4
4
|
stage: string;
|
|
5
5
|
}
|
|
6
6
|
export declare function buildDeclaredGraph(input: EffectiveComposition): DeclaredGraph;
|
|
7
|
-
export declare function computeClosure(start: NodeId, adjacency: ReadonlyMap<NodeId, readonly Edge[]
|
|
7
|
+
export declare function computeClosure(start: NodeId, adjacency: ReadonlyMap<NodeId, readonly Edge[]>, follow?: (edge: Edge) => boolean): Set<NodeId>;
|
|
8
8
|
export declare function selectReachableGraph(declared: DeclaredGraph, profile: GraphProfile): EffectiveGraph;
|
|
9
9
|
export declare function validateGraphLifecycle(graph: EffectiveGraph, stage?: string): void;
|
|
10
10
|
//# sourceMappingURL=serviceGraph.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serviceGraph.d.ts","sourceRoot":"","sources":["../../../src/core/config/serviceGraph.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,IAAI,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,EAAU,MAAM,YAAY,CAAC;AAE5G,MAAM,WAAW,YAAY;IAAG,SAAS,EAAE,UAAU,GAAC,YAAY,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE;AAEnF,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,oBAAoB,GAAG,aAAa,CAc7E;AACD,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,WAAW,CAAC,MAAM,EAAE,SAAS,IAAI,EAAE,CAAC,GAAG,GAAG,CAAC,MAAM,CAAC,
|
|
1
|
+
{"version":3,"file":"serviceGraph.d.ts","sourceRoot":"","sources":["../../../src/core/config/serviceGraph.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,IAAI,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,EAAU,MAAM,YAAY,CAAC;AAE5G,MAAM,WAAW,YAAY;IAAG,SAAS,EAAE,UAAU,GAAC,YAAY,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE;AAEnF,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,oBAAoB,GAAG,aAAa,CAc7E;AACD,wBAAgB,cAAc,CAAC,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,WAAW,CAAC,MAAM,EAAE,SAAS,IAAI,EAAE,CAAC,EAAE,MAAM,GAAE,CAAC,IAAI,EAAE,IAAI,KAAK,OAAoB,GAAG,GAAG,CAAC,MAAM,CAAC,CAIxJ;AACD,wBAAgB,oBAAoB,CAAC,QAAQ,EAAE,aAAa,EAAE,OAAO,EAAE,YAAY,GAAG,cAAc,CAkCnG;AACD,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,cAAc,EAAE,KAAK,SAAQ,GAAG,IAAI,CAkBjF"}
|
|
@@ -9,6 +9,7 @@ export type Origin = {
|
|
|
9
9
|
scope: "build" | "mesh";
|
|
10
10
|
meshRoot?: string;
|
|
11
11
|
layer: "base" | ConfigStage;
|
|
12
|
+
isolatedOverlay?: true;
|
|
12
13
|
};
|
|
13
14
|
export type Located<T> = {
|
|
14
15
|
value: T;
|
|
@@ -23,6 +24,7 @@ export type Edge = {
|
|
|
23
24
|
export type EffectiveMain = MainService & {
|
|
24
25
|
kind: "main";
|
|
25
26
|
env: Record<string, string>;
|
|
27
|
+
buildArgs: Record<string, string>;
|
|
26
28
|
endpoints: Record<string, MainEndpoint>;
|
|
27
29
|
requisites: Requisites;
|
|
28
30
|
};
|
|
@@ -44,6 +46,7 @@ export interface EffectiveBuildConfig {
|
|
|
44
46
|
layers: EffectiveBuildLayer[];
|
|
45
47
|
origins: Map<string, Origin>;
|
|
46
48
|
envOrigins: Map<string, Map<string, Origin>>;
|
|
49
|
+
buildArgsOrigins: Map<string, Map<string, Origin>>;
|
|
47
50
|
requisiteOrigins: Map<string, Map<string, Origin>>;
|
|
48
51
|
sourceFile: string;
|
|
49
52
|
projectDir: string;
|
|
@@ -79,6 +82,7 @@ export interface GraphNode {
|
|
|
79
82
|
envLayers: EnvironmentLayer[];
|
|
80
83
|
origin: Origin;
|
|
81
84
|
envOrigins: Map<string, Origin>;
|
|
85
|
+
buildArgsOrigins: Map<string, Origin>;
|
|
82
86
|
requisiteOrigins: Map<string, Origin>;
|
|
83
87
|
}
|
|
84
88
|
export interface EnvironmentLayer {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/core/config/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAa,WAAW,EAAE,YAAY,EAAE,WAAW,EAAE,eAAe,EAAE,aAAa,EAAE,UAAU,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAC1K,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AACnD,MAAM,MAAM,WAAW,GAAG,WAAW,CAAC;AACtC,MAAM,MAAM,MAAM,GAAG,MAAM,CAAC;AAC5B,MAAM,MAAM,MAAM,GAAG;IAAE,UAAU,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAC;IAAC,UAAU,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,OAAO,GAAG,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,GAAG,WAAW,CAAA;CAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/core/config/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAa,WAAW,EAAE,YAAY,EAAE,WAAW,EAAE,eAAe,EAAE,aAAa,EAAE,UAAU,EAAE,eAAe,EAAE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,MAAkI,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"applyMeshExtends.d.ts","sourceRoot":"","sources":["../../../src/core/mesh/applyMeshExtends.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,mBAAmB,EAAU,MAAM,oBAAoB,CAAC;AAE5F,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,mBAAmB,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAC,oBAAoB,CAAC,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,
|
|
1
|
+
{"version":3,"file":"applyMeshExtends.d.ts","sourceRoot":"","sources":["../../../src/core/mesh/applyMeshExtends.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,mBAAmB,EAAU,MAAM,oBAAoB,CAAC;AAE5F,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,mBAAmB,EAAE,MAAM,EAAE,GAAG,CAAC,MAAM,EAAC,oBAAoB,CAAC,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI,CAsCzH"}
|
|
@@ -8,6 +8,7 @@ export interface FiniteTesterAdapters {
|
|
|
8
8
|
inspectImage?: InspectImage;
|
|
9
9
|
checkPorts?: typeof checkHostPortCollisions;
|
|
10
10
|
}
|
|
11
|
+
export declare function inspectRunnerExit(yaml: string, projectDir: string, runner: string): number | undefined;
|
|
11
12
|
/** Start the full effective graph and report only the selected runner's exit status. */
|
|
12
13
|
export declare function runFiniteTester(compiled: CompiledComposition, projectDir: string, adapters?: FiniteTesterAdapters): Promise<number>;
|
|
13
14
|
//# sourceMappingURL=runFiniteTester.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runFiniteTester.d.ts","sourceRoot":"","sources":["../../../src/core/runners/runFiniteTester.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,EAAyB,KAAK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U,EAAC,MAAM,EAAC,QAAQ,GAAC,oBAAuB,GAAE,OAAO,CAAC,MAAM,CAAC,CAuBrI"}
|
|
@@ -2,10 +2,12 @@ import type { RunOptions } from "../RunOptions.js";
|
|
|
2
2
|
import { checkHostPortCollisions } from "../../utils/checkPortCollision.js";
|
|
3
3
|
import { runCompose } from "../runCompose.js";
|
|
4
4
|
import { teardownCompose } from "../teardownCompose.js";
|
|
5
|
+
export type InspectServiceExit = (yaml: string, projectDir: string, service: string) => number | undefined;
|
|
5
6
|
export interface UnitRuntimeAdapters {
|
|
6
7
|
compose?: typeof runCompose;
|
|
7
8
|
teardown?: typeof teardownCompose;
|
|
8
9
|
checkPorts?: typeof checkHostPortCollisions;
|
|
10
|
+
inspectExit?: InspectServiceExit;
|
|
9
11
|
}
|
|
10
12
|
export declare function runTestUnit(options: RunOptions, adapters?: UnitRuntimeAdapters): Promise<number>;
|
|
11
13
|
//# sourceMappingURL=runTestUnit.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runTestUnit.d.ts","sourceRoot":"","sources":["../../../src/core/runners/runTestUnit.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"runTestUnit.d.ts","sourceRoot":"","sources":["../../../src/core/runners/runTestUnit.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAKnD,OAAO,EAAE,uBAAuB,EAAoB,MAAM,mCAAmC,CAAC;AAI9F,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAExD,MAAM,MAAM,kBAAkB,GAAG,CAAC,IAAI,EAAC,MAAM,EAAC,UAAU,EAAC,MAAM,EAAC,OAAO,EAAC,MAAM,KAAG,MAAM,GAAC,SAAS,CAAC;AAClG,MAAM,WAAW,mBAAmB;IAAG,OAAO,CAAC,EAAE,OAAO,UAAU,CAAC;IAAC,QAAQ,CAAC,EAAE,OAAO,eAAe,CAAC;IAAC,UAAU,CAAC,EAAE,OAAO,uBAAuB,CAAC;IAAC,WAAW,CAAC,EAAE,kBAAkB,CAAA;CAAE;AAUtL,wBAAsB,WAAW,CAAC,OAAO,EAAC,UAAU,EAAC,QAAQ,GAAC,mBAAsB,GAAE,OAAO,CAAC,MAAM,CAAC,CAcpG"}
|