@intlayer/chokidar 8.4.0 → 8.4.2

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 (290) hide show
  1. package/dist/cjs/_utils_asset-SJVy1xMD.cjs +2 -0
  2. package/dist/cjs/build.cjs +1 -1
  3. package/dist/cjs/buildIntlayerDictionary/buildIntlayerDictionary.cjs +1 -1
  4. package/dist/cjs/buildIntlayerDictionary/buildIntlayerDictionary.cjs.map +1 -1
  5. package/dist/cjs/buildIntlayerDictionary/processContentDeclaration.cjs +1 -1
  6. package/dist/cjs/buildIntlayerDictionary/processContentDeclaration.cjs.map +1 -1
  7. package/dist/cjs/buildIntlayerDictionary/writeDynamicDictionary.cjs +1 -1
  8. package/dist/cjs/buildIntlayerDictionary/writeDynamicDictionary.cjs.map +1 -1
  9. package/dist/cjs/buildIntlayerDictionary/writeFetchDictionary.cjs +1 -1
  10. package/dist/cjs/buildIntlayerDictionary/writeFetchDictionary.cjs.map +1 -1
  11. package/dist/cjs/buildIntlayerDictionary/writeMergedDictionary.cjs +1 -1
  12. package/dist/cjs/buildIntlayerDictionary/writeMergedDictionary.cjs.map +1 -1
  13. package/dist/cjs/buildIntlayerDictionary/writeRemoteDictionary.cjs +1 -1
  14. package/dist/cjs/buildIntlayerDictionary/writeRemoteDictionary.cjs.map +1 -1
  15. package/dist/cjs/buildIntlayerDictionary/writeUnmergedDictionary.cjs +1 -1
  16. package/dist/cjs/buildIntlayerDictionary/writeUnmergedDictionary.cjs.map +1 -1
  17. package/dist/cjs/{_virtual/_rolldown/runtime.cjs → chunk-Bmb41Sf3.cjs} +1 -1
  18. package/dist/cjs/cleanOutputDir.cjs +1 -1
  19. package/dist/cjs/cleanOutputDir.cjs.map +1 -1
  20. package/dist/cjs/cleanRemovedContentDeclaration.cjs +1 -1
  21. package/dist/cjs/cleanRemovedContentDeclaration.cjs.map +1 -1
  22. package/dist/cjs/cli.cjs +1 -1
  23. package/dist/cjs/createDictionaryEntryPoint/createDictionaryEntryPoint.cjs +1 -1
  24. package/dist/cjs/createDictionaryEntryPoint/createDictionaryEntryPoint.cjs.map +1 -1
  25. package/dist/cjs/createDictionaryEntryPoint/generateDictionaryListContent.cjs +1 -1
  26. package/dist/cjs/createDictionaryEntryPoint/generateDictionaryListContent.cjs.map +1 -1
  27. package/dist/cjs/createDictionaryEntryPoint/getBuiltDictionariesPath.cjs +1 -1
  28. package/dist/cjs/createDictionaryEntryPoint/getBuiltDictionariesPath.cjs.map +1 -1
  29. package/dist/cjs/createDictionaryEntryPoint/getBuiltDynamicDictionariesPath.cjs +1 -1
  30. package/dist/cjs/createDictionaryEntryPoint/getBuiltDynamicDictionariesPath.cjs.map +1 -1
  31. package/dist/cjs/createDictionaryEntryPoint/getBuiltFetchDictionariesPath.cjs +1 -1
  32. package/dist/cjs/createDictionaryEntryPoint/getBuiltFetchDictionariesPath.cjs.map +1 -1
  33. package/dist/cjs/createDictionaryEntryPoint/getBuiltRemoteDictionariesPath.cjs +1 -1
  34. package/dist/cjs/createDictionaryEntryPoint/getBuiltRemoteDictionariesPath.cjs.map +1 -1
  35. package/dist/cjs/createDictionaryEntryPoint/getBuiltUnmergedDictionariesPath.cjs +1 -1
  36. package/dist/cjs/createDictionaryEntryPoint/getBuiltUnmergedDictionariesPath.cjs.map +1 -1
  37. package/dist/cjs/createType/createModuleAugmentation.cjs +1 -1
  38. package/dist/cjs/createType/createModuleAugmentation.cjs.map +1 -1
  39. package/dist/cjs/createType/createType.cjs +1 -1
  40. package/dist/cjs/createType/createType.cjs.map +1 -1
  41. package/dist/cjs/detectFormatCommand.cjs +1 -1
  42. package/dist/cjs/detectFormatCommand.cjs.map +1 -1
  43. package/dist/cjs/fetchDistantDictionaries.cjs +1 -1
  44. package/dist/cjs/fetchDistantDictionaries.cjs.map +1 -1
  45. package/dist/cjs/filterInvalidDictionaries.cjs +1 -1
  46. package/dist/cjs/filterInvalidDictionaries.cjs.map +1 -1
  47. package/dist/cjs/formatDictionary.cjs +1 -1
  48. package/dist/cjs/formatDictionary.cjs.map +1 -1
  49. package/dist/cjs/getContentDeclarationFileTemplate/getContentDeclarationFileTemplate.cjs +1 -1
  50. package/dist/cjs/getContentDeclarationFileTemplate/getContentDeclarationFileTemplate.cjs.map +1 -1
  51. package/dist/cjs/handleAdditionalContentDeclarationFile.cjs +1 -1
  52. package/dist/cjs/handleAdditionalContentDeclarationFile.cjs.map +1 -1
  53. package/dist/cjs/handleContentDeclarationFileChange.cjs +1 -1
  54. package/dist/cjs/handleContentDeclarationFileChange.cjs.map +1 -1
  55. package/dist/cjs/handleContentDeclarationFileMoved.cjs +1 -1
  56. package/dist/cjs/handleContentDeclarationFileMoved.cjs.map +1 -1
  57. package/dist/cjs/handleUnlinkedContentDeclarationFile.cjs +1 -1
  58. package/dist/cjs/handleUnlinkedContentDeclarationFile.cjs.map +1 -1
  59. package/dist/cjs/init/index.cjs +1 -1
  60. package/dist/cjs/init/index.cjs.map +1 -1
  61. package/dist/cjs/init/utils/configManipulation.cjs +1 -1
  62. package/dist/cjs/init/utils/configManipulation.cjs.map +1 -1
  63. package/dist/cjs/init/utils/fileSystem.cjs +1 -1
  64. package/dist/cjs/init/utils/fileSystem.cjs.map +1 -1
  65. package/dist/cjs/init/utils/tsConfig.cjs +1 -1
  66. package/dist/cjs/init/utils/tsConfig.cjs.map +1 -1
  67. package/dist/cjs/initConfig/index.cjs +1 -1
  68. package/dist/cjs/initConfig/index.cjs.map +1 -1
  69. package/dist/cjs/installMCP/installMCP.cjs +1 -1
  70. package/dist/cjs/installMCP/installMCP.cjs.map +1 -1
  71. package/dist/cjs/installSkills/index.cjs +1 -1
  72. package/dist/cjs/installSkills/index.cjs.map +1 -1
  73. package/dist/cjs/listDictionariesPath.cjs +1 -1
  74. package/dist/cjs/listDictionariesPath.cjs.map +1 -1
  75. package/dist/cjs/listGitFiles.cjs +1 -1
  76. package/dist/cjs/listGitFiles.cjs.map +1 -1
  77. package/dist/cjs/listProjects.cjs +1 -1
  78. package/dist/cjs/listProjects.cjs.map +1 -1
  79. package/dist/cjs/loadDictionaries/getIntlayerBundle.cjs +1 -1
  80. package/dist/cjs/loadDictionaries/getIntlayerBundle.cjs.map +1 -1
  81. package/dist/cjs/loadDictionaries/loadContentDeclaration.cjs +1 -1
  82. package/dist/cjs/loadDictionaries/loadContentDeclaration.cjs.map +1 -1
  83. package/dist/cjs/loadDictionaries/loadDictionaries.cjs +1 -1
  84. package/dist/cjs/loadDictionaries/loadDictionaries.cjs.map +1 -1
  85. package/dist/cjs/loadDictionaries/loadLocalDictionaries.cjs +1 -1
  86. package/dist/cjs/loadDictionaries/loadLocalDictionaries.cjs.map +1 -1
  87. package/dist/cjs/loadDictionaries/loadRemoteDictionaries.cjs +1 -1
  88. package/dist/cjs/loadDictionaries/loadRemoteDictionaries.cjs.map +1 -1
  89. package/dist/cjs/loadDictionaries/log.cjs +1 -1
  90. package/dist/cjs/loadDictionaries/log.cjs.map +1 -1
  91. package/dist/cjs/loadDictionaries/logTypeScriptErrors.cjs +1 -1
  92. package/dist/cjs/loadDictionaries/logTypeScriptErrors.cjs.map +1 -1
  93. package/dist/cjs/logConfigDetails.cjs +1 -1
  94. package/dist/cjs/logConfigDetails.cjs.map +1 -1
  95. package/dist/cjs/prepareIntlayer.cjs +1 -1
  96. package/dist/cjs/prepareIntlayer.cjs.map +1 -1
  97. package/dist/cjs/reduceDictionaryContent/reduceDictionaryContent.cjs +1 -1
  98. package/dist/cjs/reduceDictionaryContent/reduceDictionaryContent.cjs.map +1 -1
  99. package/dist/cjs/utils/autoDecorateContent.cjs +1 -1
  100. package/dist/cjs/utils/autoDecorateContent.cjs.map +1 -1
  101. package/dist/cjs/utils/buildComponentFilesList.cjs +1 -1
  102. package/dist/cjs/utils/buildComponentFilesList.cjs.map +1 -1
  103. package/dist/cjs/utils/buildFilesList.cjs +1 -1
  104. package/dist/cjs/utils/buildFilesList.cjs.map +1 -1
  105. package/dist/cjs/utils/formatter.cjs +1 -1
  106. package/dist/cjs/utils/formatter.cjs.map +1 -1
  107. package/dist/cjs/utils/getPathHash.cjs +1 -1
  108. package/dist/cjs/utils/getPathHash.cjs.map +1 -1
  109. package/dist/cjs/utils/resolveRelativePath.cjs +1 -1
  110. package/dist/cjs/utils/resolveRelativePath.cjs.map +1 -1
  111. package/dist/cjs/utils/runOnce.cjs +1 -1
  112. package/dist/cjs/utils/runOnce.cjs.map +1 -1
  113. package/dist/cjs/utils/runParallel/bin.cjs +1 -1
  114. package/dist/cjs/utils/runParallel/bin.cjs.map +1 -1
  115. package/dist/cjs/utils/runParallel/index.cjs +1 -1
  116. package/dist/cjs/utils/runParallel/index.cjs.map +1 -1
  117. package/dist/cjs/utils/runParallel/pidTree.cjs +1 -1
  118. package/dist/cjs/utils/runParallel/pidTree.cjs.map +1 -1
  119. package/dist/cjs/utils/runParallel/ps.cjs +1 -1
  120. package/dist/cjs/utils/runParallel/ps.cjs.map +1 -1
  121. package/dist/cjs/utils/runParallel/runTask.cjs +1 -1
  122. package/dist/cjs/utils/runParallel/runTask.cjs.map +1 -1
  123. package/dist/cjs/utils/runParallel/spawnPosix.cjs +1 -1
  124. package/dist/cjs/utils/runParallel/spawnPosix.cjs.map +1 -1
  125. package/dist/cjs/utils/runParallel/spawnWin32.cjs +1 -1
  126. package/dist/cjs/utils/runParallel/spawnWin32.cjs.map +1 -1
  127. package/dist/cjs/utils/runParallel/wmic.cjs +1 -1
  128. package/dist/cjs/utils/runParallel/wmic.cjs.map +1 -1
  129. package/dist/cjs/watcher.cjs +1 -1
  130. package/dist/cjs/watcher.cjs.map +1 -1
  131. package/dist/cjs/writeConfiguration/index.cjs +1 -1
  132. package/dist/cjs/writeConfiguration/index.cjs.map +1 -1
  133. package/dist/cjs/writeContentDeclaration/processContentDeclarationContent.cjs +1 -1
  134. package/dist/cjs/writeContentDeclaration/processContentDeclarationContent.cjs.map +1 -1
  135. package/dist/cjs/writeContentDeclaration/transformJSFile.cjs +1 -1
  136. package/dist/cjs/writeContentDeclaration/transformJSFile.cjs.map +1 -1
  137. package/dist/cjs/writeContentDeclaration/transformJSONFile.cjs +1 -1
  138. package/dist/cjs/writeContentDeclaration/transformJSONFile.cjs.map +1 -1
  139. package/dist/cjs/writeContentDeclaration/writeContentDeclaration.cjs +1 -1
  140. package/dist/cjs/writeContentDeclaration/writeContentDeclaration.cjs.map +1 -1
  141. package/dist/cjs/writeContentDeclaration/writeJSFile.cjs +1 -1
  142. package/dist/cjs/writeContentDeclaration/writeJSFile.cjs.map +1 -1
  143. package/dist/cjs/writeFileIfChanged.cjs +1 -1
  144. package/dist/cjs/writeFileIfChanged.cjs.map +1 -1
  145. package/dist/esm/{_virtual/_utils_asset.mjs → _utils_asset-4w8dPH9r.mjs} +1 -1
  146. package/dist/esm/build.mjs +1 -1
  147. package/dist/esm/{_virtual/_rolldown/runtime.mjs → chunk-DDgYwkfe.mjs} +1 -1
  148. package/dist/esm/cli.mjs +1 -1
  149. package/dist/esm/init/index.mjs +1 -1
  150. package/dist/esm/init/index.mjs.map +1 -1
  151. package/dist/esm/init/utils/configManipulation.mjs +1 -1
  152. package/dist/esm/init/utils/configManipulation.mjs.map +1 -1
  153. package/dist/esm/initConfig/index.mjs +1 -1
  154. package/dist/esm/initConfig/index.mjs.map +1 -1
  155. package/dist/esm/installMCP/installMCP.mjs +1 -1
  156. package/dist/esm/installMCP/installMCP.mjs.map +1 -1
  157. package/dist/esm/installSkills/index.mjs +1 -1
  158. package/dist/esm/installSkills/index.mjs.map +1 -1
  159. package/dist/esm/listDictionariesPath.mjs +1 -1
  160. package/dist/esm/listDictionariesPath.mjs.map +1 -1
  161. package/dist/esm/loadDictionaries/getIntlayerBundle.mjs +1 -1
  162. package/dist/esm/loadDictionaries/getIntlayerBundle.mjs.map +1 -1
  163. package/dist/esm/utils/buildComponentFilesList.mjs +1 -1
  164. package/dist/esm/utils/buildComponentFilesList.mjs.map +1 -1
  165. package/dist/esm/utils/formatter.mjs +1 -1
  166. package/dist/esm/utils/formatter.mjs.map +1 -1
  167. package/dist/esm/watcher.mjs +1 -1
  168. package/dist/esm/watcher.mjs.map +1 -1
  169. package/dist/esm/writeConfiguration/index.mjs +1 -1
  170. package/dist/esm/writeConfiguration/index.mjs.map +1 -1
  171. package/dist/esm/writeContentDeclaration/processContentDeclarationContent.mjs.map +1 -1
  172. package/dist/types/build.d.ts +20 -20
  173. package/dist/types/buildIntlayerDictionary/buildIntlayerDictionary.d.ts +2 -24
  174. package/dist/types/buildIntlayerDictionary/index.d.ts +2 -2
  175. package/dist/types/buildIntlayerDictionary/processContentDeclaration.d.ts +2 -11
  176. package/dist/types/buildIntlayerDictionary/writeDynamicDictionary.d.ts +2 -36
  177. package/dist/types/buildIntlayerDictionary/writeFetchDictionary.d.ts +1 -1
  178. package/dist/types/buildIntlayerDictionary/writeFetchDictionary.d.ts.map +1 -1
  179. package/dist/types/buildIntlayerDictionary/writeMergedDictionary.d.ts +2 -30
  180. package/dist/types/buildIntlayerDictionary/writeUnmergedDictionary.d.ts +2 -34
  181. package/dist/types/buildIntlayerDictionary-BGj5jDFy.d.ts +24 -0
  182. package/dist/types/buildIntlayerDictionary-BGj5jDFy.d.ts.map +1 -0
  183. package/dist/types/cli.d.ts +6 -6
  184. package/dist/types/createDictionaryEntryPoint/createDictionaryEntryPoint.d.ts +2 -14
  185. package/dist/types/createDictionaryEntryPoint/generateDictionaryListContent.d.ts +2 -10
  186. package/dist/types/createDictionaryEntryPoint/getBuiltDictionariesPath.d.ts +2 -10
  187. package/dist/types/createDictionaryEntryPoint/getBuiltDynamicDictionariesPath.d.ts +2 -10
  188. package/dist/types/createDictionaryEntryPoint/getBuiltFetchDictionariesPath.d.ts +2 -10
  189. package/dist/types/createDictionaryEntryPoint/getBuiltRemoteDictionariesPath.d.ts +2 -10
  190. package/dist/types/createDictionaryEntryPoint/getBuiltUnmergedDictionariesPath.d.ts +2 -10
  191. package/dist/types/createDictionaryEntryPoint/index.d.ts +7 -7
  192. package/dist/types/createDictionaryEntryPoint-Bc5lHSiY.d.ts +14 -0
  193. package/dist/types/createDictionaryEntryPoint-Bc5lHSiY.d.ts.map +1 -0
  194. package/dist/types/createModuleAugmentation-D1eIVnjg.d.ts +9 -0
  195. package/dist/types/createModuleAugmentation-D1eIVnjg.d.ts.map +1 -0
  196. package/dist/types/createType/createModuleAugmentation.d.ts +2 -9
  197. package/dist/types/createType/createType.d.ts +2 -12
  198. package/dist/types/createType/index.d.ts +2 -2
  199. package/dist/types/createType--rDwdg2t.d.ts +12 -0
  200. package/dist/types/createType--rDwdg2t.d.ts.map +1 -0
  201. package/dist/types/detectExportedComponentName-DVXsp_FG.d.ts +12 -0
  202. package/dist/types/detectExportedComponentName-DVXsp_FG.d.ts.map +1 -0
  203. package/dist/types/dictionaryStatus-DPVO37qe.d.ts +5 -0
  204. package/dist/types/dictionaryStatus-DPVO37qe.d.ts.map +1 -0
  205. package/dist/types/fetchDistantDictionaries.d.ts +1 -1
  206. package/dist/types/fetchDistantDictionaries.d.ts.map +1 -1
  207. package/dist/types/generateDictionaryListContent-DAtHG6SR.d.ts +10 -0
  208. package/dist/types/generateDictionaryListContent-DAtHG6SR.d.ts.map +1 -0
  209. package/dist/types/getBuiltDictionariesPath-C4it65a1.d.ts +10 -0
  210. package/dist/types/getBuiltDictionariesPath-C4it65a1.d.ts.map +1 -0
  211. package/dist/types/getBuiltDynamicDictionariesPath-Cj9EWnjT.d.ts +10 -0
  212. package/dist/types/getBuiltDynamicDictionariesPath-Cj9EWnjT.d.ts.map +1 -0
  213. package/dist/types/getBuiltFetchDictionariesPath-1JleRhT3.d.ts +10 -0
  214. package/dist/types/getBuiltFetchDictionariesPath-1JleRhT3.d.ts.map +1 -0
  215. package/dist/types/getBuiltRemoteDictionariesPath-DHOmqNCr.d.ts +10 -0
  216. package/dist/types/getBuiltRemoteDictionariesPath-DHOmqNCr.d.ts.map +1 -0
  217. package/dist/types/getBuiltUnmergedDictionariesPath-GUmmLxTB.d.ts +10 -0
  218. package/dist/types/getBuiltUnmergedDictionariesPath-GUmmLxTB.d.ts.map +1 -0
  219. package/dist/types/getContentDeclarationFileTemplate/getContentDeclarationFileTemplate.d.ts +2 -7
  220. package/dist/types/getContentDeclarationFileTemplate/index.d.ts +1 -1
  221. package/dist/types/getContentDeclarationFileTemplate-Dz3rnFy9.d.ts +7 -0
  222. package/dist/types/getContentDeclarationFileTemplate-Dz3rnFy9.d.ts.map +1 -0
  223. package/dist/types/getFormatFromExtension-SdXYWfPx.d.ts +8 -0
  224. package/dist/types/getFormatFromExtension-SdXYWfPx.d.ts.map +1 -0
  225. package/dist/types/listDictionariesPath.d.ts.map +1 -1
  226. package/dist/types/loadContentDeclaration-CBMS4vkA.d.ts +12 -0
  227. package/dist/types/loadContentDeclaration-CBMS4vkA.d.ts.map +1 -0
  228. package/dist/types/loadDictionaries/index.d.ts +4 -4
  229. package/dist/types/loadDictionaries/loadContentDeclaration.d.ts +2 -12
  230. package/dist/types/loadDictionaries/loadDictionaries.d.ts +2 -23
  231. package/dist/types/loadDictionaries/loadLocalDictionaries.d.ts +2 -8
  232. package/dist/types/loadDictionaries/loadRemoteDictionaries.d.ts +2 -15
  233. package/dist/types/loadDictionaries/log.d.ts +1 -1
  234. package/dist/types/loadDictionaries-BIqHwtYE.d.ts +23 -0
  235. package/dist/types/loadDictionaries-BIqHwtYE.d.ts.map +1 -0
  236. package/dist/types/loadLocalDictionaries-CNmVaw0c.d.ts +8 -0
  237. package/dist/types/loadLocalDictionaries-CNmVaw0c.d.ts.map +1 -0
  238. package/dist/types/loadRemoteDictionaries-MoITTb7W.d.ts +15 -0
  239. package/dist/types/loadRemoteDictionaries-MoITTb7W.d.ts.map +1 -0
  240. package/dist/types/processContentDeclaration-CAvrHaIT.d.ts +11 -0
  241. package/dist/types/processContentDeclaration-CAvrHaIT.d.ts.map +1 -0
  242. package/dist/types/transformJSFile-Cg0LkeLb.d.ts +11 -0
  243. package/dist/types/transformJSFile-Cg0LkeLb.d.ts.map +1 -0
  244. package/dist/types/utils/getFormatFromExtension.d.ts +2 -8
  245. package/dist/types/utils/index.d.ts +1 -1
  246. package/dist/types/watcher.d.ts.map +1 -1
  247. package/dist/types/writeConfiguration/index.d.ts.map +1 -1
  248. package/dist/types/writeContentDeclaration/detectExportedComponentName.d.ts +2 -12
  249. package/dist/types/writeContentDeclaration/dictionaryStatus.d.ts +2 -5
  250. package/dist/types/writeContentDeclaration/index.d.ts +5 -5
  251. package/dist/types/writeContentDeclaration/transformJSFile.d.ts +2 -11
  252. package/dist/types/writeContentDeclaration/writeContentDeclaration.d.ts +2 -19
  253. package/dist/types/writeContentDeclaration/writeJSFile.d.ts +2 -14
  254. package/dist/types/writeContentDeclaration-XdGxj0KP.d.ts +19 -0
  255. package/dist/types/writeContentDeclaration-XdGxj0KP.d.ts.map +1 -0
  256. package/dist/types/writeDynamicDictionary-DE3SJg-g.d.ts +36 -0
  257. package/dist/types/writeDynamicDictionary-DE3SJg-g.d.ts.map +1 -0
  258. package/dist/types/writeJSFile-kK95jzg_.d.ts +14 -0
  259. package/dist/types/writeJSFile-kK95jzg_.d.ts.map +1 -0
  260. package/dist/types/writeMergedDictionary-C4EvgXbL.d.ts +30 -0
  261. package/dist/types/writeMergedDictionary-C4EvgXbL.d.ts.map +1 -0
  262. package/dist/types/writeUnmergedDictionary-Cxx51isz.d.ts +34 -0
  263. package/dist/types/writeUnmergedDictionary-Cxx51isz.d.ts.map +1 -0
  264. package/package.json +16 -8
  265. package/dist/cjs/_virtual/_utils_asset.cjs +0 -2
  266. package/dist/types/buildIntlayerDictionary/buildIntlayerDictionary.d.ts.map +0 -1
  267. package/dist/types/buildIntlayerDictionary/processContentDeclaration.d.ts.map +0 -1
  268. package/dist/types/buildIntlayerDictionary/writeDynamicDictionary.d.ts.map +0 -1
  269. package/dist/types/buildIntlayerDictionary/writeMergedDictionary.d.ts.map +0 -1
  270. package/dist/types/buildIntlayerDictionary/writeUnmergedDictionary.d.ts.map +0 -1
  271. package/dist/types/createDictionaryEntryPoint/createDictionaryEntryPoint.d.ts.map +0 -1
  272. package/dist/types/createDictionaryEntryPoint/generateDictionaryListContent.d.ts.map +0 -1
  273. package/dist/types/createDictionaryEntryPoint/getBuiltDictionariesPath.d.ts.map +0 -1
  274. package/dist/types/createDictionaryEntryPoint/getBuiltDynamicDictionariesPath.d.ts.map +0 -1
  275. package/dist/types/createDictionaryEntryPoint/getBuiltFetchDictionariesPath.d.ts.map +0 -1
  276. package/dist/types/createDictionaryEntryPoint/getBuiltRemoteDictionariesPath.d.ts.map +0 -1
  277. package/dist/types/createDictionaryEntryPoint/getBuiltUnmergedDictionariesPath.d.ts.map +0 -1
  278. package/dist/types/createType/createModuleAugmentation.d.ts.map +0 -1
  279. package/dist/types/createType/createType.d.ts.map +0 -1
  280. package/dist/types/getContentDeclarationFileTemplate/getContentDeclarationFileTemplate.d.ts.map +0 -1
  281. package/dist/types/loadDictionaries/loadContentDeclaration.d.ts.map +0 -1
  282. package/dist/types/loadDictionaries/loadDictionaries.d.ts.map +0 -1
  283. package/dist/types/loadDictionaries/loadLocalDictionaries.d.ts.map +0 -1
  284. package/dist/types/loadDictionaries/loadRemoteDictionaries.d.ts.map +0 -1
  285. package/dist/types/utils/getFormatFromExtension.d.ts.map +0 -1
  286. package/dist/types/writeContentDeclaration/detectExportedComponentName.d.ts.map +0 -1
  287. package/dist/types/writeContentDeclaration/dictionaryStatus.d.ts.map +0 -1
  288. package/dist/types/writeContentDeclaration/transformJSFile.d.ts.map +0 -1
  289. package/dist/types/writeContentDeclaration/writeContentDeclaration.d.ts.map +0 -1
  290. package/dist/types/writeContentDeclaration/writeJSFile.d.ts.map +0 -1
