i18ntk 1.4.1 → 1.5.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.
Files changed (305) hide show
  1. package/CHANGELOG.md +142 -12
  2. package/README.md +591 -43
  3. package/main/i18ntk-analyze.js +55 -5
  4. package/main/i18ntk-autorun.js +46 -98
  5. package/main/i18ntk-complete.js +20 -9
  6. package/main/i18ntk-init.js +9 -10
  7. package/main/i18ntk-manage.js +13 -12
  8. package/main/i18ntk-sizing.js +18 -3
  9. package/main/i18ntk-summary.js +17 -8
  10. package/main/i18ntk-ui.js +53 -39
  11. package/main/i18ntk-usage.js +7 -7
  12. package/main/i18ntk-validate.js +6 -6
  13. package/main/validate-translations.js +0 -74
  14. package/package.json +25 -21
  15. package/scripts/debug/README.md +34 -0
  16. package/scripts/debug/debug-security.js +0 -0
  17. package/scripts/debug/debug-translation.js +56 -0
  18. package/scripts/debug/debugger.js +260 -0
  19. package/scripts/export-translations.js +57 -30
  20. package/scripts/prepublish.js +2 -2
  21. package/scripts/sync-translations.js +1 -1
  22. package/scripts/test-runner.js +5 -5
  23. package/scripts/validate-all-translations.js +3 -3
  24. package/scripts/verify-package.js +50 -168
  25. package/settings/language-config.json +6 -0
  26. package/settings/settings-cli.js +85 -1
  27. package/settings/settings-manager.js +11 -7
  28. package/utils/admin-cli.js +3 -2
  29. package/utils/admin-pin.js +179 -60
  30. package/utils/i18n-helper.js +55 -33
  31. package/utils/security-check.js +347 -0
  32. package/utils/security-config.js +255 -0
  33. package/utils/security.js +1 -1
  34. package/locales/de/common.json +0 -20
  35. package/locales/en/common.json +0 -20
  36. package/locales/es/common.json +0 -20
  37. package/locales/fr/common.json +0 -20
  38. package/locales/ru/common.json +0 -20
  39. package/scripts/copy-translations.js +0 -90
  40. package/scripts/fix-missing-translation-keys.js +0 -214
  41. package/scripts/sync-pt-translations.js +0 -115
  42. package/scripts/test-translations.js +0 -220
  43. package/ui-locales/de/adminCli.json +0 -43
  44. package/ui-locales/de/adminPin.json +0 -32
  45. package/ui-locales/de/analyze.json +0 -78
  46. package/ui-locales/de/autorun.json +0 -72
  47. package/ui-locales/de/common.json +0 -40
  48. package/ui-locales/de/complete.json +0 -33
  49. package/ui-locales/de/debug.json +0 -21
  50. package/ui-locales/de/detect-language-mismatches.json +0 -52
  51. package/ui-locales/de/errors.json +0 -17
  52. package/ui-locales/de/help.json +0 -88
  53. package/ui-locales/de/i18n-helper.json +0 -9
  54. package/ui-locales/de/init.json +0 -58
  55. package/ui-locales/de/language.json +0 -13
  56. package/ui-locales/de/maintain-language-purity.json +0 -21
  57. package/ui-locales/de/menu.json +0 -45
  58. package/ui-locales/de/native-translations.json +0 -22
  59. package/ui-locales/de/operations.json +0 -79
  60. package/ui-locales/de/security.json +0 -26
  61. package/ui-locales/de/settings-cli.json +0 -40
  62. package/ui-locales/de/settings-manager.json +0 -27
  63. package/ui-locales/de/settings.json +0 -395
  64. package/ui-locales/de/sizing.json +0 -52
  65. package/ui-locales/de/status.json +0 -27
  66. package/ui-locales/de/summary.json +0 -136
  67. package/ui-locales/de/test-complete-system.json +0 -40
  68. package/ui-locales/de/test-console-i18n.json +0 -36
  69. package/ui-locales/de/translate-mismatches.json +0 -26
  70. package/ui-locales/de/ui.json +0 -11
  71. package/ui-locales/de/usage.json +0 -113
  72. package/ui-locales/de/validate-language-purity.json +0 -51
  73. package/ui-locales/de/validate.json +0 -85
  74. package/ui-locales/de/workflow.json +0 -16
  75. package/ui-locales/en/adminCli.json +0 -44
  76. package/ui-locales/en/adminPin.json +0 -33
  77. package/ui-locales/en/analyze.json +0 -78
  78. package/ui-locales/en/autorun.json +0 -72
  79. package/ui-locales/en/common.json +0 -40
  80. package/ui-locales/en/complete.json +0 -34
  81. package/ui-locales/en/debug.json +0 -21
  82. package/ui-locales/en/detect-language-mismatches.json +0 -52
  83. package/ui-locales/en/errors.json +0 -17
  84. package/ui-locales/en/help.json +0 -88
  85. package/ui-locales/en/i18n-helper.json +0 -9
  86. package/ui-locales/en/init.json +0 -59
  87. package/ui-locales/en/language.json +0 -13
  88. package/ui-locales/en/maintain-language-purity.json +0 -19
  89. package/ui-locales/en/menu.json +0 -45
  90. package/ui-locales/en/native-translations.json +0 -22
  91. package/ui-locales/en/operations.json +0 -79
  92. package/ui-locales/en/security.json +0 -26
  93. package/ui-locales/en/settings-cli.json +0 -40
  94. package/ui-locales/en/settings-manager.json +0 -27
  95. package/ui-locales/en/settings.json +0 -456
  96. package/ui-locales/en/sizing.json +0 -60
  97. package/ui-locales/en/status.json +0 -27
  98. package/ui-locales/en/summary.json +0 -136
  99. package/ui-locales/en/test-complete-system.json +0 -40
  100. package/ui-locales/en/test-console-i18n.json +0 -36
  101. package/ui-locales/en/translate-mismatches.json +0 -26
  102. package/ui-locales/en/ui.json +0 -26
  103. package/ui-locales/en/usage.json +0 -114
  104. package/ui-locales/en/validate-language-purity.json +0 -51
  105. package/ui-locales/en/validate.json +0 -85
  106. package/ui-locales/en/workflow.json +0 -46
  107. package/ui-locales/es/adminCli.json +0 -41
  108. package/ui-locales/es/adminPin.json +0 -33
  109. package/ui-locales/es/analyze.json +0 -78
  110. package/ui-locales/es/autorun.json +0 -72
  111. package/ui-locales/es/common.json +0 -40
  112. package/ui-locales/es/complete.json +0 -33
  113. package/ui-locales/es/debug.json +0 -21
  114. package/ui-locales/es/detect-language-mismatches.json +0 -52
  115. package/ui-locales/es/errors.json +0 -17
  116. package/ui-locales/es/help.json +0 -88
  117. package/ui-locales/es/i18n-helper.json +0 -9
  118. package/ui-locales/es/init.json +0 -58
  119. package/ui-locales/es/language.json +0 -13
  120. package/ui-locales/es/maintain-language-purity.json +0 -19
  121. package/ui-locales/es/menu.json +0 -45
  122. package/ui-locales/es/native-translations.json +0 -22
  123. package/ui-locales/es/operations.json +0 -79
  124. package/ui-locales/es/security.json +0 -26
  125. package/ui-locales/es/settings-cli.json +0 -40
  126. package/ui-locales/es/settings-manager.json +0 -27
  127. package/ui-locales/es/settings.json +0 -393
  128. package/ui-locales/es/sizing.json +0 -59
  129. package/ui-locales/es/status.json +0 -27
  130. package/ui-locales/es/summary.json +0 -136
  131. package/ui-locales/es/test-complete-system.json +0 -40
  132. package/ui-locales/es/test-console-i18n.json +0 -36
  133. package/ui-locales/es/translate-mismatches.json +0 -26
  134. package/ui-locales/es/ui.json +0 -11
  135. package/ui-locales/es/usage.json +0 -113
  136. package/ui-locales/es/validate-language-purity.json +0 -51
  137. package/ui-locales/es/validate.json +0 -85
  138. package/ui-locales/es/workflow.json +0 -16
  139. package/ui-locales/fr/adminCli.json +0 -41
  140. package/ui-locales/fr/adminPin.json +0 -29
  141. package/ui-locales/fr/analyze.json +0 -78
  142. package/ui-locales/fr/autorun.json +0 -72
  143. package/ui-locales/fr/common.json +0 -40
  144. package/ui-locales/fr/complete.json +0 -33
  145. package/ui-locales/fr/debug.json +0 -21
  146. package/ui-locales/fr/detect-language-mismatches.json +0 -52
  147. package/ui-locales/fr/errors.json +0 -17
  148. package/ui-locales/fr/help.json +0 -88
  149. package/ui-locales/fr/i18n-helper.json +0 -9
  150. package/ui-locales/fr/init.json +0 -58
  151. package/ui-locales/fr/language.json +0 -13
  152. package/ui-locales/fr/maintain-language-purity.json +0 -19
  153. package/ui-locales/fr/menu.json +0 -45
  154. package/ui-locales/fr/native-translations.json +0 -22
  155. package/ui-locales/fr/operations.json +0 -79
  156. package/ui-locales/fr/security.json +0 -26
  157. package/ui-locales/fr/settings-cli.json +0 -40
  158. package/ui-locales/fr/settings-manager.json +0 -27
  159. package/ui-locales/fr/settings.json +0 -395
  160. package/ui-locales/fr/sizing.json +0 -59
  161. package/ui-locales/fr/status.json +0 -27
  162. package/ui-locales/fr/summary.json +0 -136
  163. package/ui-locales/fr/test-complete-system.json +0 -40
  164. package/ui-locales/fr/test-console-i18n.json +0 -36
  165. package/ui-locales/fr/translate-mismatches.json +0 -26
  166. package/ui-locales/fr/ui.json +0 -11
  167. package/ui-locales/fr/usage.json +0 -113
  168. package/ui-locales/fr/validate-language-purity.json +0 -51
  169. package/ui-locales/fr/validate.json +0 -85
  170. package/ui-locales/fr/workflow.json +0 -16
  171. package/ui-locales/ja/adminCli.json +0 -42
  172. package/ui-locales/ja/adminPin.json +0 -31
  173. package/ui-locales/ja/analyze.json +0 -78
  174. package/ui-locales/ja/autorun.json +0 -72
  175. package/ui-locales/ja/common.json +0 -40
  176. package/ui-locales/ja/complete.json +0 -33
  177. package/ui-locales/ja/debug.json +0 -21
  178. package/ui-locales/ja/detect-language-mismatches.json +0 -52
  179. package/ui-locales/ja/errors.json +0 -17
  180. package/ui-locales/ja/help.json +0 -88
  181. package/ui-locales/ja/i18n-helper.json +0 -9
  182. package/ui-locales/ja/init.json +0 -58
  183. package/ui-locales/ja/language.json +0 -13
  184. package/ui-locales/ja/maintain-language-purity.json +0 -19
  185. package/ui-locales/ja/menu.json +0 -45
  186. package/ui-locales/ja/native-translations.json +0 -22
  187. package/ui-locales/ja/operations.json +0 -79
  188. package/ui-locales/ja/security.json +0 -26
  189. package/ui-locales/ja/settings-cli.json +0 -5
  190. package/ui-locales/ja/settings-manager.json +0 -27
  191. package/ui-locales/ja/settings.json +0 -375
  192. package/ui-locales/ja/sizing.json +0 -59
  193. package/ui-locales/ja/status.json +0 -27
  194. package/ui-locales/ja/summary.json +0 -136
  195. package/ui-locales/ja/test-complete-system.json +0 -40
  196. package/ui-locales/ja/test-console-i18n.json +0 -36
  197. package/ui-locales/ja/translate-mismatches.json +0 -26
  198. package/ui-locales/ja/ui.json +0 -11
  199. package/ui-locales/ja/usage.json +0 -113
  200. package/ui-locales/ja/validate-language-purity.json +0 -51
  201. package/ui-locales/ja/validate.json +0 -85
  202. package/ui-locales/ja/workflow.json +0 -16
  203. package/ui-locales/pt/adminCli.json +0 -41
  204. package/ui-locales/pt/adminPin.json +0 -29
  205. package/ui-locales/pt/analyze.json +0 -78
  206. package/ui-locales/pt/autorun.json +0 -72
  207. package/ui-locales/pt/common.json +0 -40
  208. package/ui-locales/pt/complete.json +0 -33
  209. package/ui-locales/pt/debug.json +0 -21
  210. package/ui-locales/pt/detect-language-mismatches.json +0 -52
  211. package/ui-locales/pt/errors.json +0 -17
  212. package/ui-locales/pt/help.json +0 -221
  213. package/ui-locales/pt/i18n-helper.json +0 -9
  214. package/ui-locales/pt/init.json +0 -58
  215. package/ui-locales/pt/language.json +0 -13
  216. package/ui-locales/pt/maintain-language-purity.json +0 -19
  217. package/ui-locales/pt/menu.json +0 -45
  218. package/ui-locales/pt/native-translations.json +0 -22
  219. package/ui-locales/pt/operations.json +0 -79
  220. package/ui-locales/pt/security.json +0 -26
  221. package/ui-locales/pt/settings-cli.json +0 -40
  222. package/ui-locales/pt/settings-manager.json +0 -27
  223. package/ui-locales/pt/settings.json +0 -327
  224. package/ui-locales/pt/sizing.json +0 -60
  225. package/ui-locales/pt/status.json +0 -27
  226. package/ui-locales/pt/summary.json +0 -136
  227. package/ui-locales/pt/test-complete-system.json +0 -40
  228. package/ui-locales/pt/test-console-i18n.json +0 -36
  229. package/ui-locales/pt/translate-mismatches.json +0 -26
  230. package/ui-locales/pt/ui.json +0 -26
  231. package/ui-locales/pt/usage.json +0 -113
  232. package/ui-locales/pt/validate-language-purity.json +0 -53
  233. package/ui-locales/pt/validate.json +0 -85
  234. package/ui-locales/pt/workflow.json +0 -46
  235. package/ui-locales/ru/adminCli.json +0 -42
  236. package/ui-locales/ru/adminPin.json +0 -30
  237. package/ui-locales/ru/analyze.json +0 -78
  238. package/ui-locales/ru/autorun.json +0 -73
  239. package/ui-locales/ru/common.json +0 -40
  240. package/ui-locales/ru/complete.json +0 -33
  241. package/ui-locales/ru/debug.json +0 -21
  242. package/ui-locales/ru/detect-language-mismatches.json +0 -52
  243. package/ui-locales/ru/errors.json +0 -17
  244. package/ui-locales/ru/help.json +0 -88
  245. package/ui-locales/ru/i18n-helper.json +0 -9
  246. package/ui-locales/ru/init.json +0 -58
  247. package/ui-locales/ru/language.json +0 -13
  248. package/ui-locales/ru/maintain-language-purity.json +0 -19
  249. package/ui-locales/ru/menu.json +0 -45
  250. package/ui-locales/ru/native-translations.json +0 -22
  251. package/ui-locales/ru/operations.json +0 -79
  252. package/ui-locales/ru/security.json +0 -26
  253. package/ui-locales/ru/settings-cli.json +0 -5
  254. package/ui-locales/ru/settings-manager.json +0 -27
  255. package/ui-locales/ru/settings.json +0 -375
  256. package/ui-locales/ru/sizing.json +0 -60
  257. package/ui-locales/ru/status.json +0 -27
  258. package/ui-locales/ru/summary.json +0 -136
  259. package/ui-locales/ru/test-complete-system.json +0 -40
  260. package/ui-locales/ru/test-console-i18n.json +0 -36
  261. package/ui-locales/ru/translate-mismatches.json +0 -26
  262. package/ui-locales/ru/ui.json +0 -11
  263. package/ui-locales/ru/usage.json +0 -113
  264. package/ui-locales/ru/validate-language-purity.json +0 -49
  265. package/ui-locales/ru/validate.json +0 -85
  266. package/ui-locales/ru/workflow.json +0 -16
  267. package/ui-locales/zh/adminCli.json +0 -42
  268. package/ui-locales/zh/adminPin.json +0 -29
  269. package/ui-locales/zh/analyze.json +0 -78
  270. package/ui-locales/zh/autorun.json +0 -72
  271. package/ui-locales/zh/common.json +0 -40
  272. package/ui-locales/zh/complete.json +0 -33
  273. package/ui-locales/zh/debug.json +0 -21
  274. package/ui-locales/zh/detect-language-mismatches.json +0 -52
  275. package/ui-locales/zh/errors.json +0 -17
  276. package/ui-locales/zh/help.json +0 -88
  277. package/ui-locales/zh/i18n-helper.json +0 -9
  278. package/ui-locales/zh/init.json +0 -60
  279. package/ui-locales/zh/language.json +0 -13
  280. package/ui-locales/zh/maintain-language-purity.json +0 -19
  281. package/ui-locales/zh/menu.json +0 -45
  282. package/ui-locales/zh/native-translations.json +0 -22
  283. package/ui-locales/zh/operations.json +0 -79
  284. package/ui-locales/zh/security.json +0 -26
  285. package/ui-locales/zh/settings-cli.json +0 -40
  286. package/ui-locales/zh/settings-manager.json +0 -27
  287. package/ui-locales/zh/settings.json +0 -396
  288. package/ui-locales/zh/sizing.json +0 -60
  289. package/ui-locales/zh/status.json +0 -27
  290. package/ui-locales/zh/summary.json +0 -136
  291. package/ui-locales/zh/test-complete-system.json +0 -40
  292. package/ui-locales/zh/test-console-i18n.json +0 -36
  293. package/ui-locales/zh/translate-mismatches.json +0 -26
  294. package/ui-locales/zh/ui.json +0 -26
  295. package/ui-locales/zh/usage.json +0 -113
  296. package/ui-locales/zh/validate-language-purity.json +0 -51
  297. package/ui-locales/zh/validate.json +0 -85
  298. package/ui-locales/zh/workflow.json +0 -44
  299. package/utils/detect-language-mismatches.js +0 -455
  300. package/utils/maintain-language-purity.js +0 -438
  301. package/utils/native-translations.js +0 -478
  302. package/utils/test-complete-system.js +0 -391
  303. package/utils/test-console-i18n.js +0 -402
  304. package/utils/translate-mismatches.js +0 -571
  305. package/utils/validate-language-purity.js +0 -532
