@twin.org/merge-locales 0.0.4-next.9 → 0.9.0

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
@@ -20,7 +20,7 @@ export class CLI extends CLIBase {
20
20
  return this.execute({
21
21
  title: "TWIN Merge Locales",
22
22
  appName: "merge-locales",
23
- version: "0.0.4-next.9", // x-release-please-version
23
+ version: "0.9.0", // x-release-please-version
24
24
  icon: "⚙️ ",
25
25
  supportsEnvFiles: false,
26
26
  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,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAEtE;;GAEG;AACH,MAAM,OAAO,GAAI,SAAQ,OAAO;IAC/B;;;;;;;OAOG;IACI,KAAK,CAAC,GAAG,CACf,IAAc,EACd,gBAAyB,EACzB,OAA0C;QAE1C,OAAO,IAAI,CAAC,OAAO,CAClB;YACC,KAAK,EAAE,oBAAoB;YAC3B,OAAO,EAAE,eAAe;YACxB,OAAO,EAAE,cAAc,EAAE,2BAA2B;YACpD,IAAI,EAAE,KAAK;YACX,gBAAgB,EAAE,KAAK;YACvB,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,wBAAwB,CAAC,OAAO,CAAC,CAAC;IACnC,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 { buildCommandMergeLocales } from \"./commands/mergeLocales.js\";\n\n/**\n * The main entry point for the 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?: { overrideOutputWidth?: number }\n\t): Promise<number> {\n\t\treturn this.execute(\n\t\t\t{\n\t\t\t\ttitle: \"TWIN Merge Locales\",\n\t\t\t\tappName: \"merge-locales\",\n\t\t\t\tversion: \"0.0.4-next.9\", // x-release-please-version\n\t\t\t\ticon: \"⚙️ \",\n\t\t\t\tsupportsEnvFiles: false,\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\tbuildCommandMergeLocales(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,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAEtE;;GAEG;AACH,MAAM,OAAO,GAAI,SAAQ,OAAO;IAC/B;;;;;;;OAOG;IACI,KAAK,CAAC,GAAG,CACf,IAAc,EACd,gBAAyB,EACzB,OAA0C;QAE1C,OAAO,IAAI,CAAC,OAAO,CAClB;YACC,KAAK,EAAE,oBAAoB;YAC3B,OAAO,EAAE,eAAe;YACxB,OAAO,EAAE,OAAO,EAAE,2BAA2B;YAC7C,IAAI,EAAE,KAAK;YACX,gBAAgB,EAAE,KAAK;YACvB,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,wBAAwB,CAAC,OAAO,CAAC,CAAC;IACnC,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 { buildCommandMergeLocales } from \"./commands/mergeLocales.js\";\n\n/**\n * The main entry point for the 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?: { overrideOutputWidth?: number }\n\t): Promise<number> {\n\t\treturn this.execute(\n\t\t\t{\n\t\t\t\ttitle: \"TWIN Merge Locales\",\n\t\t\t\tappName: \"merge-locales\",\n\t\t\t\tversion: \"0.9.0\", // x-release-please-version\n\t\t\t\ticon: \"⚙️ \",\n\t\t\t\tsupportsEnvFiles: false,\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\tbuildCommandMergeLocales(program);\n\t}\n}\n"]}
@@ -87,7 +87,8 @@
87
87
  "url": "Property \"{property}\" must be a URL formatted string, it is \"{value}\"",
88
88
  "email": "Property \"{property}\" must be string in e-mail format, it is \"{value}\"",
89
89
  "uuidV7": "Property \"{property}\" must be a UUIDv7 formatted string, it is \"{value}\"",
90
- "uuidV7Compact": "Property \"{property}\" must be a UUIDv7 formatted string in compact mode, it is \"{value}\""
90
+ "uuidV7Compact": "Property \"{property}\" must be a UUIDv7 formatted string in compact mode, it is \"{value}\"",
91
+ "duration": "Property \"{property}\" must be an ISO 8601 duration string, it is \"{value}\""
91
92
  },
92
93
  "objectHelper": {
93
94
  "failedBytesToJSON": "Failed converting bytes to JSON",
@@ -122,7 +123,8 @@
122
123
  "lockNotFound": "The key \"{key}\" has no active lock",
123
124
  "lockAlreadyReleased": "The key \"{key}\" is not currently locked",
124
125
  "lockTimeout": "Failed to acquire lock for key \"{key}\" within the timeout of {timeout} milliseconds",
125
- "bufferFetchFailed": "Failed to retrieve shared buffer for key \"{key}\" from the main thread"
126
+ "bufferFetchFailed": "Failed to retrieve shared buffer for key \"{key}\" from the main thread",
127
+ "invalidTimeout": "The timeout value \"{timeoutMs}\" is invalid, it must be a non-negative integer"
126
128
  },
