@awsless/cli 0.1.4 → 0.1.5
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 +16 -3
- package/package.json +12 -12
package/dist/bin.js
CHANGED
|
@@ -155643,7 +155643,8 @@ var createDnsValidatedCertificate = (group4, id, props) => {
|
|
|
155643
155643
|
}, {
|
|
155644
155644
|
...props.dependsOn ? { dependsOn: props.dependsOn } : {},
|
|
155645
155645
|
...props.provider ? { provider: props.provider } : {},
|
|
155646
|
-
replaceOnChanges: ["certificateArn", "validationRecordFqdns"]
|
|
155646
|
+
replaceOnChanges: ["certificateArn", "validationRecordFqdns"],
|
|
155647
|
+
createBeforeReplace: true
|
|
155647
155648
|
});
|
|
155648
155649
|
return validation;
|
|
155649
155650
|
};
|
|
@@ -164562,7 +164563,8 @@ var startTest = async (props) => {
|
|
|
164562
164563
|
location: stack ? { line: stack.line, column: stack.column } : test.location,
|
|
164563
164564
|
message: error3.message,
|
|
164564
164565
|
diff: error3.diff,
|
|
164565
|
-
type: error3.name
|
|
164566
|
+
type: error3.name,
|
|
164567
|
+
stack: error3.stack
|
|
164566
164568
|
});
|
|
164567
164569
|
}
|
|
164568
164570
|
}
|
|
@@ -164571,7 +164573,8 @@ var startTest = async (props) => {
|
|
|
164571
164573
|
errors3.push({
|
|
164572
164574
|
type: error3.name,
|
|
164573
164575
|
message: error3.message,
|
|
164574
|
-
location: stack ? { line: stack.line, column: stack.column } : undefined
|
|
164576
|
+
location: stack ? { line: stack.line, column: stack.column } : undefined,
|
|
164577
|
+
stack: error3.stack
|
|
164575
164578
|
});
|
|
164576
164579
|
}
|
|
164577
164580
|
}
|
|
@@ -164635,6 +164638,10 @@ var formatFileName = (test, error3) => {
|
|
|
164635
164638
|
return name.join("");
|
|
164636
164639
|
};
|
|
164637
164640
|
var logTestError = (index, event, test, error3) => {
|
|
164641
|
+
if (error3.stack) {
|
|
164642
|
+
debug(`Test error in ${test.file} \u203A ${test.name}: ${error3.message}
|
|
164643
|
+
${error3.stack}`);
|
|
164644
|
+
}
|
|
164638
164645
|
const [message4, ...comment] = error3.message.split("//");
|
|
164639
164646
|
const errorMessage = [
|
|
164640
164647
|
color2.error.bold(error3.type + ":"),
|
|
@@ -164696,6 +164703,10 @@ var runTest = async (stack, dir, filters, workspace, opts) => {
|
|
|
164696
164703
|
env: opts.env
|
|
164697
164704
|
});
|
|
164698
164705
|
if (result2.errors.length > 0) {
|
|
164706
|
+
for (const error3 of result2.errors) {
|
|
164707
|
+
debug(`Module error in ${stack} tests: ${error3.message}
|
|
164708
|
+
${error3.stack ?? "(no stack captured)"}`);
|
|
164709
|
+
}
|
|
164699
164710
|
throw result2.errors.map((error3) => new ExpectedError(error3.type && error3.type !== "Error" ? `${error3.type}: ${error3.message}` : error3.message));
|
|
164700
164711
|
}
|
|
164701
164712
|
ctx.updateSuccessMessage(formatResult({
|
|
@@ -167650,6 +167661,8 @@ const ICONS = {
|
|
|
167650
167661
|
route: svg('<circle cx="12" cy="12" r="10"/><line x1="2" y1="12" x2="22" y2="12"/><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/>'),
|
|
167651
167662
|
site: svg('<rect x="2" y="3" width="20" height="14" rx="2"/><line x1="8" y1="21" x2="16" y2="21"/><line x1="12" y1="17" x2="12" y2="21"/>'),
|
|
167652
167663
|
seed: svg('<path d="M12 22V8"/><path d="M12 8C12 5 9 2 5 2c0 4 3 6 7 6z"/><path d="M12 12c0-3 3-6 7-6 0 4-3 6-7 6z"/>'),
|
|
167664
|
+
auth: svg('<rect x="3" y="11" width="18" height="11" rx="2"/><path d="M7 11V7a5 5 0 0 1 10 0v4"/>'),
|
|
167665
|
+
worker: svg('<polyline points="4 17 10 11 4 5"/><line x1="12" y1="19" x2="20" y2="19"/>'),
|
|
167653
167666
|
}
|
|
167654
167667
|
|
|
167655
167668
|
const icon = kind => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@awsless/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -43,13 +43,13 @@
|
|
|
43
43
|
},
|
|
44
44
|
"peerDependencies": {
|
|
45
45
|
"@awsless/big-float": "^0.1.7",
|
|
46
|
+
"@awsless/duration": "^0.0.4",
|
|
46
47
|
"@awsless/dynamodb": "^0.3.23",
|
|
48
|
+
"@awsless/json": "^0.0.11",
|
|
47
49
|
"@awsless/lambda": "^0.0.48",
|
|
48
|
-
"@awsless/duration": "^0.0.4",
|
|
49
50
|
"@awsless/s3": "^0.0.22",
|
|
50
|
-
"@awsless/json": "^0.0.11",
|
|
51
|
-
"@awsless/validate": "^0.2.0",
|
|
52
51
|
"@awsless/weak-cache": "^0.0.1",
|
|
52
|
+
"@awsless/validate": "^0.2.0",
|
|
53
53
|
"awsless": "^0.1.3"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
@@ -111,22 +111,22 @@
|
|
|
111
111
|
"@awsless/big-float": "^0.1.7",
|
|
112
112
|
"@awsless/cloudwatch": "^0.0.1",
|
|
113
113
|
"@awsless/clui": "^0.0.9",
|
|
114
|
+
"@awsless/duration": "^0.0.4",
|
|
114
115
|
"@awsless/dynamodb": "^0.3.23",
|
|
115
|
-
"@awsless/json": "^0.0.11",
|
|
116
116
|
"@awsless/iot": "^0.0.5",
|
|
117
117
|
"@awsless/lambda": "^0.0.48",
|
|
118
118
|
"@awsless/open-search": "^0.0.28",
|
|
119
|
-
"@awsless/
|
|
120
|
-
"@awsless/s3": "^0.0.22",
|
|
119
|
+
"@awsless/redis": "^0.1.13",
|
|
121
120
|
"@awsless/size": "^0.0.2",
|
|
122
121
|
"@awsless/scheduler": "^0.0.5",
|
|
123
|
-
"@awsless/sqs": "^0.0.24",
|
|
124
122
|
"@awsless/sns": "^0.0.11",
|
|
125
|
-
"@awsless/
|
|
123
|
+
"@awsless/sqs": "^0.0.24",
|
|
124
|
+
"@awsless/json": "^0.0.11",
|
|
125
|
+
"@awsless/s3": "^0.0.22",
|
|
126
|
+
"@awsless/validate": "^0.2.0",
|
|
126
127
|
"@awsless/weak-cache": "^0.0.1",
|
|
127
|
-
"@awsless/
|
|
128
|
-
"awsless": "^0.1.3"
|
|
129
|
-
"@awsless/validate": "^0.2.0"
|
|
128
|
+
"@awsless/ssm": "^0.0.8",
|
|
129
|
+
"awsless": "^0.1.3"
|
|
130
130
|
},
|
|
131
131
|
"scripts": {
|
|
132
132
|
"test": "bun cli/build-handlers.ts && pnpm vitest",
|