@go-to-k/cdkd 0.230.15 → 0.230.16
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/cli.js +16 -6
- package/dist/cli.js.map +1 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1445,7 +1445,7 @@ const FLUSH_INTERVAL_MS = 2e3;
|
|
|
1445
1445
|
const FLUSH_EVENT_THRESHOLD = 50;
|
|
1446
1446
|
/** Build-time cdkd version, with a dev fallback for non-built contexts. */
|
|
1447
1447
|
function getCdkdVersion() {
|
|
1448
|
-
return "0.230.
|
|
1448
|
+
return "0.230.16";
|
|
1449
1449
|
}
|
|
1450
1450
|
/**
|
|
1451
1451
|
* Generate a time-sortable unique run id, e.g.
|
|
@@ -5009,13 +5009,21 @@ var S3BucketProvider = class {
|
|
|
5009
5009
|
};
|
|
5010
5010
|
const filter = rule["Filter"];
|
|
5011
5011
|
if (filter) {
|
|
5012
|
+
const and = filter["And"];
|
|
5012
5013
|
const prefix = filter["Prefix"];
|
|
5013
5014
|
const tagFilter = filter["TagFilter"];
|
|
5014
|
-
if (
|
|
5015
|
+
if (and) {
|
|
5016
|
+
const andPrefix = and["Prefix"];
|
|
5017
|
+
const andTags = and["TagFilters"];
|
|
5018
|
+
const sdkAnd = {};
|
|
5019
|
+
if (andPrefix !== void 0) sdkAnd["Prefix"] = andPrefix;
|
|
5020
|
+
if (andTags !== void 0) sdkAnd["Tags"] = andTags;
|
|
5021
|
+
sdkRule["Filter"] = { And: sdkAnd };
|
|
5022
|
+
} else if (prefix !== void 0 && tagFilter) sdkRule["Filter"] = { And: {
|
|
5015
5023
|
Prefix: prefix,
|
|
5016
5024
|
Tags: [tagFilter]
|
|
5017
5025
|
} };
|
|
5018
|
-
else if (prefix) sdkRule["Filter"] = { Prefix: prefix };
|
|
5026
|
+
else if (prefix !== void 0) sdkRule["Filter"] = { Prefix: prefix };
|
|
5019
5027
|
else if (tagFilter) sdkRule["Filter"] = { Tag: tagFilter };
|
|
5020
5028
|
else sdkRule["Filter"] = {};
|
|
5021
5029
|
} else if (rule["Prefix"] !== void 0) sdkRule["Prefix"] = rule["Prefix"];
|
|
@@ -5624,9 +5632,11 @@ var S3BucketProvider = class {
|
|
|
5624
5632
|
const and = f["And"];
|
|
5625
5633
|
const tagOnly = f["Tag"];
|
|
5626
5634
|
if (and) {
|
|
5627
|
-
|
|
5635
|
+
const innerAnd = {};
|
|
5636
|
+
if (and["Prefix"] !== void 0) innerAnd["Prefix"] = and["Prefix"];
|
|
5628
5637
|
const tags = and["Tags"];
|
|
5629
|
-
if (tags && tags.length > 0)
|
|
5638
|
+
if (tags && tags.length > 0) innerAnd["TagFilters"] = tags;
|
|
5639
|
+
cfnFilter["And"] = innerAnd;
|
|
5630
5640
|
} else if (tagOnly) cfnFilter["TagFilter"] = tagOnly;
|
|
5631
5641
|
else if (f["Prefix"] !== void 0) cfnFilter["Prefix"] = f["Prefix"];
|
|
5632
5642
|
if (Object.keys(cfnFilter).length > 0) ruleOut["Filter"] = cfnFilter;
|
|
@@ -55365,7 +55375,7 @@ function reorderArgs(argv) {
|
|
|
55365
55375
|
async function main() {
|
|
55366
55376
|
installPipeCloseHandler();
|
|
55367
55377
|
const program = new Command();
|
|
55368
|
-
program.name("cdkd").description("CDK Direct - Deploy AWS CDK apps directly via SDK/Cloud Control API").version("0.230.
|
|
55378
|
+
program.name("cdkd").description("CDK Direct - Deploy AWS CDK apps directly via SDK/Cloud Control API").version("0.230.16");
|
|
55369
55379
|
program.addCommand(createBootstrapCommand());
|
|
55370
55380
|
program.addCommand(createSynthCommand());
|
|
55371
55381
|
program.addCommand(createListCommand());
|