@@ -0,0 +1,10 @@
1
+ import { IntlayerConfig } from "@intlayer/types/config";
2
+
3
+ //#region src/createDictionaryEntryPoint/getBuiltFetchDictionariesPath.d.ts
4
+ /**
5
+ * This function generates a list of dictionaries in the main directory
6
+ */
7
+ declare const getBuiltFetchDictionariesPath: (configuration: IntlayerConfig, format?: "cjs" | "esm", excludeKeys?: string[]) => Promise<string[]>;
8
+ //#endregion
9
+ export { getBuiltFetchDictionariesPath as t };
10
+ //# sourceMappingURL=getBuiltFetchDictionariesPath-1JleRhT3.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getBuiltFetchDictionariesPath-1JleRhT3.d.ts","names":[],"sources":["../../src/createDictionaryEntryPoint/getBuiltFetchDictionariesPath.ts"],"mappings":";;;;;AASA;cAAa,6BAAA,GACX,aAAA,EAAe,cAAA,EACf,MAAA,kBACA,WAAA,gBAA0B,OAAA"}
@@ -0,0 +1,10 @@
1
+ import { IntlayerConfig } from "@intlayer/types/config";
2
+
3
+ //#region src/createDictionaryEntryPoint/getBuiltRemoteDictionariesPath.d.ts
4
+ /**
5
+ * This function generates a list of dictionaries in the main directory
6
+ */
7
+ declare const getBuiltRemoteDictionariesPath: (configuration: IntlayerConfig, excludeKeys?: string[]) => Promise<string[]>;
8
+ //#endregion
9
+ export { getBuiltRemoteDictionariesPath as t };
10
+ //# sourceMappingURL=getBuiltRemoteDictionariesPath-DHOmqNCr.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getBuiltRemoteDictionariesPath-DHOmqNCr.d.ts","names":[],"sources":["../../src/createDictionaryEntryPoint/getBuiltRemoteDictionariesPath.ts"],"mappings":";;;;;AASA;cAAa,8BAAA,GACX,aAAA,EAAe,cAAA,EACf,WAAA,gBAA0B,OAAA"}
@@ -0,0 +1,10 @@
1
+ import { IntlayerConfig } from "@intlayer/types/config";
2
+
3
+ //#region src/createDictionaryEntryPoint/getBuiltUnmergedDictionariesPath.d.ts
4
+ /**
5
+ * This function generates a list of dictionaries in the main directory
6
+ */
7
+ declare const getBuiltUnmergedDictionariesPath: (configuration: IntlayerConfig, excludeKeys?: string[]) => Promise<string[]>;
8
+ //#endregion
9
+ export { getBuiltUnmergedDictionariesPath as t };
10
+ //# sourceMappingURL=getBuiltUnmergedDictionariesPath-GUmmLxTB.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getBuiltUnmergedDictionariesPath-GUmmLxTB.d.ts","names":[],"sources":["../../src/createDictionaryEntryPoint/getBuiltUnmergedDictionariesPath.ts"],"mappings":";;;;;AASA;cAAa,gCAAA,GACX,aAAA,EAAe,cAAA,EACf,WAAA,gBAA0B,OAAA"}
@@ -1,7 +1,2 @@
1
- import { Format } from "../utils/getFormatFromExtension.js";
2
-
3
- //#region src/getContentDeclarationFileTemplate/getContentDeclarationFileTemplate.d.ts
4
- declare const getContentDeclarationFileTemplate: (key: string, format: Format, fileParams?: Record<string, any>, noMetadata?: boolean) => Promise<string>;
5
- //#endregion
6
- export { getContentDeclarationFileTemplate };
7
- //# sourceMappingURL=getContentDeclarationFileTemplate.d.ts.map
1
+ import { t as getContentDeclarationFileTemplate } from "../getContentDeclarationFileTemplate-Dz3rnFy9.js";
2
+ export { getContentDeclarationFileTemplate };
@@ -1,2 +1,2 @@
1
- import { getContentDeclarationFileTemplate } from "./getContentDeclarationFileTemplate.js";
1
+ import { t as getContentDeclarationFileTemplate } from "../getContentDeclarationFileTemplate-Dz3rnFy9.js";
2
2
  export { getContentDeclarationFileTemplate };
