@awsless/awsless 0.0.102 → 0.0.103
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 +3 -9
- package/dist/features/cognito-client-secret/bundle.zip +0 -0
- package/dist/features/delete-bucket/bundle.zip +0 -0
- package/dist/features/delete-hosted-zone/bundle.zip +0 -0
- package/dist/features/global-exports/bundle.zip +0 -0
- package/dist/features/invalidate-cache/bundle.zip +0 -0
- package/dist/features/upload-bucket-asset/bundle.zip +0 -0
- package/package.json +2 -2
package/dist/bin.js
CHANGED
|
@@ -8299,9 +8299,9 @@ import { basename as basename3, extname, join as join11, relative as relative4 }
|
|
|
8299
8299
|
|
|
8300
8300
|
// src/cli/ui/layout/text-box.ts
|
|
8301
8301
|
import wrapAnsi3 from "wrap-ansi";
|
|
8302
|
-
var
|
|
8302
|
+
var textWrap = (text, width, { indent = 0, ...rest } = {}) => {
|
|
8303
8303
|
const space = " ".repeat(indent);
|
|
8304
|
-
return wrapAnsi3(text, width
|
|
8304
|
+
return wrapAnsi3(text, width - indent, rest).split(br()).map((line2) => `${space}${line2}`).join(br());
|
|
8305
8305
|
};
|
|
8306
8306
|
|
|
8307
8307
|
// src/cli/ui/complex/tester.ts
|
|
@@ -8427,13 +8427,7 @@ var CustomReporter = class {
|
|
|
8427
8427
|
comment.length > 0 ? style.placeholder(`//${comment}`) : "",
|
|
8428
8428
|
br()
|
|
8429
8429
|
].join("");
|
|
8430
|
-
const values = [
|
|
8431
|
-
textBox(errorMessage, this.out.width(), { indent: 2, hard: true })
|
|
8432
|
-
// ' ',
|
|
8433
|
-
// style.error(`${style.error.bold(error.name)}: ${message}`),
|
|
8434
|
-
// comment.length > 0 ? style.placeholder(`//${comment}`) : '',
|
|
8435
|
-
// br(),
|
|
8436
|
-
];
|
|
8430
|
+
const values = [textWrap(errorMessage, this.out.width(), { indent: 2, hard: true })];
|
|
8437
8431
|
if (error.showDiff && error.diff) {
|
|
8438
8432
|
values.push(br(), error.diff, br());
|
|
8439
8433
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@awsless/awsless",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.103",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"@awsless/lambda": "^0.0.13",
|
|
28
28
|
"@awsless/sqs": "^0.0.7",
|
|
29
|
-
"@awsless/sns": "^0.0.7",
|
|
30
29
|
"@awsless/redis": "^0.0.8",
|
|
31
30
|
"@awsless/ssm": "^0.0.7",
|
|
31
|
+
"@awsless/sns": "^0.0.7",
|
|
32
32
|
"@awsless/validate": "^0.0.6"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|