127
129
  "sharedObjectBuffer": {
128
130
  "notCreated": "The shared buffer for object \"{objectId}\" has not been created",
package/docs/changelog.md CHANGED
@@ -1,5 +1,184 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.9.0](https://github.com/iotaledger/twin-framework/compare/merge-locales-v0.9.0...merge-locales-v0.9.0) (2026-06-22)
4
+
5
+
6
+ ### Features
7
+
8
+ * release to production ([b24cba1](https://github.com/iotaledger/twin-framework/commit/b24cba1b6a969278d638e632590602ec881e49fb))
9
+ * release to production ([787287d](https://github.com/iotaledger/twin-framework/commit/787287d06ea8319657401589d61fff369310c422))
10
+ * release to production ([53f4843](https://github.com/iotaledger/twin-framework/commit/53f484326b2851d7a506d2620db24c4a65cee7b3))
11
+ * release to production ([56cda4d](https://github.com/iotaledger/twin-framework/commit/56cda4da93e978c5be19ec7cfd421ae2a7fe4147))
12
+ * release to production ([f7c6586](https://github.com/iotaledger/twin-framework/commit/f7c6586f6976b903b647b4c5ac5ad9421e0c9051))
13
+ * release to production ([829d53d](https://github.com/iotaledger/twin-framework/commit/829d53d3953b1e1b40b0243c04cfdfd3842aac7b))
14
+ * release to production ([5cf3a76](https://github.com/iotaledger/twin-framework/commit/5cf3a76a09eff2e6414d0cba846c7c37400a11d6))
15
+ * release to production ([#330](https://github.com/iotaledger/twin-framework/issues/330)) ([d73f565](https://github.com/iotaledger/twin-framework/commit/d73f565588d156d23ef49b2a5718973756f7a696))
16
+ * release to production ([#382](https://github.com/iotaledger/twin-framework/issues/382)) ([bbed01a](https://github.com/iotaledger/twin-framework/commit/bbed01a605ee9724bda77a0f7feab249118c2d90))
17
+
18
+
19
+ ### Miscellaneous Chores
20
+
21
+ * release to production ([63cae24](https://github.com/iotaledger/twin-framework/commit/63cae2401f6c11f93b2a01260b665064e8bd28e0))
22
+
23
+ ## [0.9.0-next.1](https://github.com/iotaledger/twin-framework/compare/merge-locales-v0.9.0-next.0...merge-locales-v0.9.0-next.1) (2026-06-22)
24
+
25
+
26
+ ### Features
27
+
28
+ * add context id features ([#206](https://github.com/iotaledger/twin-framework/issues/206)) ([ef0d4ee](https://github.com/iotaledger/twin-framework/commit/ef0d4ee11a4f5fc6cc6f52a4958ce905c04ee13b))
29
+ * eslint migration to flat config ([74427d7](https://github.com/iotaledger/twin-framework/commit/74427d78d342167f7850e49ab87269326355befe))
30
+ * locales validation ([#197](https://github.com/iotaledger/twin-framework/issues/197)) ([55fdadb](https://github.com/iotaledger/twin-framework/commit/55fdadb13595ce0047f787bd1d4135d429a99f12))
31
+ * relocate core packages from tools ([bcab8f3](https://github.com/iotaledger/twin-framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
32
+ * typescript 6 update ([1d10f31](https://github.com/iotaledger/twin-framework/commit/1d10f31e6516ec622773f45e88af82fe749b384a))
33
+ * update dependencies ([4da77ab](https://github.com/iotaledger/twin-framework/commit/4da77ab30f499e52825ac5a76f51436ceb59c26e))
34
+ * update dependencies ([f3bd015](https://github.com/iotaledger/twin-framework/commit/f3bd015efd169196b7e0335f5cab876ba6ca1d75))
35
+ * use cause instead of inner for errors ([1f4acc4](https://github.com/iotaledger/twin-framework/commit/1f4acc4d7a6b71a134d9547da9bf40de1e1e49da))
36
+
37
+
38
+ ### Bug Fixes
39
+
40
+ * ensure __decorate is defined for decorators ([103a563](https://github.com/iotaledger/twin-framework/commit/103a563ce01ebdef6240d2e590e7b026e8692684))
41
+ * repo urls in package.json for moved packages ([31ae463](https://github.com/iotaledger/twin-framework/commit/31ae463095dfa8c0e48bb5bb12316f1e8abb9a4c))
42
+
43
+
44
+ ### Dependencies
45
+
46
+ * The following workspace dependencies were updated
47
+ * dependencies
48
+ * @twin.org/cli-core bumped from 0.9.0-next.0 to 0.9.0-next.1
49
+ * @twin.org/core bumped from 0.9.0-next.0 to 0.9.0-next.1
50
+ * @twin.org/nameof bumped from 0.9.0-next.0 to 0.9.0-next.1
51
+ * devDependencies
52
+ * @twin.org/nameof-transformer bumped from 0.9.0-next.0 to 0.9.0-next.1
53
+ * @twin.org/nameof-vitest-plugin bumped from 0.9.0-next.0 to 0.9.0-next.1
54
+
55
+ ## [0.0.4-next.15](https://github.com/iotaledger/twin-framework/compare/merge-locales-v0.0.4-next.14...merge-locales-v0.0.4-next.15) (2026-06-19)
56
+
57
+
58
+ ### Miscellaneous Chores
59
+
60
+ * **merge-locales:** Synchronize repo versions
61
+
62
+
63
+ ### Dependencies
64
+
65
+ * The following workspace dependencies were updated
66
+ * dependencies
67
+ * @twin.org/cli-core bumped from 0.0.4-next.14 to 0.0.4-next.15
68
+ * @twin.org/core bumped from 0.0.4-next.14 to 0.0.4-next.15
69
+ * @twin.org/nameof bumped from 0.0.4-next.14 to 0.0.4-next.15
70
+ * devDependencies
71
+ * @twin.org/nameof-transformer bumped from 0.0.4-next.14 to 0.0.4-next.15
72
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.4-next.14 to 0.0.4-next.15
73
+
74
+ ## [0.0.4-next.14](https://github.com/iotaledger/twin-framework/compare/merge-locales-v0.0.4-next.13...merge-locales-v0.0.4-next.14) (2026-06-18)
75
+
76
+
77
+ ### Miscellaneous Chores
78
+
79
+ * **merge-locales:** Synchronize repo versions
80
+
81
+
82
+ ### Dependencies
83
+
84
+ * The following workspace dependencies were updated
85
+ * dependencies
86
+ * @twin.org/cli-core bumped from 0.0.4-next.13 to 0.0.4-next.14
87
+ * @twin.org/core bumped from 0.0.4-next.13 to 0.0.4-next.14
88
+ * @twin.org/nameof bumped from 0.0.4-next.13 to 0.0.4-next.14
89
+ * devDependencies
90
+ * @twin.org/nameof-transformer bumped from 0.0.4-next.13 to 0.0.4-next.14
91
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.4-next.13 to 0.0.4-next.14
92
+
93
+ ## [0.0.4-next.13](https://github.com/iotaledger/twin-framework/compare/merge-locales-v0.0.4-next.12...merge-locales-v0.0.4-next.13) (2026-06-18)
94
+
95
+
96
+ ### Miscellaneous Chores
97
+
98
+ * **merge-locales:** Synchronize repo versions
99
+
100
+
101
+ ### Dependencies
102
+
103
+ * The following workspace dependencies were updated
104
+ * dependencies
105
+ * @twin.org/cli-core bumped from 0.0.4-next.12 to 0.0.4-next.13
106
+ * @twin.org/core bumped from 0.0.4-next.12 to 0.0.4-next.13
107
+ * @twin.org/nameof bumped from 0.0.4-next.12 to 0.0.4-next.13
108
+ * devDependencies
109
+ * @twin.org/nameof-transformer bumped from 0.0.4-next.12 to 0.0.4-next.13
110
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.4-next.12 to 0.0.4-next.13
111
+
112
+ ## [0.0.4-next.12](https://github.com/iotaledger/twin-framework/compare/merge-locales-v0.0.4-next.11...merge-locales-v0.0.4-next.12) (2026-06-18)
113
+
114
+
115
+ ### Miscellaneous Chores
116
+
117
+ * **merge-locales:** Synchronize repo versions
118
+
119
+
120
+ ### Dependencies
121
+
122
+ * The following workspace dependencies were updated
123
+ * dependencies
124
+ * @twin.org/cli-core bumped from 0.0.4-next.11 to 0.0.4-next.12
125
+ * @twin.org/core bumped from 0.0.4-next.11 to 0.0.4-next.12
126
+ * @twin.org/nameof bumped from 0.0.4-next.11 to 0.0.4-next.12
127
+ * devDependencies
128
+ * @twin.org/nameof-transformer bumped from 0.0.4-next.11 to 0.0.4-next.12
129
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.4-next.11 to 0.0.4-next.12
130
+
131
+ ## [0.0.4-next.11](https://github.com/iotaledger/twin-framework/compare/merge-locales-v0.0.4-next.10...merge-locales-v0.0.4-next.11) (2026-06-15)
132
+
133
+
134
+ ### Miscellaneous Chores
135
+
136
+ * **merge-locales:** Synchronize repo versions
137
+
138
+
139
+ ### Dependencies
140
+
141
+ * The following workspace dependencies were updated
142
+ * dependencies
143
+ * @twin.org/cli-core bumped from 0.0.4-next.10 to 0.0.4-next.11
144
+ * @twin.org/core bumped from 0.0.4-next.10 to 0.0.4-next.11
145
+ * @twin.org/nameof bumped from 0.0.4-next.10 to 0.0.4-next.11
146
+ * devDependencies
147
+ * @twin.org/nameof-transformer bumped from 0.0.4-next.10 to 0.0.4-next.11
148
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.4-next.10 to 0.0.4-next.11
149
+
150
+ ## [0.0.4-next.10](https://github.com/iotaledger/twin-framework/compare/merge-locales-v0.0.4-next.9...merge-locales-v0.0.4-next.10) (2026-06-15)
151
+
152
+
153
+ ### Features
154
+
155
+ * add context id features ([#206](https://github.com/iotaledger/twin-framework/issues/206)) ([ef0d4ee](https://github.com/iotaledger/twin-framework/commit/ef0d4ee11a4f5fc6cc6f52a4958ce905c04ee13b))
156
+ * eslint migration to flat config ([74427d7](https://github.com/iotaledger/twin-framework/commit/74427d78d342167f7850e49ab87269326355befe))
157
+ * locales validation ([#197](https://github.com/iotaledger/twin-framework/issues/197)) ([55fdadb](https://github.com/iotaledger/twin-framework/commit/55fdadb13595ce0047f787bd1d4135d429a99f12))
158
+ * relocate core packages from tools ([bcab8f3](https://github.com/iotaledger/twin-framework/commit/bcab8f3160442ea4fcaf442947462504f3d6a17d))
159
+ * typescript 6 update ([1d10f31](https://github.com/iotaledger/twin-framework/commit/1d10f31e6516ec622773f45e88af82fe749b384a))
160
+ * update dependencies ([4da77ab](https://github.com/iotaledger/twin-framework/commit/4da77ab30f499e52825ac5a76f51436ceb59c26e))
161
+ * update dependencies ([f3bd015](https://github.com/iotaledger/twin-framework/commit/f3bd015efd169196b7e0335f5cab876ba6ca1d75))
162
+ * use cause instead of inner for errors ([1f4acc4](https://github.com/iotaledger/twin-framework/commit/1f4acc4d7a6b71a134d9547da9bf40de1e1e49da))
163
+
164
+
165
+ ### Bug Fixes
166
+
167
+ * ensure __decorate is defined for decorators ([103a563](https://github.com/iotaledger/twin-framework/commit/103a563ce01ebdef6240d2e590e7b026e8692684))
168
+ * repo urls in package.json for moved packages ([31ae463](https://github.com/iotaledger/twin-framework/commit/31ae463095dfa8c0e48bb5bb12316f1e8abb9a4c))
169
+
170
+
171
+ ### Dependencies
172
+
173
+ * The following workspace dependencies were updated
174
+ * dependencies
175
+ * @twin.org/cli-core bumped from 0.0.4-next.9 to 0.0.4-next.10
176
+ * @twin.org/core bumped from 0.0.4-next.9 to 0.0.4-next.10
177
+ * @twin.org/nameof bumped from 0.0.4-next.9 to 0.0.4-next.10
178
+ * devDependencies
179
+ * @twin.org/nameof-transformer bumped from 0.0.4-next.9 to 0.0.4-next.10
180
+ * @twin.org/nameof-vitest-plugin bumped from 0.0.4-next.9 to 0.0.4-next.10
181
+
3
182
  ## [0.0.4-next.9](https://github.com/iotaledger/twin-framework/compare/merge-locales-v0.0.4-next.8...merge-locales-v0.0.4-next.9) (2026-06-15)
4
183
 
5
184
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/merge-locales",
3
- "version": "0.0.4-next.9",
3
+ "version": "0.9.0",
4
4
  "description": "Merge locale files from all dependencies",
5
5
  "repository": {
6
6
  "type": "git",
@@ -14,10 +14,10 @@
14
14
  "node": ">=20.0.0"
15
15
  },
16
16
  "dependencies": {
17
- "@twin.org/cli-core": "0.0.4-next.9",
18
- "@twin.org/core": "0.0.4-next.9",
19
- "@twin.org/nameof": "0.0.4-next.9",
20
- "commander": "14.0.3",
17
+ "@twin.org/cli-core": "^0.9.0",
18
+ "@twin.org/core": "^0.9.0",
19
+ "@twin.org/nameof": "^0.9.0",
20
+ "commander": "15.0.0",
21
21
  "glob": "13.0.6"
22
22
  },
23
23
  "main": "./dist/es/index.js",