@@ -0,0 +1,7 @@
1
+ import { n as Format } from "./getFormatFromExtension-SdXYWfPx.js";
2
+
3
+ //#region src/getContentDeclarationFileTemplate/getContentDeclarationFileTemplate.d.ts
4
+ declare const getContentDeclarationFileTemplate: (key: string, format: Format, fileParams?: Record<string, any>, noMetadata?: boolean) => Promise<string>;
5
+ //#endregion
6
+ export { getContentDeclarationFileTemplate as t };
7
+ //# sourceMappingURL=getContentDeclarationFileTemplate-Dz3rnFy9.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getContentDeclarationFileTemplate-Dz3rnFy9.d.ts","names":[],"sources":["../../src/getContentDeclarationFileTemplate/getContentDeclarationFileTemplate.ts"],"mappings":";;;cAGa,iCAAA,GACX,GAAA,UACA,MAAA,EAAQ,MAAA,EACR,UAAA,GAAY,MAAA,eACZ,UAAA,eAAoB,OAAA"}
@@ -0,0 +1,8 @@
1
+ //#region src/utils/getFormatFromExtension.d.ts
2
+ type Format = 'ts' | 'cjs' | 'esm' | 'json' | 'jsonc' | 'json5';
3
+ type Extension = '.ts' | '.tsx' | '.js' | '.jsx' | '.cjs' | '.cjsx' | '.mjs' | '.mjsx' | '.json' | '.jsonc' | '.json5';
4
+ declare const getFormatFromExtension: (extension: Extension | (string & {})) => Format;
5
+ declare const getExtensionFromFormat: (format: Format | (string & {})) => Extension;
6
+ //#endregion
7
+ export { getFormatFromExtension as i, Format as n, getExtensionFromFormat as r, Extension as t };
8
+ //# sourceMappingURL=getFormatFromExtension-SdXYWfPx.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getFormatFromExtension-SdXYWfPx.d.ts","names":[],"sources":["../../src/utils/getFormatFromExtension.ts"],"mappings":";KAAY,MAAA;AAAA,KACA,SAAA;AAAA,cAaC,sBAAA,GACX,SAAA,EAAW,SAAA,qBACV,MAAA;AAAA,cAsBU,sBAAA,GACX,MAAA,EAAQ,MAAA,qBACP,SAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"listDictionariesPath.d.ts","names":[],"sources":["../../src/listDictionariesPath.ts"],"mappings":";;;;;;;AASA;;cAAa,gBAAA,GACX,aAAA,EAAe,cAAA,KACd,OAAA;AAAA,cA0CU,yBAAA,GACX,aAAA,EAAe,cAAA,KAAc,OAAA;;SAAA,QAAA,CAAA,KAAA;AAAA"}
1
+ {"version":3,"file":"listDictionariesPath.d.ts","names":[],"sources":["../../src/listDictionariesPath.ts"],"mappings":";;;;;;;AAUA;;cAAa,gBAAA,GACX,aAAA,EAAe,cAAA,KACd,OAAA;AAAA,cAgDU,yBAAA,GACX,aAAA,EAAe,cAAA,KAAc,OAAA;;SAAA,QAAA,CAAA,KAAA;AAAA"}
@@ -0,0 +1,12 @@
1
+ import { t as DictionariesStatus } from "./loadDictionaries-BIqHwtYE.js";
2
+ import { IntlayerConfig } from "@intlayer/types/config";
3
+ import { Dictionary } from "@intlayer/types/dictionary";
4
+
5
+ //#region src/loadDictionaries/loadContentDeclaration.d.ts
6
+ declare const formatLocalDictionaries: (dictionariesRecord: Record<string, Dictionary>, configuration: IntlayerConfig) => Dictionary[];
7
+ declare const ensureIntlayerBundle: (configuration: IntlayerConfig) => Promise<string>;
8
+ declare const loadContentDeclaration: (path: string, configuration: IntlayerConfig, bundleFilePath?: string) => Promise<Dictionary | undefined>;
9
+ declare const loadContentDeclarations: (contentDeclarationFilePath: string[], configuration: IntlayerConfig, onStatusUpdate?: (status: DictionariesStatus[]) => void) => Promise<Dictionary[]>;
10
+ //#endregion
11
+ export { loadContentDeclarations as i, formatLocalDictionaries as n, loadContentDeclaration as r, ensureIntlayerBundle as t };
12
+ //# sourceMappingURL=loadContentDeclaration-CBMS4vkA.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loadContentDeclaration-CBMS4vkA.d.ts","names":[],"sources":["../../src/loadDictionaries/loadContentDeclaration.ts"],"mappings":";;;;;cAaa,uBAAA,GACX,kBAAA,EAAoB,MAAA,SAAe,UAAA,GACnC,aAAA,EAAe,cAAA,KACd,UAAA;AAAA,cAQU,oBAAA,GACX,aAAA,EAAe,cAAA,KACd,OAAA;AAAA,cAmBU,sBAAA,GACX,IAAA,UACA,aAAA,EAAe,cAAA,EACf,cAAA,cACC,OAAA,CAAQ,UAAA;AAAA,cA6BE,uBAAA,GACX,0BAAA,YACA,aAAA,EAAe,cAAA,EACf,cAAA,IAAkB,MAAA,EAAQ,kBAAA,gBACzB,OAAA,CAAQ,UAAA"}
@@ -1,5 +1,5 @@
1
- import { DictionariesStatus, loadDictionaries } from "./loadDictionaries.js";
2
- import { ensureIntlayerBundle, formatLocalDictionaries, loadContentDeclaration, loadContentDeclarations } from "./loadContentDeclaration.js";
3
- import { loadLocalDictionaries } from "./loadLocalDictionaries.js";
4
- import { formatDistantDictionaries, loadRemoteDictionaries } from "./loadRemoteDictionaries.js";
1
+ import { n as loadDictionaries, t as DictionariesStatus } from "../loadDictionaries-BIqHwtYE.js";
2
+ import { i as loadContentDeclarations, n as formatLocalDictionaries, r as loadContentDeclaration, t as ensureIntlayerBundle } from "../loadContentDeclaration-CBMS4vkA.js";
3
+ import { t as loadLocalDictionaries } from "../loadLocalDictionaries-CNmVaw0c.js";
4
+ import { n as loadRemoteDictionaries, t as formatDistantDictionaries } from "../loadRemoteDictionaries-MoITTb7W.js";
5
5
  export { DictionariesStatus, ensureIntlayerBundle, formatDistantDictionaries, formatLocalDictionaries, loadContentDeclaration, loadContentDeclarations, loadDictionaries, loadLocalDictionaries, loadRemoteDictionaries };