package/CHANGELOG.md CHANGED
@@ -2,9 +2,138 @@
2
2
 
3
3
  All notable changes to the i18n Management Toolkit will be documented in this file.
4
4
 
5
- **Current Version:** 1.4.1
6
-
7
- ## [1.4.1] - 04/08/2025
5
+ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
+ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
+
8
+ **Current Version:** 1.5.0
9
+
10
+ ## [1.5.0] - 2025-08-05
11
+
12
+ ### 🚀 **MAJOR PACKAGE OPTIMIZATION** - 68% Size Reduction
13
+ - **🔥 MASSIVE size reduction**: 1.7MB → 536KB unpacked (68% reduction)
14
+ - **📦 Compressed package**: 316.5kB → 111.8kB packed (65% reduction)
15
+ - **🎯 Production-ready**: 39 files vs 256+ fragmented files
16
+ - **⚡ Enhanced performance**: Zero runtime dependencies, framework-agnostic
17
+
18
+ ### 🏗️ Monolithic Translation Architecture - **Major Refactoring**
19
+ - **97% file reduction**: 256+ fragmented files → 8 consolidated files
20
+ - **12% size reduction** through intelligent deduplication
21
+ - **Single source of truth** per language with hierarchical namespacing
22
+ - **Enhanced maintainability** with clear organization
23
+ - **Improved performance** with reduced I/O operations
24
+ - **Backward compatibility** maintained with automatic key mapping
25
+
26
+ ### 🗑️ Language & Dependency Cleanup
27
+ - **Removed Portuguese language** support (pt) - streamlined to 7 core languages
28
+ - **Zero runtime dependencies** - framework-agnostic design
29
+ - **Simplified release process** with manual versioning
30
+ - **Cleaner CI/CD workflows** without semantic-release complexity
31
+
32
+ ### 🌍 Complete Internationalization Overhaul
33
+ - **Fixed all hardcoded error messages** - Replaced remaining hardcoded English strings with proper translation keys
34
+ - **Enhanced validation error handling** - All error messages now support full internationalization across 7 languages
35
+ - **Added comprehensive validation keys** - New translation keys for file operations, directory validation, and error states
36
+ - **Complete error message coverage** - All console error messages now support full internationalization
37
+ - **Translation consistency** - All language files synchronized with new validation keys across EN, DE, ES, FR, JA, ZH, RU
38
+ - **Standardized translation system** - All scripts now use unified i18n-helper.js for consistent translation behavior
39
+
40
+ ### 🔧 Validation & Error Handling Improvements
41
+ - **Source directory validation** - Enhanced error messages for missing source directories
42
+ - **JSON file discovery** - Better error handling when no JSON files found in source directories
43
+ - **I18n directory validation** - Improved error messages for missing i18n directories
44
+ - **File path validation** - Enhanced validation for invalid file paths and directory structures
45
+ - **Write operation feedback** - Clearer error messages for file write failures
46
+ - **Sample file creation** - Better error handling for sample translation file creation
47
+
48
+ ### 🎯 Translation Key Additions
49
+ - **Added 7 new validation keys** across all language files:
50
+ - `noJsonFilesFound` - When no JSON files found in source directory
51
+ - `i18nDirectoryNotFound` - When i18n directory is missing
52
+ - `invalidDirectoryPaths` - When directory paths are invalid
53
+ - `invalidSampleFilePath` - When sample file path is invalid
54
+ - `failedToCreateSampleTranslationFile` - When sample file creation fails
55
+ - `invalidFilePathDetected` - When invalid file paths are detected
56
+ - `failedToWriteFile` - When file write operations fail
57
+
58
+ ### 🛠️ Code Quality & Consistency
59
+ - **Standardized error handling** - Consistent error message patterns across all scripts
60
+ - **Translation fallback support** - All translation keys include English fallback messages
61
+ - **Improved error context** - Better contextual information in error messages
62
+ - **Cross-language consistency** - All 8 language files updated with identical key structures
63
+ - **Backward compatibility** - Maintained existing functionality while adding new features
64
+
65
+ ### 🌍 Complete Internationalization Overhaul
66
+ - **Fixed all hardcoded English strings** - Comprehensive translation support across all UI components
67
+ - **Enhanced admin-pin.js** - Full translation key support for all PIN management operations
68
+ - **Added missing translation keys** - 15+ new keys for PIN setup, verification, and security warnings
69
+ - **Complete UI language coverage** - All console messages now support full internationalization
70
+ - **Translation validation** - All language files synchronized across 8 supported languages
71
+
72
+ ### 🎯 Zero Dependencies Revolution
73
+ - **Removed i18next dependency** - Package now has zero runtime dependencies
74
+ - **Universal framework compatibility** - Works with React, Vue, Angular, Next.js, and vanilla JavaScript
75
+ - **Faster installation** - No additional packages to download
76
+ - **Enhanced portability** - Framework-agnostic design
77
+
78
+ ### ⚡ **PRECISE PERFORMANCE METRICS** - August 5, 2025 Benchmarks
79
+ - **🚀 Verified benchmark results** - Windows 10 / Node.js v22.14.0 / Intel i7-6700K
80
+ - **📊 Translation throughput**:
81
+ - 400 keys (100 × 4 languages): 1578 keys/sec (63.4ms avg)
82
+ - 4,000 keys (1K × 4 languages): 1944 keys/sec (514.4ms avg)
83
+ - 40,000 keys (10K × 4 languages): 1909 keys/sec (5238.8ms avg)
84
+ - 200,000 keys (50K × 4 languages): 1623 keys/sec (30809.7ms avg)
85
+ - **🔧 Configuration validation**:
86
+ - Minimal: 15.7ms avg
87
+ - Standard: 15.7ms avg
88
+ - Full: 20.4ms avg
89
+ - **💾 Memory efficiency**: 413KB avg usage (400 keys), optimized for 25K+ datasets
90
+ - **🎯 Multi-language scale testing**: Validated across 4 languages × 50K keys each
91
+ - **🎯 Performance regression detection** - CI/CD integration to prevent degradation
92
+ - **📈 Complete metrics**: benchmarks/results/benchmark-2025-08-05.json
93
+
94
+ ### 🔄 CI/CD & Automation
95
+ - **GitHub Actions workflows** - Automated release and security scanning
96
+ - **Cross-platform testing** - Windows (Tested), macOS (Not Tested), and Linux (Not Tested) compatibility
97
+ - **Security scanning** - Automated vulnerability detection
98
+ - **Performance CI** - Prevents performance regressions in PRs
99
+ - **npm benchmark scripts** - `benchmark`, `benchmark:ci`, `benchmark:baseline`
100
+
101
+ ### 📦 Package Optimization
102
+ - **Enhanced .npmignore** - Excludes benchmarks, docs, and dev files
103
+ - **46 files removed** from production package
104
+ - **Production-ready package** - Optimized for npm distribution
105
+ - **Security hardening** - Reduced attack surface
106
+ - **Streamlined dependencies** - Zero runtime dependencies
107
+
108
+ ### 🛠️ Developer Experience
109
+ - **Framework-agnostic design** - Works with any i18n solution
110
+ - **Simplified integration** - No framework-specific setup required
111
+ - **Frontend-Optimized Debugger**: Completely redesigned debugger.js removing admin/console checks
112
+ - **Framework Integration Guides**: Added comprehensive React, Vue.js, Angular, and Node.js integration
113
+ - **CI/CD Templates**: Ready-to-use GitHub Actions, GitLab CI, and Docker configurations
114
+ - **Troubleshooting Encyclopedia**: 20+ common issues with solutions
115
+ - **Performance Monitoring**: Health dashboard and key metrics tracking
116
+ - **Enhanced documentation** - Updated for zero dependencies architecture
117
+ - **Improved error messages** - Better debugging experience
118
+
119
+ ### 📚 Documentation Overhaul
120
+ - **Enhanced README.md**: 200+ lines of new content including troubleshooting, CI/CD, and best practices
121
+ - **Framework-specific Guides**: Tailored integration examples for major frameworks
122
+ - **Production Checklist**: Comprehensive deployment and monitoring guidelines
123
+ - **Team Collaboration**: Standardized workflow and review processes
124
+
125
+ ## [1.4.2] - 2025-08-05
126
+
127
+ ### Fixed
128
+ - **CRITICAL**: Fixed `MODULE_NOT_FOUND` error when running `npx i18ntk` due to missing debug scripts in npm package
129
+ - **Translation System**: Fixed incorrect nesting structure for framework suggestion keys in all 8 language files
130
+ - **i18n Keys**: Restructured flat dot-notation keys (`frameworks.react`, `frameworks.vue`, etc.) to proper nested JSON objects
131
+ - **Language Files**: Updated `ui-locales/*/init.json` files across all supported languages (EN, DE, ES, FR, JA, ZH, RU, PT)
132
+ - Relocated debug scripts from `/dev/debug/` to `/scripts/debug/` to ensure all required files are included in the npm package
133
+ - Updated all internal path references to reflect the new debug script location
134
+ - Resolved compatibility issues caused by the removal of `/dev` directory from npm package
135
+
136
+ ## [1.4.1] - 2025-08-04 (DO NOT USE - CRITICAL ERROR)
8
137
 
