i18next-cli 1.82.2 → 1.82.3
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/cjs/cli.js +1 -1
- package/dist/cjs/linter.js +1 -0
- package/dist/esm/cli.js +1 -1
- package/dist/esm/linter.js +1 -0
- package/package.json +1 -1
- package/types/linter.d.ts.map +1 -1
package/dist/cjs/cli.js
CHANGED
|
@@ -39,7 +39,7 @@ const program = new commander.Command();
|
|
|
39
39
|
program
|
|
40
40
|
.name('i18next-cli')
|
|
41
41
|
.description('A unified, high-performance i18next CLI.')
|
|
42
|
-
.version('1.82.
|
|
42
|
+
.version('1.82.3') // This string is replaced with the actual version at build time by rollup
|
|
43
43
|
.addHelpText('after', '\nUsing an AI coding agent? Install the i18next-localization skill: npx skills add i18next/i18next-cli\n');
|
|
44
44
|
// new: global config override option
|
|
45
45
|
program.option('-c, --config <path>', 'Path to i18next-cli config file (overrides detection)');
|
package/dist/cjs/linter.js
CHANGED
|
@@ -89,6 +89,7 @@ const i18nextOptionKeys = new Set([
|
|
|
89
89
|
'fallbackLng', 'returnDetails', 'returnObjects', 'joinArrays',
|
|
90
90
|
'postProcess', 'interpolation', 'skipInterpolation', 'replace',
|
|
91
91
|
'ordinal', 'keySeparator', 'nsSeparator', 'tDescription', 'keyPrefix',
|
|
92
|
+
'formatParams',
|
|
92
93
|
]);
|
|
93
94
|
function isI18nextOptionKey(key) {
|
|
94
95
|
if (i18nextOptionKeys.has(key))
|
package/dist/esm/cli.js
CHANGED
|
@@ -33,7 +33,7 @@ const program = new Command();
|
|
|
33
33
|
program
|
|
34
34
|
.name('i18next-cli')
|
|
35
35
|
.description('A unified, high-performance i18next CLI.')
|
|
36
|
-
.version('1.82.
|
|
36
|
+
.version('1.82.3') // This string is replaced with the actual version at build time by rollup
|
|
37
37
|
.addHelpText('after', '\nUsing an AI coding agent? Install the i18next-localization skill: npx skills add i18next/i18next-cli\n');
|
|
38
38
|
// new: global config override option
|
|
39
39
|
program.option('-c, --config <path>', 'Path to i18next-cli config file (overrides detection)');
|
package/dist/esm/linter.js
CHANGED
|
@@ -87,6 +87,7 @@ const i18nextOptionKeys = new Set([
|
|
|
87
87
|
'fallbackLng', 'returnDetails', 'returnObjects', 'joinArrays',
|
|
88
88
|
'postProcess', 'interpolation', 'skipInterpolation', 'replace',
|
|
89
89
|
'ordinal', 'keySeparator', 'nsSeparator', 'tDescription', 'keyPrefix',
|
|
90
|
+
'formatParams',
|
|
90
91
|
]);
|
|
91
92
|
function isI18nextOptionKey(key) {
|
|
92
93
|
if (i18nextOptionKeys.has(key))
|
package/package.json
CHANGED
package/types/linter.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"linter.d.ts","sourceRoot":"","sources":["../src/linter.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAY1C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,EAAE,SAAS,EAA6B,MAAM,YAAY,CAAA;
|
|
1
|
+
{"version":3,"file":"linter.d.ts","sourceRoot":"","sources":["../src/linter.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAY1C,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,EAAE,SAAS,EAA6B,MAAM,YAAY,CAAA;AA4gBpG,KAAK,cAAc,GAAG;IACpB,QAAQ,EAAE;QAAC;YACT,OAAO,EAAE,MAAM,CAAC;SACjB;KAAC,CAAC;IACH,IAAI,EAAE;QAAC;YACL,OAAO,EAAE,OAAO,CAAC;YACjB,OAAO,EAAE,MAAM,CAAC;YAChB,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,EAAE,CAAC,CAAC;YACnC,2DAA2D;YAC3D,cAAc,EAAE,MAAM,CAAC;YACvB,4CAA4C;YAC5C,oBAAoB,EAAE,MAAM,CAAC;SAC9B;KAAC,CAAC;IACH,KAAK,EAA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