@twin.org/move-to-json 0.0.3-next.1 → 0.0.3-next.4

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/es/cli.js CHANGED
@@ -21,7 +21,7 @@ export class CLI extends CLIBase {
21
21
  return this.execute({
22
22
  title: "TWIN Move to JSON",
23
23
  appName: "move-to-json",
24
- version: "0.0.3-next.1", // x-release-please-version
24
+ version: "0.0.3-next.4", // x-release-please-version
25
25
  icon: "⚙️ ",
26
26
  supportsEnvFiles: true,
27
27
  overrideOutputWidth: options?.overrideOutputWidth
@@ -1 +1 @@
1
- {"version":3,"file":"cli.js","sourceRoot":"","sources":["../../src/cli.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAE7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D;;GAEG;AACH,MAAM,OAAO,GAAI,SAAQ,OAAO;IAC/B;;;;;;;OAOG;IACI,KAAK,CAAC,GAAG,CACf,IAAc,EACd,gBAAyB,EACzB,OAEC;QAED,OAAO,IAAI,CAAC,OAAO,CAClB;YACC,KAAK,EAAE,mBAAmB;YAC1B,OAAO,EAAE,cAAc;YACvB,OAAO,EAAE,cAAc,EAAE,2BAA2B;YACpD,IAAI,EAAE,KAAK;YACX,gBAAgB,EAAE,IAAI;YACtB,mBAAmB,EAAE,OAAO,EAAE,mBAAmB;SACjD,EACD,gBAAgB,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,YAAY,CAAC,EACzF,IAAI,CACJ,CAAC;IACH,CAAC;IAED;;;OAGG;IACO,aAAa,CAAC,OAAgB;QACvC,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3B,kBAAkB,CAAC,OAAO,CAAC,CAAC;IAC7B,CAAC;CACD","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport path from \"node:path\";\nimport { fileURLToPath } from \"node:url\";\nimport { CLIBase } from \"@twin.org/cli-core\";\nimport type { Command } from \"commander\";\nimport { buildCommandBuild } from \"./commands/build.js\";\nimport { buildCommandDeploy } from \"./commands/deploy.js\";\n\n/**\n * The main entry point for the Move to JSON CLI.\n */\nexport class CLI extends CLIBase {\n\t/**\n\t * Run the app.\n\t * @param argv The process arguments.\n\t * @param localesDirectory The directory for the locales, default to relative to the script.\n\t * @param options Additional options.\n\t * @param options.overrideOutputWidth Override the output width.\n\t * @returns The exit code.\n\t */\n\tpublic async run(\n\t\targv: string[],\n\t\tlocalesDirectory?: string,\n\t\toptions?: {\n\t\t\toverrideOutputWidth?: number;\n\t\t}\n\t): Promise<number> {\n\t\treturn this.execute(\n\t\t\t{\n\t\t\t\ttitle: \"TWIN Move to JSON\",\n\t\t\t\tappName: \"move-to-json\",\n\t\t\t\tversion: \"0.0.3-next.1\", // x-release-please-version\n\t\t\t\ticon: \"⚙️ \",\n\t\t\t\tsupportsEnvFiles: true,\n\t\t\t\toverrideOutputWidth: options?.overrideOutputWidth\n\t\t\t},\n\t\t\tlocalesDirectory ?? path.join(path.dirname(fileURLToPath(import.meta.url)), \"../locales\"),\n\t\t\targv\n\t\t);\n\t}\n\n\t/**\n\t * Configure any options or actions at the root program level.\n\t * @param program The root program command.\n\t */\n\tprotected configureRoot(program: Command): void {\n\t\tbuildCommandBuild(program);\n\t\tbuildCommandDeploy(program);\n\t}\n}\n"]}
1
+ {"version":3,"file":"cli.js","sourceRoot":"","sources":["../../src/cli.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAE7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D;;GAEG;AACH,MAAM,OAAO,GAAI,SAAQ,OAAO;IAC/B;;;;;;;OAOG;IACI,KAAK,CAAC,GAAG,CACf,IAAc,EACd,gBAAyB,EACzB,OAEC;QAED,OAAO,IAAI,CAAC,OAAO,CAClB;YACC,KAAK,EAAE,mBAAmB;YAC1B,OAAO,EAAE,cAAc;YACvB,OAAO,EAAE,cAAc,EAAE,2BAA2B;YACpD,IAAI,EAAE,KAAK;YACX,gBAAgB,EAAE,IAAI;YACtB,mBAAmB,EAAE,OAAO,EAAE,mBAAmB;SACjD,EACD,gBAAgB,IAAI,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,YAAY,CAAC,EACzF,IAAI,CACJ,CAAC;IACH,CAAC;IAED;;;OAGG;IACO,aAAa,CAAC,OAAgB;QACvC,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3B,kBAAkB,CAAC,OAAO,CAAC,CAAC;IAC7B,CAAC;CACD","sourcesContent":["// Copyright 2024 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\nimport path from \"node:path\";\nimport { fileURLToPath } from \"node:url\";\nimport { CLIBase } from \"@twin.org/cli-core\";\nimport type { Command } from \"commander\";\nimport { buildCommandBuild } from \"./commands/build.js\";\nimport { buildCommandDeploy } from \"./commands/deploy.js\";\n\n/**\n * The main entry point for the Move to JSON CLI.\n */\nexport class CLI extends CLIBase {\n\t/**\n\t * Run the app.\n\t * @param argv The process arguments.\n\t * @param localesDirectory The directory for the locales, default to relative to the script.\n\t * @param options Additional options.\n\t * @param options.overrideOutputWidth Override the output width.\n\t * @returns The exit code.\n\t */\n\tpublic async run(\n\t\targv: string[],\n\t\tlocalesDirectory?: string,\n\t\toptions?: {\n\t\t\toverrideOutputWidth?: number;\n\t\t}\n\t): Promise<number> {\n\t\treturn this.execute(\n\t\t\t{\n\t\t\t\ttitle: \"TWIN Move to JSON\",\n\t\t\t\tappName: \"move-to-json\",\n\t\t\t\tversion: \"0.0.3-next.4\", // x-release-please-version\n\t\t\t\ticon: \"⚙️ \",\n\t\t\t\tsupportsEnvFiles: true,\n\t\t\t\toverrideOutputWidth: options?.overrideOutputWidth\n\t\t\t},\n\t\t\tlocalesDirectory ?? path.join(path.dirname(fileURLToPath(import.meta.url)), \"../locales\"),\n\t\t\targv\n\t\t);\n\t}\n\n\t/**\n\t * Configure any options or actions at the root program level.\n\t * @param program The root program command.\n\t */\n\tprotected configureRoot(program: Command): void {\n\t\tbuildCommandBuild(program);\n\t\tbuildCommandDeploy(program);\n\t}\n}\n"]}
@@ -123,6 +123,8 @@
123
123
  "urn": "Property \"{property}\" must be a Urn formatted string, it is \"{value}\"",
124
124
  "url": "Property \"{property}\" must be a Url formatted string, it is \"{value}\"",
125
125
  "email": "Property \"{property}\" must be string in e-mail format, it is \"{value}\"",
126
+ "uuidV7": "Property \"{property}\" must be a UUIDv7 formatted string, it is \"{value}\"",
127
+ "uuidV7Compact": "Property \"{property}\" must be a UUIDv7 formatted string in compact mode, it is \"{value}\"",
126
128
  "length32Multiple": "Property \"{property}\" should be a multiple of 32, it is {value}",
127
129
  "lengthEntropy": "Property \"{property}\" should be a multiple of 4, >=16 and <= 32, it is {value}"
128
130
  },
@@ -137,7 +139,8 @@
137
139
  },
138
140
  "factory": {
139
141
  "noUnregister": "There is no {typeName} registered with the name \"{name}\"",
140
- "noGet": "The requested {typeName} \"{name}\" does not exist in the factory"
142
+ "noGet": "The requested {typeName} \"{name}\" does not exist in the factory",
143
+ "noCreate": "The requested {typeName} \"{name}\" cannot be created by the factory, with params \"{params}\""
141
144
  },
142
145
  "bitString": {
143
146
  "outOfRange": "The index should be >= 0 and less than the length of the bit string, the index is \"{index}\" and the number of bit is \"{numberBits}\""
@@ -250,6 +253,10 @@
250
253
  "createFailed": "Failed to create JWS",
251
254
  "verifyFailed": "Failed to verify JWS"
252
255
  },
256
+ "headerHelper": {
257
+ "invalidLinkHeaderURL": "URL for Link header cannot contain \">\" character.",
258
+ "invalidLinkHeaderRel": "Relation type for Link header cannot contain \" character."
259
+ },
253
260
  "iotaWalletConnector": {
254
261
  "transferFailed": "The wallet transfer failed."
255
262
  },
package/docs/changelog.md CHANGED
@@ -1,5 +1,72 @@
1
1
  # @twin.org/move-to-json - Changelog
2
2
 
3
+ ## [0.0.3-next.4](https://github.com/twinfoundation/dlt/compare/move-to-json-v0.0.3-next.3...move-to-json-v0.0.3-next.4) (2026-02-25)
4
+
5
+
6
+ ### Miscellaneous Chores
7
+
8
+ * **move-to-json:** Synchronize repo versions
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @twin.org/dlt-iota bumped from 0.0.3-next.3 to 0.0.3-next.4
16
+
17
+ ## [0.0.3-next.3](https://github.com/twinfoundation/dlt/compare/move-to-json-v0.0.3-next.2...move-to-json-v0.0.3-next.3) (2026-02-25)
18
+
19
+
20
+ ### Features
21
+
22
+ * add context id features ([#51](https://github.com/twinfoundation/dlt/issues/51)) ([fb68498](https://github.com/twinfoundation/dlt/commit/fb6849897957904ec90cf6368153aeff3bef261a))
23
+ * add header for CLI check ([#8](https://github.com/twinfoundation/dlt/issues/8)) ([0b9f271](https://github.com/twinfoundation/dlt/commit/0b9f2711fb3a9eb859e481725bfa1e2139e14053))
24
+ * add validate-locales ([8465099](https://github.com/twinfoundation/dlt/commit/8465099626ab1891d419a35870fae447efc3008d))
25
+ * bytecode change detection ([#43](https://github.com/twinfoundation/dlt/issues/43)) ([528469c](https://github.com/twinfoundation/dlt/commit/528469c1e4f032c6a936a9724a692abe403d92f6))
26
+ * consolidate environment management ([#41](https://github.com/twinfoundation/dlt/issues/41)) ([add1618](https://github.com/twinfoundation/dlt/commit/add161828e5dc42880fb0a5f9d3e61e611cf92bb))
27
+ * eslint migration to flat config ([83b56f0](https://github.com/twinfoundation/dlt/commit/83b56f02b1483f77c5f4cb9d7a1c345c56631333))
28
+ * eslint migration to flat config ([da1d12d](https://github.com/twinfoundation/dlt/commit/da1d12dcf5b24e7ba6204f540c27de191bca098e))
29
+ * methods for alias handling and tests ([#38](https://github.com/twinfoundation/dlt/issues/38)) ([43e0062](https://github.com/twinfoundation/dlt/commit/43e006220b4cf3df1aceb52b62178be0395ede00))
30
+ * move to json build deploy commands ([#30](https://github.com/twinfoundation/dlt/issues/30)) ([91aa00a](https://github.com/twinfoundation/dlt/commit/91aa00a29a8d7e3a99a46cea89e879a12dffc188))
31
+ * remove local error handling as CLI base already handles this ([fc5a083](https://github.com/twinfoundation/dlt/commit/fc5a083303f8c92cc264f782a2d292436da18031))
32
+ * update dependencies ([bfbe8fc](https://github.com/twinfoundation/dlt/commit/bfbe8fcfda80aa59d04f4ade3e4012e5291c8877))
33
+ * update dependencies ([f7b71c2](https://github.com/twinfoundation/dlt/commit/f7b71c24274b71e2d37c26c4a7e5e6d9df1dc9b7))
34
+ * update framework core ([79fc4b9](https://github.com/twinfoundation/dlt/commit/79fc4b961bd755437cad98d733ca9e25476bc03f))
35
+ * upgrade capabilities ([#32](https://github.com/twinfoundation/dlt/issues/32)) ([437219f](https://github.com/twinfoundation/dlt/commit/437219f0f784ec38353c01e1c8ce6bfba3b1b530))
36
+ * use new CLIParam.arrayOnOf ([1f6458a](https://github.com/twinfoundation/dlt/commit/1f6458a44486dfa5ddbf61bd63b85a98ec561728))
37
+ * use shared store mechanism ([#10](https://github.com/twinfoundation/dlt/issues/10)) ([ce36214](https://github.com/twinfoundation/dlt/commit/ce36214577f02cbb9642f831cb2c21335c31cc9a))
38
+
39
+
40
+ ### Bug Fixes
41
+
42
+ * adding dependencies ([#45](https://github.com/twinfoundation/dlt/issues/45)) ([969f598](https://github.com/twinfoundation/dlt/commit/969f59807a0a0585dfe7d078b2cb38f197afb5d6))
43
+ * docs ([cade544](https://github.com/twinfoundation/dlt/commit/cade5443a4b955d592c1622f07499ad8a3d554b6))
44
+ * i18n messages ([4b61495](https://github.com/twinfoundation/dlt/commit/4b614957ea84d8af43345892cae3256dfa457483))
45
+ * missing dependency ([16f363c](https://github.com/twinfoundation/dlt/commit/16f363cde935d3b30cf86e01cb12f0390bfc8648))
46
+ * modifying logging type param ([#36](https://github.com/twinfoundation/dlt/issues/36)) ([b884fcc](https://github.com/twinfoundation/dlt/commit/b884fccef5bea5c6818cf8bfa8af197d3622cac6))
47
+ * update console output ([8cb193e](https://github.com/twinfoundation/dlt/commit/8cb193e2704e1e391d4c3c5899b765ca12471ef3))
48
+
49
+
50
+ ### Dependencies
51
+
52
+ * The following workspace dependencies were updated
53
+ * dependencies
54
+ * @twin.org/dlt-iota bumped from 0.0.3-next.2 to 0.0.3-next.3
55
+
56
+ ## [0.0.3-next.2](https://github.com/twinfoundation/dlt/compare/move-to-json-v0.0.3-next.1...move-to-json-v0.0.3-next.2) (2026-02-25)
57
+
58
+
59
+ ### Bug Fixes
60
+
61
+ * missing dependency ([16f363c](https://github.com/twinfoundation/dlt/commit/16f363cde935d3b30cf86e01cb12f0390bfc8648))
62
+
63
+
64
+ ### Dependencies
65
+
66
+ * The following workspace dependencies were updated
67
+ * dependencies
68
+ * @twin.org/dlt-iota bumped from 0.0.3-next.1 to 0.0.3-next.2
69
+
3
70
  ## [0.0.3-next.1](https://github.com/twinfoundation/dlt/compare/move-to-json-v0.0.3-next.0...move-to-json-v0.0.3-next.1) (2025-11-11)
4
71
 
5
72
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/move-to-json",
3
- "version": "0.0.3-next.1",
3
+ "version": "0.0.3-next.4",
4
4
  "description": "Tool to convert Move source files to JSON",
5
5
  "repository": {
6
6
  "type": "git",
@@ -14,11 +14,11 @@
14
14
  "node": ">=20.0.0"
15
15
  },
16
16
  "dependencies": {
17
- "@iota/iota-sdk": "1.7.1",
17
+ "@iota/iota-sdk": "1.10.1",
18
18
  "@twin.org/cli-core": "next",
19
19
  "@twin.org/core": "next",
20
20
  "@twin.org/crypto": "next",
21
- "@twin.org/dlt-iota": "0.0.3-next.1",
21
+ "@twin.org/dlt-iota": "0.0.3-next.4",
22
22
  "@twin.org/nameof": "next",
23
23
  "@twin.org/wallet-connector-iota": "next",
24
24
  "commander": "14.0.2",