@awsless/awsless 0.0.354 → 0.0.356
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.js +194 -187
- package/dist/server.js +3 -3
- package/package.json +8 -8
package/dist/bin.js
CHANGED
|
@@ -11,9 +11,9 @@ import {
|
|
|
11
11
|
__toESM
|
|
12
12
|
} from "./chunk-JSBRDJBE.js";
|
|
13
13
|
|
|
14
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
14
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/nodes/identity.js
|
|
15
15
|
var require_identity = __commonJS({
|
|
16
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
16
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/nodes/identity.js"(exports) {
|
|
17
17
|
"use strict";
|
|
18
18
|
var ALIAS = Symbol.for("yaml.alias");
|
|
19
19
|
var DOC = Symbol.for("yaml.document");
|
|
@@ -68,9 +68,9 @@ var require_identity = __commonJS({
|
|
|
68
68
|
}
|
|
69
69
|
});
|
|
70
70
|
|
|
71
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
71
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/visit.js
|
|
72
72
|
var require_visit = __commonJS({
|
|
73
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
73
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/visit.js"(exports) {
|
|
74
74
|
"use strict";
|
|
75
75
|
var identity = require_identity();
|
|
76
76
|
var BREAK = Symbol("break visit");
|
|
@@ -226,9 +226,9 @@ var require_visit = __commonJS({
|
|
|
226
226
|
}
|
|
227
227
|
});
|
|
228
228
|
|
|
229
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
229
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/doc/directives.js
|
|
230
230
|
var require_directives = __commonJS({
|
|
231
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
231
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/doc/directives.js"(exports) {
|
|
232
232
|
"use strict";
|
|
233
233
|
var identity = require_identity();
|
|
234
234
|
var visit = require_visit();
|
|
@@ -397,9 +397,9 @@ var require_directives = __commonJS({
|
|
|
397
397
|
}
|
|
398
398
|
});
|
|
399
399
|
|
|
400
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
400
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/doc/anchors.js
|
|
401
401
|
var require_anchors = __commonJS({
|
|
402
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
402
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/doc/anchors.js"(exports) {
|
|
403
403
|
"use strict";
|
|
404
404
|
var identity = require_identity();
|
|
405
405
|
var visit = require_visit();
|
|
@@ -468,9 +468,9 @@ var require_anchors = __commonJS({
|
|
|
468
468
|
}
|
|
469
469
|
});
|
|
470
470
|
|
|
471
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
471
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/doc/applyReviver.js
|
|
472
472
|
var require_applyReviver = __commonJS({
|
|
473
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
473
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/doc/applyReviver.js"(exports) {
|
|
474
474
|
"use strict";
|
|
475
475
|
function applyReviver(reviver, obj, key, val) {
|
|
476
476
|
if (val && typeof val === "object") {
|
|
@@ -518,9 +518,9 @@ var require_applyReviver = __commonJS({
|
|
|
518
518
|
}
|
|
519
519
|
});
|
|
520
520
|
|
|
521
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
521
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/nodes/toJS.js
|
|
522
522
|
var require_toJS = __commonJS({
|
|
523
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
523
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/nodes/toJS.js"(exports) {
|
|
524
524
|
"use strict";
|
|
525
525
|
var identity = require_identity();
|
|
526
526
|
function toJS(value, arg, ctx) {
|
|
@@ -548,9 +548,9 @@ var require_toJS = __commonJS({
|
|
|
548
548
|
}
|
|
549
549
|
});
|
|
550
550
|
|
|
551
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
551
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/nodes/Node.js
|
|
552
552
|
var require_Node = __commonJS({
|
|
553
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
553
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/nodes/Node.js"(exports) {
|
|
554
554
|
"use strict";
|
|
555
555
|
var applyReviver = require_applyReviver();
|
|
556
556
|
var identity = require_identity();
|
|
@@ -589,9 +589,9 @@ var require_Node = __commonJS({
|
|
|
589
589
|
}
|
|
590
590
|
});
|
|
591
591
|
|
|
592
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
592
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/nodes/Alias.js
|
|
593
593
|
var require_Alias = __commonJS({
|
|
594
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
594
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/nodes/Alias.js"(exports) {
|
|
595
595
|
"use strict";
|
|
596
596
|
var anchors = require_anchors();
|
|
597
597
|
var visit = require_visit();
|
|
@@ -691,9 +691,9 @@ var require_Alias = __commonJS({
|
|
|
691
691
|
}
|
|
692
692
|
});
|
|
693
693
|
|
|
694
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
694
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/nodes/Scalar.js
|
|
695
695
|
var require_Scalar = __commonJS({
|
|
696
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
696
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/nodes/Scalar.js"(exports) {
|
|
697
697
|
"use strict";
|
|
698
698
|
var identity = require_identity();
|
|
699
699
|
var Node22 = require_Node();
|
|
@@ -721,9 +721,9 @@ var require_Scalar = __commonJS({
|
|
|
721
721
|
}
|
|
722
722
|
});
|
|
723
723
|
|
|
724
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
724
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/doc/createNode.js
|
|
725
725
|
var require_createNode = __commonJS({
|
|
726
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
726
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/doc/createNode.js"(exports) {
|
|
727
727
|
"use strict";
|
|
728
728
|
var Alias = require_Alias();
|
|
729
729
|
var identity = require_identity();
|
|
@@ -797,9 +797,9 @@ var require_createNode = __commonJS({
|
|
|
797
797
|
}
|
|
798
798
|
});
|
|
799
799
|
|
|
800
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
800
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/nodes/Collection.js
|
|
801
801
|
var require_Collection = __commonJS({
|
|
802
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
802
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/nodes/Collection.js"(exports) {
|
|
803
803
|
"use strict";
|
|
804
804
|
var createNode = require_createNode();
|
|
805
805
|
var identity = require_identity();
|
|
@@ -940,9 +940,9 @@ var require_Collection = __commonJS({
|
|
|
940
940
|
}
|
|
941
941
|
});
|
|
942
942
|
|
|
943
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
943
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/stringify/stringifyComment.js
|
|
944
944
|
var require_stringifyComment = __commonJS({
|
|
945
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
945
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/stringify/stringifyComment.js"(exports) {
|
|
946
946
|
"use strict";
|
|
947
947
|
var stringifyComment = (str) => str.replace(/^(?!$)(?: $)?/gm, "#");
|
|
948
948
|
function indentComment(comment, indent) {
|
|
@@ -957,9 +957,9 @@ var require_stringifyComment = __commonJS({
|
|
|
957
957
|
}
|
|
958
958
|
});
|
|
959
959
|
|
|
960
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
960
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/stringify/foldFlowLines.js
|
|
961
961
|
var require_foldFlowLines = __commonJS({
|
|
962
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
962
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/stringify/foldFlowLines.js"(exports) {
|
|
963
963
|
"use strict";
|
|
964
964
|
var FOLD_FLOW = "flow";
|
|
965
965
|
var FOLD_BLOCK = "block";
|
|
@@ -1093,9 +1093,9 @@ ${indent}${text3.slice(fold + 1, end2)}`;
|
|
|
1093
1093
|
}
|
|
1094
1094
|
});
|
|
1095
1095
|
|
|
1096
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
1096
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/stringify/stringifyString.js
|
|
1097
1097
|
var require_stringifyString = __commonJS({
|
|
1098
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
1098
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/stringify/stringifyString.js"(exports) {
|
|
1099
1099
|
"use strict";
|
|
1100
1100
|
var Scalar = require_Scalar();
|
|
1101
1101
|
var foldFlowLines = require_foldFlowLines();
|
|
@@ -1368,9 +1368,9 @@ ${indent}`);
|
|
|
1368
1368
|
}
|
|
1369
1369
|
});
|
|
1370
1370
|
|
|
1371
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
1371
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/stringify/stringify.js
|
|
1372
1372
|
var require_stringify = __commonJS({
|
|
1373
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
1373
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/stringify/stringify.js"(exports) {
|
|
1374
1374
|
"use strict";
|
|
1375
1375
|
var anchors = require_anchors();
|
|
1376
1376
|
var identity = require_identity();
|
|
@@ -1487,9 +1487,9 @@ ${ctx.indent}${str}`;
|
|
|
1487
1487
|
}
|
|
1488
1488
|
});
|
|
1489
1489
|
|
|
1490
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
1490
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/stringify/stringifyPair.js
|
|
1491
1491
|
var require_stringifyPair = __commonJS({
|
|
1492
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
1492
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/stringify/stringifyPair.js"(exports) {
|
|
1493
1493
|
"use strict";
|
|
1494
1494
|
var identity = require_identity();
|
|
1495
1495
|
var Scalar = require_Scalar();
|
|
@@ -1620,9 +1620,9 @@ ${ctx.indent}`;
|
|
|
1620
1620
|
}
|
|
1621
1621
|
});
|
|
1622
1622
|
|
|
1623
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
1623
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/log.js
|
|
1624
1624
|
var require_log = __commonJS({
|
|
1625
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
1625
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/log.js"(exports) {
|
|
1626
1626
|
"use strict";
|
|
1627
1627
|
function debug2(logLevel, ...messages) {
|
|
1628
1628
|
if (logLevel === "debug")
|
|
@@ -1641,11 +1641,11 @@ var require_log = __commonJS({
|
|
|
1641
1641
|
}
|
|
1642
1642
|
});
|
|
1643
1643
|
|
|
1644
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
1644
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/nodes/addPairToJSMap.js
|
|
1645
1645
|
var require_addPairToJSMap = __commonJS({
|
|
1646
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
1646
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/nodes/addPairToJSMap.js"(exports) {
|
|
1647
1647
|
"use strict";
|
|
1648
|
-
var
|
|
1648
|
+
var log11 = require_log();
|
|
1649
1649
|
var stringify = require_stringify();
|
|
1650
1650
|
var identity = require_identity();
|
|
1651
1651
|
var Scalar = require_Scalar();
|
|
@@ -1724,7 +1724,7 @@ var require_addPairToJSMap = __commonJS({
|
|
|
1724
1724
|
let jsonStr = JSON.stringify(strKey);
|
|
1725
1725
|
if (jsonStr.length > 40)
|
|
1726
1726
|
jsonStr = jsonStr.substring(0, 36) + '..."';
|
|
1727
|
-
|
|
1727
|
+
log11.warn(ctx.doc.options.logLevel, `Keys with collection values will be stringified due to JS Object restrictions: ${jsonStr}. Set mapAsMap: true to use object keys.`);
|
|
1728
1728
|
ctx.mapKeyWarned = true;
|
|
1729
1729
|
}
|
|
1730
1730
|
return strKey;
|
|
@@ -1735,9 +1735,9 @@ var require_addPairToJSMap = __commonJS({
|
|
|
1735
1735
|
}
|
|
1736
1736
|
});
|
|
1737
1737
|
|
|
1738
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
1738
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/nodes/Pair.js
|
|
1739
1739
|
var require_Pair = __commonJS({
|
|
1740
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
1740
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/nodes/Pair.js"(exports) {
|
|
1741
1741
|
"use strict";
|
|
1742
1742
|
var createNode = require_createNode();
|
|
1743
1743
|
var stringifyPair = require_stringifyPair();
|
|
@@ -1775,9 +1775,9 @@ var require_Pair = __commonJS({
|
|
|
1775
1775
|
}
|
|
1776
1776
|
});
|
|
1777
1777
|
|
|
1778
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
1778
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/stringify/stringifyCollection.js
|
|
1779
1779
|
var require_stringifyCollection = __commonJS({
|
|
1780
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
1780
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/stringify/stringifyCollection.js"(exports) {
|
|
1781
1781
|
"use strict";
|
|
1782
1782
|
var identity = require_identity();
|
|
1783
1783
|
var stringify = require_stringify();
|
|
@@ -1919,9 +1919,9 @@ ${indent}${end}`;
|
|
|
1919
1919
|
}
|
|
1920
1920
|
});
|
|
1921
1921
|
|
|
1922
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
1922
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/nodes/YAMLMap.js
|
|
1923
1923
|
var require_YAMLMap = __commonJS({
|
|
1924
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
1924
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/nodes/YAMLMap.js"(exports) {
|
|
1925
1925
|
"use strict";
|
|
1926
1926
|
var stringifyCollection = require_stringifyCollection();
|
|
1927
1927
|
var addPairToJSMap = require_addPairToJSMap();
|
|
@@ -2063,9 +2063,9 @@ var require_YAMLMap = __commonJS({
|
|
|
2063
2063
|
}
|
|
2064
2064
|
});
|
|
2065
2065
|
|
|
2066
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
2066
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/schema/common/map.js
|
|
2067
2067
|
var require_map = __commonJS({
|
|
2068
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
2068
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/schema/common/map.js"(exports) {
|
|
2069
2069
|
"use strict";
|
|
2070
2070
|
var identity = require_identity();
|
|
2071
2071
|
var YAMLMap = require_YAMLMap();
|
|
@@ -2085,9 +2085,9 @@ var require_map = __commonJS({
|
|
|
2085
2085
|
}
|
|
2086
2086
|
});
|
|
2087
2087
|
|
|
2088
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
2088
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/nodes/YAMLSeq.js
|
|
2089
2089
|
var require_YAMLSeq = __commonJS({
|
|
2090
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
2090
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/nodes/YAMLSeq.js"(exports) {
|
|
2091
2091
|
"use strict";
|
|
2092
2092
|
var createNode = require_createNode();
|
|
2093
2093
|
var stringifyCollection = require_stringifyCollection();
|
|
@@ -2201,9 +2201,9 @@ var require_YAMLSeq = __commonJS({
|
|
|
2201
2201
|
}
|
|
2202
2202
|
});
|
|
2203
2203
|
|
|
2204
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
2204
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/schema/common/seq.js
|
|
2205
2205
|
var require_seq = __commonJS({
|
|
2206
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
2206
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/schema/common/seq.js"(exports) {
|
|
2207
2207
|
"use strict";
|
|
2208
2208
|
var identity = require_identity();
|
|
2209
2209
|
var YAMLSeq = require_YAMLSeq();
|
|
@@ -2223,9 +2223,9 @@ var require_seq = __commonJS({
|
|
|
2223
2223
|
}
|
|
2224
2224
|
});
|
|
2225
2225
|
|
|
2226
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
2226
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/schema/common/string.js
|
|
2227
2227
|
var require_string = __commonJS({
|
|
2228
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
2228
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/schema/common/string.js"(exports) {
|
|
2229
2229
|
"use strict";
|
|
2230
2230
|
var stringifyString = require_stringifyString();
|
|
2231
2231
|
var string = {
|
|
@@ -2242,9 +2242,9 @@ var require_string = __commonJS({
|
|
|
2242
2242
|
}
|
|
2243
2243
|
});
|
|
2244
2244
|
|
|
2245
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
2245
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/schema/common/null.js
|
|
2246
2246
|
var require_null = __commonJS({
|
|
2247
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
2247
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/schema/common/null.js"(exports) {
|
|
2248
2248
|
"use strict";
|
|
2249
2249
|
var Scalar = require_Scalar();
|
|
2250
2250
|
var nullTag = {
|
|
@@ -2260,9 +2260,9 @@ var require_null = __commonJS({
|
|
|
2260
2260
|
}
|
|
2261
2261
|
});
|
|
2262
2262
|
|
|
2263
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
2263
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/schema/core/bool.js
|
|
2264
2264
|
var require_bool = __commonJS({
|
|
2265
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
2265
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/schema/core/bool.js"(exports) {
|
|
2266
2266
|
"use strict";
|
|
2267
2267
|
var Scalar = require_Scalar();
|
|
2268
2268
|
var boolTag = {
|
|
@@ -2284,9 +2284,9 @@ var require_bool = __commonJS({
|
|
|
2284
2284
|
}
|
|
2285
2285
|
});
|
|
2286
2286
|
|
|
2287
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
2287
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/stringify/stringifyNumber.js
|
|
2288
2288
|
var require_stringifyNumber = __commonJS({
|
|
2289
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
2289
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/stringify/stringifyNumber.js"(exports) {
|
|
2290
2290
|
"use strict";
|
|
2291
2291
|
function stringifyNumber({ format: format2, minFractionDigits, tag, value }) {
|
|
2292
2292
|
if (typeof value === "bigint")
|
|
@@ -2311,9 +2311,9 @@ var require_stringifyNumber = __commonJS({
|
|
|
2311
2311
|
}
|
|
2312
2312
|
});
|
|
2313
2313
|
|
|
2314
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
2314
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/schema/core/float.js
|
|
2315
2315
|
var require_float = __commonJS({
|
|
2316
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
2316
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/schema/core/float.js"(exports) {
|
|
2317
2317
|
"use strict";
|
|
2318
2318
|
var Scalar = require_Scalar();
|
|
2319
2319
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -2357,9 +2357,9 @@ var require_float = __commonJS({
|
|
|
2357
2357
|
}
|
|
2358
2358
|
});
|
|
2359
2359
|
|
|
2360
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
2360
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/schema/core/int.js
|
|
2361
2361
|
var require_int = __commonJS({
|
|
2362
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
2362
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/schema/core/int.js"(exports) {
|
|
2363
2363
|
"use strict";
|
|
2364
2364
|
var stringifyNumber = require_stringifyNumber();
|
|
2365
2365
|
var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -2402,9 +2402,9 @@ var require_int = __commonJS({
|
|
|
2402
2402
|
}
|
|
2403
2403
|
});
|
|
2404
2404
|
|
|
2405
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
2405
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/schema/core/schema.js
|
|
2406
2406
|
var require_schema = __commonJS({
|
|
2407
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
2407
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/schema/core/schema.js"(exports) {
|
|
2408
2408
|
"use strict";
|
|
2409
2409
|
var map = require_map();
|
|
2410
2410
|
var _null = require_null();
|
|
@@ -2430,9 +2430,9 @@ var require_schema = __commonJS({
|
|
|
2430
2430
|
}
|
|
2431
2431
|
});
|
|
2432
2432
|
|
|
2433
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
2433
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/schema/json/schema.js
|
|
2434
2434
|
var require_schema2 = __commonJS({
|
|
2435
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
2435
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/schema/json/schema.js"(exports) {
|
|
2436
2436
|
"use strict";
|
|
2437
2437
|
var Scalar = require_Scalar();
|
|
2438
2438
|
var map = require_map();
|
|
@@ -2497,9 +2497,9 @@ var require_schema2 = __commonJS({
|
|
|
2497
2497
|
}
|
|
2498
2498
|
});
|
|
2499
2499
|
|
|
2500
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
2500
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/schema/yaml-1.1/binary.js
|
|
2501
2501
|
var require_binary = __commonJS({
|
|
2502
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
2502
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/schema/yaml-1.1/binary.js"(exports) {
|
|
2503
2503
|
"use strict";
|
|
2504
2504
|
var Scalar = require_Scalar();
|
|
2505
2505
|
var stringifyString = require_stringifyString();
|
|
@@ -2561,9 +2561,9 @@ var require_binary = __commonJS({
|
|
|
2561
2561
|
}
|
|
2562
2562
|
});
|
|
2563
2563
|
|
|
2564
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
2564
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/schema/yaml-1.1/pairs.js
|
|
2565
2565
|
var require_pairs = __commonJS({
|
|
2566
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
2566
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/schema/yaml-1.1/pairs.js"(exports) {
|
|
2567
2567
|
"use strict";
|
|
2568
2568
|
var identity = require_identity();
|
|
2569
2569
|
var Pair = require_Pair();
|
|
@@ -2639,9 +2639,9 @@ ${cn.comment}` : item.comment;
|
|
|
2639
2639
|
}
|
|
2640
2640
|
});
|
|
2641
2641
|
|
|
2642
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
2642
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/schema/yaml-1.1/omap.js
|
|
2643
2643
|
var require_omap = __commonJS({
|
|
2644
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
2644
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/schema/yaml-1.1/omap.js"(exports) {
|
|
2645
2645
|
"use strict";
|
|
2646
2646
|
var identity = require_identity();
|
|
2647
2647
|
var toJS = require_toJS();
|
|
@@ -2717,9 +2717,9 @@ var require_omap = __commonJS({
|
|
|
2717
2717
|
}
|
|
2718
2718
|
});
|
|
2719
2719
|
|
|
2720
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
2720
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/schema/yaml-1.1/bool.js
|
|
2721
2721
|
var require_bool2 = __commonJS({
|
|
2722
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
2722
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/schema/yaml-1.1/bool.js"(exports) {
|
|
2723
2723
|
"use strict";
|
|
2724
2724
|
var Scalar = require_Scalar();
|
|
2725
2725
|
function boolStringify({ value, source }, ctx) {
|
|
@@ -2749,9 +2749,9 @@ var require_bool2 = __commonJS({
|
|
|
2749
2749
|
}
|
|
2750
2750
|
});
|
|
2751
2751
|
|
|
2752
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
2752
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/schema/yaml-1.1/float.js
|
|
2753
2753
|
var require_float2 = __commonJS({
|
|
2754
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
2754
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/schema/yaml-1.1/float.js"(exports) {
|
|
2755
2755
|
"use strict";
|
|
2756
2756
|
var Scalar = require_Scalar();
|
|
2757
2757
|
var stringifyNumber = require_stringifyNumber();
|
|
@@ -2798,9 +2798,9 @@ var require_float2 = __commonJS({
|
|
|
2798
2798
|
}
|
|
2799
2799
|
});
|
|
2800
2800
|
|
|
2801
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
2801
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/schema/yaml-1.1/int.js
|
|
2802
2802
|
var require_int2 = __commonJS({
|
|
2803
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
2803
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/schema/yaml-1.1/int.js"(exports) {
|
|
2804
2804
|
"use strict";
|
|
2805
2805
|
var stringifyNumber = require_stringifyNumber();
|
|
2806
2806
|
var intIdentify = (value) => typeof value === "bigint" || Number.isInteger(value);
|
|
@@ -2877,9 +2877,9 @@ var require_int2 = __commonJS({
|
|
|
2877
2877
|
}
|
|
2878
2878
|
});
|
|
2879
2879
|
|
|
2880
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
2880
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/schema/yaml-1.1/set.js
|
|
2881
2881
|
var require_set = __commonJS({
|
|
2882
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
2882
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/schema/yaml-1.1/set.js"(exports) {
|
|
2883
2883
|
"use strict";
|
|
2884
2884
|
var identity = require_identity();
|
|
2885
2885
|
var Pair = require_Pair();
|
|
@@ -2966,9 +2966,9 @@ var require_set = __commonJS({
|
|
|
2966
2966
|
}
|
|
2967
2967
|
});
|
|
2968
2968
|
|
|
2969
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
2969
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js
|
|
2970
2970
|
var require_timestamp = __commonJS({
|
|
2971
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
2971
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/schema/yaml-1.1/timestamp.js"(exports) {
|
|
2972
2972
|
"use strict";
|
|
2973
2973
|
var stringifyNumber = require_stringifyNumber();
|
|
2974
2974
|
function parseSexagesimal(str, asBigInt) {
|
|
@@ -3054,9 +3054,9 @@ var require_timestamp = __commonJS({
|
|
|
3054
3054
|
}
|
|
3055
3055
|
});
|
|
3056
3056
|
|
|
3057
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
3057
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/schema/yaml-1.1/schema.js
|
|
3058
3058
|
var require_schema3 = __commonJS({
|
|
3059
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
3059
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/schema/yaml-1.1/schema.js"(exports) {
|
|
3060
3060
|
"use strict";
|
|
3061
3061
|
var map = require_map();
|
|
3062
3062
|
var _null = require_null();
|
|
@@ -3096,9 +3096,9 @@ var require_schema3 = __commonJS({
|
|
|
3096
3096
|
}
|
|
3097
3097
|
});
|
|
3098
3098
|
|
|
3099
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
3099
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/schema/tags.js
|
|
3100
3100
|
var require_tags = __commonJS({
|
|
3101
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
3101
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/schema/tags.js"(exports) {
|
|
3102
3102
|
"use strict";
|
|
3103
3103
|
var map = require_map();
|
|
3104
3104
|
var _null = require_null();
|
|
@@ -3179,9 +3179,9 @@ var require_tags = __commonJS({
|
|
|
3179
3179
|
}
|
|
3180
3180
|
});
|
|
3181
3181
|
|
|
3182
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
3182
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/schema/Schema.js
|
|
3183
3183
|
var require_Schema = __commonJS({
|
|
3184
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
3184
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/schema/Schema.js"(exports) {
|
|
3185
3185
|
"use strict";
|
|
3186
3186
|
var identity = require_identity();
|
|
3187
3187
|
var map = require_map();
|
|
@@ -3212,9 +3212,9 @@ var require_Schema = __commonJS({
|
|
|
3212
3212
|
}
|
|
3213
3213
|
});
|
|
3214
3214
|
|
|
3215
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
3215
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/stringify/stringifyDocument.js
|
|
3216
3216
|
var require_stringifyDocument = __commonJS({
|
|
3217
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
3217
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/stringify/stringifyDocument.js"(exports) {
|
|
3218
3218
|
"use strict";
|
|
3219
3219
|
var identity = require_identity();
|
|
3220
3220
|
var stringify = require_stringify();
|
|
@@ -3292,9 +3292,9 @@ var require_stringifyDocument = __commonJS({
|
|
|
3292
3292
|
}
|
|
3293
3293
|
});
|
|
3294
3294
|
|
|
3295
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
3295
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/doc/Document.js
|
|
3296
3296
|
var require_Document = __commonJS({
|
|
3297
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
3297
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/doc/Document.js"(exports) {
|
|
3298
3298
|
"use strict";
|
|
3299
3299
|
var Alias = require_Alias();
|
|
3300
3300
|
var Collection = require_Collection();
|
|
@@ -3600,9 +3600,9 @@ var require_Document = __commonJS({
|
|
|
3600
3600
|
}
|
|
3601
3601
|
});
|
|
3602
3602
|
|
|
3603
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
3603
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/errors.js
|
|
3604
3604
|
var require_errors = __commonJS({
|
|
3605
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
3605
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/errors.js"(exports) {
|
|
3606
3606
|
"use strict";
|
|
3607
3607
|
var YAMLError = class extends Error {
|
|
3608
3608
|
constructor(name, pos, code, message) {
|
|
@@ -3665,9 +3665,9 @@ ${pointer}
|
|
|
3665
3665
|
}
|
|
3666
3666
|
});
|
|
3667
3667
|
|
|
3668
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
3668
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/compose/resolve-props.js
|
|
3669
3669
|
var require_resolve_props = __commonJS({
|
|
3670
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
3670
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/compose/resolve-props.js"(exports) {
|
|
3671
3671
|
"use strict";
|
|
3672
3672
|
function resolveProps(tokens, { flow, indicator, next, offset, onError, parentIndent, startOnNewline }) {
|
|
3673
3673
|
let spaceBefore = false;
|
|
@@ -3801,9 +3801,9 @@ var require_resolve_props = __commonJS({
|
|
|
3801
3801
|
}
|
|
3802
3802
|
});
|
|
3803
3803
|
|
|
3804
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
3804
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/compose/util-contains-newline.js
|
|
3805
3805
|
var require_util_contains_newline = __commonJS({
|
|
3806
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
3806
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/compose/util-contains-newline.js"(exports) {
|
|
3807
3807
|
"use strict";
|
|
3808
3808
|
function containsNewline(key) {
|
|
3809
3809
|
if (!key)
|
|
@@ -3843,9 +3843,9 @@ var require_util_contains_newline = __commonJS({
|
|
|
3843
3843
|
}
|
|
3844
3844
|
});
|
|
3845
3845
|
|
|
3846
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
3846
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/compose/util-flow-indent-check.js
|
|
3847
3847
|
var require_util_flow_indent_check = __commonJS({
|
|
3848
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
3848
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/compose/util-flow-indent-check.js"(exports) {
|
|
3849
3849
|
"use strict";
|
|
3850
3850
|
var utilContainsNewline = require_util_contains_newline();
|
|
3851
3851
|
function flowIndentCheck(indent, fc, onError) {
|
|
@@ -3861,9 +3861,9 @@ var require_util_flow_indent_check = __commonJS({
|
|
|
3861
3861
|
}
|
|
3862
3862
|
});
|
|
3863
3863
|
|
|
3864
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
3864
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/compose/util-map-includes.js
|
|
3865
3865
|
var require_util_map_includes = __commonJS({
|
|
3866
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
3866
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/compose/util-map-includes.js"(exports) {
|
|
3867
3867
|
"use strict";
|
|
3868
3868
|
var identity = require_identity();
|
|
3869
3869
|
function mapIncludes(ctx, items, search) {
|
|
@@ -3877,9 +3877,9 @@ var require_util_map_includes = __commonJS({
|
|
|
3877
3877
|
}
|
|
3878
3878
|
});
|
|
3879
3879
|
|
|
3880
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
3880
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/compose/resolve-block-map.js
|
|
3881
3881
|
var require_resolve_block_map = __commonJS({
|
|
3882
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
3882
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/compose/resolve-block-map.js"(exports) {
|
|
3883
3883
|
"use strict";
|
|
3884
3884
|
var Pair = require_Pair();
|
|
3885
3885
|
var YAMLMap = require_YAMLMap();
|
|
@@ -3983,9 +3983,9 @@ var require_resolve_block_map = __commonJS({
|
|
|
3983
3983
|
}
|
|
3984
3984
|
});
|
|
3985
3985
|
|
|
3986
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
3986
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/compose/resolve-block-seq.js
|
|
3987
3987
|
var require_resolve_block_seq = __commonJS({
|
|
3988
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
3988
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/compose/resolve-block-seq.js"(exports) {
|
|
3989
3989
|
"use strict";
|
|
3990
3990
|
var YAMLSeq = require_YAMLSeq();
|
|
3991
3991
|
var resolveProps = require_resolve_props();
|
|
@@ -4032,9 +4032,9 @@ var require_resolve_block_seq = __commonJS({
|
|
|
4032
4032
|
}
|
|
4033
4033
|
});
|
|
4034
4034
|
|
|
4035
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
4035
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/compose/resolve-end.js
|
|
4036
4036
|
var require_resolve_end = __commonJS({
|
|
4037
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
4037
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/compose/resolve-end.js"(exports) {
|
|
4038
4038
|
"use strict";
|
|
4039
4039
|
function resolveEnd(end, offset, reqSpace, onError) {
|
|
4040
4040
|
let comment = "";
|
|
@@ -4075,9 +4075,9 @@ var require_resolve_end = __commonJS({
|
|
|
4075
4075
|
}
|
|
4076
4076
|
});
|
|
4077
4077
|
|
|
4078
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
4078
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/compose/resolve-flow-collection.js
|
|
4079
4079
|
var require_resolve_flow_collection = __commonJS({
|
|
4080
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
4080
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/compose/resolve-flow-collection.js"(exports) {
|
|
4081
4081
|
"use strict";
|
|
4082
4082
|
var identity = require_identity();
|
|
4083
4083
|
var Pair = require_Pair();
|
|
@@ -4228,6 +4228,8 @@ var require_resolve_flow_collection = __commonJS({
|
|
|
4228
4228
|
const map = new YAMLMap.YAMLMap(ctx.schema);
|
|
4229
4229
|
map.flow = true;
|
|
4230
4230
|
map.items.push(pair);
|
|
4231
|
+
const endRange = (valueNode ?? keyNode).range;
|
|
4232
|
+
map.range = [keyNode.range[0], endRange[1], endRange[2]];
|
|
4231
4233
|
coll.items.push(map);
|
|
4232
4234
|
}
|
|
4233
4235
|
offset = valueNode ? valueNode.range[2] : valueProps.end;
|
|
@@ -4263,9 +4265,9 @@ var require_resolve_flow_collection = __commonJS({
|
|
|
4263
4265
|
}
|
|
4264
4266
|
});
|
|
4265
4267
|
|
|
4266
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
4268
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/compose/compose-collection.js
|
|
4267
4269
|
var require_compose_collection = __commonJS({
|
|
4268
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
4270
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/compose/compose-collection.js"(exports) {
|
|
4269
4271
|
"use strict";
|
|
4270
4272
|
var identity = require_identity();
|
|
4271
4273
|
var Scalar = require_Scalar();
|
|
@@ -4328,9 +4330,9 @@ var require_compose_collection = __commonJS({
|
|
|
4328
4330
|
}
|
|
4329
4331
|
});
|
|
4330
4332
|
|
|
4331
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
4333
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/compose/resolve-block-scalar.js
|
|
4332
4334
|
var require_resolve_block_scalar = __commonJS({
|
|
4333
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
4335
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/compose/resolve-block-scalar.js"(exports) {
|
|
4334
4336
|
"use strict";
|
|
4335
4337
|
var Scalar = require_Scalar();
|
|
4336
4338
|
function resolveBlockScalar(ctx, scalar, onError) {
|
|
@@ -4511,9 +4513,9 @@ var require_resolve_block_scalar = __commonJS({
|
|
|
4511
4513
|
}
|
|
4512
4514
|
});
|
|
4513
4515
|
|
|
4514
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
4516
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/compose/resolve-flow-scalar.js
|
|
4515
4517
|
var require_resolve_flow_scalar = __commonJS({
|
|
4516
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
4518
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/compose/resolve-flow-scalar.js"(exports) {
|
|
4517
4519
|
"use strict";
|
|
4518
4520
|
var Scalar = require_Scalar();
|
|
4519
4521
|
var resolveEnd = require_resolve_end();
|
|
@@ -4592,7 +4594,7 @@ var require_resolve_flow_scalar = __commonJS({
|
|
|
4592
4594
|
try {
|
|
4593
4595
|
first = new RegExp("(.*?)(?<![ ])[ ]*\r?\n", "sy");
|
|
4594
4596
|
line = new RegExp("[ ]*(.*?)(?:(?<![ ])[ ]*)?\r?\n", "sy");
|
|
4595
|
-
} catch
|
|
4597
|
+
} catch {
|
|
4596
4598
|
first = /(.*?)[ \t]*\r?\n/sy;
|
|
4597
4599
|
line = /[ \t]*(.*?)[ \t]*\r?\n/sy;
|
|
4598
4600
|
}
|
|
@@ -4730,9 +4732,9 @@ var require_resolve_flow_scalar = __commonJS({
|
|
|
4730
4732
|
}
|
|
4731
4733
|
});
|
|
4732
4734
|
|
|
4733
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
4735
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/compose/compose-scalar.js
|
|
4734
4736
|
var require_compose_scalar = __commonJS({
|
|
4735
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
4737
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/compose/compose-scalar.js"(exports) {
|
|
4736
4738
|
"use strict";
|
|
4737
4739
|
var identity = require_identity();
|
|
4738
4740
|
var Scalar = require_Scalar();
|
|
@@ -4803,9 +4805,9 @@ var require_compose_scalar = __commonJS({
|
|
|
4803
4805
|
}
|
|
4804
4806
|
});
|
|
4805
4807
|
|
|
4806
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
4808
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/compose/util-empty-scalar-position.js
|
|
4807
4809
|
var require_util_empty_scalar_position = __commonJS({
|
|
4808
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
4810
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/compose/util-empty-scalar-position.js"(exports) {
|
|
4809
4811
|
"use strict";
|
|
4810
4812
|
function emptyScalarPosition(offset, before, pos) {
|
|
4811
4813
|
if (before) {
|
|
@@ -4834,9 +4836,9 @@ var require_util_empty_scalar_position = __commonJS({
|
|
|
4834
4836
|
}
|
|
4835
4837
|
});
|
|
4836
4838
|
|
|
4837
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
4839
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/compose/compose-node.js
|
|
4838
4840
|
var require_compose_node = __commonJS({
|
|
4839
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
4841
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/compose/compose-node.js"(exports) {
|
|
4840
4842
|
"use strict";
|
|
4841
4843
|
var Alias = require_Alias();
|
|
4842
4844
|
var composeCollection = require_compose_collection();
|
|
@@ -4929,9 +4931,9 @@ var require_compose_node = __commonJS({
|
|
|
4929
4931
|
}
|
|
4930
4932
|
});
|
|
4931
4933
|
|
|
4932
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
4934
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/compose/compose-doc.js
|
|
4933
4935
|
var require_compose_doc = __commonJS({
|
|
4934
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
4936
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/compose/compose-doc.js"(exports) {
|
|
4935
4937
|
"use strict";
|
|
4936
4938
|
var Document = require_Document();
|
|
4937
4939
|
var composeNode = require_compose_node();
|
|
@@ -4971,9 +4973,9 @@ var require_compose_doc = __commonJS({
|
|
|
4971
4973
|
}
|
|
4972
4974
|
});
|
|
4973
4975
|
|
|
4974
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
4976
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/compose/composer.js
|
|
4975
4977
|
var require_composer = __commonJS({
|
|
4976
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
4978
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/compose/composer.js"(exports) {
|
|
4977
4979
|
"use strict";
|
|
4978
4980
|
var directives = require_directives();
|
|
4979
4981
|
var Document = require_Document();
|
|
@@ -5176,9 +5178,9 @@ ${end.comment}` : end.comment;
|
|
|
5176
5178
|
}
|
|
5177
5179
|
});
|
|
5178
5180
|
|
|
5179
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
5181
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/parse/cst-scalar.js
|
|
5180
5182
|
var require_cst_scalar = __commonJS({
|
|
5181
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
5183
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/parse/cst-scalar.js"(exports) {
|
|
5182
5184
|
"use strict";
|
|
5183
5185
|
var resolveBlockScalar = require_resolve_block_scalar();
|
|
5184
5186
|
var resolveFlowScalar = require_resolve_flow_scalar();
|
|
@@ -5361,9 +5363,9 @@ var require_cst_scalar = __commonJS({
|
|
|
5361
5363
|
}
|
|
5362
5364
|
});
|
|
5363
5365
|
|
|
5364
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
5366
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/parse/cst-stringify.js
|
|
5365
5367
|
var require_cst_stringify = __commonJS({
|
|
5366
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
5368
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/parse/cst-stringify.js"(exports) {
|
|
5367
5369
|
"use strict";
|
|
5368
5370
|
var stringify = (cst) => "type" in cst ? stringifyToken(cst) : stringifyItem(cst);
|
|
5369
5371
|
function stringifyToken(token) {
|
|
@@ -5422,9 +5424,9 @@ var require_cst_stringify = __commonJS({
|
|
|
5422
5424
|
}
|
|
5423
5425
|
});
|
|
5424
5426
|
|
|
5425
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
5427
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/parse/cst-visit.js
|
|
5426
5428
|
var require_cst_visit = __commonJS({
|
|
5427
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
5429
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/parse/cst-visit.js"(exports) {
|
|
5428
5430
|
"use strict";
|
|
5429
5431
|
var BREAK = Symbol("break visit");
|
|
5430
5432
|
var SKIP = Symbol("skip children");
|
|
@@ -5484,9 +5486,9 @@ var require_cst_visit = __commonJS({
|
|
|
5484
5486
|
}
|
|
5485
5487
|
});
|
|
5486
5488
|
|
|
5487
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
5489
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/parse/cst.js
|
|
5488
5490
|
var require_cst = __commonJS({
|
|
5489
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
5491
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/parse/cst.js"(exports) {
|
|
5490
5492
|
"use strict";
|
|
5491
5493
|
var cstScalar = require_cst_scalar();
|
|
5492
5494
|
var cstStringify = require_cst_stringify();
|
|
@@ -5586,9 +5588,9 @@ var require_cst = __commonJS({
|
|
|
5586
5588
|
}
|
|
5587
5589
|
});
|
|
5588
5590
|
|
|
5589
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
5591
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/parse/lexer.js
|
|
5590
5592
|
var require_lexer = __commonJS({
|
|
5591
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
5593
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/parse/lexer.js"(exports) {
|
|
5592
5594
|
"use strict";
|
|
5593
5595
|
var cst = require_cst();
|
|
5594
5596
|
function isEmpty(ch) {
|
|
@@ -6165,9 +6167,9 @@ var require_lexer = __commonJS({
|
|
|
6165
6167
|
}
|
|
6166
6168
|
});
|
|
6167
6169
|
|
|
6168
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
6170
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/parse/line-counter.js
|
|
6169
6171
|
var require_line_counter = __commonJS({
|
|
6170
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
6172
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/parse/line-counter.js"(exports) {
|
|
6171
6173
|
"use strict";
|
|
6172
6174
|
var LineCounter = class {
|
|
6173
6175
|
constructor() {
|
|
@@ -6196,9 +6198,9 @@ var require_line_counter = __commonJS({
|
|
|
6196
6198
|
}
|
|
6197
6199
|
});
|
|
6198
6200
|
|
|
6199
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
6201
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/parse/parser.js
|
|
6200
6202
|
var require_parser = __commonJS({
|
|
6201
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
6203
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/parse/parser.js"(exports) {
|
|
6202
6204
|
"use strict";
|
|
6203
6205
|
var cst = require_cst();
|
|
6204
6206
|
var lexer = require_lexer();
|
|
@@ -6727,7 +6729,8 @@ var require_parser = __commonJS({
|
|
|
6727
6729
|
const key = it.key;
|
|
6728
6730
|
const sep = it.sep;
|
|
6729
6731
|
sep.push(this.sourceToken);
|
|
6730
|
-
delete it.key
|
|
6732
|
+
delete it.key;
|
|
6733
|
+
delete it.sep;
|
|
6731
6734
|
this.stack.push({
|
|
6732
6735
|
type: "block-map",
|
|
6733
6736
|
offset: this.offset,
|
|
@@ -7051,14 +7054,14 @@ var require_parser = __commonJS({
|
|
|
7051
7054
|
}
|
|
7052
7055
|
});
|
|
7053
7056
|
|
|
7054
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
7057
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/public-api.js
|
|
7055
7058
|
var require_public_api = __commonJS({
|
|
7056
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
7059
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/public-api.js"(exports) {
|
|
7057
7060
|
"use strict";
|
|
7058
7061
|
var composer = require_composer();
|
|
7059
7062
|
var Document = require_Document();
|
|
7060
7063
|
var errors = require_errors();
|
|
7061
|
-
var
|
|
7064
|
+
var log11 = require_log();
|
|
7062
7065
|
var lineCounter = require_line_counter();
|
|
7063
7066
|
var parser = require_parser();
|
|
7064
7067
|
function parseOptions(options) {
|
|
@@ -7109,7 +7112,7 @@ var require_public_api = __commonJS({
|
|
|
7109
7112
|
const doc = parseDocument(src, options);
|
|
7110
7113
|
if (!doc)
|
|
7111
7114
|
return null;
|
|
7112
|
-
doc.warnings.forEach((warning) =>
|
|
7115
|
+
doc.warnings.forEach((warning) => log11.warn(doc.options.logLevel, warning));
|
|
7113
7116
|
if (doc.errors.length > 0) {
|
|
7114
7117
|
if (doc.options.logLevel !== "silent")
|
|
7115
7118
|
throw doc.errors[0];
|
|
@@ -7145,9 +7148,9 @@ var require_public_api = __commonJS({
|
|
|
7145
7148
|
}
|
|
7146
7149
|
});
|
|
7147
7150
|
|
|
7148
|
-
// ../../node_modules/.pnpm/yaml@2.5.
|
|
7151
|
+
// ../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/index.js
|
|
7149
7152
|
var require_dist = __commonJS({
|
|
7150
|
-
"../../node_modules/.pnpm/yaml@2.5.
|
|
7153
|
+
"../../node_modules/.pnpm/yaml@2.5.1/node_modules/yaml/dist/index.js"(exports) {
|
|
7151
7154
|
"use strict";
|
|
7152
7155
|
var composer = require_composer();
|
|
7153
7156
|
var Document = require_Document();
|
|
@@ -10757,7 +10760,7 @@ import { hashElement } from "folder-hash";
|
|
|
10757
10760
|
import { exec } from "promisify-child-process";
|
|
10758
10761
|
var buildDockerImage = async (opts) => {
|
|
10759
10762
|
const platform = opts.architecture === "arm64" ? "linux/arm64" : "linux/amd64";
|
|
10760
|
-
await exec(`docker image rm ${opts.name}:latest`);
|
|
10763
|
+
await exec(`docker image -f rm ${opts.name}:latest 2> /dev/null || true`);
|
|
10761
10764
|
const buildResponse = await exec(`docker buildx build --platform ${platform} -t ${opts.name}:latest .`, {
|
|
10762
10765
|
cwd: opts.cwd
|
|
10763
10766
|
});
|
|
@@ -13652,9 +13655,8 @@ var buildAssets = async (builders, showResult = false) => {
|
|
|
13652
13655
|
var build2 = (program2) => {
|
|
13653
13656
|
program2.command("build").argument("[stack...]", "Optionally filter stacks to build").description("Build your app assets").action(async (filters) => {
|
|
13654
13657
|
await layout("build", async ({ appConfig, stackConfigs }) => {
|
|
13655
|
-
const region = appConfig.region;
|
|
13656
13658
|
const credentials = getCredentials(appConfig.profile);
|
|
13657
|
-
const accountId = await getAccountId(credentials, region);
|
|
13659
|
+
const accountId = await getAccountId(credentials, appConfig.region);
|
|
13658
13660
|
const { builders } = createApp({ appConfig, stackConfigs, accountId }, filters);
|
|
13659
13661
|
await buildAssets(builders, true);
|
|
13660
13662
|
return "Build was successful.";
|
|
@@ -13968,8 +13970,8 @@ var CustomReporter = class {
|
|
|
13968
13970
|
this.cache = cache;
|
|
13969
13971
|
}
|
|
13970
13972
|
}
|
|
13971
|
-
onUserConsoleLog(
|
|
13972
|
-
this.logs.push(
|
|
13973
|
+
onUserConsoleLog(log11) {
|
|
13974
|
+
this.logs.push(log11.content.trimEnd());
|
|
13973
13975
|
}
|
|
13974
13976
|
runningTask(tasks) {
|
|
13975
13977
|
return tasks.find((t) => t.result?.state === "run");
|
|
@@ -14066,7 +14068,7 @@ var logTestLogs = (event) => {
|
|
|
14066
14068
|
log8.message(color.info.bold.inverse(" LOGS "), {
|
|
14067
14069
|
symbol: color.dim(icon.dot)
|
|
14068
14070
|
});
|
|
14069
|
-
log8.message(event.logs.map((
|
|
14071
|
+
log8.message(event.logs.map((log11) => wrap(log11, { hard: true })).join("\n"));
|
|
14070
14072
|
}
|
|
14071
14073
|
};
|
|
14072
14074
|
var logTestErrors = (event) => {
|
|
@@ -14320,10 +14322,10 @@ var auth = (program2) => {
|
|
|
14320
14322
|
|
|
14321
14323
|
// src/cli/command/bind.ts
|
|
14322
14324
|
import { unwrap as unwrap3 } from "@awsless/formation";
|
|
14323
|
-
import { note as note3 } from "@clack/prompts";
|
|
14325
|
+
import { log as log9, note as note3 } from "@clack/prompts";
|
|
14324
14326
|
import { spawn } from "child_process";
|
|
14325
14327
|
var bind = (program2) => {
|
|
14326
|
-
program2.command("bind").argument("
|
|
14328
|
+
program2.command("bind").argument("[command...]", "The command to execute").option("--configs <string...>", "List of config values that will be accessable", []).description(`Bind your site environment variables to a command`).action(async (commands7 = [], opts) => {
|
|
14327
14329
|
await layout("bind", async ({ appConfig, stackConfigs }) => {
|
|
14328
14330
|
const region = appConfig.region;
|
|
14329
14331
|
const credentials = getCredentials(appConfig.profile);
|
|
@@ -14339,9 +14341,13 @@ var bind = (program2) => {
|
|
|
14339
14341
|
for (const { name, value } of binds) {
|
|
14340
14342
|
env[name] = unwrap3(value);
|
|
14341
14343
|
}
|
|
14342
|
-
|
|
14344
|
+
if (Object.keys(env).length > 0) {
|
|
14345
|
+
note3(wrap(list(env)), "Bind Env");
|
|
14346
|
+
} else {
|
|
14347
|
+
log9.warning("No bindings available.");
|
|
14348
|
+
}
|
|
14343
14349
|
if (commands7.length === 0) {
|
|
14344
|
-
return;
|
|
14350
|
+
return "No command to execute.";
|
|
14345
14351
|
}
|
|
14346
14352
|
const command = commands7.join(" ");
|
|
14347
14353
|
const freshCred = await credentials();
|
|
@@ -14366,12 +14372,40 @@ var bind = (program2) => {
|
|
|
14366
14372
|
stdio: "inherit",
|
|
14367
14373
|
shell: true
|
|
14368
14374
|
});
|
|
14375
|
+
return;
|
|
14369
14376
|
});
|
|
14370
14377
|
});
|
|
14371
14378
|
};
|
|
14372
14379
|
|
|
14380
|
+
// src/config/load/watch.ts
|
|
14381
|
+
import { watch } from "chokidar";
|
|
14382
|
+
var watchConfig = async (options, resolve2, reject) => {
|
|
14383
|
+
await loadAppConfig(options);
|
|
14384
|
+
debug("Start watching...");
|
|
14385
|
+
const ext = "{json,jsonc,json5}";
|
|
14386
|
+
const watcher = watch([`app.${ext}`, `**/stack.${ext}`, `**/*.stack.${ext}`], {
|
|
14387
|
+
cwd: directories.root,
|
|
14388
|
+
ignored: ["**/node_modules/**", "**/dist/**"],
|
|
14389
|
+
awaitWriteFinish: true
|
|
14390
|
+
// interval: 1000,
|
|
14391
|
+
});
|
|
14392
|
+
watcher.on("change", async () => {
|
|
14393
|
+
try {
|
|
14394
|
+
const appConfig = await loadAppConfig(options);
|
|
14395
|
+
const stackConfigs = await loadStackConfigs(options);
|
|
14396
|
+
resolve2({
|
|
14397
|
+
appConfig,
|
|
14398
|
+
stackConfigs
|
|
14399
|
+
});
|
|
14400
|
+
} catch (error) {
|
|
14401
|
+
reject(error);
|
|
14402
|
+
}
|
|
14403
|
+
});
|
|
14404
|
+
return watcher;
|
|
14405
|
+
};
|
|
14406
|
+
|
|
14373
14407
|
// src/cli/ui/complex/build-types.ts
|
|
14374
|
-
import { log as
|
|
14408
|
+
import { log as log10 } from "@clack/prompts";
|
|
14375
14409
|
|
|
14376
14410
|
// src/type-gen/generate.ts
|
|
14377
14411
|
import { mkdir as mkdir5, writeFile as writeFile4 } from "fs/promises";
|
|
@@ -14405,34 +14439,7 @@ var generateTypes = async (props) => {
|
|
|
14405
14439
|
// src/cli/ui/complex/build-types.ts
|
|
14406
14440
|
var buildTypes = async (props) => {
|
|
14407
14441
|
await generateTypes(props);
|
|
14408
|
-
|
|
14409
|
-
};
|
|
14410
|
-
|
|
14411
|
-
// src/config/load/watch.ts
|
|
14412
|
-
import { watch } from "chokidar";
|
|
14413
|
-
var watchConfig = async (options, resolve2, reject) => {
|
|
14414
|
-
await loadAppConfig(options);
|
|
14415
|
-
debug("Start watching...");
|
|
14416
|
-
const ext = "{json,jsonc,json5}";
|
|
14417
|
-
const watcher = watch([`app.${ext}`, `**/stack.${ext}`, `**/*.stack.${ext}`], {
|
|
14418
|
-
cwd: directories.root,
|
|
14419
|
-
ignored: ["**/node_modules/**", "**/dist/**"],
|
|
14420
|
-
awaitWriteFinish: true
|
|
14421
|
-
// interval: 1000,
|
|
14422
|
-
});
|
|
14423
|
-
watcher.on("change", async () => {
|
|
14424
|
-
try {
|
|
14425
|
-
const appConfig = await loadAppConfig(options);
|
|
14426
|
-
const stackConfigs = await loadStackConfigs(options);
|
|
14427
|
-
resolve2({
|
|
14428
|
-
appConfig,
|
|
14429
|
-
stackConfigs
|
|
14430
|
-
});
|
|
14431
|
-
} catch (error) {
|
|
14432
|
-
reject(error);
|
|
14433
|
-
}
|
|
14434
|
-
});
|
|
14435
|
-
return watcher;
|
|
14442
|
+
log10.step("Done generating type definition files.");
|
|
14436
14443
|
};
|
|
14437
14444
|
|
|
14438
14445
|
// src/cli/command/dev.ts
|
package/dist/server.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@awsless/awsless",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.356",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -28,15 +28,15 @@
|
|
|
28
28
|
}
|
|
29
29
|
},
|
|
30
30
|
"peerDependencies": {
|
|
31
|
-
"@awsless/iot": "^0.0.2",
|
|
32
|
-
"@awsless/lambda": "^0.0.26",
|
|
33
31
|
"@awsless/open-search": "^0.0.15",
|
|
34
|
-
"@awsless/sns": "^0.0.7",
|
|
35
32
|
"@awsless/s3": "^0.0.18",
|
|
33
|
+
"@awsless/sns": "^0.0.7",
|
|
36
34
|
"@awsless/sqs": "^0.0.7",
|
|
37
|
-
"@awsless/redis": "^0.0.12",
|
|
38
35
|
"@awsless/ssm": "^0.0.7",
|
|
39
36
|
"@awsless/weak-cache": "^0.0.1",
|
|
37
|
+
"@awsless/lambda": "^0.0.26",
|
|
38
|
+
"@awsless/redis": "^0.0.12",
|
|
39
|
+
"@awsless/iot": "^0.0.2",
|
|
40
40
|
"@awsless/validate": "^0.0.15"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
@@ -108,12 +108,12 @@
|
|
|
108
108
|
"zod": "^3.21.4",
|
|
109
109
|
"zod-to-json-schema": "^3.22.3",
|
|
110
110
|
"@awsless/code": "^0.0.10",
|
|
111
|
-
"@awsless/formation": "^0.0.53",
|
|
112
111
|
"@awsless/duration": "^0.0.1",
|
|
112
|
+
"@awsless/formation": "^0.0.55",
|
|
113
113
|
"@awsless/graphql": "^0.0.9",
|
|
114
|
-
"@awsless/
|
|
114
|
+
"@awsless/size": "^0.0.1",
|
|
115
115
|
"@awsless/ts-file-cache": "^0.0.9",
|
|
116
|
-
"@awsless/
|
|
116
|
+
"@awsless/validate": "^0.0.15"
|
|
117
117
|
},
|
|
118
118
|
"scripts": {
|
|
119
119
|
"test": "pnpm code test",
|