@overkill-dev/test 0.0.23 → 0.0.25
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/package.json +10 -10
- package/packages/test/authoring-test-data.d.ts +1 -13
- package/packages/test/authoring-test-data.d.ts.map +1 -1
- package/packages/test/config.entry-point.d.ts +1 -1
- package/packages/test/config.entry-point.d.ts.map +1 -1
- package/packages/test/reserved-standard-subpath.d.ts +0 -1
- package/packages/test/reserved-standard-subpath.d.ts.map +1 -1
- package/packages/test/table-authoring.d.ts +1 -3
- package/packages/test/table-authoring.d.ts.map +1 -1
- package/readme.md +3 -1
- package/sbom.cdx.json +50 -50
- package/packages/test/resource-wrapper-data.d.ts +0 -39
- package/packages/test/resource-wrapper-data.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -7,15 +7,15 @@
|
|
|
7
7
|
"url": "https://github.com/enormora/overkill/issues"
|
|
8
8
|
},
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@overkill-dev/assert": "0.0.
|
|
11
|
-
"@overkill-dev/doubles": "0.0.
|
|
12
|
-
"@overkill-dev/engine": "0.0.
|
|
13
|
-
"@overkill-dev/output-renderer-github-actions": "0.0.
|
|
14
|
-
"@overkill-dev/reporter-brief": "0.0.
|
|
15
|
-
"@overkill-dev/reporter-dot": "0.0.
|
|
16
|
-
"@overkill-dev/reporter-line": "0.0.
|
|
17
|
-
"@overkill-dev/resources": "0.0.
|
|
18
|
-
"@overkill-dev/run": "0.0.
|
|
10
|
+
"@overkill-dev/assert": "0.0.40",
|
|
11
|
+
"@overkill-dev/doubles": "0.0.38",
|
|
12
|
+
"@overkill-dev/engine": "0.0.48",
|
|
13
|
+
"@overkill-dev/output-renderer-github-actions": "0.0.29",
|
|
14
|
+
"@overkill-dev/reporter-brief": "0.0.29",
|
|
15
|
+
"@overkill-dev/reporter-dot": "0.0.41",
|
|
16
|
+
"@overkill-dev/reporter-line": "0.0.41",
|
|
17
|
+
"@overkill-dev/resources": "0.0.9",
|
|
18
|
+
"@overkill-dev/run": "0.0.63",
|
|
19
19
|
"@overkill-dev/simulation": "0.0.3",
|
|
20
20
|
"cmd-ts": "0.15.0"
|
|
21
21
|
},
|
|
@@ -84,5 +84,5 @@
|
|
|
84
84
|
"./packages/test/resource-wrapper-composition.js"
|
|
85
85
|
],
|
|
86
86
|
"type": "module",
|
|
87
|
-
"version": "0.0.
|
|
87
|
+
"version": "0.0.25"
|
|
88
88
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CaptureMode, DefinedOutputRenderer, DefinedReporter, DuplicateExecutionControl,
|
|
1
|
+
import type { CaptureMode, DefinedOutputRenderer, DefinedReporter, DuplicateExecutionControl, TestNode, TestScope } from '@overkill-dev/engine';
|
|
2
2
|
import type { ResourceContext, ResourceMap, RuntimeGraph, RuntimeScopeContext } from '@overkill-dev/resources';
|
|
3
3
|
export type AuthoringAnnotations = {
|
|
4
4
|
readonly ownership?: readonly string[];
|
|
@@ -32,13 +32,6 @@ export type TestFacadeDefinition<Runtime extends RuntimeGraph | null = null, Res
|
|
|
32
32
|
readonly resources?: Resources;
|
|
33
33
|
readonly runtime?: Runtime;
|
|
34
34
|
};
|
|
35
|
-
export type ReadTestFacadeDefinitionResult = {
|
|
36
|
-
readonly annotations: TestAnnotationsInput;
|
|
37
|
-
readonly controls: TestControlsInput;
|
|
38
|
-
readonly mapScope: ((scope: TestScope) => Readonly<Record<string, unknown>>) | null;
|
|
39
|
-
readonly resources: ResourceMap | null;
|
|
40
|
-
readonly runtime: RuntimeGraph | null;
|
|
41
|
-
};
|
|
42
35
|
export type RunIfMainRootOptions = {
|
|
43
36
|
readonly annotations?: AuthoringAnnotations;
|
|
44
37
|
readonly controls?: AuthoringControls;
|
|
@@ -50,10 +43,5 @@ export type RunIfMainOptions = {
|
|
|
50
43
|
readonly root?: RunIfMainRootOptions;
|
|
51
44
|
};
|
|
52
45
|
export type RunIfMain = (meta: Readonly<ImportMeta>, testNode: TestNode, options?: RunIfMainOptions) => Promise<void>;
|
|
53
|
-
export declare function readAuthoringAnnotations(value: unknown): TestAnnotationsInput;
|
|
54
|
-
export declare function readAuthoringControls(value: unknown): TestControlsInput;
|
|
55
|
-
export declare function createAuthoringAnnotations(facadeAnnotations: TestAnnotationsInput, nodeAnnotations: TestAnnotationsInput): TestAnnotationsInput;
|
|
56
|
-
export declare function createAuthoringControls(facadeControls: TestControlsInput, nodeControls: TestControlsInput): TestControlsInput;
|
|
57
|
-
export declare function readTestFacadeDefinition(definition: TestFacadeDefinition | undefined): ReadTestFacadeDefinitionResult;
|
|
58
46
|
export {};
|
|
59
47
|
//# sourceMappingURL=authoring-test-data.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authoring-test-data.d.ts","sourceRoot":"","sources":["../../../../../source/packages/test/authoring-test-data.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,WAAW,EACX,qBAAqB,EACrB,eAAe,EACf,yBAAyB,EACzB,
|
|
1
|
+
{"version":3,"file":"authoring-test-data.d.ts","sourceRoot":"","sources":["../../../../../source/packages/test/authoring-test-data.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,WAAW,EACX,qBAAqB,EACrB,eAAe,EACf,yBAAyB,EACzB,QAEQ,EACR,SAAS,EACZ,MAAM,sBAAiC,CAAC;AACzC,OAAO,KAAK,EACR,eAAe,EACf,WAAW,EACX,YAAY,EACZ,mBAAmB,EACtB,MAAM,yBAAuC,CAAC;AAM/C,MAAM,MAAM,oBAAoB,GAAG;IAC/B,QAAQ,CAAC,SAAS,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IACvC,QAAQ,CAAC,IAAI,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC5B,QAAQ,CAAC,OAAO,CAAC,EAAE,WAAW,CAAC;IAC/B,QAAQ,CAAC,kBAAkB,CAAC,EAAE,yBAAyB,CA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C,EAAE,cAAc,CAAC,OAAO,EAAE,SAAS,EAAE,WAAW,CAAC,CAAC;IACpE,QAAQ,CAAC,SAAS,CAAC,EAAE,SAAS,CAAC;IAC/B,QAAQ,CAAC,OAAO,CAAC,EAAE,OAAO,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,oBAQoB,GAAG;IAC/B,QAAQ,CAAC,WAAW,CAAC,EAAE,oBAAoB,CAAC;IAC5C,QAAQ,CAAC,QAAQ,CAAC,EAAE,iBAAiB,CAAC;IACtC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC3B,QAAQ,CAAC,cAAc,CAAC,EAAE,qBAAqB,CAAC;IAChD,QAAQ,CAAC,SAAS,CAAC,EAAE,SAAS,eAAe,EAAE,CAAC;IAChD,QAAQ,CAAC,IAAI,CAAC,EAAE,oBAAoB,CAAC;CACxC,CAAC;AAEF,MAAM,MAAM,SAAS,GAAG,CACpB,IAAI,EAAE,QAAQ,CAAC,UAAU,CAAC,EAC1B,QAAQ,EAAE,QAAQ,EAClB,OAAO,CAAC,EAAE,gBAAgB,KACzB,OAAO,CAAC,IAAI,CAAC,CAAC;AAkInB"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export { defineConfig } from '@overkill-dev/run/config';
|
|
2
|
-
export type { RunProjectConfig, RunProjectIntegrationExecution, RunProjectIntegrationProfileConfig, RunProjectMeasuredResourceUsage, RunProjectMicrotestExecution, RunProjectMicrotestProfileConfig, RunProjectProfileConfig, RunProjectProfileFiles, RunProjectProfilesConfig, RunProjectResourceBudgets, RunProjectResourceUsageConfig, RunProjectTimeoutConfig, RunProjectUnmeasuredResourceUsage } from '@overkill-dev/run/config';
|
|
2
|
+
export type { RunProjectConfig, RunProjectCoverageOutput, RunProjectCoveragePolicy, RunProjectCoverageSources, RunProjectCoverageThresholds, RunProjectIntegrationExecution, RunProjectIntegrationProfileConfig, RunProjectMeasuredResourceUsage, RunProjectMicrotestExecution, RunProjectMicrotestProfileConfig, RunProjectProfileConfig, RunProjectProfileFiles, RunProjectProfilesConfig, RunProjectResourceBudgets, RunProjectResourceUsageConfig, RunProjectTimeoutConfig, RunProjectUnmeasuredResourceUsage } from '@overkill-dev/run/config';
|
|
3
3
|
//# sourceMappingURL=config.entry-point.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.entry-point.d.ts","sourceRoot":"","sources":["../../../../../source/packages/test/config.entry-point.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA8B,CAAC;AAC5D,YAAY,EACR,gBAAgB,EAChB,8BAA8B,EAC9B,kCAAkC,EAClC,+BAA+B,EAC/B,4BAA4B,EAC5B,gCAAgC,EAChC,uBAAuB,EACvB,sBAAsB,EACtB,wBAAwB,EACxB,yBAAyB,EACzB,6BAA6B,EAC7B,uBAAuB,EACvB,iCAAiC,EACpC,MAAM,0BAA8B,CAAC"}
|
|
1
|
+
{"version":3,"file":"config.entry-point.d.ts","sourceRoot":"","sources":["../../../../../source/packages/test/config.entry-point.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA8B,CAAC;AAC5D,YAAY,EACR,gBAAgB,EAChB,wBAAwB,EACxB,wBAAwB,EACxB,yBAAyB,EACzB,4BAA4B,EAC5B,8BAA8B,EAC9B,kCAAkC,EAClC,+BAA+B,EAC/B,4BAA4B,EAC5B,gCAAgC,EAChC,uBAAuB,EACvB,sBAAsB,EACtB,wBAAwB,EACxB,yBAAyB,EACzB,6BAA6B,EAC7B,uBAAuB,EACvB,iCAAiC,EACpC,MAAM,0BAA8B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reserved-standard-subpath.d.ts","sourceRoot":"","sources":["../../../../../source/packages/test/reserved-standard-subpath.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,6BAA6B,GAAG,CAAC,GAAG,UAAU,EAAE,SAAS,OAAO,EAAE,KAAK,KAAK,CAAC
|
|
1
|
+
{"version":3,"file":"reserved-standard-subpath.d.ts","sourceRoot":"","sources":["../../../../../source/packages/test/reserved-standard-subpath.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,6BAA6B,GAAG,CAAC,GAAG,UAAU,EAAE,SAAS,OAAO,EAAE,KAAK,KAAK,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { type
|
|
1
|
+
import { type TestBody, type TestControlsInput, type TestScope } from '@overkill-dev/engine';
|
|
2
2
|
import { type AuthoringAnnotations, type AuthoringControls } from './authoring-test-data.ts';
|
|
3
|
-
import { type ResourceWrapperAction } from './resource-wrapper-data.ts';
|
|
4
3
|
export type ParameterizedTestScope<Row, Scope extends TestScope = TestScope> = Scope & {
|
|
5
4
|
readonly parameters: Row;
|
|
6
5
|
};
|
|
@@ -14,6 +13,5 @@ export type TableDefinition<Row, ControlsType extends TestControlsInput = Author
|
|
|
14
13
|
readonly test: Body;
|
|
15
14
|
readonly title: string;
|
|
16
15
|
};
|
|
17
|
-
export declare function createAuthoredTable<Row, ControlsType extends TestControlsInput, Body extends AnyTableTestBody = TableTestBody<Row>>(facadeAnnotations: TestAnnotationsInput, facadeControls: TestControlsInput, definition: TableDefinition<Row, ControlsType, Body>, facadeActions?: readonly ResourceWrapperAction[]): Table;
|
|
18
16
|
export {};
|
|
19
17
|
//# sourceMappingURL=table-authoring.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-authoring.d.ts","sourceRoot":"","sources":["../../../../../source/packages/test/table-authoring.ts"],"names":[],"mappings":"AAAA,OAAO,EAGH,KAAK,
|
|
1
|
+
{"version":3,"file":"table-authoring.d.ts","sourceRoot":"","sources":["../../../../../source/packages/test/table-authoring.ts"],"names":[],"mappings":"AAAA,OAAO,EAGH,KAAK,QAGQ,EACb,KAAK,iBAAiB,EAItB,KAAK,SAAS,EACjB,MAAM,sBAAiC,CAAC;AACzC,OAAO,EAKH,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACzB,MAAM,0BAA0B,CAAC;MAa5B,MAAM,sBAAsB,CAC9B,GAAG,EACH,KAAK,SAAS,SAAS,GAAG,SAAS,IACnC,KAAK,GAAG;IACR,QAAQ,CAAC,UAAU,EAAE,GAAG,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,aAAa,CACrB,GAAG,EACH,KAAK,SAAS,SAAS,GAAG,SAAS,IACnC,CACA,KAAK,EAAE,sBAAsB,CAAC,GAAG,EAAE,KAAK,CAAC,KACxC,UAAU,CAAC,QAAQ,CAAC,CAAC;AAE1B,KAAK,gBAAgB,GAAG,CAAC,KAAK,EAAE,KAAK,KAAK,UAAU,CAAC,QAAQ,CAAC,CAAC;AAE/D,MAAM,MAAM,eAAe,CACvB,GAAG,EACH,YAAY,SAAS,iBAAiB,GAAG,iBAAiB,EAC1D,IAAI,SAAS,gBAAgB,GAAG,aAAa,CAAC,GAAG,CAAC,IAClD;IACA,QAAQ,CAAC,WAAW,CAAC,EAAE,oBAAoB,CAAC;IAC5C,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC,UAAU,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IAChE,QAAQ,CAAC,KAAK,EAAE,SAAS,GAAG,EAAE,CAAC;IAC/B,QAAQ,CAAC,QAAQ,CAAC,EAAE,YAAY,CAAC;IACjC,QAAQ,CAAC,IAAI,EAAE,IAAI,CAAC;IACpB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CAC1B,CAAC;AA6GF"}
|
package/readme.md
CHANGED
|
@@ -540,7 +540,9 @@ resource usage measurement for that run.
|
|
|
540
540
|
selected profile must use `worker-pool` execution.
|
|
541
541
|
|
|
542
542
|
`--coverage` applies to `run` only. It requests coverage for the selected
|
|
543
|
-
microtest profile and is invalid for other profile families.
|
|
543
|
+
microtest profile and is invalid for other profile families. Configure report
|
|
544
|
+
outputs, source scope, thresholds, and output location on that microtest
|
|
545
|
+
profile's `coverage` field.
|
|
544
546
|
|
|
545
547
|
External coverage wrappers cannot instrument restricted supervised children.
|
|
546
548
|
Use `overkill run --coverage` when the selected profile uses
|
package/sbom.cdx.json
CHANGED
|
@@ -9,135 +9,135 @@
|
|
|
9
9
|
{
|
|
10
10
|
"type": "application",
|
|
11
11
|
"name": "packtory",
|
|
12
|
-
"version": "0.0.
|
|
12
|
+
"version": "0.0.117"
|
|
13
13
|
}
|
|
14
14
|
]
|
|
15
15
|
},
|
|
16
16
|
"component": {
|
|
17
17
|
"type": "library",
|
|
18
18
|
"name": "@overkill-dev/test",
|
|
19
|
-
"version": "0.0.
|
|
20
|
-
"bom-ref": "pkg:npm/@overkill-dev/test@0.0.
|
|
21
|
-
"purl": "pkg:npm/@overkill-dev/test@0.0.
|
|
19
|
+
"version": "0.0.25",
|
|
20
|
+
"bom-ref": "pkg:npm/@overkill-dev/test@0.0.25",
|
|
21
|
+
"purl": "pkg:npm/@overkill-dev/test@0.0.25"
|
|
22
22
|
}
|
|
23
23
|
},
|
|
24
24
|
"components": [
|
|
25
25
|
{
|
|
26
26
|
"type": "library",
|
|
27
27
|
"name": "@overkill-dev/assert",
|
|
28
|
-
"version": "0.0.
|
|
29
|
-
"bom-ref": "pkg:npm/@overkill-dev/assert@0.0.
|
|
28
|
+
"version": "0.0.40",
|
|
29
|
+
"bom-ref": "pkg:npm/@overkill-dev/assert@0.0.40",
|
|
30
30
|
"scope": "required",
|
|
31
31
|
"licenses": [
|
|
32
32
|
{
|
|
33
33
|
"expression": "MIT"
|
|
34
34
|
}
|
|
35
35
|
],
|
|
36
|
-
"purl": "pkg:npm/@overkill-dev/assert@0.0.
|
|
36
|
+
"purl": "pkg:npm/@overkill-dev/assert@0.0.40"
|
|
37
37
|
},
|
|
38
38
|
{
|
|
39
39
|
"type": "library",
|
|
40
40
|
"name": "@overkill-dev/doubles",
|
|
41
|
-
"version": "0.0.
|
|
42
|
-
"bom-ref": "pkg:npm/@overkill-dev/doubles@0.0.
|
|
41
|
+
"version": "0.0.38",
|
|
42
|
+
"bom-ref": "pkg:npm/@overkill-dev/doubles@0.0.38",
|
|
43
43
|
"scope": "required",
|
|
44
44
|
"licenses": [
|
|
45
45
|
{
|
|
46
46
|
"expression": "MIT"
|
|
47
47
|
}
|
|
48
48
|
],
|
|
49
|
-
"purl": "pkg:npm/@overkill-dev/doubles@0.0.
|
|
49
|
+
"purl": "pkg:npm/@overkill-dev/doubles@0.0.38"
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
52
|
"type": "library",
|
|
53
53
|
"name": "@overkill-dev/engine",
|
|
54
|
-
"version": "0.0.
|
|
55
|
-
"bom-ref": "pkg:npm/@overkill-dev/engine@0.0.
|
|
54
|
+
"version": "0.0.48",
|
|
55
|
+
"bom-ref": "pkg:npm/@overkill-dev/engine@0.0.48",
|
|
56
56
|
"scope": "required",
|
|
57
57
|
"licenses": [
|
|
58
58
|
{
|
|
59
59
|
"expression": "MIT"
|
|
60
60
|
}
|
|
61
61
|
],
|
|
62
|
-
"purl": "pkg:npm/@overkill-dev/engine@0.0.
|
|
62
|
+
"purl": "pkg:npm/@overkill-dev/engine@0.0.48"
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
65
|
"type": "library",
|
|
66
66
|
"name": "@overkill-dev/output-renderer-github-actions",
|
|
67
|
-
"version": "0.0.
|
|
68
|
-
"bom-ref": "pkg:npm/@overkill-dev/output-renderer-github-actions@0.0.
|
|
67
|
+
"version": "0.0.29",
|
|
68
|
+
"bom-ref": "pkg:npm/@overkill-dev/output-renderer-github-actions@0.0.29",
|
|
69
69
|
"scope": "required",
|
|
70
70
|
"licenses": [
|
|
71
71
|
{
|
|
72
72
|
"expression": "MIT"
|
|
73
73
|
}
|
|
74
74
|
],
|
|
75
|
-
"purl": "pkg:npm/@overkill-dev/output-renderer-github-actions@0.0.
|
|
75
|
+
"purl": "pkg:npm/@overkill-dev/output-renderer-github-actions@0.0.29"
|
|
76
76
|
},
|
|
77
77
|
{
|
|
78
78
|
"type": "library",
|
|
79
79
|
"name": "@overkill-dev/reporter-brief",
|
|
80
|
-
"version": "0.0.
|
|
81
|
-
"bom-ref": "pkg:npm/@overkill-dev/reporter-brief@0.0.
|
|
80
|
+
"version": "0.0.29",
|
|
81
|
+
"bom-ref": "pkg:npm/@overkill-dev/reporter-brief@0.0.29",
|
|
82
82
|
"scope": "required",
|
|
83
83
|
"licenses": [
|
|
84
84
|
{
|
|
85
85
|
"expression": "MIT"
|
|
86
86
|
}
|
|
87
87
|
],
|
|
88
|
-
"purl": "pkg:npm/@overkill-dev/reporter-brief@0.0.
|
|
88
|
+
"purl": "pkg:npm/@overkill-dev/reporter-brief@0.0.29"
|
|
89
89
|
},
|
|
90
90
|
{
|
|
91
91
|
"type": "library",
|
|
92
92
|
"name": "@overkill-dev/reporter-dot",
|
|
93
|
-
"version": "0.0.
|
|
94
|
-
"bom-ref": "pkg:npm/@overkill-dev/reporter-dot@0.0.
|
|
93
|
+
"version": "0.0.41",
|
|
94
|
+
"bom-ref": "pkg:npm/@overkill-dev/reporter-dot@0.0.41",
|
|
95
95
|
"scope": "required",
|
|
96
96
|
"licenses": [
|
|
97
97
|
{
|
|
98
98
|
"expression": "MIT"
|
|
99
99
|
}
|
|
100
100
|
],
|
|
101
|
-
"purl": "pkg:npm/@overkill-dev/reporter-dot@0.0.
|
|
101
|
+
"purl": "pkg:npm/@overkill-dev/reporter-dot@0.0.41"
|
|
102
102
|
},
|
|
103
103
|
{
|
|
104
104
|
"type": "library",
|
|
105
105
|
"name": "@overkill-dev/reporter-line",
|
|
106
|
-
"version": "0.0.
|
|
107
|
-
"bom-ref": "pkg:npm/@overkill-dev/reporter-line@0.0.
|
|
106
|
+
"version": "0.0.41",
|
|
107
|
+
"bom-ref": "pkg:npm/@overkill-dev/reporter-line@0.0.41",
|
|
108
108
|
"scope": "required",
|
|
109
109
|
"licenses": [
|
|
110
110
|
{
|
|
111
111
|
"expression": "MIT"
|
|
112
112
|
}
|
|
113
113
|
],
|
|
114
|
-
"purl": "pkg:npm/@overkill-dev/reporter-line@0.0.
|
|
114
|
+
"purl": "pkg:npm/@overkill-dev/reporter-line@0.0.41"
|
|
115
115
|
},
|
|
116
116
|
{
|
|
117
117
|
"type": "library",
|
|
118
118
|
"name": "@overkill-dev/resources",
|
|
119
|
-
"version": "0.0.
|
|
120
|
-
"bom-ref": "pkg:npm/@overkill-dev/resources@0.0.
|
|
119
|
+
"version": "0.0.9",
|
|
120
|
+
"bom-ref": "pkg:npm/@overkill-dev/resources@0.0.9",
|
|
121
121
|
"scope": "required",
|
|
122
122
|
"licenses": [
|
|
123
123
|
{
|
|
124
124
|
"expression": "MIT"
|
|
125
125
|
}
|
|
126
126
|
],
|
|
127
|
-
"purl": "pkg:npm/@overkill-dev/resources@0.0.
|
|
127
|
+
"purl": "pkg:npm/@overkill-dev/resources@0.0.9"
|
|
128
128
|
},
|
|
129
129
|
{
|
|
130
130
|
"type": "library",
|
|
131
131
|
"name": "@overkill-dev/run",
|
|
132
|
-
"version": "0.0.
|
|
133
|
-
"bom-ref": "pkg:npm/@overkill-dev/run@0.0.
|
|
132
|
+
"version": "0.0.63",
|
|
133
|
+
"bom-ref": "pkg:npm/@overkill-dev/run@0.0.63",
|
|
134
134
|
"scope": "required",
|
|
135
135
|
"licenses": [
|
|
136
136
|
{
|
|
137
137
|
"expression": "MIT"
|
|
138
138
|
}
|
|
139
139
|
],
|
|
140
|
-
"purl": "pkg:npm/@overkill-dev/run@0.0.
|
|
140
|
+
"purl": "pkg:npm/@overkill-dev/run@0.0.63"
|
|
141
141
|
},
|
|
142
142
|
{
|
|
143
143
|
"type": "library",
|
|
@@ -168,47 +168,47 @@
|
|
|
168
168
|
],
|
|
169
169
|
"dependencies": [
|
|
170
170
|
{
|
|
171
|
-
"ref": "pkg:npm/@overkill-dev/assert@0.0.
|
|
171
|
+
"ref": "pkg:npm/@overkill-dev/assert@0.0.40"
|
|
172
172
|
},
|
|
173
173
|
{
|
|
174
|
-
"ref": "pkg:npm/@overkill-dev/doubles@0.0.
|
|
174
|
+
"ref": "pkg:npm/@overkill-dev/doubles@0.0.38"
|
|
175
175
|
},
|
|
176
176
|
{
|
|
177
|
-
"ref": "pkg:npm/@overkill-dev/engine@0.0.
|
|
177
|
+
"ref": "pkg:npm/@overkill-dev/engine@0.0.48"
|
|
178
178
|
},
|
|
179
179
|
{
|
|
180
|
-
"ref": "pkg:npm/@overkill-dev/output-renderer-github-actions@0.0.
|
|
180
|
+
"ref": "pkg:npm/@overkill-dev/output-renderer-github-actions@0.0.29"
|
|
181
181
|
},
|
|
182
182
|
{
|
|
183
|
-
"ref": "pkg:npm/@overkill-dev/reporter-brief@0.0.
|
|
183
|
+
"ref": "pkg:npm/@overkill-dev/reporter-brief@0.0.29"
|
|
184
184
|
},
|
|
185
185
|
{
|
|
186
|
-
"ref": "pkg:npm/@overkill-dev/reporter-dot@0.0.
|
|
186
|
+
"ref": "pkg:npm/@overkill-dev/reporter-dot@0.0.41"
|
|
187
187
|
},
|
|
188
188
|
{
|
|
189
|
-
"ref": "pkg:npm/@overkill-dev/reporter-line@0.0.
|
|
189
|
+
"ref": "pkg:npm/@overkill-dev/reporter-line@0.0.41"
|
|
190
190
|
},
|
|
191
191
|
{
|
|
192
|
-
"ref": "pkg:npm/@overkill-dev/resources@0.0.
|
|
192
|
+
"ref": "pkg:npm/@overkill-dev/resources@0.0.9"
|
|
193
193
|
},
|
|
194
194
|
{
|
|
195
|
-
"ref": "pkg:npm/@overkill-dev/run@0.0.
|
|
195
|
+
"ref": "pkg:npm/@overkill-dev/run@0.0.63"
|
|
196
196
|
},
|
|
197
197
|
{
|
|
198
198
|
"ref": "pkg:npm/@overkill-dev/simulation@0.0.3"
|
|
199
199
|
},
|
|
200
200
|
{
|
|
201
|
-
"ref": "pkg:npm/@overkill-dev/test@0.0.
|
|
201
|
+
"ref": "pkg:npm/@overkill-dev/test@0.0.25",
|
|
202
202
|
"dependsOn": [
|
|
203
|
-
"pkg:npm/@overkill-dev/assert@0.0.
|
|
204
|
-
"pkg:npm/@overkill-dev/doubles@0.0.
|
|
205
|
-
"pkg:npm/@overkill-dev/engine@0.0.
|
|
206
|
-
"pkg:npm/@overkill-dev/output-renderer-github-actions@0.0.
|
|
207
|
-
"pkg:npm/@overkill-dev/reporter-brief@0.0.
|
|
208
|
-
"pkg:npm/@overkill-dev/reporter-dot@0.0.
|
|
209
|
-
"pkg:npm/@overkill-dev/reporter-line@0.0.
|
|
210
|
-
"pkg:npm/@overkill-dev/resources@0.0.
|
|
211
|
-
"pkg:npm/@overkill-dev/run@0.0.
|
|
203
|
+
"pkg:npm/@overkill-dev/assert@0.0.40",
|
|
204
|
+
"pkg:npm/@overkill-dev/doubles@0.0.38",
|
|
205
|
+
"pkg:npm/@overkill-dev/engine@0.0.48",
|
|
206
|
+
"pkg:npm/@overkill-dev/output-renderer-github-actions@0.0.29",
|
|
207
|
+
"pkg:npm/@overkill-dev/reporter-brief@0.0.29",
|
|
208
|
+
"pkg:npm/@overkill-dev/reporter-dot@0.0.41",
|
|
209
|
+
"pkg:npm/@overkill-dev/reporter-line@0.0.41",
|
|
210
|
+
"pkg:npm/@overkill-dev/resources@0.0.9",
|
|
211
|
+
"pkg:npm/@overkill-dev/run@0.0.63",
|
|
212
212
|
"pkg:npm/@overkill-dev/simulation@0.0.3",
|
|
213
213
|
"pkg:npm/cmd-ts@0.15.0"
|
|
214
214
|
]
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { type AnyResourceDefinition, type ResourceMap, type RuntimeGraph } from '@overkill-dev/resources';
|
|
2
|
-
import type { TestScope } from '@overkill-dev/engine';
|
|
3
|
-
type LifecycleMessages = {
|
|
4
|
-
readonly acquisitionFailure: string;
|
|
5
|
-
readonly disposalFailure: string;
|
|
6
|
-
};
|
|
7
|
-
export type ResourceEntry = {
|
|
8
|
-
readonly key: string;
|
|
9
|
-
readonly resource: AnyResourceDefinition;
|
|
10
|
-
};
|
|
11
|
-
export type ResourceWrapperResourcesStep = {
|
|
12
|
-
readonly kind: 'resources';
|
|
13
|
-
readonly resources: ResourceMap;
|
|
14
|
-
};
|
|
15
|
-
export type ResourceWrapperRuntimeStep = {
|
|
16
|
-
readonly kind: 'runtime';
|
|
17
|
-
readonly runtime: RuntimeGraph;
|
|
18
|
-
};
|
|
19
|
-
export type ResourceWrapperScopeStep = {
|
|
20
|
-
readonly collision: 'preserve-existing' | 'replace-existing';
|
|
21
|
-
readonly kind: 'scope';
|
|
22
|
-
readonly mapScope: (scope: TestScope) => Readonly<Record<string, unknown>>;
|
|
23
|
-
readonly name: string;
|
|
24
|
-
};
|
|
25
|
-
export type ResourceWrapperStep = ResourceWrapperResourcesStep | ResourceWrapperRuntimeStep;
|
|
26
|
-
export type ResourceWrapperAction = ResourceWrapperScopeStep | ResourceWrapperStep;
|
|
27
|
-
export declare function ensureResourceDescriptor(resource: unknown, message: string): AnyResourceDefinition;
|
|
28
|
-
export declare function ensureRuntimeGraph(runtime: unknown, message: string): RuntimeGraph;
|
|
29
|
-
export declare function readResourceMap(resources: unknown, message: string): ResourceMap;
|
|
30
|
-
export declare function directResourceEntries(actions: readonly ResourceWrapperAction[]): readonly ResourceEntry[];
|
|
31
|
-
export declare function resourceWrapperSteps(actions: readonly ResourceWrapperAction[]): readonly ResourceWrapperStep[];
|
|
32
|
-
export declare function stepRuntimeGraphs(actions: readonly ResourceWrapperAction[]): readonly RuntimeGraph[];
|
|
33
|
-
export declare function lifecycleMessages(actions: readonly ResourceWrapperAction[]): LifecycleMessages;
|
|
34
|
-
export declare function resourceWrapperStep(resource: AnyResourceDefinition): ResourceWrapperStep;
|
|
35
|
-
export declare function resourcesWrapperStep(resources: ResourceMap): ResourceWrapperStep;
|
|
36
|
-
export declare function runtimeWrapperStep(runtime: RuntimeGraph): ResourceWrapperStep;
|
|
37
|
-
export declare function scopeWrapperStep(name: string, mapScope: (scope: TestScope) => Readonly<Record<string, unknown>>, collision?: ResourceWrapperScopeStep['collision']): ResourceWrapperScopeStep;
|
|
38
|
-
export {};
|
|
39
|
-
//# sourceMappingURL=resource-wrapper-data.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"resource-wrapper-data.d.ts","sourceRoot":"","sources":["../../../../../source/packages/test/resource-wrapper-data.ts"],"names":[],"mappings":"AAAA,OAAO,EAGH,KAAK,qBAAqB,EAC1B,KAAK,WAAW,EAChB,KAAK,YAAY,EACpB,MAAM,yBAAuC,CAAC;AAC/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAiC,CAAC;AAMjE,KAAK,iBAAiB,GAAG;IACrB,QAAQ,CAAC,kBAAkB,EAAE,MAAM,CAAC;IACpC,QAAQ,CAAC,eAAe,EAAE,MAAM,CAAC;CACpC,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IACxB,QAAQ,CAAC,GAAG,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,QAAQ,EAAE,qBAAqB,CAAC;CAC5C,CAAC;AAEF,MAAM,MAAM,4BAA4B,GAAG;IACvC,QAAQ,CAAC,IAAI,EAAE,WAAW,CAAC;IAC3B,QAAQ,CAAC,SAAS,EAAE,WAAW,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACrC,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAC;IACzB,QAAQ,CAAC,OAAO,EAAE,YAAY,CAAC;CAClC,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACnC,QAAQ,CAAC,SAAS,EAAE,mBAAmB,GAAG,kBAAkB,CAAC;IAC7D,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;IACvB,QAAQ,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;IAC3E,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,4B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