@@ -1,12 +1,2 @@
1
- import { DictionariesStatus } from "./loadDictionaries.js";
2
- import { IntlayerConfig } from "@intlayer/types/config";
3
- import { Dictionary } from "@intlayer/types/dictionary";
4
-
5
- //#region src/loadDictionaries/loadContentDeclaration.d.ts
6
- declare const formatLocalDictionaries: (dictionariesRecord: Record<string, Dictionary>, configuration: IntlayerConfig) => Dictionary[];
7
- declare const ensureIntlayerBundle: (configuration: IntlayerConfig) => Promise<string>;
8
- declare const loadContentDeclaration: (path: string, configuration: IntlayerConfig, bundleFilePath?: string) => Promise<Dictionary | undefined>;
9
- declare const loadContentDeclarations: (contentDeclarationFilePath: string[], configuration: IntlayerConfig, onStatusUpdate?: (status: DictionariesStatus[]) => void) => Promise<Dictionary[]>;
10
- //#endregion
11
- export { ensureIntlayerBundle, formatLocalDictionaries, loadContentDeclaration, loadContentDeclarations };
12
- //# sourceMappingURL=loadContentDeclaration.d.ts.map
1
+ import { i as loadContentDeclarations, n as formatLocalDictionaries, r as loadContentDeclaration, t as ensureIntlayerBundle } from "../loadContentDeclaration-CBMS4vkA.js";
2
+ export { ensureIntlayerBundle, formatLocalDictionaries, loadContentDeclaration, loadContentDeclarations };
@@ -1,23 +1,2 @@
1
- import { IntlayerConfig } from "@intlayer/types/config";
2
- import { Dictionary } from "@intlayer/types/dictionary";
3
-
4
- //#region src/loadDictionaries/loadDictionaries.d.ts
5
- type DictionariesStatus = {
6
- dictionaryKey: string;
7
- type: 'local' | 'remote';
8
- status: 'pending' | 'fetching' | 'fetched' | 'error' | 'imported' | 'found' | 'building' | 'built';
9
- error?: string;
10
- };
11
- declare const loadDictionaries: (contentDeclarationsPaths: string[] | string, configuration: IntlayerConfig) => Promise<{
12
- localDictionaries: Dictionary[];
13
- remoteDictionaries: Dictionary[];
14
- pluginDictionaries: Dictionary[];
15
- time: {
16
- localDictionaries: number;
17
- remoteDictionaries: number;
18
- pluginDictionaries: number;
19
- };
20
- }>;
21
- //#endregion
22
- export { DictionariesStatus, loadDictionaries };
23
- //# sourceMappingURL=loadDictionaries.d.ts.map
1
+ import { n as loadDictionaries, t as DictionariesStatus } from "../loadDictionaries-BIqHwtYE.js";
2
+ export { DictionariesStatus, loadDictionaries };
@@ -1,8 +1,2 @@
1
- import { IntlayerConfig } from "@intlayer/types/config";
2
- import { Dictionary } from "@intlayer/types/dictionary";
3
-
4
- //#region src/loadDictionaries/loadLocalDictionaries.d.ts
5
- declare const loadLocalDictionaries: (contentDeclarationsPaths: string[] | string, configuration: IntlayerConfig) => Promise<Dictionary[]>;
6
- //#endregion
7
- export { loadLocalDictionaries };
8
- //# sourceMappingURL=loadLocalDictionaries.d.ts.map
1
+ import { t as loadLocalDictionaries } from "../loadLocalDictionaries-CNmVaw0c.js";
2
+ export { loadLocalDictionaries };
@@ -1,15 +1,2 @@
1
- import { DictionariesStatus } from "./loadDictionaries.js";
2
- import * as _intlayer_types_config0 from "@intlayer/types/config";
3
- import { Dictionary } from "@intlayer/types/dictionary";
4
- import { DictionaryAPI } from "@intlayer/backend";
5
-
6
- //#region src/loadDictionaries/loadRemoteDictionaries.d.ts
7
- declare const formatDistantDictionaries: (dictionaries: (DictionaryAPI | Dictionary)[]) => Dictionary[];
8
- declare const loadRemoteDictionaries: (configuration?: _intlayer_types_config0.IntlayerConfig, onStatusUpdate?: (status: DictionariesStatus[]) => void, options?: {
9
- onStartRemoteCheck?: () => void;
10
- onStopRemoteCheck?: () => void;
11
- onError?: (error: Error) => void;
12
- }) => Promise<Dictionary[]>;
13
- //#endregion
14
- export { formatDistantDictionaries, loadRemoteDictionaries };
15
- //# sourceMappingURL=loadRemoteDictionaries.d.ts.map
1
+ import { n as loadRemoteDictionaries, t as formatDistantDictionaries } from "../loadRemoteDictionaries-MoITTb7W.js";
2
+ export { formatDistantDictionaries, loadRemoteDictionaries };
@@ -1,4 +1,4 @@
1
- import { DictionariesStatus } from "./loadDictionaries.js";
1
+ import { t as DictionariesStatus } from "../loadDictionaries-BIqHwtYE.js";
2
2
 
