@twin.org/merge-locales 0.10.1-next.6 → 0.11.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.
@@ -0,0 +1,23 @@
1
+ // Copyright 2026 IOTA Stiftung.
2
+ // SPDX-License-Identifier: Apache-2.0.
3
+ // Development entry point which runs the CLI straight from the TypeScript source, so
4
+ // that the repo scripts which use this tool do not require the package to have been
5
+ // built first. The published entry point is bin/index.js which runs the built output.
6
+ import path from "node:path";
7
+ import { fileURLToPath } from "node:url";
8
+ import { CLIUtils } from "@twin.org/cli-core";
9
+ import { CLI } from "./cli.js";
10
+ const devDirectory = path.dirname(fileURLToPath(import.meta.url));
11
+ // The published entry resolves its locales from the merged dist copy, which does not
12
+ // exist until the package is built, so take them from the dependency packages and then
13
+ // this package instead. The order matches the precedence the merge-locales tool uses.
14
+ // The dependency packages are resolved from this file rather than the working directory,
15
+ // so the tool still finds them when it is run from another package in the workspace.
16
+ const dependencyLocales = await Promise.all(["@twin.org/cli-core", "@twin.org/core"].map(async (packageName) => {
17
+ const packageRoot = await CLIUtils.findPackageRoot(packageName, devDirectory);
18
+ return packageRoot === undefined ? packageName : path.join(packageRoot, "locales");
19
+ }));
20
+ const localesDirectory = [...dependencyLocales, path.join(devDirectory, "../locales")];
21
+ const cli = new CLI();
22
+ process.exitCode = await cli.run(process.argv, localesDirectory);
23
+ //# sourceMappingURL=cli-dev.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cli-dev.js","sourceRoot":"","sources":["../../src/cli-dev.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,uCAAuC;AACvC,qFAAqF;AACrF,oFAAoF;AACpF,sFAAsF;AACtF,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAC9C,OAAO,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAE/B,MAAM,YAAY,GAAG,IAAI,CAAC,OAAO,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC;AAElE,qFAAqF;AACrF,uFAAuF;AACvF,sFAAsF;AACtF,yFAAyF;AACzF,qFAAqF;AACrF,MAAM,iBAAiB,GAAG,MAAM,OAAO,CAAC,GAAG,CAC1C,CAAC,oBAAoB,EAAE,gBAAgB,CAAC,CAAC,GAAG,CAAC,KAAK,EAAC,WAAW,EAAC,EAAE;IAChE,MAAM,WAAW,GAAG,MAAM,QAAQ,CAAC,eAAe,CAAC,WAAW,EAAE,YAAY,CAAC,CAAC;IAC9E,OAAO,WAAW,KAAK,SAAS,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC,CAAC;AACpF,CAAC,CAAC,CACF,CAAC;AAEF,MAAM,gBAAgB,GAAG,CAAC,GAAG,iBAAiB,EAAE,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE,YAAY,CAAC,CAAC,CAAC;AAEvF,MAAM,GAAG,GAAG,IAAI,GAAG,EAAE,CAAC;AACtB,OAAO,CAAC,QAAQ,GAAG,MAAM,GAAG,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC","sourcesContent":["// Copyright 2026 IOTA Stiftung.\n// SPDX-License-Identifier: Apache-2.0.\n// Development entry point which runs the CLI straight from the TypeScript source, so\n// that the repo scripts which use this tool do not require the package to have been\n// built first. The published entry point is bin/index.js which runs the built output.\nimport path from \"node:path\";\nimport { fileURLToPath } from \"node:url\";\nimport { CLIUtils } from \"@twin.org/cli-core\";\nimport { CLI } from \"./cli.js\";\n\nconst devDirectory = path.dirname(fileURLToPath(import.meta.url));\n\n// The published entry resolves its locales from the merged dist copy, which does not\n// exist until the package is built, so take them from the dependency packages and then\n// this package instead. The order matches the precedence the merge-locales tool uses.\n// The dependency packages are resolved from this file rather than the working directory,\n// so the tool still finds them when it is run from another package in the workspace.\nconst dependencyLocales = await Promise.all(\n\t[\"@twin.org/cli-core\", \"@twin.org/core\"].map(async packageName => {\n\t\tconst packageRoot = await CLIUtils.findPackageRoot(packageName, devDirectory);\n\t\treturn packageRoot === undefined ? packageName : path.join(packageRoot, \"locales\");\n\t})\n);\n\nconst localesDirectory = [...dependencyLocales, path.join(devDirectory, \"../locales\")];\n\nconst cli = new CLI();\nprocess.exitCode = await cli.run(process.argv, localesDirectory);\n"]}
package/dist/es/cli.js CHANGED
@@ -11,7 +11,8 @@ export class CLI extends CLIBase {
11
11
  /**
12
12
  * Run the app.
13
13
  * @param argv The process arguments.
14
- * @param localesDirectory The directory for the locales, default to relative to the script.
14
+ * @param localesDirectory The locales to load, either paths to locales directories or names
15
+ * of installed packages, defaults to relative to the script.
15
16
  * @param options Additional options.
16
17
  * @param options.overrideOutputWidth Override the output width.
17
18
  * @returns The exit code.
@@ -20,7 +21,7 @@ export class CLI extends CLIBase {
20
21
  return this.execute({
21
22
  title: "TWIN Merge Locales",
22
23
  appName: "merge-locales",
23
- version: "0.10.1-next.6", // x-release-please-version
24
+ version: "0.11.0", // x-release-please-version
24
25
  icon: "⚙️ ",
25
26
  supportsEnvFiles: false,
26
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,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.10.1-next.6\", // 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;;;;;;;;OAQG;IACI,KAAK,CAAC,GAAG,CACf,IAAc,EACd,gBAAoC,EACpC,OAA0C;QAE1C,OAAO,IAAI,CAAC,OAAO,CAClB;YACC,KAAK,EAAE,oBAAoB;YAC3B,OAAO,EAAE,eAAe;YACxB,OAAO,EAAE,QAAQ,EAAE,2BAA2B;YAC9C,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 locales to load, either paths to locales directories or names\n\t * of installed packages, defaults 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 | 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.11.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"]}
@@ -104,7 +104,7 @@
104
104
  "factory": {
105
105
  "noUnregister": "There is no {typeName} registered with the name \"{name}\"",
106
106
  "noGet": "The requested {typeName} \"{name}\" does not exist in the factory",
107
- "noCreate": "The requested {typeName} \"{name}\" cannot be created by the factory, with params \"{params}\"",
107
+ "noCreate": "The requested {typeName} \"{name}\" cannot be created by the factory, with params \"{args}\"",
108
108
  "noFacade": "The requested facade \"{name}\" is not registered, so it cannot be applied to the {typeName} factory",
109
109
  "noFacadeOnFacades": "Facades cannot be applied to the facade factory itself",
110
110
  "noFacadeWrap": "The facade \"{name}\" did not return a wrapped instance for the {typeName} factory"
@@ -138,6 +138,11 @@
138
138
  },
139
139
  "randomHelper": {
140
140
  "maxLength": "Requested length \"{length}\" is greater than the maximum of \"{maxLength}\" bytes"
141
+ },
142
+ "envHelper": {
143
+ "invalidEnvVarValue": "Environment variable \"{key}\" has an invalid value \"{value}\", expected {type} type",
144
+ "invalidEnvVarPair": "Environment variable \"{key}\" has an invalid entry \"{value}\", expected unique name=integer pairs",
145
+ "unknownEnvVars": "Unknown environment variable properties [{keys}]. Check for typos in variable names, for custom variables use the {prefix}ENV_ALLOW_LIST."
141
146
  }
142
147
  },
143
148
  "warn": {
@@ -0,0 +1 @@
1
+ export {};
@@ -7,12 +7,13 @@ export declare class CLI extends CLIBase {
7
7
  /**
8
8
  * Run the app.
9
9
  * @param argv The process arguments.
10
- * @param localesDirectory The directory for the locales, default to relative to the script.
10
+ * @param localesDirectory The locales to load, either paths to locales directories or names
11
+ * of installed packages, defaults to relative to the script.
11
12
  * @param options Additional options.
12
13
  * @param options.overrideOutputWidth Override the output width.
13
14
  * @returns The exit code.
14
15
  */
15
- run(argv: string[], localesDirectory?: string, options?: {
16
+ run(argv: string[], localesDirectory?: string | string[], options?: {
16
17
  overrideOutputWidth?: number;
17
18
  }): Promise<number>;
18
19
  /**
package/docs/changelog.md CHANGED
@@ -1,5 +1,161 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.11.0](https://github.com/iotaledger/twin-framework/compare/merge-locales-v0.11.0...merge-locales-v0.11.0) (2026-09-29)
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
+ * release to production ([#417](https://github.com/iotaledger/twin-framework/issues/417)) ([59727e7](https://github.com/iotaledger/twin-framework/commit/59727e73903a137310ca48fe469189cf29879cb9))
18
+ * release to production ([#459](https://github.com/iotaledger/twin-framework/issues/459)) ([e26e2d9](https://github.com/iotaledger/twin-framework/commit/e26e2d9a88767364c32494c45232033447b26e22))
19
+ * release to production ([#504](https://github.com/iotaledger/twin-framework/issues/504)) ([cfde07f](https://github.com/iotaledger/twin-framework/commit/cfde07f7790c62269e71144b95243ec441df38ba))
20
+ * release to production [skip ci] ([#550](https://github.com/iotaledger/twin-framework/issues/550)) ([83103ff](https://github.com/iotaledger/twin-framework/commit/83103ff4c3303e276aa103082b866cba649618fe))
21
+
22
+
23
+ ### Miscellaneous Chores
24
+
25
+ * release to production ([63cae24](https://github.com/iotaledger/twin-framework/commit/63cae2401f6c11f93b2a01260b665064e8bd28e0))
26
+
27
+ ## [0.10.1-next.12](https://github.com/iotaledger/twin-framework/compare/merge-locales-v0.10.1-next.11...merge-locales-v0.10.1-next.12) (2026-09-25)
28
+
29
+
30
+ ### Miscellaneous Chores
31
+
32
+ * **merge-locales:** Synchronize repo versions
33
+
34
+
35
+ ### Dependencies
36
+
37
+ * The following workspace dependencies were updated
38
+ * dependencies
39
+ * @twin.org/cli-core bumped from 0.10.1-next.11 to 0.10.1-next.12
40
+ * @twin.org/core bumped from 0.10.1-next.11 to 0.10.1-next.12
41
+ * @twin.org/nameof bumped from 0.10.1-next.11 to 0.10.1-next.12
42
+ * devDependencies
43
+ * @twin.org/nameof-transformer bumped from 0.10.1-next.11 to 0.10.1-next.12
44
+ * @twin.org/nameof-vitest-plugin bumped from 0.10.1-next.11 to 0.10.1-next.12
45
+
46
+ ## [0.10.1-next.11](https://github.com/iotaledger/twin-framework/compare/merge-locales-v0.10.1-next.10...merge-locales-v0.10.1-next.11) (2026-09-25)
47
+
48
+
49
+ ### Miscellaneous Chores
50
+
51
+ * **merge-locales:** Synchronize repo versions
52
+
53
+
54
+ ### Dependencies
55
+
56
+ * The following workspace dependencies were updated
57
+ * dependencies
58
+ * @twin.org/cli-core bumped from 0.10.1-next.10 to 0.10.1-next.11
59
+ * @twin.org/core bumped from 0.10.1-next.10 to 0.10.1-next.11
60
+ * @twin.org/nameof bumped from 0.10.1-next.10 to 0.10.1-next.11
61
+ * devDependencies
62
+ * @twin.org/nameof-transformer bumped from 0.10.1-next.10 to 0.10.1-next.11
63
+ * @twin.org/nameof-vitest-plugin bumped from 0.10.1-next.10 to 0.10.1-next.11
64
+
65
+ ## [0.10.1-next.10](https://github.com/iotaledger/twin-framework/compare/merge-locales-v0.10.1-next.9...merge-locales-v0.10.1-next.10) (2026-09-22)
66
+
67
+
68
+ ### Miscellaneous Chores
69
+
70
+ * **merge-locales:** Synchronize repo versions
71
+
72
+
73
+ ### Dependencies
74
+
75
+ * The following workspace dependencies were updated
76
+ * dependencies
77
+ * @twin.org/cli-core bumped from 0.10.1-next.9 to 0.10.1-next.10
78
+ * @twin.org/core bumped from 0.10.1-next.9 to 0.10.1-next.10
79
+ * @twin.org/nameof bumped from 0.10.1-next.9 to 0.10.1-next.10
80
+ * devDependencies
81
+ * @twin.org/nameof-transformer bumped from 0.10.1-next.9 to 0.10.1-next.10
82
+ * @twin.org/nameof-vitest-plugin bumped from 0.10.1-next.9 to 0.10.1-next.10
83
+
84
+ ## [0.10.1-next.9](https://github.com/iotaledger/twin-framework/compare/merge-locales-v0.10.1-next.8...merge-locales-v0.10.1-next.9) (2026-09-21)
85
+
86
+
87
+ ### Features
88
+
89
+ * dev tools ([#500](https://github.com/iotaledger/twin-framework/issues/500)) ([0879e55](https://github.com/iotaledger/twin-framework/commit/0879e558c71dca5e992d14914c6bde560a191df2))
90
+ * improve node_modules location detection ([#486](https://github.com/iotaledger/twin-framework/issues/486)) ([c786853](https://github.com/iotaledger/twin-framework/commit/c7868538e9074f789577c0ab55552f3bcec0ef0e))
91
+ * linting and dependency update ([676b4e9](https://github.com/iotaledger/twin-framework/commit/676b4e9d9bce158065200bbf875bb31da81d166d))
92
+ * typescript 6 update ([1d10f31](https://github.com/iotaledger/twin-framework/commit/1d10f31e6516ec622773f45e88af82fe749b384a))
93
+ * update dependencies ([4da77ab](https://github.com/iotaledger/twin-framework/commit/4da77ab30f499e52825ac5a76f51436ceb59c26e))
94
+
95
+
96
+ ### Bug Fixes
97
+
98
+ * ensure __decorate is defined for decorators ([103a563](https://github.com/iotaledger/twin-framework/commit/103a563ce01ebdef6240d2e590e7b026e8692684))
99
+
100
+
101
+ ### Dependencies
102
+
103
+ * The following workspace dependencies were updated
104
+ * dependencies
105
+ * @twin.org/cli-core bumped from 0.10.1-next.8 to 0.10.1-next.9
106
+ * @twin.org/core bumped from 0.10.1-next.8 to 0.10.1-next.9
107
+ * @twin.org/nameof bumped from 0.10.1-next.8 to 0.10.1-next.9
108
+ * devDependencies
109
+ * @twin.org/nameof-transformer bumped from 0.10.1-next.8 to 0.10.1-next.9
110
+ * @twin.org/nameof-vitest-plugin bumped from 0.10.1-next.8 to 0.10.1-next.9
111
+
112
+ ## [0.10.1-next.8](https://github.com/iotaledger/twin-framework/compare/merge-locales-v0.10.1-next.7...merge-locales-v0.10.1-next.8) (2026-09-21)
113
+
114
+
115
+ ### Features
116
+
117
+ * dev tools ([#500](https://github.com/iotaledger/twin-framework/issues/500)) ([0879e55](https://github.com/iotaledger/twin-framework/commit/0879e558c71dca5e992d14914c6bde560a191df2))
118
+ * improve node_modules location detection ([#486](https://github.com/iotaledger/twin-framework/issues/486)) ([c786853](https://github.com/iotaledger/twin-framework/commit/c7868538e9074f789577c0ab55552f3bcec0ef0e))
119
+ * linting and dependency update ([676b4e9](https://github.com/iotaledger/twin-framework/commit/676b4e9d9bce158065200bbf875bb31da81d166d))
120
+ * typescript 6 update ([1d10f31](https://github.com/iotaledger/twin-framework/commit/1d10f31e6516ec622773f45e88af82fe749b384a))
121
+ * update dependencies ([4da77ab](https://github.com/iotaledger/twin-framework/commit/4da77ab30f499e52825ac5a76f51436ceb59c26e))
122
+
123
+
124
+ ### Bug Fixes
125
+
126
+ * ensure __decorate is defined for decorators ([103a563](https://github.com/iotaledger/twin-framework/commit/103a563ce01ebdef6240d2e590e7b026e8692684))
127
+
128
+
129
+ ### Dependencies
130
+
131
+ * The following workspace dependencies were updated
132
+ * dependencies
133
+ * @twin.org/cli-core bumped from 0.10.1-next.7 to 0.10.1-next.8
134
+ * @twin.org/core bumped from 0.10.1-next.7 to 0.10.1-next.8
135
+ * @twin.org/nameof bumped from 0.10.1-next.7 to 0.10.1-next.8
136
+ * devDependencies
137
+ * @twin.org/nameof-transformer bumped from 0.10.1-next.7 to 0.10.1-next.8
138
+ * @twin.org/nameof-vitest-plugin bumped from 0.10.1-next.7 to 0.10.1-next.8
139
+
140
+ ## [0.10.1-next.7](https://github.com/iotaledger/twin-framework/compare/merge-locales-v0.10.1-next.6...merge-locales-v0.10.1-next.7) (2026-09-21)
141
+
142
+
143
+ ### Features
144
+
145
+ * dev tools ([#500](https://github.com/iotaledger/twin-framework/issues/500)) ([0879e55](https://github.com/iotaledger/twin-framework/commit/0879e558c71dca5e992d14914c6bde560a191df2))
146
+
147
+
148
+ ### Dependencies
149
+
150
+ * The following workspace dependencies were updated
151
+ * dependencies
152
+ * @twin.org/cli-core bumped from 0.10.1-next.6 to 0.10.1-next.7
153
+ * @twin.org/core bumped from 0.10.1-next.6 to 0.10.1-next.7
154
+ * @twin.org/nameof bumped from 0.10.1-next.6 to 0.10.1-next.7
155
+ * devDependencies
156
+ * @twin.org/nameof-transformer bumped from 0.10.1-next.6 to 0.10.1-next.7
157
+ * @twin.org/nameof-vitest-plugin bumped from 0.10.1-next.6 to 0.10.1-next.7
158
+
3
159
  ## [0.10.1-next.6](https://github.com/iotaledger/twin-framework/compare/merge-locales-v0.10.1-next.5...merge-locales-v0.10.1-next.6) (2026-09-21)
4
160
 
5
161
 
@@ -38,9 +38,11 @@ The options for the CLI.
38
38
 
39
39
  ##### localesDirectory
40
40
 
41
- `string`
41
+ `string` \| `string`[]
42
42
 
43
- The path to load the locales from.
43
+ The locales to load, each entry is either a path to a locales
44
+ directory or the name of an installed package to take the locales from. Entries are
45
+ merged in order, so later entries override earlier ones.
44
46
 
45
47
  ##### argv
46
48
 
@@ -102,9 +104,10 @@ The process arguments.
102
104
 
103
105
  ##### localesDirectory?
104
106
 
105
- `string`
107
+ `string` \| `string`[]
106
108
 
107
- The directory for the locales, default to relative to the script.
109
+ The locales to load, either paths to locales directories or names
110
+ of installed packages, defaults to relative to the script.
108
111
 
109
112
  ##### options?
110
113
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twin.org/merge-locales",
3
- "version": "0.10.1-next.6",
3
+ "version": "0.11.0",
4
4
  "description": "Merge locale files from all dependencies",
5
5
  "repository": {
6
6
  "type": "git",
@@ -14,9 +14,9 @@
14
14
  "node": ">=24.0.0"
15
15
  },
16
16
  "dependencies": {
17
- "@twin.org/cli-core": "0.10.1-next.6",
18
- "@twin.org/core": "0.10.1-next.6",
19
- "@twin.org/nameof": "0.10.1-next.6",
17
+ "@twin.org/cli-core": "^0.11.0",
18
+ "@twin.org/core": "^0.11.0",
19
+ "@twin.org/nameof": "^0.11.0",
20
20
  "commander": "15.0.0",
21
21
  "glob": "13.0.6"
22
22
  },