@firestartr/cli 1.43.0 → 1.43.1-snapshot-1
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/build/index.js +71051 -66129
- package/build/packages/catalog_common/src/features/tarballs.d.ts +1 -1
- package/build/packages/cdk8s_renderer/src/claims/base/index.d.ts +0 -1
- package/build/packages/cdk8s_renderer/src/claims/base/schemas/index.d.ts +0 -47
- package/build/packages/cdk8s_renderer/src/claims/github/component.schema.d.ts +0 -6
- package/build/packages/cdk8s_renderer/src/claims/github/index.d.ts +0 -47
- package/build/packages/cdk8s_renderer/src/claims/github/repositoryFeature.d.ts +1 -3
- package/build/packages/cdk8s_renderer/src/overriders/featureOverride.d.ts +1 -4
- package/build/packages/features_preparer/index.d.ts +0 -1
- package/build/packages/features_preparer/src/index.d.ts +2 -2
- package/build/packages/features_preparer/src/installer.d.ts +2 -3
- package/build/packages/features_renderer/src/trazability.d.ts +1 -0
- package/build/packages/github/src/branches.d.ts +4 -4
- package/package.json +1 -1
- package/build/packages/cdk8s_renderer/src/claims/base/secrets.d.ts +0 -9
- package/build/packages/cdk8s_renderer/src/claims/github/feature.schema.d.ts +0 -43
- package/build/packages/features_preparer/src/zip.d.ts +0 -1
- package/build/packages/features_renderer/src/traceability.d.ts +0 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare function
|
1
|
+
export declare function getFeatureTarballDownloadPath(featureName: string, version: string): string;
|
2
2
|
export declare function removeFeatureTarball(featureName: string, version: string): void;
|
3
3
|
export declare function featureTarballExists(featureName: string, version: string): boolean;
|
4
4
|
export declare function getFeaturesExtractPath(featureName: string, version: string, options?: any): string;
|
@@ -343,47 +343,6 @@ declare const schemas: {
|
|
343
343
|
})[];
|
344
344
|
};
|
345
345
|
};
|
346
|
-
} | {
|
347
|
-
$schema: string;
|
348
|
-
$id: string;
|
349
|
-
definitions: {
|
350
|
-
GithubComponentFeatureClaim: {
|
351
|
-
$id: string;
|
352
|
-
description: string;
|
353
|
-
properties: {
|
354
|
-
name: {
|
355
|
-
type: string;
|
356
|
-
description: string;
|
357
|
-
};
|
358
|
-
version: {
|
359
|
-
type: string;
|
360
|
-
description: string;
|
361
|
-
};
|
362
|
-
ref: {
|
363
|
-
type: string;
|
364
|
-
description: string;
|
365
|
-
};
|
366
|
-
args: {
|
367
|
-
type: string;
|
368
|
-
properties: {};
|
369
|
-
additionalProperties: boolean;
|
370
|
-
};
|
371
|
-
repo: {
|
372
|
-
type: string;
|
373
|
-
description: string;
|
374
|
-
pattern: string;
|
375
|
-
};
|
376
|
-
};
|
377
|
-
required: string[];
|
378
|
-
oneOf: {
|
379
|
-
required: string[];
|
380
|
-
not: {
|
381
|
-
required: string[];
|
382
|
-
};
|
383
|
-
}[];
|
384
|
-
additionalProperties: boolean;
|
385
|
-
};
|
386
|
-
};
|
387
346
|
} | {
|
388
347
|
$schema: string;
|
389
348
|
$id: string;
|
@@ -408,12 +367,6 @@ declare const schemas: {
|
|
408
367
|
type: string;
|
409
368
|
enum: string[];
|
410
369
|
};
|
411
|
-
features: {
|
412
|
-
type: string;
|
413
|
-
items: {
|
414
|
-
$ref: string;
|
415
|
-
};
|
416
|
-
};
|
417
370
|
};
|
418
371
|
required: string[];
|
419
372
|
$ref?: undefined;
|
@@ -59,47 +59,6 @@ export declare const GithubSchemas: ({
|
|
59
59
|
})[];
|
60
60
|
};
|
61
61
|
};
|
62
|
-
} | {
|
63
|
-
$schema: string;
|
64
|
-
$id: string;
|
65
|
-
definitions: {
|
66
|
-
GithubComponentFeatureClaim: {
|
67
|
-
$id: string;
|
68
|
-
description: string;
|
69
|
-
properties: {
|
70
|
-
name: {
|
71
|
-
type: string;
|
72
|
-
description: string;
|
73
|
-
};
|
74
|
-
version: {
|
75
|
-
type: string;
|
76
|
-
description: string;
|
77
|
-
};
|
78
|
-
ref: {
|
79
|
-
type: string;
|
80
|
-
description: string;
|
81
|
-
};
|
82
|
-
args: {
|
83
|
-
type: string;
|
84
|
-
properties: {};
|
85
|
-
additionalProperties: boolean;
|
86
|
-
};
|
87
|
-
repo: {
|
88
|
-
type: string;
|
89
|
-
description: string;
|
90
|
-
pattern: string;
|
91
|
-
};
|
92
|
-
};
|
93
|
-
required: string[];
|
94
|
-
oneOf: {
|
95
|
-
required: string[];
|
96
|
-
not: {
|
97
|
-
required: string[];
|
98
|
-
};
|
99
|
-
}[];
|
100
|
-
additionalProperties: boolean;
|
101
|
-
};
|
102
|
-
};
|
103
62
|
} | {
|
104
63
|
$schema: string;
|
105
64
|
$id: string;
|
@@ -124,12 +83,6 @@ export declare const GithubSchemas: ({
|
|
124
83
|
type: string;
|
125
84
|
enum: string[];
|
126
85
|
};
|
127
|
-
features: {
|
128
|
-
type: string;
|
129
|
-
items: {
|
130
|
-
$ref: string;
|
131
|
-
};
|
132
|
-
};
|
133
86
|
};
|
134
87
|
required: string[];
|
135
88
|
$ref?: undefined;
|
@@ -13,9 +13,7 @@ export interface IGithubRepositoryFeatureClaim extends IClaim {
|
|
13
13
|
context: any;
|
14
14
|
feature: {
|
15
15
|
name: string;
|
16
|
-
version
|
17
|
-
ref?: string;
|
18
|
-
repo?: string;
|
16
|
+
version: string;
|
19
17
|
};
|
20
18
|
repositoryTarget: FirestartrGithubRepositoryFeatureSpecRepositoryTarget;
|
21
19
|
files: Array<IGithubRepositoryFeatureFileClaim>;
|
@@ -5,11 +5,8 @@ export declare class FeaturesOverrider extends OverriderPatches {
|
|
5
5
|
private featureVersion;
|
6
6
|
private featureConfig;
|
7
7
|
private featureArgs;
|
8
|
-
|
9
|
-
private featureRef;
|
10
|
-
constructor(featureName: string, featureVersion: string, featureConfig?: any, featureArgs?: any, featureRef?: string, featureRepo?: string);
|
8
|
+
constructor(featureName: string, featureVersion: string, featureConfig?: any, featureArgs?: any);
|
11
9
|
getFeatureConfig(cr: any): any;
|
12
|
-
setUpAndRunRenderer(cr: any): any;
|
13
10
|
__validate(): Promise<boolean>;
|
14
11
|
__patches(claim: any, _previousCR: any): Promise<({
|
15
12
|
validate(_cr: any): boolean;
|
@@ -3,6 +3,5 @@ declare const _default: {
|
|
3
3
|
prepareFeature: typeof import("./src/installer").prepareFeature;
|
4
4
|
renderFeature: typeof import("./src/renderer").renderFeature;
|
5
5
|
getFeatureConfig: typeof import("./src/installer").getFeatureConfig;
|
6
|
-
getFeatureConfigFromRef: typeof import("./src/installer").getFeatureConfigFromRef;
|
7
6
|
};
|
8
7
|
export default _default;
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import {
|
1
|
+
import { listFeatures, getFeatureConfig, prepareFeature } from './installer';
|
2
2
|
import { renderFeature } from './renderer';
|
3
3
|
declare const _default: {
|
4
4
|
renderFeature: typeof renderFeature;
|
5
|
-
getFeatureConfigFromRef: typeof getFeatureConfigFromRef;
|
6
5
|
getFeatureConfig: typeof getFeatureConfig;
|
6
|
+
listFeatures: typeof listFeatures;
|
7
7
|
prepareFeature: typeof prepareFeature;
|
8
8
|
};
|
9
9
|
export default _default;
|
@@ -1,6 +1,5 @@
|
|
1
|
-
export declare function
|
2
|
-
featureArgs?: any, repo?: string, owner?: string): Promise<any>;
|
1
|
+
export declare function listFeatures(repo?: string, owner?: string): Promise<string[]>;
|
3
2
|
export declare function getFeatureConfig(featureName: string, version: string, featureOwner: any, // -> cr
|
4
3
|
featureArgs?: any, repo?: string, owner?: string): Promise<any>;
|
5
4
|
export declare function prepareFeature(featureName: string, version: string, repo?: string, owner?: string): Promise<void>;
|
6
|
-
export declare function
|
5
|
+
export declare function downloadFeatureTarball(repo: string, featureName: string, version: string, owner?: string): Promise<string>;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare function addTrazability(context: any, src: string, content: string): string;
|
@@ -428,7 +428,7 @@ export declare function getBranch(repo: string, branch: string, owner?: string):
|
|
428
428
|
verified_at: string;
|
429
429
|
};
|
430
430
|
};
|
431
|
-
author: {
|
431
|
+
author: Record<string, never> | {
|
432
432
|
name?: string;
|
433
433
|
email?: string;
|
434
434
|
login: string;
|
@@ -451,8 +451,8 @@ export declare function getBranch(repo: string, branch: string, owner?: string):
|
|
451
451
|
site_admin: boolean;
|
452
452
|
starred_at?: string;
|
453
453
|
user_view_type?: string;
|
454
|
-
}
|
455
|
-
committer: {
|
454
|
+
};
|
455
|
+
committer: Record<string, never> | {
|
456
456
|
name?: string;
|
457
457
|
email?: string;
|
458
458
|
login: string;
|
@@ -475,7 +475,7 @@ export declare function getBranch(repo: string, branch: string, owner?: string):
|
|
475
475
|
site_admin: boolean;
|
476
476
|
starred_at?: string;
|
477
477
|
user_view_type?: string;
|
478
|
-
}
|
478
|
+
};
|
479
479
|
parents: {
|
480
480
|
sha: string;
|
481
481
|
url: string;
|
package/package.json
CHANGED
@@ -1,43 +0,0 @@
|
|
1
|
-
declare const _default: {
|
2
|
-
$schema: string;
|
3
|
-
$id: string;
|
4
|
-
definitions: {
|
5
|
-
GithubComponentFeatureClaim: {
|
6
|
-
$id: string;
|
7
|
-
description: string;
|
8
|
-
properties: {
|
9
|
-
name: {
|
10
|
-
type: string;
|
11
|
-
description: string;
|
12
|
-
};
|
13
|
-
version: {
|
14
|
-
type: string;
|
15
|
-
description: string;
|
16
|
-
};
|
17
|
-
ref: {
|
18
|
-
type: string;
|
19
|
-
description: string;
|
20
|
-
};
|
21
|
-
args: {
|
22
|
-
type: string;
|
23
|
-
properties: {};
|
24
|
-
additionalProperties: boolean;
|
25
|
-
};
|
26
|
-
repo: {
|
27
|
-
type: string;
|
28
|
-
description: string;
|
29
|
-
pattern: string;
|
30
|
-
};
|
31
|
-
};
|
32
|
-
required: string[];
|
33
|
-
oneOf: {
|
34
|
-
required: string[];
|
35
|
-
not: {
|
36
|
-
required: string[];
|
37
|
-
};
|
38
|
-
}[];
|
39
|
-
additionalProperties: boolean;
|
40
|
-
};
|
41
|
-
};
|
42
|
-
};
|
43
|
-
export default _default;
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare function downloadZipBall(url: string, filePath: string): Promise<void>;
|
@@ -1 +0,0 @@
|
|
1
|
-
export declare function addTraceability(context: any, src: string, content: string): string;
|