9
138
  ### 🎯 Enhanced User Experience & Package Optimization
10
139
 
@@ -56,7 +185,7 @@ All notable changes to the i18n Management Toolkit will be documented in this fi
56
185
 
57
186
  ---
58
187
 
59
- ## [1.4.0] - 04/08/2025
188
+ ## [1.4.0] - 2025-08-04
60
189
 
61
190
  ### 🔐 Advanced PIN Protection & Script Security
62
191
 
@@ -82,7 +211,7 @@ All notable changes to the i18n Management Toolkit will be documented in this fi
82
211
  - **TypeScript compatibility** - Fixed variable redeclaration issues
83
212
 
84
213
  #### Language Support
85
- - **Portuguese (pt)** added as 8th supported language
214
+
86
215
  - **100% translation coverage** for PIN protection features
87
216
  - **Complete console internationalization** across all languages
88
217
 
@@ -93,19 +222,19 @@ All notable changes to the i18n Management Toolkit will be documented in this fi
93
222
 
94
223
  ---
95
224
 
96
- ## [1.3.0] - 26/07/2025
225
+ ## [1.3.0] - 2025-07-26
97
226
 
98
227
  ### Enhanced Directory Configuration & Internationalization
99
228
 
100
229
  - **Per-script directory configuration** - Customize paths for each script
