@twin.org/merge-locales 0.9.0 → 0.9.1-next.10

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.9.0", // x-release-please-version
23
+ version: "0.9.1-next.10", // 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,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"]}
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,eAAe,EAAE,2BAA2B;YACrD,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.1-next.10\", // 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"]}
@@ -84,6 +84,8 @@
84
84
  "uint8Array": "Property \"{property}\" must be a Uint8Array, it is \"{value}\"",
85
85
  "function": "Property \"{property}\" must be a function, it is \"{value}\"",
86
86
  "urn": "Property \"{property}\" must be a URN formatted string, it is \"{value}\"",
87
+ "urnNamespaceIdentifier": "Property \"{property}\" must be a URN with namespace identifier \"{options}\", it is \"{value}\"",
88
+ "urnNamespaceSpecific": "Property \"{property}\" must be a URN with namespace specific \"{options}\", it is \"{value}\"",
87
89
  "url": "Property \"{property}\" must be a URL formatted string, it is \"{value}\"",
88
90
  "email": "Property \"{property}\" must be string in e-mail format, it is \"{value}\"",
89
91
  "uuidV7": "Property \"{property}\" must be a UUIDv7 formatted string, it is \"{value}\"",
package/docs/changelog.md CHANGED
@@ -1,5 +1,217 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.9.1-next.10](https://github.com/iotaledger/twin-framework/compare/merge-locales-v0.9.1-next.9...merge-locales-v0.9.1-next.10) (2026-07-20)
4
+
5
+
6
+ ### Miscellaneous Chores
7
+
8
+ * **merge-locales:** Synchronize repo versions
9
+
10
+
11
+ ### Dependencies
12
+
13
+ * The following workspace dependencies were updated
14
+ * dependencies
15
+ * @twin.org/cli-core bumped from 0.9.1-next.9 to 0.9.1-next.10
16
+ * @twin.org/core bumped from 0.9.1-next.9 to 0.9.1-next.10
17
+ * @twin.org/nameof bumped from 0.9.1-next.9 to 0.9.1-next.10
18
+ * devDependencies
19
+ * @twin.org/nameof-transformer bumped from 0.9.1-next.9 to 0.9.1-next.10
20
+ * @twin.org/nameof-vitest-plugin bumped from 0.9.1-next.9 to 0.9.1-next.10
21
+
22
+ ## [0.9.1-next.9](https://github.com/iotaledger/twin-framework/compare/merge-locales-v0.9.1-next.8...merge-locales-v0.9.1-next.9) (2026-07-20)
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.9.1-next.8 to 0.9.1-next.9
35
+ * @twin.org/core bumped from 0.9.1-next.8 to 0.9.1-next.9
36
+ * @twin.org/nameof bumped from 0.9.1-next.8 to 0.9.1-next.9
37
+ * devDependencies
38
+ * @twin.org/nameof-transformer bumped from 0.9.1-next.8 to 0.9.1-next.9
39
+ * @twin.org/nameof-vitest-plugin bumped from 0.9.1-next.8 to 0.9.1-next.9
40
+
41
+ ## [0.9.1-next.8](https://github.com/iotaledger/twin-framework/compare/merge-locales-v0.9.1-next.7...merge-locales-v0.9.1-next.8) (2026-07-20)
42
+
43
+
44
+ ### Miscellaneous Chores
45
+
46
+ * **merge-locales:** Synchronize repo versions
47
+
48
+
49
+ ### Dependencies
50
+
51
+ * The following workspace dependencies were updated
52
+ * dependencies
53
+ * @twin.org/cli-core bumped from 0.9.1-next.7 to 0.9.1-next.8
54
+ * @twin.org/core bumped from 0.9.1-next.7 to 0.9.1-next.8
55
+ * @twin.org/nameof bumped from 0.9.1-next.7 to 0.9.1-next.8
56
+ * devDependencies
57
+ * @twin.org/nameof-transformer bumped from 0.9.1-next.7 to 0.9.1-next.8
58
+ * @twin.org/nameof-vitest-plugin bumped from 0.9.1-next.7 to 0.9.1-next.8
59
+
60
+ ## [0.9.1-next.7](https://github.com/iotaledger/twin-framework/compare/merge-locales-v0.9.1-next.6...merge-locales-v0.9.1-next.7) (2026-07-09)
61
+
62
+
63
+ ### Miscellaneous Chores
64
+
65
+ * **merge-locales:** Synchronize repo versions
66
+
67
+
68
+ ### Dependencies
69
+
70
+ * The following workspace dependencies were updated
71
+ * dependencies
72
+ * @twin.org/cli-core bumped from 0.9.1-next.6 to 0.9.1-next.7
73
+ * @twin.org/core bumped from 0.9.1-next.6 to 0.9.1-next.7
74
+ * @twin.org/nameof bumped from 0.9.1-next.6 to 0.9.1-next.7
75
+ * devDependencies
76
+ * @twin.org/nameof-transformer bumped from 0.9.1-next.6 to 0.9.1-next.7
77
+ * @twin.org/nameof-vitest-plugin bumped from 0.9.1-next.6 to 0.9.1-next.7
78
+
79
+ ## [0.9.1-next.6](https://github.com/iotaledger/twin-framework/compare/merge-locales-v0.9.1-next.5...merge-locales-v0.9.1-next.6) (2026-07-03)
80
+
81
+
82
+ ### Miscellaneous Chores
83
+
84
+ * **merge-locales:** Synchronize repo versions
85
+
86
+
87
+ ### Dependencies
88
+
89
+ * The following workspace dependencies were updated
90
+ * dependencies
91
+ * @twin.org/cli-core bumped from 0.9.1-next.5 to 0.9.1-next.6
92
+ * @twin.org/core bumped from 0.9.1-next.5 to 0.9.1-next.6
93
+ * @twin.org/nameof bumped from 0.9.1-next.5 to 0.9.1-next.6
94
+ * devDependencies
95
+ * @twin.org/nameof-transformer bumped from 0.9.1-next.5 to 0.9.1-next.6
96
+ * @twin.org/nameof-vitest-plugin bumped from 0.9.1-next.5 to 0.9.1-next.6
97
+
98
+ ## [0.9.1-next.5](https://github.com/iotaledger/twin-framework/compare/merge-locales-v0.9.1-next.4...merge-locales-v0.9.1-next.5) (2026-06-29)
99
+
100
+
101
+ ### Miscellaneous Chores
102
+
103
+ * **merge-locales:** Synchronize repo versions
104
+
105
+
106
+ ### Dependencies
107
+
108
+ * The following workspace dependencies were updated
109
+ * dependencies
110
+ * @twin.org/cli-core bumped from 0.9.1-next.4 to 0.9.1-next.5
111
+ * @twin.org/core bumped from 0.9.1-next.4 to 0.9.1-next.5
112
+ * @twin.org/nameof bumped from 0.9.1-next.4 to 0.9.1-next.5
113
+ * devDependencies
114
+ * @twin.org/nameof-transformer bumped from 0.9.1-next.4 to 0.9.1-next.5
115
+ * @twin.org/nameof-vitest-plugin bumped from 0.9.1-next.4 to 0.9.1-next.5
116
+
117
+ ## [0.9.1-next.4](https://github.com/iotaledger/twin-framework/compare/merge-locales-v0.9.1-next.3...merge-locales-v0.9.1-next.4) (2026-06-26)
118
+
119
+
120
+ ### Miscellaneous Chores
121
+
122
+ * **merge-locales:** Synchronize repo versions
123
+
124
+
125
+ ### Dependencies
126
+
127
+ * The following workspace dependencies were updated
128
+ * dependencies
129
+ * @twin.org/cli-core bumped from 0.9.1-next.3 to 0.9.1-next.4
130
+ * @twin.org/core bumped from 0.9.1-next.3 to 0.9.1-next.4
131
+ * @twin.org/nameof bumped from 0.9.1-next.3 to 0.9.1-next.4
132
+ * devDependencies
133
+ * @twin.org/nameof-transformer bumped from 0.9.1-next.3 to 0.9.1-next.4
134
+ * @twin.org/nameof-vitest-plugin bumped from 0.9.1-next.3 to 0.9.1-next.4
135
+
136
+ ## [0.9.1-next.3](https://github.com/iotaledger/twin-framework/compare/merge-locales-v0.9.1-next.2...merge-locales-v0.9.1-next.3) (2026-06-26)
137
+
138
+
139
+ ### Features
140
+
141
+ * add context id features ([#206](https://github.com/iotaledger/twin-framework/issues/206)) ([ef0d4ee](https://github.com/iotaledger/twin-framework/commit/ef0d4ee11a4f5fc6cc6f52a4958ce905c04ee13b))
142
+ * eslint migration to flat config ([74427d7](https://github.com/iotaledger/twin-framework/commit/74427d78d342167f7850e49ab87269326355befe))
143
+ * locales validation ([#197](https://github.com/iotaledger/twin-framework/issues/197)) ([55fdadb](https://github.com/iotaledger/twin-framework/commit/55fdadb13595ce0047f787bd1d4135d429a99f12))
144
+ * typescript 6 update ([1d10f31](https://github.com/iotaledger/twin-framework/commit/1d10f31e6516ec622773f45e88af82fe749b384a))
145
+ * update dependencies ([4da77ab](https://github.com/iotaledger/twin-framework/commit/4da77ab30f499e52825ac5a76f51436ceb59c26e))
146
+ * update dependencies ([f3bd015](https://github.com/iotaledger/twin-framework/commit/f3bd015efd169196b7e0335f5cab876ba6ca1d75))
147
+ * use cause instead of inner for errors ([1f4acc4](https://github.com/iotaledger/twin-framework/commit/1f4acc4d7a6b71a134d9547da9bf40de1e1e49da))
148
+
149
+
150
+ ### Bug Fixes
151
+
152
+ * ensure __decorate is defined for decorators ([103a563](https://github.com/iotaledger/twin-framework/commit/103a563ce01ebdef6240d2e590e7b026e8692684))
153
+
154
+
155
+ ### Dependencies
156
+
157
+ * The following workspace dependencies were updated
158
+ * dependencies
159
+ * @twin.org/cli-core bumped from 0.9.1-next.2 to 0.9.1-next.3
160
+ * @twin.org/core bumped from 0.9.1-next.2 to 0.9.1-next.3
161
+ * @twin.org/nameof bumped from 0.9.1-next.2 to 0.9.1-next.3
162
+ * devDependencies
163
+ * @twin.org/nameof-transformer bumped from 0.9.1-next.2 to 0.9.1-next.3
164
+ * @twin.org/nameof-vitest-plugin bumped from 0.9.1-next.2 to 0.9.1-next.3
165
+
166
+ ## [0.9.1-next.2](https://github.com/iotaledger/twin-framework/compare/merge-locales-v0.9.1-next.1...merge-locales-v0.9.1-next.2) (2026-06-26)
167
+
168
+
169
+ ### Miscellaneous Chores
170
+
171
+ * **merge-locales:** Synchronize repo versions
172
+
173
+
174
+ ### Dependencies
175
+
176
+ * The following workspace dependencies were updated
177
+ * dependencies
178
+ * @twin.org/cli-core bumped from 0.9.1-next.1 to 0.9.1-next.2
179
+ * @twin.org/core bumped from 0.9.1-next.1 to 0.9.1-next.2
180
+ * @twin.org/nameof bumped from 0.9.1-next.1 to 0.9.1-next.2
181
+ * devDependencies
182
+ * @twin.org/nameof-transformer bumped from 0.9.1-next.1 to 0.9.1-next.2
183
+ * @twin.org/nameof-vitest-plugin bumped from 0.9.1-next.1 to 0.9.1-next.2
184
+
185
+ ## [0.9.1-next.1](https://github.com/iotaledger/twin-framework/compare/merge-locales-v0.9.1-next.0...merge-locales-v0.9.1-next.1) (2026-06-25)
186
+
187
+
188
+ ### Features
189
+
190
+ * add context id features ([#206](https://github.com/iotaledger/twin-framework/issues/206)) ([ef0d4ee](https://github.com/iotaledger/twin-framework/commit/ef0d4ee11a4f5fc6cc6f52a4958ce905c04ee13b))
191
+ * eslint migration to flat config ([74427d7](https://github.com/iotaledger/twin-framework/commit/74427d78d342167f7850e49ab87269326355befe))
192
+ * locales validation ([#197](https://github.com/iotaledger/twin-framework/issues/197)) ([55fdadb](https://github.com/iotaledger/twin-framework/commit/55fdadb13595ce0047f787bd1d4135d429a99f12))
193
+ * typescript 6 update ([1d10f31](https://github.com/iotaledger/twin-framework/commit/1d10f31e6516ec622773f45e88af82fe749b384a))
194
+ * update dependencies ([4da77ab](https://github.com/iotaledger/twin-framework/commit/4da77ab30f499e52825ac5a76f51436ceb59c26e))
195
+ * update dependencies ([f3bd015](https://github.com/iotaledger/twin-framework/commit/f3bd015efd169196b7e0335f5cab876ba6ca1d75))
196
+ * use cause instead of inner for errors ([1f4acc4](https://github.com/iotaledger/twin-framework/commit/1f4acc4d7a6b71a134d9547da9bf40de1e1e49da))
197
+
198
+
199
+ ### Bug Fixes
200
+
201
+ * ensure __decorate is defined for decorators ([103a563](https://github.com/iotaledger/twin-framework/commit/103a563ce01ebdef6240d2e590e7b026e8692684))
202
+
203
+
204
+ ### Dependencies
205
+
206
+ * The following workspace dependencies were updated
207
+ * dependencies
208
+ * @twin.org/cli-core bumped from 0.9.1-next.0 to 0.9.1-next.1
209
+ * @twin.org/core bumped from 0.9.1-next.0 to 0.9.1-next.1
210
+ * @twin.org/nameof bumped from 0.9.1-next.0 to 0.9.1-next.1
211
+ * devDependencies
212
+ * @twin.org/nameof-transformer bumped from 0.9.1-next.0 to 0.9.1-next.1
213
+ * @twin.org/nameof-vitest-plugin bumped from 0.9.1-next.0 to 0.9.1-next.1
214
+
3
215
  ## [0.9.0](https://github.com/iotaledger/twin-framework/compare/merge-locales-v0.9.0...merge-locales-v0.9.0) (2026-06-22)
4
216
 
5
217
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/merge-locales",
3
- "version": "0.9.0",
3
+ "version": "0.9.1-next.10",
4
4
  "description": "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.9.0",
18
- "@twin.org/core": "^0.9.0",
19
- "@twin.org/nameof": "^0.9.0",
17
+ "@twin.org/cli-core": "0.9.1-next.10",
18
+ "@twin.org/core": "0.9.1-next.10",
19
+ "@twin.org/nameof": "0.9.1-next.10",
20
20
  "commander": "15.0.0",
21
21
  "glob": "13.0.6"
22
22
  },