@beff/cli 0.0.130 → 0.0.132

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @beff/cli
2
2
 
3
+ ## 0.0.132
4
+
5
+ ### Patch Changes
6
+
7
+ - add custom error message to custom formats
8
+
9
+ ## 0.0.131
10
+
11
+ ### Patch Changes
12
+
13
+ - improve json schema printing of object fields
14
+
3
15
  ## 0.0.130
4
16
 
5
17
  ### Patch Changes
package/dist-cli/cli.js CHANGED
@@ -48530,8 +48530,22 @@ var Bundler = class {
48530
48530
  };
48531
48531
  function serializeSettings(settings) {
48532
48532
  return {
48533
- string_formats: settings.stringFormats.map((it) => it.name) ?? [],
48534
- number_formats: settings.numberFormats.map((it) => it.name) ?? []
48533
+ string_formats: Object.fromEntries(
48534
+ (settings.stringFormats ?? []).map((it) => [
48535
+ it.name,
48536
+ {
48537
+ error_message: it.errorMessage
48538
+ }
48539
+ ])
48540
+ ) ?? {},
48541
+ number_formats: Object.fromEntries(
48542
+ (settings.numberFormats ?? []).map((it) => [
48543
+ it.name,
48544
+ {
48545
+ error_message: it.errorMessage
48546
+ }
48547
+ ])
48548
+ ) ?? {}
48535
48549
  };
48536
48550
  }
48537
48551
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@beff/cli",
3
- "version": "0.0.130",
3
+ "version": "0.0.132",
4
4
  "description": "",
5
5
  "bin": {
6
6
  "beff": "./bin/index.js"
Binary file