101
- - **Portuguese language support** added
230
+
102
231
  - **Improved path resolution** - Better handling of relative paths
103
232
  - **Enhanced settings CLI** - More intuitive configuration management
104
233
  - **Bug fixes** for directory scanning and validation
105
234
 
106
235
  ---
107
236
 
108
- ## [1.2.0] - 25/07/2025
237
+ ## [1.2.0] - 2025-07-25
109
238
 
110
239
  ### Enhanced Security & Stability
111
240
 
@@ -116,7 +245,7 @@ All notable changes to the i18n Management Toolkit will be documented in this fi
116
245
 
117
246
  ---
118
247
 
119
- ## [1.1.0] - 24/07/2025
248
+ ## [1.1.0] - 2025-07-24
120
249
 
121
250
  ### Initial Internationalization
122
251
 
@@ -127,7 +256,7 @@ All notable changes to the i18n Management Toolkit will be documented in this fi
127
256
 
128
257
  ---
129
258
 
130
- ## [1.0.0] - 23/07/2025
259
+ ## [1.0.0] - 2025-07-23
131
260
 
132
261
  ### Initial Release
133
262
 
@@ -140,10 +269,11 @@ All notable changes to the i18n Management Toolkit will be documented in this fi
140
269
 
141
270
  ## ⚠️ Deprecation Notice
142
271
 
143
- **All versions < 1.4.0 are deprecated** due to security vulnerabilities and critical bugs. Upgrade immediately to v1.4.0 for:
272
+ **All versions < 1.4.2 are deprecated** due to security vulnerabilities and critical bugs. Upgrade immediately to v1.4.2 for:
273
+ - Critical bug fixes (MODULE_NOT_FOUND error resolved)
144
274
  - Advanced PIN protection
145
275
  - Enhanced security features
146
276
  - Complete internationalization
147
277
  - Latest bug fixes and improvements
148
278
 
149
- Migration required: Uninstall previous version and reinstall v1.4.0.
279
+ Migration required: Uninstall previous version and reinstall v1.4.2.