3
3
  //#region src/loadDictionaries/log.d.ts
4
4
  declare class DictionariesLogger {
@@ -0,0 +1,23 @@
1
+ import { IntlayerConfig } from "@intlayer/types/config";
2
+ import { Dictionary } from "@intlayer/types/dictionary";
3
+
4
+ //#region src/loadDictionaries/loadDictionaries.d.ts
5
+ type DictionariesStatus = {
6
+ dictionaryKey: string;
7
+ type: 'local' | 'remote';
8
+ status: 'pending' | 'fetching' | 'fetched' | 'error' | 'imported' | 'found' | 'building' | 'built';
9
+ error?: string;
10
+ };
11
+ declare const loadDictionaries: (contentDeclarationsPaths: string[] | string, configuration: IntlayerConfig) => Promise<{
12
+ localDictionaries: Dictionary[];
13
+ remoteDictionaries: Dictionary[];
14
+ pluginDictionaries: Dictionary[];
15
+ time: {
16
+ localDictionaries: number;
17
+ remoteDictionaries: number;
18
+ pluginDictionaries: number;
19
+ };
20
+ }>;
21
+ //#endregion
22
+ export { loadDictionaries as n, DictionariesStatus as t };
23
+ //# sourceMappingURL=loadDictionaries-BIqHwtYE.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loadDictionaries-BIqHwtYE.d.ts","names":[],"sources":["../../src/loadDictionaries/loadDictionaries.ts"],"mappings":";;;;KAeY,kBAAA;EACV,aAAA;EACA,IAAA;EACA,MAAA;EASA,KAAA;AAAA;AAAA,cAiIW,gBAAA,GACX,wBAAA,qBACA,aAAA,EAAe,cAAA,KACd,OAAA;EACD,iBAAA,EAAmB,UAAA;EACnB,kBAAA,EAAoB,UAAA;EACpB,kBAAA,EAAoB,UAAA;EACpB,IAAA;IACE,iBAAA;IACA,kBAAA;IACA,kBAAA;EAAA;AAAA"}
@@ -0,0 +1,8 @@
1
+ import { IntlayerConfig } from "@intlayer/types/config";
2
+ import { Dictionary } from "@intlayer/types/dictionary";
3
+
4
+ //#region src/loadDictionaries/loadLocalDictionaries.d.ts
5
+ declare const loadLocalDictionaries: (contentDeclarationsPaths: string[] | string, configuration: IntlayerConfig) => Promise<Dictionary[]>;
6
+ //#endregion
7
+ export { loadLocalDictionaries as t };
8
+ //# sourceMappingURL=loadLocalDictionaries-CNmVaw0c.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loadLocalDictionaries-CNmVaw0c.d.ts","names":[],"sources":["../../src/loadDictionaries/loadLocalDictionaries.ts"],"mappings":";;;;cAMa,qBAAA,GACX,wBAAA,qBACA,aAAA,EAAe,cAAA,KACd,OAAA,CAAQ,UAAA"}
@@ -0,0 +1,15 @@
1
+ import { t as DictionariesStatus } from "./loadDictionaries-BIqHwtYE.js";
2
+ import * as _intlayer_types_config0 from "@intlayer/types/config";
3
+ import { Dictionary } from "@intlayer/types/dictionary";
4
+ import { DictionaryAPI } from "@intlayer/backend";
5
+
6
+ //#region src/loadDictionaries/loadRemoteDictionaries.d.ts
7
+ declare const formatDistantDictionaries: (dictionaries: (DictionaryAPI | Dictionary)[]) => Dictionary[];
8
+ declare const loadRemoteDictionaries: (configuration?: _intlayer_types_config0.IntlayerConfig, onStatusUpdate?: (status: DictionariesStatus[]) => void, options?: {
9
+ onStartRemoteCheck?: () => void;
10
+ onStopRemoteCheck?: () => void;
11
+ onError?: (error: Error) => void;
12
+ }) => Promise<Dictionary[]>;
13
+ //#endregion
14
+ export { loadRemoteDictionaries as n, formatDistantDictionaries as t };
15
+ //# sourceMappingURL=loadRemoteDictionaries-MoITTb7W.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"loadRemoteDictionaries-MoITTb7W.d.ts","names":[],"sources":["../../src/loadDictionaries/loadRemoteDictionaries.ts"],"mappings":";;;;;;cAUa,yBAAA,GACX,YAAA,GAAe,aAAA,GAAgB,UAAA,QAC9B,UAAA;AAAA,cAOU,sBAAA,GACX,aAAA,GAqID,uBAAA,CArIC,cAAA,EACA,cAAA,IAAkB,MAAA,EAAQ,kBAAA,aAC1B,OAAA;EACE,kBAAA;EACA,iBAAA;EACA,OAAA,IAAW,KAAA,EAAO,KAAA;AAAA,MAEnB,OAAA,CAAQ,UAAA"}
@@ -0,0 +1,11 @@
1
+ import { IntlayerConfig } from "@intlayer/types/config";
2
+ import { Dictionary } from "@intlayer/types/dictionary";
3
+
4
+ //#region src/buildIntlayerDictionary/processContentDeclaration.d.ts
5
+ /**
6
+ * Function to load, process the module and return the Intlayer Dictionary from the module file
7
+ */
8
+ declare const processContentDeclaration: (contentDeclaration: Dictionary, configuration: IntlayerConfig) => Promise<Dictionary | undefined>;
9
+ //#endregion
10
+ export { processContentDeclaration as t };
11
+ //# sourceMappingURL=processContentDeclaration-CAvrHaIT.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"processContentDeclaration-CAvrHaIT.d.ts","names":[],"sources":["../../src/buildIntlayerDictionary/processContentDeclaration.ts"],"mappings":";;;;;;AASA;cAAa,yBAAA,GACX,kBAAA,EAAoB,UAAA,EACpB,aAAA,EAAe,cAAA,KACd,OAAA,CAAQ,UAAA"}
@@ -0,0 +1,11 @@
1
+ import { Dictionary } from "@intlayer/types/dictionary";
2
+ import { Locale } from "@intlayer/types/allLocales";
3
+
4
+ //#region src/writeContentDeclaration/transformJSFile.d.ts
5
+ /**
6
+ * Updates a JS/TS file seamlessly to map new localization keys, arrays, complex nodes and nested dictionaries gracefully using AST updates via Recast parser.
7
+ */
8
+ declare const transformJSFile: (fileContent: string, dictionary: Dictionary, fallbackLocale?: Locale, noMetadata?: boolean) => Promise<string>;
9
+ //#endregion
10
+ export { transformJSFile as t };
11
+ //# sourceMappingURL=transformJSFile-Cg0LkeLb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"transformJSFile-Cg0LkeLb.d.ts","names":[],"sources":["../../src/writeContentDeclaration/transformJSFile.ts"],"mappings":";;;;;;AA6kBA;cAAa,eAAA,GACX,WAAA,UACA,UAAA,EAAY,UAAA,EACZ,cAAA,GAAiB,MAAA,EACjB,UAAA,eACC,OAAA"}
@@ -1,8 +1,2 @@
1
- //#region src/utils/getFormatFromExtension.d.ts
2
- type Format = 'ts' | 'cjs' | 'esm' | 'json' | 'jsonc' | 'json5';
3
- type Extension = '.ts' | '.tsx' | '.js' | '.jsx' | '.cjs' | '.cjsx' | '.mjs' | '.mjsx' | '.json' | '.jsonc' | '.json5';
4
- declare const getFormatFromExtension: (extension: Extension | (string & {})) => Format;
5
- declare const getExtensionFromFormat: (format: Format | (string & {})) => Extension;
6
- //#endregion
7
- export { Extension, Format, getExtensionFromFormat, getFormatFromExtension };
8
- //# sourceMappingURL=getFormatFromExtension.d.ts.map
1
+ import { i as getFormatFromExtension, n as Format, r as getExtensionFromFormat, t as Extension } from "../getFormatFromExtension-SdXYWfPx.js";
2
+ export { Extension, Format, getExtensionFromFormat, getFormatFromExtension };
@@ -1,4 +1,4 @@
1
- import { Extension, Format, getExtensionFromFormat, getFormatFromExtension } from "./getFormatFromExtension.js";
1
+ import { i as getFormatFromExtension, n as Format, r as getExtensionFromFormat, t as Extension } from "../getFormatFromExtension-SdXYWfPx.js";
2
2
  import { autoDecorateContent } from "./autoDecorateContent.js";
3
3
  import { buildComponentFilesList } from "./buildComponentFilesList.js";
4
4
  import { JSONObject, JsonChunk, assembleJSON, chunkJSON, reconstructFromSingleChunk } from "./chunkJSON.js";
@@ -1 +1 @@
1
- {"version":3,"file":"watcher.d.ts","names":[],"sources":["../../src/watcher.ts"],"mappings":";;;;;;KAqCK,YAAA,GAAe,eAAA;EAClB,aAAA,GAAgB,cAAA;EAChB,aAAA,GAAgB,uBAAA;EAChB,WAAA;AAAA;AAAA,cAIW,KAAA,GAAS,OAAA,GAAU,YAAA,KAAY,QAAA,CAAA,SAAA;AAAA,cAuJ/B,qBAAA,GAA+B,OAAA,GAAU,YAAA,KAAY,OAAA"}
1
+ {"version":3,"file":"watcher.d.ts","names":[],"sources":["../../src/watcher.ts"],"mappings":";;;;;;KAyCK,YAAA,GAAe,eAAA;EAClB,aAAA,GAAgB,cAAA;EAChB,aAAA,GAAgB,uBAAA;EAChB,WAAA;AAAA;AAAA,cAIW,KAAA,GAAS,OAAA,GAAU,YAAA,KAAY,QAAA,CAAA,SAAA;AAAA,cA2J/B,qBAAA,GAA+B,OAAA,GAAU,YAAA,KAAY,OAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/writeConfiguration/index.ts"],"mappings":";;;cAgBa,6BAAA,GACX,aAAA,EAAe,cAAA,KACd,OAAA;AAAA,cAgCU,kBAAA,GAA4B,aAAA,EAAe,cAAA,KAAc,OAAA"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/writeConfiguration/index.ts"],"mappings":";;;cAmBa,6BAAA,GACX,aAAA,EAAe,cAAA,KACd,OAAA;AAAA,cAkCU,kBAAA,GAA4B,aAAA,EAAe,cAAA,KAAc,OAAA"}
@@ -1,12 +1,2 @@
1
- //#region src/writeContentDeclaration/detectExportedComponentName.d.ts
2
- /**
3
- * Attempt to detect an exported React component name in the file text.
4
- * Looks for patterns like:
5
- * - export const MyComponent = ...
6
- * - export function MyComponent(...)
7
- * - export default function MyComponent(...)
8
- */
9
- declare const detectExportedComponentName: (fileText: string) => string | null;
10
- //#endregion
11
- export { detectExportedComponentName };
12
- //# sourceMappingURL=detectExportedComponentName.d.ts.map
1
+ import { t as detectExportedComponentName } from "../detectExportedComponentName-DVXsp_FG.js";
2
+ export { detectExportedComponentName };
@@ -1,5 +1,2 @@
1
- //#region src/writeContentDeclaration/dictionaryStatus.d.ts
2
- type DictionaryStatus = 'pending' | 'fetching' | 'up-to-date' | 'replaced' | 'updated' | 'fetched' | 'unknown' | 'error' | 'imported' | 'reimported in JSON' | 'new content file' | 'created';
3
- //#endregion
4
- export { DictionaryStatus };
5
- //# sourceMappingURL=dictionaryStatus.d.ts.map
1
+ import { t as DictionaryStatus } from "../dictionaryStatus-DPVO37qe.js";
2
+ export { DictionaryStatus };
@@ -1,6 +1,6 @@
1
- import { detectExportedComponentName } from "./detectExportedComponentName.js";
2
- import { DictionaryStatus } from "./dictionaryStatus.js";
3
- import { transformJSFile } from "./transformJSFile.js";
4
- import { writeContentDeclaration } from "./writeContentDeclaration.js";
5
- import { writeJSFile } from "./writeJSFile.js";
1
+ import { t as detectExportedComponentName } from "../detectExportedComponentName-DVXsp_FG.js";
2
+ import { t as DictionaryStatus } from "../dictionaryStatus-DPVO37qe.js";
3
+ import { t as transformJSFile } from "../transformJSFile-Cg0LkeLb.js";
4
+ import { t as writeContentDeclaration } from "../writeContentDeclaration-XdGxj0KP.js";
5
+ import { t as writeJSFile } from "../writeJSFile-kK95jzg_.js";
6
6
  export { DictionaryStatus, detectExportedComponentName, transformJSFile, writeContentDeclaration, writeJSFile };
@@ -1,11 +1,2 @@
1
- import { Dictionary } from "@intlayer/types/dictionary";
2
- import { Locale } from "@intlayer/types/allLocales";
3
-
4
- //#region src/writeContentDeclaration/transformJSFile.d.ts
5
- /**
6
- * Updates a JS/TS file seamlessly to map new localization keys, arrays, complex nodes and nested dictionaries gracefully using AST updates via Recast parser.
7
- */
8
- declare const transformJSFile: (fileContent: string, dictionary: Dictionary, fallbackLocale?: Locale, noMetadata?: boolean) => Promise<string>;
9
- //#endregion
10
- export { transformJSFile };
11
- //# sourceMappingURL=transformJSFile.d.ts.map
1
+ import { t as transformJSFile } from "../transformJSFile-Cg0LkeLb.js";
2
+ export { transformJSFile };
@@ -1,19 +1,2 @@
1
- import { DictionaryStatus } from "./dictionaryStatus.js";
2
- import { IntlayerConfig } from "@intlayer/types/config";
3
- import { Dictionary } from "@intlayer/types/dictionary";
4
- import { Locale } from "@intlayer/types/allLocales";
5
- import { LocalesValues } from "@intlayer/types/module_augmentation";
6
-
7
- //#region src/writeContentDeclaration/writeContentDeclaration.d.ts
8
- type WriteContentDeclarationOptions = {
9
- newDictionariesPath?: string;
10
- localeList?: LocalesValues[];
11
- fallbackLocale?: Locale;
12
- };
13
- declare const writeContentDeclaration: (dictionary: Dictionary, configuration: IntlayerConfig, options?: WriteContentDeclarationOptions) => Promise<{
14
- status: DictionaryStatus;
15
- path: string;
16
- }>;
17
- //#endregion
18
- export { writeContentDeclaration };
19
- //# sourceMappingURL=writeContentDeclaration.d.ts.map
1
+ import { t as writeContentDeclaration } from "../writeContentDeclaration-XdGxj0KP.js";
2
+ export { writeContentDeclaration };
@@ -1,14 +1,2 @@
1
- import { IntlayerConfig } from "@intlayer/types/config";
2
- import { Dictionary } from "@intlayer/types/dictionary";
3
-
4
- //#region src/writeContentDeclaration/writeJSFile.d.ts
5
- /**
6
- * Updates a JavaScript/TypeScript file based on the provided JSON instructions.
7
- * It targets a specific dictionary object within the file (identified by its 'key' property)
8
- * and updates its 'content' entries. Currently, it focuses on modifying arguments
9
- * of 't' (translation) function calls.
10
- */
11
- declare const writeJSFile: (filePath: string, dictionary: Dictionary, configuration: IntlayerConfig, noMetadata?: boolean) => Promise<void>;
12
- //#endregion
13
- export { writeJSFile };
14
- //# sourceMappingURL=writeJSFile.d.ts.map
1
+ import { t as writeJSFile } from "../writeJSFile-kK95jzg_.js";
2
+ export { writeJSFile };
@@ -0,0 +1,19 @@
1
+ import { t as DictionaryStatus } from "./dictionaryStatus-DPVO37qe.js";
2
+ import { IntlayerConfig } from "@intlayer/types/config";
3
+ import { Dictionary } from "@intlayer/types/dictionary";
4
+ import { Locale } from "@intlayer/types/allLocales";
5
+ import { LocalesValues } from "@intlayer/types/module_augmentation";
6
+
7
+ //#region src/writeContentDeclaration/writeContentDeclaration.d.ts
8
+ type WriteContentDeclarationOptions = {
9
+ newDictionariesPath?: string;
10
+ localeList?: LocalesValues[];
11
+ fallbackLocale?: Locale;
12
+ };
13
+ declare const writeContentDeclaration: (dictionary: Dictionary, configuration: IntlayerConfig, options?: WriteContentDeclarationOptions) => Promise<{
14
+ status: DictionaryStatus;
15
+ path: string;
16
+ }>;
17
+ //#endregion
18
+ export { writeContentDeclaration as t };
19
+ //# sourceMappingURL=writeContentDeclaration-XdGxj0KP.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"writeContentDeclaration-XdGxj0KP.d.ts","names":[],"sources":["../../src/writeContentDeclaration/writeContentDeclaration.ts"],"mappings":";;;;;;;KAsHK,8BAAA;EACH,mBAAA;EACA,UAAA,GAAa,aAAA;EACb,cAAA,GAAiB,MAAA;AAAA;AAAA,cAON,uBAAA,GACX,UAAA,EAAY,UAAA,EACZ,aAAA,EAAe,cAAA,EACf,OAAA,GAAU,8BAAA,KACT,OAAA;EAAU,MAAA,EAAQ,gBAAA;EAAkB,IAAA;AAAA"}
@@ -0,0 +1,36 @@
1
+ import { t as MergedDictionaryOutput } from "./writeMergedDictionary-C4EvgXbL.js";
2
+ import * as _intlayer_types_config0 from "@intlayer/types/config";
3
+ import { Dictionary } from "@intlayer/types/dictionary";
4
+ import { Locale } from "@intlayer/types/allLocales";
5
+
6
+ //#region src/buildIntlayerDictionary/writeDynamicDictionary.d.ts
7
+ type DictionaryResult = {
8
+ dictionaryPath: string;
9
+ dictionary: Dictionary;
10
+ };
11
+ type LocalizedDictionaryResult = Partial<Record<Locale, DictionaryResult>>;
12
+ type LocalizedDictionaryOutput = Record<string, LocalizedDictionaryResult>;
13
+ /**
14
+ * This function generates the content of the dictionary list file
15
+ */
16
+ declare const generateDictionaryEntryPoint: (localizedDictionariesPathsRecord: LocalizedDictionaryResult, format?: "cjs" | "esm", configuration?: _intlayer_types_config0.IntlayerConfig) => string;
17
+ /**
18
+ * Write the localized dictionaries to the dictionariesDir
19
+ * @param mergedDictionaries - The merged dictionaries
20
+ * @param configuration - The configuration
21
+ * @returns The final dictionaries
22
+ *
23
+ * @example
24
+ * ```ts
25
+ * const unmergedDictionaries = await writeUnmergedDictionaries(dictionaries);
26
+ * const finalDictionaries = await writeFinalDictionaries(unmergedDictionaries);
27
+ * console.log(finalDictionaries);
28
+ *
29
+ * // .intlayer/dynamic_dictionaries/home.json
30
+ * // { key: 'home', content: { ... } },
31
+ * ```
32
+ */
33
+ declare const writeDynamicDictionary: (mergedDictionaries: MergedDictionaryOutput, configuration?: _intlayer_types_config0.IntlayerConfig, formats?: ("cjs" | "esm")[]) => Promise<LocalizedDictionaryOutput>;
34
+ //#endregion
35
+ export { writeDynamicDictionary as a, generateDictionaryEntryPoint as i, LocalizedDictionaryOutput as n, LocalizedDictionaryResult as r, DictionaryResult as t };
36
+ //# sourceMappingURL=writeDynamicDictionary-DE3SJg-g.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"writeDynamicDictionary-DE3SJg-g.d.ts","names":[],"sources":["../../src/buildIntlayerDictionary/writeDynamicDictionary.ts"],"mappings":";;;;;;KAaY,gBAAA;EACV,cAAA;EACA,UAAA,EAAY,UAAA;AAAA;AAAA,KAGF,yBAAA,GAA4B,OAAA,CACtC,MAAA,CAAO,MAAA,EAAQ,gBAAA;AAAA,KAGL,yBAAA,GAA4B,MAAA,SAEtC,yBAAA;;;;cAMW,4BAAA,GACX,gCAAA,EAAkC,yBAAA,EAClC,MAAA,kBACA,aAAA,GAF2D,uBAAA,CAE3D,cAAA;;;AAfF;;;;;;;;;;;;;;cAkEa,sBAAA,GACX,kBAAA,EAAoB,sBAAA,EACpB,aAAA,GAD0C,uBAAA,CAC1C,cAAA,EACA,OAAA,yBACC,OAAA,CAAQ,yBAAA"}
@@ -0,0 +1,14 @@
1
+ import { IntlayerConfig } from "@intlayer/types/config";
2
+ import { Dictionary } from "@intlayer/types/dictionary";
3
+
4
+ //#region src/writeContentDeclaration/writeJSFile.d.ts
5
+ /**
6
+ * Updates a JavaScript/TypeScript file based on the provided JSON instructions.
7
+ * It targets a specific dictionary object within the file (identified by its 'key' property)
8
+ * and updates its 'content' entries. Currently, it focuses on modifying arguments
9
+ * of 't' (translation) function calls.
10
+ */
11
+ declare const writeJSFile: (filePath: string, dictionary: Dictionary, configuration: IntlayerConfig, noMetadata?: boolean) => Promise<void>;
12
+ //#endregion
13
+ export { writeJSFile as t };
14
+ //# sourceMappingURL=writeJSFile-kK95jzg_.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"writeJSFile-kK95jzg_.d.ts","names":[],"sources":["../../src/writeContentDeclaration/writeJSFile.ts"],"mappings":";;;;;;AAqBA;;;;cAAa,WAAA,GACX,QAAA,UACA,UAAA,EAAY,UAAA,EACZ,aAAA,EAAe,cAAA,EACf,UAAA,eACC,OAAA"}
@@ -0,0 +1,30 @@
1
+ import { t as UnmergedDictionaryOutput } from "./writeUnmergedDictionary-Cxx51isz.js";
2
+ import * as _intlayer_types_config0 from "@intlayer/types/config";
3
+ import { Dictionary } from "@intlayer/types/dictionary";
4
+
5
+ //#region src/buildIntlayerDictionary/writeMergedDictionary.d.ts
6
+ type MergedDictionaryResult = {
7
+ dictionaryPath: string;
8
+ dictionary: Dictionary;
9
+ };
10
+ type MergedDictionaryOutput = Record<string, MergedDictionaryResult>;
11
+ /**
12
+ * Write the merged dictionaries to the dictionariesDir
13
+ * @param groupedDictionaries - The grouped dictionaries
14
+ * @param configuration - The configuration
15
+ * @returns The merged dictionaries
16
+ *
17
+ * @example
18
+ * ```ts
19
+ * const unmergedDictionaries = await writeUnmergedDictionaries(dictionaries);
20
+ * const finalDictionaries = await writeFinalDictionaries(unmergedDictionaries);
21
+ * console.log(finalDictionaries);
22
+ *
23
+ * // .intlayer/dictionary/home.json
24
+ * // { key: 'home', content: { ... } },
25
+ * ```
26
+ */
27
+ declare const writeMergedDictionaries: (groupedDictionaries: UnmergedDictionaryOutput, configuration?: _intlayer_types_config0.IntlayerConfig) => Promise<MergedDictionaryOutput>;
28
+ //#endregion
29
+ export { MergedDictionaryResult as n, writeMergedDictionaries as r, MergedDictionaryOutput as t };
30
+ //# sourceMappingURL=writeMergedDictionary-C4EvgXbL.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"writeMergedDictionary-C4EvgXbL.d.ts","names":[],"sources":["../../src/buildIntlayerDictionary/writeMergedDictionary.ts"],"mappings":";;;;;KAaY,sBAAA;EACV,cAAA;EACA,UAAA,EAAY,UAAA;AAAA;AAAA,KAGF,sBAAA,GAAyB,MAAA,SAAe,sBAAA;;;;;;;;AAApD;;;;;AAkBA;;;;cAAa,uBAAA,GACX,mBAAA,EAAqB,wBAAA,EACrB,aAAA,GAD6C,uBAAA,CAC7C,cAAA,KACC,OAAA,CAAQ,sBAAA"}
@@ -0,0 +1,34 @@
1
+ import { IntlayerConfig } from "@intlayer/types/config";
2
+ import { Dictionary, DictionaryKey } from "@intlayer/types/dictionary";
3
+
4
+ //#region src/buildIntlayerDictionary/writeUnmergedDictionary.d.ts
5
+ declare const groupDictionariesByKey: (dictionaries: Dictionary[]) => Record<string, Dictionary[]>;
6
+ type UnmergedDictionaryResult = {
7
+ dictionaryPath: string;
8
+ dictionaries: Dictionary[];
9
+ };
10
+ type UnmergedDictionaryOutput = Record<DictionaryKey, UnmergedDictionaryResult>;
11
+ /**
12
+ * Write the unmerged dictionaries to the unmergedDictionariesDir
13
+ * @param dictionaries - The dictionaries to write
14
+ * @param configuration - The configuration
15
+ * @returns The grouped dictionaries
16
+ *
17
+ * @example
18
+ * ```ts
19
+ * const unmergedDictionaries = await writeUnmergedDictionaries(dictionaries);
20
+ * console.log(unmergedDictionaries);
21
+ *
22
+ * // .intlayer/unmerged_dictionaries/home.json
23
+ * // {
24
+ * // [
25
+ * // { key: 'home', content: { ... } },
26
+ * // { key: 'home', content: { ... } },
27
+ * // ],
28
+ * // }
29
+ * ```
30
+ */
31
+ declare const writeUnmergedDictionaries: (dictionaries: Dictionary[], configuration: IntlayerConfig, env: "prod" | "dev") => Promise<UnmergedDictionaryOutput>;
32
+ //#endregion
33
+ export { writeUnmergedDictionaries as i, UnmergedDictionaryResult as n, groupDictionariesByKey as r, UnmergedDictionaryOutput as t };
34
+ //# sourceMappingURL=writeUnmergedDictionary-Cxx51isz.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"writeUnmergedDictionary-Cxx51isz.d.ts","names":[],"sources":["../../src/buildIntlayerDictionary/writeUnmergedDictionary.ts"],"mappings":";;;;cAUa,sBAAA,GACX,YAAA,EAAc,UAAA,OACb,MAAA,SAAe,UAAA;AAAA,KAaN,wBAAA;EACV,cAAA;EACA,YAAA,EAAc,UAAA;AAAA;AAAA,KAGJ,wBAAA,GAA2B,MAAA,CACrC,aAAA,EACA,wBAAA;;;;;;;;;;;AAPF;;;;;;;;;AAKA;cAyBa,yBAAA,GACX,YAAA,EAAc,UAAA,IACd,aAAA,EAAe,cAAA,EACf,GAAA,qBACC,OAAA,CAAQ,wBAAA"}