@twin.org/move-to-json 0.9.0 → 0.9.1-next.2
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 +1 -1
- package/dist/es/cli.js.map +1 -1
- package/dist/locales/en.json +7 -1
- package/docs/changelog.md +63 -0
- package/package.json +11 -11
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.9.
|
|
24
|
+
version: "0.9.1-next.2", // x-release-please-version
|
|
25
25
|
icon: "⚙️ ",
|
|
26
26
|
supportsEnvFiles: true,
|
|
27
27
|
overrideOutputWidth: options?.overrideOutputWidth
|
package/dist/es/cli.js.map
CHANGED
|
@@ -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,
|
|
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.9.1-next.2\", // 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"]}
|
package/dist/locales/en.json
CHANGED
|
@@ -124,6 +124,8 @@
|
|
|
124
124
|
"uint8Array": "Property \"{property}\" must be a Uint8Array, it is \"{value}\"",
|
|
125
125
|
"function": "Property \"{property}\" must be a function, it is \"{value}\"",
|
|
126
126
|
"urn": "Property \"{property}\" must be a URN formatted string, it is \"{value}\"",
|
|
127
|
+
"urnNamespaceIdentifier": "Property \"{property}\" must be a URN with namespace identifier \"{options}\", it is \"{value}\"",
|
|
128
|
+
"urnNamespaceSpecific": "Property \"{property}\" must be a URN with namespace specific \"{options}\", it is \"{value}\"",
|
|
127
129
|
"url": "Property \"{property}\" must be a URL formatted string, it is \"{value}\"",
|
|
128
130
|
"email": "Property \"{property}\" must be string in e-mail format, it is \"{value}\"",
|
|
129
131
|
"uuidV7": "Property \"{property}\" must be a UUIDv7 formatted string, it is \"{value}\"",
|
|
@@ -218,6 +220,7 @@
|
|
|
218
220
|
"packageObjectError": "Failed to fetch the package object \"{packageId}\"",
|
|
219
221
|
"valueTransactionFailed": "The value transaction failed",
|
|
220
222
|
"transactionFailed": "The transaction failed",
|
|
223
|
+
"objectReservationConflict": "One or more of the transaction's owned objects are contended by another in-flight transaction; submit transactions that share objects sequentially and retry",
|
|
221
224
|
"addressNotFound": "The address is missing could not be found from the seed \"{address}\"",
|
|
222
225
|
"gasStationTransactionFailed": "The gas station transaction failed",
|
|
223
226
|
"dryRunFailed": "The dry run execution failed",
|
|
@@ -302,7 +305,10 @@
|
|
|
302
305
|
},
|
|
303
306
|
"entityStorageHelper": {
|
|
304
307
|
"sortNotIndexed": "The property \"{property}\" is not indexed and cannot be used for sorting",
|
|
305
|
-
"propertyNotInSchema": "The property \"{property}\" does not exist in the schema and cannot be used for projection"
|
|
308
|
+
"propertyNotInSchema": "The property \"{property}\" does not exist in the schema and cannot be used for projection",
|
|
309
|
+
"unknownPropertyInConditionProperty": "The property \"{property}\" is not a recognised schema property and cannot be used as a condition property",
|
|
310
|
+
"unknownPropertyInConditions": "The property \"{property}\" is not a recognised schema property and cannot be used in conditions",
|
|
311
|
+
"invalidConditionPropertyPath": "The property \"{property}\" has an invalid path: the root must be an object or array type, segments must not exceed 128 characters, and must not contain SQL metacharacters or control characters"
|
|
306
312
|
},
|
|
307
313
|
"migrationHelper": {
|
|
308
314
|
"migrateSchemaFailed": "Migration failed for schema \"{schemaName}\".",
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,68 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.9.1-next.2](https://github.com/iotaledger/twin-dlt/compare/move-to-json-v0.9.1-next.1...move-to-json-v0.9.1-next.2) (2026-07-03)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* update components ([18f16b4](https://github.com/iotaledger/twin-dlt/commit/18f16b434b0909d56530e6c3bdc709921a2599b9))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/dlt-iota bumped from 0.9.1-next.1 to 0.9.1-next.2
|
|
16
|
+
|
|
17
|
+
## [0.9.1-next.1](https://github.com/iotaledger/twin-dlt/compare/move-to-json-v0.9.1-next.0...move-to-json-v0.9.1-next.1) (2026-06-26)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* add context id features ([#51](https://github.com/iotaledger/twin-dlt/issues/51)) ([fb68498](https://github.com/iotaledger/twin-dlt/commit/fb6849897957904ec90cf6368153aeff3bef261a))
|
|
23
|
+
* add header for CLI check ([#8](https://github.com/iotaledger/twin-dlt/issues/8)) ([0b9f271](https://github.com/iotaledger/twin-dlt/commit/0b9f2711fb3a9eb859e481725bfa1e2139e14053))
|
|
24
|
+
* add IotaIdentityUtils to resolve IOTA identity controller cap info ([#57](https://github.com/iotaledger/twin-dlt/issues/57)) ([f15281a](https://github.com/iotaledger/twin-dlt/commit/f15281af3b2812bde5130a1813f9c0143f1462bf))
|
|
25
|
+
* add validate-locales ([8465099](https://github.com/iotaledger/twin-dlt/commit/8465099626ab1891d419a35870fae447efc3008d))
|
|
26
|
+
* add vault signers ([#76](https://github.com/iotaledger/twin-dlt/issues/76)) ([bfdd701](https://github.com/iotaledger/twin-dlt/commit/bfdd701a010ad45d4f0cffb06d829360cf380a40))
|
|
27
|
+
* bytecode change detection ([#43](https://github.com/iotaledger/twin-dlt/issues/43)) ([528469c](https://github.com/iotaledger/twin-dlt/commit/528469c1e4f032c6a936a9724a692abe403d92f6))
|
|
28
|
+
* consolidate environment management ([#41](https://github.com/iotaledger/twin-dlt/issues/41)) ([add1618](https://github.com/iotaledger/twin-dlt/commit/add161828e5dc42880fb0a5f9d3e61e611cf92bb))
|
|
29
|
+
* eslint migration to flat config ([83b56f0](https://github.com/iotaledger/twin-dlt/commit/83b56f02b1483f77c5f4cb9d7a1c345c56631333))
|
|
30
|
+
* eslint migration to flat config ([da1d12d](https://github.com/iotaledger/twin-dlt/commit/da1d12dcf5b24e7ba6204f540c27de191bca098e))
|
|
31
|
+
* methods for alias handling and tests ([#38](https://github.com/iotaledger/twin-dlt/issues/38)) ([43e0062](https://github.com/iotaledger/twin-dlt/commit/43e006220b4cf3df1aceb52b62178be0395ede00))
|
|
32
|
+
* move to json build deploy commands ([#30](https://github.com/iotaledger/twin-dlt/issues/30)) ([91aa00a](https://github.com/iotaledger/twin-dlt/commit/91aa00a29a8d7e3a99a46cea89e879a12dffc188))
|
|
33
|
+
* remove fs-extra dependency ([4f1b849](https://github.com/iotaledger/twin-dlt/commit/4f1b8499fa2f5dc177d854303f4ce06b52c9ffa1))
|
|
34
|
+
* remove local error handling as CLI base already handles this ([fc5a083](https://github.com/iotaledger/twin-dlt/commit/fc5a083303f8c92cc264f782a2d292436da18031))
|
|
35
|
+
* typescript 6 update ([94a1ed6](https://github.com/iotaledger/twin-dlt/commit/94a1ed60e1da9847a29dc9cc85669067725edcf8))
|
|
36
|
+
* update dependencies ([cd1bdef](https://github.com/iotaledger/twin-dlt/commit/cd1bdef487bb3cfe3ea57f584395ad2ae1105245))
|
|
37
|
+
* update dependencies ([bfbe8fc](https://github.com/iotaledger/twin-dlt/commit/bfbe8fcfda80aa59d04f4ade3e4012e5291c8877))
|
|
38
|
+
* update dependencies ([f7b71c2](https://github.com/iotaledger/twin-dlt/commit/f7b71c24274b71e2d37c26c4a7e5e6d9df1dc9b7))
|
|
39
|
+
* update framework core ([79fc4b9](https://github.com/iotaledger/twin-dlt/commit/79fc4b961bd755437cad98d733ca9e25476bc03f))
|
|
40
|
+
* update test config ([28aa782](https://github.com/iotaledger/twin-dlt/commit/28aa782988c875043bae3f2313999f5e8ffb9ba0))
|
|
41
|
+
* upgrade capabilities ([#32](https://github.com/iotaledger/twin-dlt/issues/32)) ([437219f](https://github.com/iotaledger/twin-dlt/commit/437219f0f784ec38353c01e1c8ce6bfba3b1b530))
|
|
42
|
+
* use new CLIParam.arrayOnOf ([1f6458a](https://github.com/iotaledger/twin-dlt/commit/1f6458a44486dfa5ddbf61bd63b85a98ec561728))
|
|
43
|
+
* use shared store mechanism ([#10](https://github.com/iotaledger/twin-dlt/issues/10)) ([ce36214](https://github.com/iotaledger/twin-dlt/commit/ce36214577f02cbb9642f831cb2c21335c31cc9a))
|
|
44
|
+
* validate published-at against on-chain UpgradeCap before upgrade ([#62](https://github.com/iotaledger/twin-dlt/issues/62)) ([23b49e2](https://github.com/iotaledger/twin-dlt/commit/23b49e247b89d2e363f9420b01fa35941f73be12))
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
### Bug Fixes
|
|
48
|
+
|
|
49
|
+
* adding dependencies ([#45](https://github.com/iotaledger/twin-dlt/issues/45)) ([969f598](https://github.com/iotaledger/twin-dlt/commit/969f59807a0a0585dfe7d078b2cb38f197afb5d6))
|
|
50
|
+
* additional debugging ([0d335a5](https://github.com/iotaledger/twin-dlt/commit/0d335a594a34dea047fa0ee4143b2d519183b704))
|
|
51
|
+
* buffer usage required for identity ([#60](https://github.com/iotaledger/twin-dlt/issues/60)) ([0ba7d16](https://github.com/iotaledger/twin-dlt/commit/0ba7d165662b0083aa2b4c1325dd8c2e65defa2e))
|
|
52
|
+
* docs ([cade544](https://github.com/iotaledger/twin-dlt/commit/cade5443a4b955d592c1622f07499ad8a3d554b6))
|
|
53
|
+
* i18n messages ([4b61495](https://github.com/iotaledger/twin-dlt/commit/4b614957ea84d8af43345892cae3256dfa457483))
|
|
54
|
+
* missing dependency ([16f363c](https://github.com/iotaledger/twin-dlt/commit/16f363cde935d3b30cf86e01cb12f0390bfc8648))
|
|
55
|
+
* modifying logging type param ([#36](https://github.com/iotaledger/twin-dlt/issues/36)) ([b884fcc](https://github.com/iotaledger/twin-dlt/commit/b884fccef5bea5c6818cf8bfa8af197d3622cac6))
|
|
56
|
+
* update console output ([8cb193e](https://github.com/iotaledger/twin-dlt/commit/8cb193e2704e1e391d4c3c5899b765ca12471ef3))
|
|
57
|
+
* use async getStore in tests ([0a7d4ac](https://github.com/iotaledger/twin-dlt/commit/0a7d4ac3e524481c2ca49d7fbb3507556b42473e))
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
### Dependencies
|
|
61
|
+
|
|
62
|
+
* The following workspace dependencies were updated
|
|
63
|
+
* dependencies
|
|
64
|
+
* @twin.org/dlt-iota bumped from 0.9.1-next.0 to 0.9.1-next.1
|
|
65
|
+
|
|
3
66
|
## [0.9.0](https://github.com/iotaledger/twin-dlt/compare/move-to-json-v0.9.0...move-to-json-v0.9.0) (2026-06-25)
|
|
4
67
|
|
|
5
68
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/move-to-json",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.1-next.2",
|
|
4
4
|
"description": "CLI for compiling Move contracts and preparing deployment JSON for IOTA networks.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -15,16 +15,16 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@iota/iota-sdk": "1.14.0",
|
|
18
|
-
"@twin.org/cli-core": "
|
|
19
|
-
"@twin.org/core": "
|
|
20
|
-
"@twin.org/crypto": "
|
|
21
|
-
"@twin.org/dlt-iota": "
|
|
22
|
-
"@twin.org/entity-storage-connector-memory": "
|
|
23
|
-
"@twin.org/entity-storage-models": "
|
|
24
|
-
"@twin.org/nameof": "
|
|
25
|
-
"@twin.org/vault-connector-entity-storage": "
|
|
26
|
-
"@twin.org/vault-models": "
|
|
27
|
-
"@twin.org/wallet-connector-iota": "
|
|
18
|
+
"@twin.org/cli-core": "next",
|
|
19
|
+
"@twin.org/core": "next",
|
|
20
|
+
"@twin.org/crypto": "next",
|
|
21
|
+
"@twin.org/dlt-iota": "0.9.1-next.2",
|
|
22
|
+
"@twin.org/entity-storage-connector-memory": "next",
|
|
23
|
+
"@twin.org/entity-storage-models": "next",
|
|
24
|
+
"@twin.org/nameof": "next",
|
|
25
|
+
"@twin.org/vault-connector-entity-storage": "next",
|
|
26
|
+
"@twin.org/vault-models": "next",
|
|
27
|
+
"@twin.org/wallet-connector-iota": "next",
|
|
28
28
|
"commander": "15.0.0",
|
|
29
29
|
"fast-glob": "3.3.3"
|
|
30
30
|
},
|