@twin.org/merge-locales 0.0.2-next.19 → 0.0.2-next.21

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.
@@ -173,7 +173,7 @@ class CLI extends cliCore.CLIBase {
173
173
  return this.execute({
174
174
  title: "TWIN Merge Locales",
175
175
  appName: "merge-locales",
176
- version: "0.0.2-next.19", // x-release-please-version
176
+ version: "0.0.2-next.21", // x-release-please-version
177
177
  icon: "⚙️ ",
178
178
  supportsEnvFiles: false,
179
179
  overrideOutputWidth: options?.overrideOutputWidth
@@ -170,7 +170,7 @@ class CLI extends CLIBase {
170
170
  return this.execute({
171
171
  title: "TWIN Merge Locales",
172
172
  appName: "merge-locales",
173
- version: "0.0.2-next.19", // x-release-please-version
173
+ version: "0.0.2-next.21", // x-release-please-version
174
174
  icon: "⚙️ ",
175
175
  supportsEnvFiles: false,
176
176
  overrideOutputWidth: options?.overrideOutputWidth
@@ -6,7 +6,6 @@
6
6
  "optionInvalidHex": "The \"{option}\" does not appear to be hex. \"{value}\"",
7
7
  "optionInvalidBase64": "The \"{option}\" does not appear to be base64. \"{value}\"",
8
8
  "optionInvalidHexBase64": "The \"{option}\" does not appear to be hex or base64. \"{value}\"",
9
- "optionInvalidBech32": "The \"{option}\" does not appear to be bech32. \"{value}\"",
10
9
  "optionMinValue": "The \"{option}\" option must be greater than or equal to {minValue}, it is {value}.",
11
10
  "optionMaxValue": "The \"{option}\" option must be less than or equal to {maxValue}, it is {value}."
12
11
  },
@@ -52,9 +51,7 @@
52
51
  "beUrn": "{fieldName} must be a correctly formatted urn",
53
52
  "beUrl": "{fieldName} must be a correctly formatted url",
54
53
  "beJSON": "{fieldName} must be correctly formatted JSON",
55
- "beEmail": "{fieldName} must be a correctly formatted e-mail address",
56
- "failed": "Validation failed",
57
- "failedObject": "Validation of \"{objectName}\" failed"
54
+ "beEmail": "{fieldName} must be a correctly formatted e-mail address"
58
55
  },
59
56
  "guard": {
60
57
  "undefined": "Property \"{property}\" must be defined, it is \"{value}\"",
@@ -85,11 +82,7 @@
85
82
  "function": "Property \"{property}\" must be a function, it is \"{value}\"",
86
83
  "urn": "Property \"{property}\" must be a Urn formatted string, it is \"{value}\"",
87
84
  "url": "Property \"{property}\" must be a Url formatted string, it is \"{value}\"",
88
- "email": "Property \"{property}\" must be string in e-mail format, it is \"{value}\"",
89
- "length32Multiple": "Property \"{property}\" should be a multiple of 32, it is {value}",
90
- "lengthEntropy": "Property \"{property}\" should be a multiple of 4, >=16 and <= 32, it is {value}",
91
- "length3Multiple": "Property \"{property}\" should be a multiple of 3, it is {value}",
92
- "greaterThan0": "Property \"{property}\" must be greater than zero, it is {value}"
85
+ "email": "Property \"{property}\" must be string in e-mail format, it is \"{value}\""
93
86
  },
94
87
  "objectHelper": {
95
88
  "failedBytesToJSON": "Failed converting bytes to JSON",
@@ -105,7 +98,7 @@
105
98
  "noGet": "The requested {typeName} \"{name}\" does not exist in the factory"
106
99
  },
107
100
  "bitString": {
108
- "outOfRange": "The index should be >= 0 and less than the length of the bit string"
101
+ "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}\""
109
102
  },
110
103
  "base32": {
111
104
  "invalidCharacter": "Data contains a character \"{invalidCharacter}\" which is not in the charset"
@@ -118,68 +111,6 @@
118
111
  },
119
112
  "jsonHelper": {
120
113
  "failedPatch": "Failed to patch the JSON object, patch index \"{index}\" failed"
121
- },
122
- "bip39": {
123
- "missingMnemonicWord": "The mnemonic contains a word not in the wordlist, \"{value}\"",
124
- "checksumMismatch": "The checksum does not match \"{newChecksum}\" != \"{checksumBits}\""
125
- },
126
- "ed25519": {
127
- "privateKeyLength": "The private key length is incorrect, it should be \"{requiredSize}\" but is \"{actualSize}\"",
128
- "publicKeyLength": "The public key length is incorrect, it should be \"{requiredSize}\" but is \"{actualSize}\""
129
- },
130
- "secp256k1": {
131
- "privateKeyLength": "The private key length is incorrect, it should be \"{requiredSize}\" but is \"{actualSize}\"",
132
- "publicKeyLength": "The public key length is incorrect, it should be \"{requiredSize}\" but is \"{actualSize}\""
133
- },
134
- "x25519": {
135
- "invalidPublicKey": "Invalid Ed25519 Public Key"
136
- },
137
- "blake2b": {
138
- "outputLength64": "The output length should be between 1 and 64, it is \"{outputLength}\"",
139
- "keyLength64": "The key length should be between 1 and 64, it is \"{keyLength}\""
140
- },
141
- "sha512": {
142
- "bitSize": "Only 224, 256, 384 or 512 bits are supported, it is \"{bitSize}\""
143
- },
144
- "sha256": {
145
- "bitSize": "Only 224 or 256 bits are supported, it is \"{bitSize}\""
146
- },
147
- "sha3": {
148
- "bitSize": "Only 224, 256, 384 or 512 bits are supported, it is \"{bitSize}\""
149
- },
150
- "hmacSha256": {
151
- "bitSize": "Only 224 or 256 bits are supported, it is \"{bitSize}\""
152
- },
153
- "hmacSha512": {
154
- "bitSize": "Only 224, 256, 384 or 512 bits are supported, it is \"{bitSize}\""
155
- },
156
- "bech32": {
157
- "decodeFailed": "The address contains decoding failed for address \"{bech32}\"",
158
- "invalidChecksum": "The address contains an invalid checksum in address, \"{bech32}\"",
159
- "separatorMisused": "The separator character '1' should only be used between hrp and data, \"{bech32}\"",
160
- "lowerUpper": "The address my use either lowercase or uppercase, \"{bech32}\"",
161
- "dataTooShort": "The address does not contain enough data to decode, \"{bech32}\""
162
- },
163
- "pbkdf2": {
164
- "keyTooLong": "The requested key length \"{keyLength}\" is too long, based on the \"{macLength}\""
165
- },
166
- "chaCha20Poly1305": {
167
- "noAadWithData": "You can not set the aad when there is already data",
168
- "noAuthTag": "Can not finalise when the auth tag is not set",
169
- "authenticationFailed": "The data could not be authenticated",
170
- "authTagDecrypting": "Can not get the auth tag when decrypting",
171
- "authTagEncrypting": "Can not set the auth tag when encrypting",
172
- "noAuthTagSet": "The auth tag has not been set"
173
- },
174
- "bip44": {
175
- "unsupportedKeyType": "The key type \"{keyType}\" is not supported"
176
- },
177
- "slip0010": {
178
- "invalidSeed": "The seed is invalid \"{seed}\""
179
- },
180
- "rsa": {
181
- "noPrivateKey": "Private key is required for this operation",
182
- "invalidKeySize": "Invalid RSA key size"
183
114
  }
184
115
  },
185
116
  "warn": {
@@ -239,7 +170,8 @@
239
170
  "alreadyExistsError": "Already Exists",
240
171
  "notImplementedError": "Not Implemented",
241
172
  "validationError": "Validation",
242
- "unprocessableError": "Unprocessable"
173
+ "unprocessableError": "Unprocessable",
174
+ "unauthorizedError": "Unauthorized"
243
175
  },
244
176
  "validation": {
245
177
  "defaultFieldName": "The field"
package/docs/changelog.md CHANGED
@@ -1,4 +1,42 @@
1
- # @twin.org/ts-to-openapi - Changelog
1
+ # @twin.org/merge-locales - Changelog
2
+
3
+ ## [0.0.2-next.21](https://github.com/twinfoundation/framework/compare/merge-locales-v0.0.2-next.20...merge-locales-v0.0.2-next.21) (2025-10-09)
4
+
5
+
6
+ ### Features
7
+
8
+ * locales validation ([#197](https://github.com/twinfoundation/framework/issues/197)) ([55fdadb](https://github.com/twinfoundation/framework/commit/55fdadb13595ce0047f787bd1d4135d429a99f12))
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @twin.org/cli-core bumped from 0.0.2-next.20 to 0.0.2-next.21
16
+ * @twin.org/core bumped from 0.0.2-next.20 to 0.0.2-next.21
17
+ * @twin.org/nameof bumped from 0.0.2-next.20 to 0.0.2-next.21
18
+ * devDependencies
19
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.20 to 0.0.2-next.21
20
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.20 to 0.0.2-next.21
21
+
22
+ ## [0.0.2-next.20](https://github.com/twinfoundation/framework/compare/merge-locales-v0.0.2-next.19...merge-locales-v0.0.2-next.20) (2025-10-02)
23
+
24
+
25
+ ### Miscellaneous Chores
26
+
27
+ * **merge-locales:** Synchronize repo versions
28
+
29
+
30
+ ### Dependencies
31
+
32
+ * The following workspace dependencies were updated
33
+ * dependencies
34
+ * @twin.org/cli-core bumped from 0.0.2-next.19 to 0.0.2-next.20
35
+ * @twin.org/core bumped from 0.0.2-next.19 to 0.0.2-next.20
36
+ * @twin.org/nameof bumped from 0.0.2-next.19 to 0.0.2-next.20
37
+ * devDependencies
38
+ * @twin.org/nameof-transformer bumped from 0.0.2-next.19 to 0.0.2-next.20
39
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.2-next.19 to 0.0.2-next.20
2
40
 
3
41
  ## [0.0.2-next.19](https://github.com/twinfoundation/framework/compare/merge-locales-v0.0.2-next.18...merge-locales-v0.0.2-next.19) (2025-09-30)
4
42
 
@@ -0,0 +1,5 @@
1
+ # These are included as they are normally merged from other locales, but in the case of the merge-locales tool this is not possible
2
+ ^cli.progress.done$
3
+ ^cli.progress.error$
4
+ ^cli.options.lang.param$
5
+ ^cli.options.lang.description$
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/merge-locales",
3
- "version": "0.0.2-next.19",
3
+ "version": "0.0.2-next.21",
4
4
  "description": "Tool to merge locale files from all dependencies",
5
5
  "repository": {
6
6
  "type": "git",
@@ -14,9 +14,9 @@
14
14
  "node": ">=20.0.0"
15
15
  },
16
16
  "dependencies": {
17
- "@twin.org/cli-core": "0.0.2-next.19",
18
- "@twin.org/core": "0.0.2-next.19",
19
- "@twin.org/nameof": "0.0.2-next.19",
17
+ "@twin.org/cli-core": "0.0.2-next.21",
18
+ "@twin.org/core": "0.0.2-next.21",
19
+ "@twin.org/nameof": "0.0.2-next.21",
20
20
  "commander": "14.0.1",
21
21
  "glob": "11.0.3"
22
22
  },
@@ -47,7 +47,14 @@
47
47
  "test": "tests"
48
48
  },
49
49
  "bugs": {
50
- "url": "git+https://github.com/twinfoundation/tools/issues"
50
+ "url": "git+https://github.com/twinfoundation/framework/issues"
51
51
  },
52
- "homepage": "https://github.com/twinfoundation/tools#readme"
52
+ "homepage": "https://twindev.org",
53
+ "keywords": [
54
+ "twin",
55
+ "trade",
56
+ "iota",
57
+ "framework",
58
+ "blockchain"
59
+ ]
53
60
  }