@awsless/awsless 0.0.101 → 0.0.102

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 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 textBox = (text, width, indent = 0) => {
8302
+ var textBox = (text, width, { indent = 0, ...rest } = {}) => {
8303
8303
  const space = " ".repeat(indent);
8304
- return wrapAnsi3(text, width + indent).split(br()).map((line2) => `${space}${line2}`).join(br());
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
@@ -8428,7 +8428,7 @@ var CustomReporter = class {
8428
8428
  br()
8429
8429
  ].join("");
8430
8430
  const values = [
8431
- textBox(errorMessage, this.out.width(), 2)
8431
+ textBox(errorMessage, this.out.width(), { indent: 2, hard: true })
8432
8432
  // ' ',
8433
8433
  // style.error(`${style.error.bold(error.name)}: ${message}`),
8434
8434
  // comment.length > 0 ? style.placeholder(`//${comment}`) : '',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@awsless/awsless",
3
- "version": "0.0.101",
3
+ "version": "0.0.102",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -24,10 +24,10 @@
24
24
  }
25
25
  },
26
26
  "peerDependencies": {
27
+ "@awsless/lambda": "^0.0.13",
28
+ "@awsless/sqs": "^0.0.7",
27
29
  "@awsless/sns": "^0.0.7",
28
30
  "@awsless/redis": "^0.0.8",
29
- "@awsless/sqs": "^0.0.7",
30
- "@awsless/lambda": "^0.0.13",
31
31
  "@awsless/ssm": "^0.0.7",
32
32
  "@awsless/validate": "^0.0.6"
33
33
  },