@intlayer/engine 9.4.2 → 9.4.4

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 (288) hide show
  1. package/dist/cjs/init/utils/configManipulation.cjs +30 -1
  2. package/dist/cjs/init/utils/configManipulation.cjs.map +1 -1
  3. package/dist/cjs/init/utils/packageManager.cjs +2 -1
  4. package/dist/cjs/init/utils/packageManager.cjs.map +1 -1
  5. package/dist/esm/init/utils/configManipulation.mjs +30 -1
  6. package/dist/esm/init/utils/configManipulation.mjs.map +1 -1
  7. package/dist/esm/init/utils/packageManager.mjs +2 -1
  8. package/dist/esm/init/utils/packageManager.mjs.map +1 -1
  9. package/dist/types/buildIntlayerDictionary/buildIntlayerDictionary.d.ts +2 -3
  10. package/dist/types/buildIntlayerDictionary/buildIntlayerDictionary.d.ts.map +1 -1
  11. package/dist/types/buildIntlayerDictionary/processContentDeclaration.d.ts +1 -2
  12. package/dist/types/buildIntlayerDictionary/processContentDeclaration.d.ts.map +1 -1
  13. package/dist/types/buildIntlayerDictionary/writeDynamicDictionary.d.ts +10 -11
  14. package/dist/types/buildIntlayerDictionary/writeDynamicDictionary.d.ts.map +1 -1
  15. package/dist/types/buildIntlayerDictionary/writeFetchDictionary.d.ts +2 -3
  16. package/dist/types/buildIntlayerDictionary/writeFetchDictionary.d.ts.map +1 -1
  17. package/dist/types/buildIntlayerDictionary/writeMergedDictionary.d.ts +5 -6
  18. package/dist/types/buildIntlayerDictionary/writeMergedDictionary.d.ts.map +1 -1
  19. package/dist/types/buildIntlayerDictionary/writeNestedDictionary.d.ts +4 -5
  20. package/dist/types/buildIntlayerDictionary/writeNestedDictionary.d.ts.map +1 -1
  21. package/dist/types/buildIntlayerDictionary/writeRemoteDictionary.d.ts +3 -4
  22. package/dist/types/buildIntlayerDictionary/writeRemoteDictionary.d.ts.map +1 -1
  23. package/dist/types/buildIntlayerDictionary/writeUnmergedDictionary.d.ts +4 -5
  24. package/dist/types/buildIntlayerDictionary/writeUnmergedDictionary.d.ts.map +1 -1
  25. package/dist/types/cleanOutputDir.d.ts +1 -2
  26. package/dist/types/cleanOutputDir.d.ts.map +1 -1
  27. package/dist/types/cleanRemovedContentDeclaration.d.ts +1 -2
  28. package/dist/types/cleanRemovedContentDeclaration.d.ts.map +1 -1
  29. package/dist/types/createDictionaryEntryPoint/createDictionaryEntryPoint.d.ts +2 -3
  30. package/dist/types/createDictionaryEntryPoint/createDictionaryEntryPoint.d.ts.map +1 -1
  31. package/dist/types/createDictionaryEntryPoint/generateDictionaryListContent.d.ts +1 -2
  32. package/dist/types/createDictionaryEntryPoint/generateDictionaryListContent.d.ts.map +1 -1
  33. package/dist/types/createDictionaryEntryPoint/getBuiltDictionariesPath.d.ts +1 -2
  34. package/dist/types/createDictionaryEntryPoint/getBuiltDictionariesPath.d.ts.map +1 -1
  35. package/dist/types/createDictionaryEntryPoint/getBuiltDynamicDictionariesPath.d.ts +1 -2
  36. package/dist/types/createDictionaryEntryPoint/getBuiltDynamicDictionariesPath.d.ts.map +1 -1
  37. package/dist/types/createDictionaryEntryPoint/getBuiltFetchDictionariesPath.d.ts +1 -2
  38. package/dist/types/createDictionaryEntryPoint/getBuiltFetchDictionariesPath.d.ts.map +1 -1
  39. package/dist/types/createDictionaryEntryPoint/getBuiltRemoteDictionariesPath.d.ts +1 -2
  40. package/dist/types/createDictionaryEntryPoint/getBuiltRemoteDictionariesPath.d.ts.map +1 -1
  41. package/dist/types/createDictionaryEntryPoint/getBuiltUnmergedDictionariesPath.d.ts +1 -2
  42. package/dist/types/createDictionaryEntryPoint/getBuiltUnmergedDictionariesPath.d.ts.map +1 -1
  43. package/dist/types/createType/createModuleAugmentation.d.ts +4 -5
  44. package/dist/types/createType/createModuleAugmentation.d.ts.map +1 -1
  45. package/dist/types/createType/createType.d.ts +2 -3
  46. package/dist/types/createType/createType.d.ts.map +1 -1
  47. package/dist/types/detectFormatCommand.d.ts +1 -2
  48. package/dist/types/detectFormatCommand.d.ts.map +1 -1
  49. package/dist/types/docReview/alignBlocks.d.ts +1 -2
  50. package/dist/types/docReview/alignBlocks.d.ts.map +1 -1
  51. package/dist/types/docReview/computeSimilarity.d.ts +2 -3
  52. package/dist/types/docReview/computeSimilarity.d.ts.map +1 -1
  53. package/dist/types/docReview/fingerprintBlock.d.ts +1 -2
  54. package/dist/types/docReview/fingerprintBlock.d.ts.map +1 -1
  55. package/dist/types/docReview/mapChangedLinesToBlocks.d.ts +1 -2
  56. package/dist/types/docReview/mapChangedLinesToBlocks.d.ts.map +1 -1
  57. package/dist/types/docReview/normalizeBlock.d.ts +1 -2
  58. package/dist/types/docReview/normalizeBlock.d.ts.map +1 -1
  59. package/dist/types/docReview/pipeline.d.ts +4 -4
  60. package/dist/types/docReview/pipeline.d.ts.map +1 -1
  61. package/dist/types/docReview/planActions.d.ts +1 -2
  62. package/dist/types/docReview/planActions.d.ts.map +1 -1
  63. package/dist/types/docReview/rebuildDocument.d.ts +5 -6
  64. package/dist/types/docReview/rebuildDocument.d.ts.map +1 -1
  65. package/dist/types/docReview/reviewReport.d.ts +8 -9
  66. package/dist/types/docReview/reviewReport.d.ts.map +1 -1
  67. package/dist/types/docReview/segmentDocument.d.ts +2 -3
  68. package/dist/types/docReview/segmentDocument.d.ts.map +1 -1
  69. package/dist/types/docReview/types.d.ts +9 -10
  70. package/dist/types/docReview/types.d.ts.map +1 -1
  71. package/dist/types/fetchDistantDictionaries.d.ts +1 -2
  72. package/dist/types/fetchDistantDictionaries.d.ts.map +1 -1
  73. package/dist/types/filterInvalidDictionaries.d.ts +2 -3
  74. package/dist/types/filterInvalidDictionaries.d.ts.map +1 -1
  75. package/dist/types/formatDictionary.d.ts +7 -7
  76. package/dist/types/formatDictionary.d.ts.map +1 -1
  77. package/dist/types/getContentDeclarationFileTemplate/getContentDeclarationFileTemplate.d.ts +1 -2
  78. package/dist/types/getContentDeclarationFileTemplate/getContentDeclarationFileTemplate.d.ts.map +1 -1
  79. package/dist/types/handleAdditionalContentDeclarationFile.d.ts +1 -2
  80. package/dist/types/handleAdditionalContentDeclarationFile.d.ts.map +1 -1
  81. package/dist/types/handleContentDeclarationFileChange.d.ts +1 -2
  82. package/dist/types/handleContentDeclarationFileChange.d.ts.map +1 -1
  83. package/dist/types/handleContentDeclarationFileMoved.d.ts +1 -2
  84. package/dist/types/handleContentDeclarationFileMoved.d.ts.map +1 -1
  85. package/dist/types/handleUnlinkedContentDeclarationFile.d.ts +1 -2
  86. package/dist/types/handleUnlinkedContentDeclarationFile.d.ts.map +1 -1
  87. package/dist/types/init/cms.d.ts +8 -9
  88. package/dist/types/init/cms.d.ts.map +1 -1
  89. package/dist/types/init/frameworkSetup/index.d.ts +2 -2
  90. package/dist/types/init/frameworkSetup/index.d.ts.map +1 -1
  91. package/dist/types/init/frameworkSetup/nextAppRouter/detect.d.ts +4 -4
  92. package/dist/types/init/frameworkSetup/nextAppRouter/detect.d.ts.map +1 -1
  93. package/dist/types/init/frameworkSetup/nextAppRouter/index.d.ts +1 -2
  94. package/dist/types/init/frameworkSetup/nextAppRouter/index.d.ts.map +1 -1
  95. package/dist/types/init/frameworkSetup/nextAppRouter/restructure.d.ts +5 -6
  96. package/dist/types/init/frameworkSetup/nextAppRouter/restructure.d.ts.map +1 -1
  97. package/dist/types/init/frameworkSetup/nextAppRouter/templates.d.ts +8 -9
  98. package/dist/types/init/frameworkSetup/nextAppRouter/templates.d.ts.map +1 -1
  99. package/dist/types/init/frameworkSetup/nextAppRouter/transforms.d.ts +2 -3
  100. package/dist/types/init/frameworkSetup/nextAppRouter/transforms.d.ts.map +1 -1
  101. package/dist/types/init/frameworkSetup/tanstackStart/detect.d.ts +3 -4
  102. package/dist/types/init/frameworkSetup/tanstackStart/detect.d.ts.map +1 -1
  103. package/dist/types/init/frameworkSetup/tanstackStart/index.d.ts +1 -2
  104. package/dist/types/init/frameworkSetup/tanstackStart/index.d.ts.map +1 -1
  105. package/dist/types/init/frameworkSetup/tanstackStart/restructure.d.ts +7 -8
  106. package/dist/types/init/frameworkSetup/tanstackStart/restructure.d.ts.map +1 -1
  107. package/dist/types/init/frameworkSetup/tanstackStart/templates.d.ts +3 -4
  108. package/dist/types/init/frameworkSetup/tanstackStart/templates.d.ts.map +1 -1
  109. package/dist/types/init/frameworkSetup/tanstackStart/transforms.d.ts +2 -3
  110. package/dist/types/init/frameworkSetup/tanstackStart/transforms.d.ts.map +1 -1
  111. package/dist/types/init/frameworkSetup/types.d.ts +2 -3
  112. package/dist/types/init/frameworkSetup/types.d.ts.map +1 -1
  113. package/dist/types/init/index.d.ts +4 -5
  114. package/dist/types/init/index.d.ts.map +1 -1
  115. package/dist/types/init/utils/astImports.d.ts +3 -4
  116. package/dist/types/init/utils/astImports.d.ts.map +1 -1
  117. package/dist/types/init/utils/configManipulation.d.ts +19 -20
  118. package/dist/types/init/utils/configManipulation.d.ts.map +1 -1
  119. package/dist/types/init/utils/fileSystem.d.ts +11 -12
  120. package/dist/types/init/utils/fileSystem.d.ts.map +1 -1
  121. package/dist/types/init/utils/githubActions.d.ts +7 -8
  122. package/dist/types/init/utils/githubActions.d.ts.map +1 -1
  123. package/dist/types/init/utils/jsonParser.d.ts +1 -2
  124. package/dist/types/init/utils/jsonParser.d.ts.map +1 -1
  125. package/dist/types/init/utils/nextCompilerBabel.d.ts +2 -3
  126. package/dist/types/init/utils/nextCompilerBabel.d.ts.map +1 -1
  127. package/dist/types/init/utils/packageManager.d.ts +17 -18
  128. package/dist/types/init/utils/packageManager.d.ts.map +1 -1
  129. package/dist/types/init/utils/tsConfig.d.ts +1 -2
  130. package/dist/types/init/utils/tsConfig.d.ts.map +1 -1
  131. package/dist/types/init/utils/version.d.ts +1 -2
  132. package/dist/types/init/utils/version.d.ts.map +1 -1
  133. package/dist/types/initConfig/index.d.ts +2 -3
  134. package/dist/types/initConfig/index.d.ts.map +1 -1
  135. package/dist/types/installLSP.d.ts +1 -2
  136. package/dist/types/installLSP.d.ts.map +1 -1
  137. package/dist/types/installMCP/installMCP.d.ts +2 -3
  138. package/dist/types/installMCP/installMCP.d.ts.map +1 -1
  139. package/dist/types/installSkills/index.d.ts +9 -10
  140. package/dist/types/installSkills/index.d.ts.map +1 -1
  141. package/dist/types/intlayer/dist/types/index.d.ts +14 -0
  142. package/dist/types/listDictionariesPath.d.ts +2 -3
  143. package/dist/types/listDictionariesPath.d.ts.map +1 -1
  144. package/dist/types/listGitFiles.d.ts +5 -6
  145. package/dist/types/listGitFiles.d.ts.map +1 -1
  146. package/dist/types/listProjects.d.ts +3 -4
  147. package/dist/types/listProjects.d.ts.map +1 -1
  148. package/dist/types/loadDictionaries/getIntlayerBundle.d.ts +1 -2
  149. package/dist/types/loadDictionaries/getIntlayerBundle.d.ts.map +1 -1
  150. package/dist/types/loadDictionaries/loadContentDeclaration.d.ts +4 -5
  151. package/dist/types/loadDictionaries/loadContentDeclaration.d.ts.map +1 -1
  152. package/dist/types/loadDictionaries/loadDictionaries.d.ts +2 -3
  153. package/dist/types/loadDictionaries/loadDictionaries.d.ts.map +1 -1
  154. package/dist/types/loadDictionaries/loadLocalDictionaries.d.ts +1 -2
  155. package/dist/types/loadDictionaries/loadLocalDictionaries.d.ts.map +1 -1
  156. package/dist/types/loadDictionaries/loadMarkdownContentDeclaration.d.ts +1 -2
  157. package/dist/types/loadDictionaries/loadMarkdownContentDeclaration.d.ts.map +1 -1
  158. package/dist/types/loadDictionaries/loadRemoteDictionaries.d.ts +2 -3
  159. package/dist/types/loadDictionaries/loadRemoteDictionaries.d.ts.map +1 -1
  160. package/dist/types/loadDictionaries/loadYamlContentDeclaration.d.ts +1 -2
  161. package/dist/types/loadDictionaries/loadYamlContentDeclaration.d.ts.map +1 -1
  162. package/dist/types/loadDictionaries/log.d.ts +1 -2
  163. package/dist/types/loadDictionaries/log.d.ts.map +1 -1
  164. package/dist/types/loadDictionaries/logTypeScriptErrors.d.ts +1 -2
  165. package/dist/types/loadDictionaries/logTypeScriptErrors.d.ts.map +1 -1
  166. package/dist/types/logConfigDetails.d.ts +1 -2
  167. package/dist/types/logConfigDetails.d.ts.map +1 -1
  168. package/dist/types/prepareIntlayer.d.ts +1 -2
  169. package/dist/types/prepareIntlayer.d.ts.map +1 -1
  170. package/dist/types/reduceDictionaryContent/applyMask.d.ts +1 -2
  171. package/dist/types/reduceDictionaryContent/applyMask.d.ts.map +1 -1
  172. package/dist/types/reduceDictionaryContent/reduceDictionaryContent.d.ts +1 -2
  173. package/dist/types/reduceDictionaryContent/reduceDictionaryContent.d.ts.map +1 -1
  174. package/dist/types/scan/analyzeBundleContent.d.ts +1 -2
  175. package/dist/types/scan/analyzeBundleContent.d.ts.map +1 -1
  176. package/dist/types/scan/calculateScore.d.ts +6 -7
  177. package/dist/types/scan/calculateScore.d.ts.map +1 -1
  178. package/dist/types/scan/checks.d.ts +8 -9
  179. package/dist/types/scan/checks.d.ts.map +1 -1
  180. package/dist/types/scan/parseHtml.d.ts +13 -14
  181. package/dist/types/scan/parseHtml.d.ts.map +1 -1
  182. package/dist/types/scan/scanWebsite.d.ts +1 -2
  183. package/dist/types/scan/scanWebsite.d.ts.map +1 -1
  184. package/dist/types/scan/types.d.ts +9 -10
  185. package/dist/types/scan/types.d.ts.map +1 -1
  186. package/dist/types/syncPluginKit/createFileAdapter.d.ts +4 -5
  187. package/dist/types/syncPluginKit/createFileAdapter.d.ts.map +1 -1
  188. package/dist/types/syncPluginKit/createSyncPlugin.d.ts +1 -2
  189. package/dist/types/syncPluginKit/createSyncPlugin.d.ts.map +1 -1
  190. package/dist/types/syncPluginKit/extractKeyAndLocaleFromPath.d.ts +1 -2
  191. package/dist/types/syncPluginKit/extractKeyAndLocaleFromPath.d.ts.map +1 -1
  192. package/dist/types/syncPluginKit/filePathPatternHelpers.d.ts +1 -2
  193. package/dist/types/syncPluginKit/filePathPatternHelpers.d.ts.map +1 -1
  194. package/dist/types/syncPluginKit/types.d.ts +8 -9
  195. package/dist/types/syncPluginKit/types.d.ts.map +1 -1
  196. package/dist/types/utils/autoDecorateContent.d.ts +1 -2
  197. package/dist/types/utils/autoDecorateContent.d.ts.map +1 -1
  198. package/dist/types/utils/babelParser.d.ts +3 -3
  199. package/dist/types/utils/babelParser.d.ts.map +1 -1
  200. package/dist/types/utils/buildComponentFilesList.d.ts +1 -2
  201. package/dist/types/utils/buildComponentFilesList.d.ts.map +1 -1
  202. package/dist/types/utils/buildFilesList.d.ts +3 -4
  203. package/dist/types/utils/buildFilesList.d.ts.map +1 -1
  204. package/dist/types/utils/chunkArray.d.ts +1 -2
  205. package/dist/types/utils/chunkArray.d.ts.map +1 -1
  206. package/dist/types/utils/chunkJSON.d.ts +5 -6
  207. package/dist/types/utils/chunkJSON.d.ts.map +1 -1
  208. package/dist/types/utils/formatter.d.ts +2 -3
  209. package/dist/types/utils/formatter.d.ts.map +1 -1
  210. package/dist/types/utils/getChunk.d.ts +1 -2
  211. package/dist/types/utils/getChunk.d.ts.map +1 -1
  212. package/dist/types/utils/getContentExtension.d.ts +1 -2
  213. package/dist/types/utils/getContentExtension.d.ts.map +1 -1
  214. package/dist/types/utils/getFormatFromExtension.d.ts +4 -5
  215. package/dist/types/utils/getFormatFromExtension.d.ts.map +1 -1
  216. package/dist/types/utils/getPathHash.d.ts +1 -2
  217. package/dist/types/utils/getPathHash.d.ts.map +1 -1
  218. package/dist/types/utils/mergeChunks.d.ts +1 -2
  219. package/dist/types/utils/mergeChunks.d.ts.map +1 -1
  220. package/dist/types/utils/pLimit.d.ts +2 -3
  221. package/dist/types/utils/pLimit.d.ts.map +1 -1
  222. package/dist/types/utils/parallelize.d.ts +1 -2
  223. package/dist/types/utils/parallelize.d.ts.map +1 -1
  224. package/dist/types/utils/parallelizeGlobal.d.ts +3 -4
  225. package/dist/types/utils/parallelizeGlobal.d.ts.map +1 -1
  226. package/dist/types/utils/readDictionariesFromDisk.d.ts +1 -2
  227. package/dist/types/utils/readDictionariesFromDisk.d.ts.map +1 -1
  228. package/dist/types/utils/reduceObjectFormat.d.ts +4 -5
  229. package/dist/types/utils/reduceObjectFormat.d.ts.map +1 -1
  230. package/dist/types/utils/resolveObjectPromises.d.ts +1 -2
  231. package/dist/types/utils/resolveObjectPromises.d.ts.map +1 -1
  232. package/dist/types/utils/resolveRelativePath.d.ts +1 -2
  233. package/dist/types/utils/resolveRelativePath.d.ts.map +1 -1
  234. package/dist/types/utils/runOnce.d.ts +2 -3
  235. package/dist/types/utils/runOnce.d.ts.map +1 -1
  236. package/dist/types/utils/runParallel/bin.d.ts +1 -2
  237. package/dist/types/utils/runParallel/bin.d.ts.map +1 -1
  238. package/dist/types/utils/runParallel/bootstrap.d.ts +1 -2
  239. package/dist/types/utils/runParallel/bootstrap.d.ts.map +1 -1
  240. package/dist/types/utils/runParallel/index.d.ts +2 -3
  241. package/dist/types/utils/runParallel/index.d.ts.map +1 -1
  242. package/dist/types/utils/runParallel/pidTree.d.ts +1 -2
  243. package/dist/types/utils/runParallel/pidTree.d.ts.map +1 -1
  244. package/dist/types/utils/runParallel/ps.d.ts +1 -2
  245. package/dist/types/utils/runParallel/ps.d.ts.map +1 -1
  246. package/dist/types/utils/runParallel/runTask.d.ts +1 -2
  247. package/dist/types/utils/runParallel/runTask.d.ts.map +1 -1
  248. package/dist/types/utils/runParallel/spawnPosix.d.ts +1 -2
  249. package/dist/types/utils/runParallel/spawnPosix.d.ts.map +1 -1
  250. package/dist/types/utils/runParallel/spawnWin32.d.ts +1 -2
  251. package/dist/types/utils/runParallel/spawnWin32.d.ts.map +1 -1
  252. package/dist/types/utils/runParallel/wmic.d.ts +1 -2
  253. package/dist/types/utils/runParallel/wmic.d.ts.map +1 -1
  254. package/dist/types/utils/sortAlphabetically.d.ts +1 -2
  255. package/dist/types/utils/sortAlphabetically.d.ts.map +1 -1
  256. package/dist/types/utils/splitTextByLine.d.ts +1 -2
  257. package/dist/types/utils/splitTextByLine.d.ts.map +1 -1
  258. package/dist/types/utils/verifyIdenticObjectFormat.d.ts +1 -2
  259. package/dist/types/utils/verifyIdenticObjectFormat.d.ts.map +1 -1
  260. package/dist/types/watcher.d.ts +2 -3
  261. package/dist/types/watcher.d.ts.map +1 -1
  262. package/dist/types/writeConfiguration/generateConfigurationContent.d.ts +1 -2
  263. package/dist/types/writeConfiguration/generateConfigurationContent.d.ts.map +1 -1
  264. package/dist/types/writeConfiguration/index.d.ts +2 -3
  265. package/dist/types/writeConfiguration/index.d.ts.map +1 -1
  266. package/dist/types/writeContentDeclaration/detectExportedComponentName.d.ts +1 -2
  267. package/dist/types/writeContentDeclaration/detectExportedComponentName.d.ts.map +1 -1
  268. package/dist/types/writeContentDeclaration/dictionaryStatus.d.ts +1 -2
  269. package/dist/types/writeContentDeclaration/dictionaryStatus.d.ts.map +1 -1
  270. package/dist/types/writeContentDeclaration/processContentDeclarationContent.d.ts +1 -2
  271. package/dist/types/writeContentDeclaration/processContentDeclarationContent.d.ts.map +1 -1
  272. package/dist/types/writeContentDeclaration/transformJSFile.d.ts +1 -2
  273. package/dist/types/writeContentDeclaration/transformJSFile.d.ts.map +1 -1
  274. package/dist/types/writeContentDeclaration/transformJSONFile.d.ts +1 -2
  275. package/dist/types/writeContentDeclaration/transformJSONFile.d.ts.map +1 -1
  276. package/dist/types/writeContentDeclaration/writeContentDeclaration.d.ts +1 -2
  277. package/dist/types/writeContentDeclaration/writeContentDeclaration.d.ts.map +1 -1
  278. package/dist/types/writeContentDeclaration/writeJSFile.d.ts +1 -2
  279. package/dist/types/writeContentDeclaration/writeJSFile.d.ts.map +1 -1
  280. package/dist/types/writeContentDeclaration/writeMarkdownFile.d.ts +1 -2
  281. package/dist/types/writeContentDeclaration/writeMarkdownFile.d.ts.map +1 -1
  282. package/dist/types/writeContentDeclaration/writeYamlFile.d.ts +1 -2
  283. package/dist/types/writeContentDeclaration/writeYamlFile.d.ts.map +1 -1
  284. package/dist/types/writeFileIfChanged.d.ts +2 -3
  285. package/dist/types/writeFileIfChanged.d.ts.map +1 -1
  286. package/dist/types/writeJsonIfChanged.d.ts +1 -2
  287. package/dist/types/writeJsonIfChanged.d.ts.map +1 -1
  288. package/package.json +11 -11
@@ -3,7 +3,6 @@
3
3
  * Reads all JSON dictionary files from a directory, keyed by filename.
4
4
  * Uses readFileSync instead of require() to avoid require.cache memory leak.
5
5
  */
6
- declare const readDictionariesFromDisk: <T = Record<string, any>>(directory: string) => T;
6
+ export declare const readDictionariesFromDisk: <T = Record<string, any>>(directory: string) => T;
7
7
  //#endregion
8
- export { readDictionariesFromDisk };
9
8
  //# sourceMappingURL=readDictionariesFromDisk.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"readDictionariesFromDisk.d.ts","names":[],"sources":["../../../src/utils/readDictionariesFromDisk.ts"],"mappings":";;;;;cAOa,2BAA4B,IAAI,qBAAmB,sBAE7D"}
1
+ {"version":3,"file":"readDictionariesFromDisk.d.ts","names":[],"sources":["../../../src/utils/readDictionariesFromDisk.ts"],"mappings":";;;;;qBAOa,2BAA4B,IAAI,qBAAmB,sBAE7D"}
@@ -1,6 +1,6 @@
1
1
  //#region src/utils/reduceObjectFormat.d.ts
2
- type Primitive = string | number | boolean | null | undefined;
3
- type Recursive = Primitive | {
2
+ export type Primitive = string | number | boolean | null | undefined;
3
+ export type Recursive = Primitive | {
4
4
  [key: string]: Recursive;
5
5
  } | Array<Recursive>;
6
6
  /**
@@ -11,7 +11,7 @@ type Recursive = Primitive | {
11
11
  * reduceObjectFormat({ a: 1, b: 2 }, { a: 0 }) => { a: 1 }
12
12
  * reduceObjectFormat({ a: { x: 1, y: 2 } }, { a: { x: 0 } }) => { a: { x: 1 } }
13
13
  */
14
- declare const reduceObjectFormat: (source: Recursive, format: Recursive) => Recursive;
14
+ export declare const reduceObjectFormat: (source: Recursive, format: Recursive) => Recursive;
15
15
  /**
16
16
  * Returns the subset of source whose keys are NOT present in the format object.
17
17
  * Inverse of reduceObjectFormat.
@@ -24,7 +24,6 @@ declare const reduceObjectFormat: (source: Recursive, format: Recursive) => Recu
24
24
  * excludeObjectFormat({ a: { x: 1, y: 2 } }, { a: { x: 0 } }) => { a: { y: 2 } }
25
25
  * excludeObjectFormat({ a: null, b: 2 }, { b: 0 }) => { a: null }
26
26
  */
27
- declare const excludeObjectFormat: (source: Recursive, format: Recursive) => Recursive | undefined;
27
+ export declare const excludeObjectFormat: (source: Recursive, format: Recursive) => Recursive | undefined;
28
28
  //#endregion
29
- export { Primitive, Recursive, excludeObjectFormat, reduceObjectFormat };
30
29
  //# sourceMappingURL=reduceObjectFormat.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"reduceObjectFormat.d.ts","names":[],"sources":["../../../src/utils/reduceObjectFormat.ts"],"mappings":";KAAY;KAEA,YACR;GACG,cAAc;IACjB,MAAM;;;;;;;;;cAUG,qBAAkB,QACrB,WAAS,QACT,cACP;;;;;;;;;;;;;cAyCU,sBAAmB,QACtB,WAAS,QACT,cACP"}
1
+ {"version":3,"file":"reduceObjectFormat.d.ts","names":[],"sources":["../../../src/utils/reduceObjectFormat.ts"],"mappings":";YAAY;YAEA,YACR;GACG,cAAc;IACjB,MAAM;;;;;;;;;qBAUG,qBAAkB,QACrB,WAAS,QACT,cACP;;;;;;;;;;;;;qBAyCU,sBAAmB,QACtB,WAAS,QACT,cACP"}
@@ -3,7 +3,6 @@
3
3
  * A more "unified" approach where each type (function, array, object, primitive)
4
4
  * is handled inside the main recursive body.
5
5
  */
6
- declare const resolveObjectPromises: <T = unknown>(entry: any) => Promise<T>;
6
+ export declare const resolveObjectPromises: <T = unknown>(entry: any) => Promise<T>;
7
7
  //#endregion
8
- export { resolveObjectPromises };
9
8
  //# sourceMappingURL=resolveObjectPromises.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"resolveObjectPromises.d.ts","names":[],"sources":["../../../src/utils/resolveObjectPromises.ts"],"mappings":";;;;;cAIa,wBAA+B,aAAW,eAEpD,QAAQ"}
1
+ {"version":3,"file":"resolveObjectPromises.d.ts","names":[],"sources":["../../../src/utils/resolveObjectPromises.ts"],"mappings":";;;;;qBAIa,wBAA+B,aAAW,eAEpD,QAAQ"}
@@ -1,5 +1,4 @@
1
1
  //#region src/utils/resolveRelativePath.d.ts
2
- declare const resolveRelativePath: (path: string, sourcePath: string, baseDir: string) => string;
2
+ export declare const resolveRelativePath: (path: string, sourcePath: string, baseDir: string) => string;
3
3
  //#endregion
4
- export { resolveRelativePath };
5
4
  //# sourceMappingURL=resolveRelativePath.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"resolveRelativePath.d.ts","names":[],"sources":["../../../src/utils/resolveRelativePath.ts"],"mappings":";cAEa,sBAAmB,cAClB,oBACM"}
1
+ {"version":3,"file":"resolveRelativePath.d.ts","names":[],"sources":["../../../src/utils/resolveRelativePath.ts"],"mappings":";qBAEa,sBAAmB,cAClB,oBACM"}
@@ -2,7 +2,7 @@
2
2
  /**
3
3
  * Context handed to the callback so it can interact with the lock it runs under.
4
4
  */
5
- type RunOnceContext = {
5
+ export type RunOnceContext = {
6
6
  /**
7
7
  * Re-create the sentinel file after an operation that may have deleted it —
8
8
  * typically cleaning the output directory, which wipes the cache directory the
@@ -63,7 +63,6 @@ type RunOnceOptions = {
63
63
  *
64
64
  * @throws {Error} When there are unexpected filesystem errors
65
65
  */
66
- declare const runOnce: (sentinelFilePath: string, callback: (context: RunOnceContext) => void | Promise<void>, options?: RunOnceOptions) => Promise<void>;
66
+ export declare const runOnce: (sentinelFilePath: string, callback: (context: RunOnceContext) => void | Promise<void>, options?: RunOnceOptions) => Promise<void>;
67
67
  //#endregion
68
- export { RunOnceContext, runOnce };
69
68
  //# sourceMappingURL=runOnce.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"runOnce.d.ts","names":[],"sources":["../../../src/utils/runOnce.ts"],"mappings":";;;;KA4BY;;;;;;;EAOV,iBAAiB;;KAGd;;;;EAIH,0BAA0B;;;;;;EAM1B;;;;;;EAMA;;;;;;;EAOA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwKW,UAAO,0BACM,WACb,SAAS,0BAA0B,eAAa,UACjD,mBAAc"}
1
+ {"version":3,"file":"runOnce.d.ts","names":[],"sources":["../../../src/utils/runOnce.ts"],"mappings":";;;;YA4BY;;;;;;;EAOV,iBAAiB;;KAGd;;;;EAIH,0BAA0B;;;;;;EAM1B;;;;;;EAMA;;;;;;;EAOA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAwKW,UAAO,0BACM,WACb,SAAS,0BAA0B,eAAa,UACjD,mBAAc"}
@@ -8,7 +8,6 @@ type BinCallback = (err: Error | null, stdout?: string, code?: number) => void;
8
8
  * @param options Optional option for the spawn function.
9
9
  * @param done Callback function.
10
10
  */
11
- declare const run: (cmd: string, args: string[], options: SpawnOptions | BinCallback | undefined, done?: BinCallback) => void;
11
+ export declare const run: (cmd: string, args: string[], options: SpawnOptions | BinCallback | undefined, done?: BinCallback) => void;
12
12
  //#endregion
13
- export { run };
14
13
  //# sourceMappingURL=bin.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bin.d.ts","names":[],"sources":["../../../../src/utils/runParallel/bin.ts"],"mappings":";;KAGK,eAAe,KAAK,cAAc,iBAAiB;;;;;;;;cAoB3C,MAAG,aACH,gBACG,SACL,eAAe,yBAAuB,OACxC"}
1
+ {"version":3,"file":"bin.d.ts","names":[],"sources":["../../../../src/utils/runParallel/bin.ts"],"mappings":";;KAGK,eAAe,KAAK,cAAc,iBAAiB;;;;;;;;qBAoB3C,MAAG,aACH,gBACG,SACL,eAAe,yBAAuB,OACxC"}
@@ -1,5 +1,4 @@
1
1
  //#region src/utils/runParallel/bootstrap.d.ts
2
- declare const bootstrap: (_name: string) => void | Promise<void>;
2
+ export declare const bootstrap: (_name: string) => void | Promise<void>;
3
3
  //#endregion
4
- export { bootstrap };
5
4
  //# sourceMappingURL=bootstrap.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bootstrap.d.ts","names":[],"sources":["../../../../src/utils/runParallel/bootstrap.ts"],"mappings":";cAIa,YAAS,yBAA2B"}
1
+ {"version":3,"file":"bootstrap.d.ts","names":[],"sources":["../../../../src/utils/runParallel/bootstrap.ts"],"mappings":";qBAIa,YAAS,yBAA2B"}
@@ -1,5 +1,5 @@
1
1
  //#region src/utils/runParallel/index.d.ts
2
- type ParallelHandle = {
2
+ export type ParallelHandle = {
3
3
  /**
4
4
  * Terminate the child and its whole process group.
5
5
  * @param signal Signal to send (default `SIGTERM`). Pass `SIGKILL` to force-kill
@@ -13,7 +13,6 @@ type ParallelHandle = {
13
13
  * Start a cross-platform parallel process using npm-run-all approach.
14
14
  * Accepts either a single string (e.g., 'next start') or an array of tokens (e.g., ['next', 'start']).
15
15
  */
16
- declare const runParallel: (proc?: string | string[]) => ParallelHandle;
16
+ export declare const runParallel: (proc?: string | string[]) => ParallelHandle;
17
17
  //#endregion
18
- export { ParallelHandle, runParallel };
19
18
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/utils/runParallel/index.ts"],"mappings":";KAIY;;;;;;EAMV,OAAO,SAAS,OAAO;EACvB,QAAQ;EACR;;;;;;cAOW,cAAW,6BAA+B"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/utils/runParallel/index.ts"],"mappings":";YAIY;;;;;;EAMV,OAAO,SAAS,OAAO;EACvB,QAAQ;EACR;;;;;;qBAOW,cAAW,6BAA+B"}
@@ -18,7 +18,6 @@ type ListCallback<T extends ListOptions | undefined> = (err: Error | null, list?
18
18
  * @param callback Called when the list is ready. If not provided a promise is returned instead.
19
19
  * @returns Only when the callback is not provided.
20
20
  */
21
- declare const list: <T extends ListOptions | undefined>(pid: number | string, options?: T | ListCallback<T>, callback?: ListCallback<T>) => Promise<ResultType<T>> | undefined;
21
+ export declare const list: <T extends ListOptions | undefined>(pid: number | string, options?: T | ListCallback<T>, callback?: ListCallback<T>) => Promise<ResultType<T>> | undefined;
22
22
  //#endregion
23
- export { list };
24
23
  //# sourceMappingURL=pidTree.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"pidTree.d.ts","names":[],"sources":["../../../../src/utils/runParallel/pidTree.ts"],"mappings":";UAgBU;EACR;EACA;;KAGG;EAAgB;EAAa;;KAC7B,WAAW,UAAU,2BAA2B;EACnD;IAEE;KAIC,aAAa,UAAU,4BAC1B,KAAK,cACL,OAAO,WAAW;;;;;;;;cA8LP,OAAQ,UAAU,yBAAuB,sBAChC,UACV,IAAI,aAAa,IAAE,WAClB,aAAa,OACvB,QAAQ,WAAW"}
1
+ {"version":3,"file":"pidTree.d.ts","names":[],"sources":["../../../../src/utils/runParallel/pidTree.ts"],"mappings":";UAgBU;EACR;EACA;;KAGG;EAAgB;EAAa;;KAC7B,WAAW,UAAU,2BAA2B;EACnD;IAEE;KAIC,aAAa,UAAU,4BAC1B,KAAK,cACL,OAAO,WAAW;;;;;;;;qBA8LP,OAAQ,UAAU,yBAAuB,sBAChC,UACV,IAAI,aAAa,IAAE,WAClB,aAAa,OACvB,QAAQ,WAAW"}
@@ -5,7 +5,6 @@ type ProcessListCallback = (err: Error | null, list?: ProcessList) => void;
5
5
  * Gets the list of all the pids of the system through the ps command.
6
6
  * @param callback Callback function with error and process list.
7
7
  */
8
- declare const ps: (callback: ProcessListCallback) => void;
8
+ export declare const ps: (callback: ProcessListCallback) => void;
9
9
  //#endregion
10
- export { ps };
11
10
  //# sourceMappingURL=ps.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ps.d.ts","names":[],"sources":["../../../../src/utils/runParallel/ps.ts"],"mappings":";KAGK;KACA,uBAAuB,KAAK,cAAc,OAAO;;;;;cAMzC,KAAE,UAAc"}
1
+ {"version":3,"file":"ps.d.ts","names":[],"sources":["../../../../src/utils/runParallel/ps.ts"],"mappings":";KAGK;KACA,uBAAuB,KAAK,cAAc,OAAO;;;;;qBAMzC,KAAE,UAAc"}
@@ -20,7 +20,6 @@ interface RunTaskOptions {
20
20
  * Note: This is a simplified version for our use case.
21
21
  * The full implementation would require the actual runTask function from npm-run-all.
22
22
  */
23
- declare const runTasks: (tasks: string[], options: RunTaskOptions) => Promise<TaskResult[]>;
23
+ export declare const runTasks: (tasks: string[], options: RunTaskOptions) => Promise<TaskResult[]>;
24
24
  //#endregion
25
- export { runTasks };
26
25
  //# sourceMappingURL=runTask.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"runTask.d.ts","names":[],"sources":["../../../../src/utils/runParallel/runTask.ts"],"mappings":";UA8EU;EACR;EACA;EACA;;UAQQ;EACR,QAAQ,OAAO;EACf,SAAS,OAAO;EAChB;EACA;EACA;EACA;;;;;;;;;;cAmBW,WAAQ,iBACJ,SACN,mBACR,QAAQ"}
1
+ {"version":3,"file":"runTask.d.ts","names":[],"sources":["../../../../src/utils/runParallel/runTask.ts"],"mappings":";UA8EU;EACR;EACA;EACA;;UAQQ;EACR,QAAQ,OAAO;EACf,SAAS,OAAO;EAChB;EACA;EACA;EACA;;;;;;;;;;qBAmBW,WAAQ,iBACJ,SACN,mBACR,QAAQ"}
@@ -13,7 +13,6 @@ import { ChildProcess, SpawnOptions } from "node:child_process";
13
13
  * @returns A ChildProcess instance of new process.
14
14
  * @private
15
15
  */
16
- declare const spawnPosix: (command: string, args: string[], options: SpawnOptions) => ChildProcess;
16
+ export declare const spawnPosix: (command: string, args: string[], options: SpawnOptions) => ChildProcess;
17
17
  //#endregion
18
- export { spawnPosix };
19
18
  //# sourceMappingURL=spawnPosix.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"spawnPosix.d.ts","names":[],"sources":["../../../../src/utils/runParallel/spawnPosix.ts"],"mappings":";;;;;;;;;;;;;;;cA6Da,aAAU,iBACN,gBACD,SACL,iBACR"}
1
+ {"version":3,"file":"spawnPosix.d.ts","names":[],"sources":["../../../../src/utils/runParallel/spawnPosix.ts"],"mappings":";;;;;;;;;;;;;;;qBA6Da,aAAU,iBACN,gBACD,SACL,iBACR"}
@@ -13,7 +13,6 @@ import { ChildProcess, SpawnOptions } from "node:child_process";
13
13
  * @returns A ChildProcess instance of new process.
14
14
  * @private
15
15
  */
16
- declare const spawnWin32: (command: string, args: string[], options: SpawnOptions) => ChildProcess;
16
+ export declare const spawnWin32: (command: string, args: string[], options: SpawnOptions) => ChildProcess;
17
17
  //#endregion
18
- export { spawnWin32 };
19
18
  //# sourceMappingURL=spawnWin32.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"spawnWin32.d.ts","names":[],"sources":["../../../../src/utils/runParallel/spawnWin32.ts"],"mappings":";;;;;;;;;;;;;;;cAoDa,aAAU,iBACN,gBACD,SACL,iBACR"}
1
+ {"version":3,"file":"spawnWin32.d.ts","names":[],"sources":["../../../../src/utils/runParallel/spawnWin32.ts"],"mappings":";;;;;;;;;;;;;;;qBAoDa,aAAU,iBACN,gBACD,SACL,iBACR"}
@@ -5,7 +5,6 @@ type ProcessListCallback = (err: Error | null, list?: ProcessList) => void;
5
5
  * Gets the list of all the pids of the system through the wmic command.
6
6
  * @param callback Callback function with error and process list.
7
7
  */
8
- declare const wmic: (callback: ProcessListCallback) => void;
8
+ export declare const wmic: (callback: ProcessListCallback) => void;
9
9
  //#endregion
10
- export { wmic };
11
10
  //# sourceMappingURL=wmic.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"wmic.d.ts","names":[],"sources":["../../../../src/utils/runParallel/wmic.ts"],"mappings":";KAIK;KACA,uBAAuB,KAAK,cAAc,OAAO;;;;;cAMzC,OAAI,UAAc"}
1
+ {"version":3,"file":"wmic.d.ts","names":[],"sources":["../../../../src/utils/runParallel/wmic.ts"],"mappings":";KAIK;KACA,uBAAuB,KAAK,cAAc,OAAO;;;;;qBAMzC,OAAI,UAAc"}
@@ -1,5 +1,4 @@
1
1
  //#region src/utils/sortAlphabetically.d.ts
2
- declare const sortAlphabetically: (a: string, b: string) => number;
2
+ export declare const sortAlphabetically: (a: string, b: string) => number;
3
3
  //#endregion
4
- export { sortAlphabetically };
5
4
  //# sourceMappingURL=sortAlphabetically.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"sortAlphabetically.d.ts","names":[],"sources":["../../../src/utils/sortAlphabetically.ts"],"mappings":";cAAa,qBAAkB,WAAa"}
1
+ {"version":3,"file":"sortAlphabetically.d.ts","names":[],"sources":["../../../src/utils/sortAlphabetically.ts"],"mappings":";qBAAa,qBAAkB,WAAa"}
@@ -1,5 +1,4 @@
1
1
  //#region src/utils/splitTextByLine.d.ts
2
- declare const splitTextByLines: (text: string) => string[];
2
+ export declare const splitTextByLines: (text: string) => string[];
3
3
  //#endregion
4
- export { splitTextByLines };
5
4
  //# sourceMappingURL=splitTextByLine.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"splitTextByLine.d.ts","names":[],"sources":["../../../src/utils/splitTextByLine.ts"],"mappings":";cAAa,mBAAgB"}
1
+ {"version":3,"file":"splitTextByLine.d.ts","names":[],"sources":["../../../src/utils/splitTextByLine.ts"],"mappings":";qBAAa,mBAAgB"}
@@ -17,7 +17,6 @@ type VerifyIdenticObjectFormatResult = {
17
17
  * @param path - Current path in the object tree (for error messages)
18
18
  * @returns true if structures match, throws error with details if they don't
19
19
  */
20
- declare const verifyIdenticObjectFormat: (object: RecursiveType, expectedFormat: RecursiveType, path?: string) => VerifyIdenticObjectFormatResult;
20
+ export declare const verifyIdenticObjectFormat: (object: RecursiveType, expectedFormat: RecursiveType, path?: string) => VerifyIdenticObjectFormatResult;
21
21
  //#endregion
22
- export { verifyIdenticObjectFormat };
23
22
  //# sourceMappingURL=verifyIdenticObjectFormat.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"verifyIdenticObjectFormat.d.ts","names":[],"sources":["../../../src/utils/verifyIdenticObjectFormat.ts"],"mappings":";KAAK;KAEA,gBACD;GACG,cAAc;IACjB,MAAM;KAEL;EACH;EACA;;;;;;;;;;;;cAaW,4BAAyB,QAC5B,eAAa,gBACL,eAAa,kBAE5B"}
1
+ {"version":3,"file":"verifyIdenticObjectFormat.d.ts","names":[],"sources":["../../../src/utils/verifyIdenticObjectFormat.ts"],"mappings":";KAAK;KAEA,gBACD;GACG,cAAc;IACjB,MAAM;KAEL;EACH;EACA;;;;;;;;;;;;qBAaW,4BAAyB,QAC5B,eAAa,gBACL,eAAa,kBAE5B"}
@@ -7,10 +7,9 @@ type WatchOptions = {
7
7
  skipPrepare?: boolean;
8
8
  persistent?: boolean;
9
9
  };
10
- declare const watch: (options?: WatchOptions) => Promise<{
10
+ export declare const watch: (options?: WatchOptions) => Promise<{
11
11
  unsubscribe: () => Promise<void>;
12
12
  }[]>;
13
- declare const buildAndWatchIntlayer: (options?: WatchOptions) => Promise<void>;
13
+ export declare const buildAndWatchIntlayer: (options?: WatchOptions) => Promise<void>;
14
14
  //#endregion
15
- export { buildAndWatchIntlayer, watch };
16
15
  //# sourceMappingURL=watcher.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"watcher.d.ts","names":[],"sources":["../../src/watcher.ts"],"mappings":";;;KAuDK;EACH,gBAAgB;EAChB,gBAAgB;EAChB;EACA;;cAsBW,QAAK,UAAoB,iBAAY;EAkDZ,mBAAM;;cA+P/B,wBAAqB,UAAoB,iBAAY"}
1
+ {"version":3,"file":"watcher.d.ts","names":[],"sources":["../../src/watcher.ts"],"mappings":";;;KAuDK;EACH,gBAAgB;EAChB,gBAAgB;EAChB;EACA;;qBAsBW,QAAK,UAAoB,iBAAY;EAkDZ,mBAAM;;qBA+P/B,wBAAqB,UAAoB,iBAAY"}
@@ -28,7 +28,6 @@ import { IntlayerConfig } from "@intlayer/types/config";
28
28
  * @param format - Module format to emit (`esm` for `.mjs`, `cjs` for `.cjs`).
29
29
  * @returns The file content as a string.
30
30
  */
31
- declare const generateConfigurationContent: (configuration: IntlayerConfig, format: 'cjs' | 'esm') => string;
31
+ export declare const generateConfigurationContent: (configuration: IntlayerConfig, format: 'cjs' | 'esm') => string;
32
32
  //#endregion
33
- export { generateConfigurationContent };
34
33
  //# sourceMappingURL=generateConfigurationContent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"generateConfigurationContent.d.ts","names":[],"sources":["../../../src/writeConfiguration/generateConfigurationContent.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA+Ba,+BAA4B,eACxB,gBAAc"}
1
+ {"version":3,"file":"generateConfigurationContent.d.ts","names":[],"sources":["../../../src/writeConfiguration/generateConfigurationContent.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA+Ba,+BAA4B,eACxB,gBAAc"}
@@ -1,7 +1,6 @@
1
1
  import { IntlayerConfig } from "@intlayer/types/config";
2
2
  //#region src/writeConfiguration/index.d.ts
3
- declare const isCachedConfigurationUpToDate: (configuration: IntlayerConfig) => Promise<boolean | null>;
4
- declare const writeConfiguration: (configuration: IntlayerConfig) => Promise<void>;
3
+ export declare const isCachedConfigurationUpToDate: (configuration: IntlayerConfig) => Promise<boolean | null>;
4
+ export declare const writeConfiguration: (configuration: IntlayerConfig) => Promise<void>;
5
5
  //#endregion
6
- export { isCachedConfigurationUpToDate, writeConfiguration };
7
6
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/writeConfiguration/index.ts"],"mappings":";;cAMa,gCAA6B,eACzB,mBACd;cAWU,qBAAkB,eAAyB,mBAAc"}
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/writeConfiguration/index.ts"],"mappings":";;qBAMa,gCAA6B,eACzB,mBACd;qBAWU,qBAAkB,eAAyB,mBAAc"}
@@ -6,7 +6,6 @@
6
6
  * - export function MyComponent(...)
7
7
  * - export default function MyComponent(...)
8
8
  */
9
- declare const detectExportedComponentName: (fileText: string) => string | null;
9
+ export declare const detectExportedComponentName: (fileText: string) => string | null;
10
10
  //#endregion
11
- export { detectExportedComponentName };
12
11
  //# sourceMappingURL=detectExportedComponentName.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"detectExportedComponentName.d.ts","names":[],"sources":["../../../src/writeContentDeclaration/detectExportedComponentName.ts"],"mappings":";;;;;;;;cAOa,8BAA2B"}
1
+ {"version":3,"file":"detectExportedComponentName.d.ts","names":[],"sources":["../../../src/writeContentDeclaration/detectExportedComponentName.ts"],"mappings":";;;;;;;;qBAOa,8BAA2B"}
@@ -1,5 +1,4 @@
1
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';
2
+ export type DictionaryStatus = 'pending' | 'fetching' | 'up-to-date' | 'replaced' | 'updated' | 'fetched' | 'unknown' | 'error' | 'imported' | 'reimported in JSON' | 'new content file' | 'created';
3
3
  //#endregion
4
- export { DictionaryStatus };
5
4
  //# sourceMappingURL=dictionaryStatus.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"dictionaryStatus.d.ts","names":[],"sources":["../../../src/writeContentDeclaration/dictionaryStatus.ts"],"mappings":";KAAY"}
1
+ {"version":3,"file":"dictionaryStatus.d.ts","names":[],"sources":["../../../src/writeContentDeclaration/dictionaryStatus.ts"],"mappings":";YAAY"}
@@ -7,7 +7,6 @@ import { Dictionary } from "@intlayer/types/dictionary";
7
7
  *
8
8
  * And write external sources as file content if necessary.
9
9
  */
10
- declare const processContentDeclarationContent: (dictionary: Dictionary) => Promise<any>;
10
+ export declare const processContentDeclarationContent: (dictionary: Dictionary) => Promise<any>;
11
11
  //#endregion
12
- export { processContentDeclarationContent };
13
12
  //# sourceMappingURL=processContentDeclarationContent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"processContentDeclarationContent.d.ts","names":[],"sources":["../../../src/writeContentDeclaration/processContentDeclarationContent.ts"],"mappings":";;;;;;;;;cAiIa,mCAAgC,YAC/B,eAAU"}
1
+ {"version":3,"file":"processContentDeclarationContent.d.ts","names":[],"sources":["../../../src/writeContentDeclaration/processContentDeclarationContent.ts"],"mappings":";;;;;;;;;qBAiIa,mCAAgC,YAC/B,eAAU"}
@@ -4,7 +4,6 @@ import { Locale } from "@intlayer/types/allLocales";
4
4
  /**
5
5
  * Updates a JS/TS file seamlessly to map new localization keys, arrays, complex nodes and nested dictionaries gracefully using AST updates via Recast parser.
6
6
  */
7
- declare const transformJSFile: (fileContent: string, dictionary: Dictionary, fallbackLocale?: Locale, noMetadata?: boolean) => Promise<string>;
7
+ export declare const transformJSFile: (fileContent: string, dictionary: Dictionary, fallbackLocale?: Locale, noMetadata?: boolean) => Promise<string>;
8
8
  //#endregion
9
- export { transformJSFile };
10
9
  //# sourceMappingURL=transformJSFile.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"transformJSFile.d.ts","names":[],"sources":["../../../src/writeContentDeclaration/transformJSFile.ts"],"mappings":";;;;;;cAixBa,kBAAe,qBACP,YACP,YAAU,iBACL,QAAM,yBAEtB"}
1
+ {"version":3,"file":"transformJSFile.d.ts","names":[],"sources":["../../../src/writeContentDeclaration/transformJSFile.ts"],"mappings":";;;;;;qBAixBa,kBAAe,qBACP,YACP,YAAU,iBACL,QAAM,yBAEtB"}
@@ -1,6 +1,5 @@
1
1
  import { Dictionary } from "@intlayer/types/dictionary";
2
2
  //#region src/writeContentDeclaration/transformJSONFile.d.ts
3
- declare const transformJSONFile: (fileContent: string, dictionary: Dictionary, noMetadata?: boolean) => string;
3
+ export declare const transformJSONFile: (fileContent: string, dictionary: Dictionary, noMetadata?: boolean) => string;
4
4
  //#endregion
5
- export { transformJSONFile };
6
5
  //# sourceMappingURL=transformJSONFile.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"transformJSONFile.d.ts","names":[],"sources":["../../../src/writeContentDeclaration/transformJSONFile.ts"],"mappings":";;cA8Ia,oBAAiB,qBACT,YACP,YAAU"}
1
+ {"version":3,"file":"transformJSONFile.d.ts","names":[],"sources":["../../../src/writeContentDeclaration/transformJSONFile.ts"],"mappings":";;qBA8Ia,oBAAiB,qBACT,YACP,YAAU"}
@@ -9,10 +9,9 @@ type WriteContentDeclarationOptions = {
9
9
  localeList?: LocalesValues[];
10
10
  fallbackLocale?: Locale;
11
11
  };
12
- declare const writeContentDeclaration: (dictionary: Dictionary, configuration: IntlayerConfig, options?: WriteContentDeclarationOptions) => Promise<{
12
+ export declare const writeContentDeclaration: (dictionary: Dictionary, configuration: IntlayerConfig, options?: WriteContentDeclarationOptions) => Promise<{
13
13
  status: DictionaryStatus;
14
14
  path: string;
15
15
  }>;
16
16
  //#endregion
17
- export { writeContentDeclaration };
18
17
  //# sourceMappingURL=writeContentDeclaration.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"writeContentDeclaration.d.ts","names":[],"sources":["../../../src/writeContentDeclaration/writeContentDeclaration.ts"],"mappings":";;;;;;KA+HK;EACH;EACA,aAAa;EACb,iBAAiB;;cAON,0BAAuB,YACtB,YAAU,eACP,gBAAc,UACnB,mCACT;EAAU,QAAQ;EAAkB"}
1
+ {"version":3,"file":"writeContentDeclaration.d.ts","names":[],"sources":["../../../src/writeContentDeclaration/writeContentDeclaration.ts"],"mappings":";;;;;;KA+HK;EACH;EACA,aAAa;EACb,iBAAiB;;qBAON,0BAAuB,YACtB,YAAU,eACP,gBAAc,UACnB,mCACT;EAAU,QAAQ;EAAkB"}
@@ -7,7 +7,6 @@ import { Dictionary } from "@intlayer/types/dictionary";
7
7
  * and updates its 'content' entries. Currently, it focuses on modifying arguments
8
8
  * of 't' (translation) function calls.
9
9
  */
10
- declare const writeJSFile: (filePath: string, dictionary: Dictionary, configuration: IntlayerConfig, noMetadata?: boolean) => Promise<void>;
10
+ export declare const writeJSFile: (filePath: string, dictionary: Dictionary, configuration: IntlayerConfig, noMetadata?: boolean) => Promise<void>;
11
11
  //#endregion
12
- export { writeJSFile };
13
12
  //# sourceMappingURL=writeJSFile.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"writeJSFile.d.ts","names":[],"sources":["../../../src/writeContentDeclaration/writeJSFile.ts"],"mappings":";;;;;;;;;cAqBa,cAAW,kBACN,YACJ,YAAU,eACP,gBAAc,yBAE5B"}
1
+ {"version":3,"file":"writeJSFile.d.ts","names":[],"sources":["../../../src/writeContentDeclaration/writeJSFile.ts"],"mappings":";;;;;;;;;qBAqBa,cAAW,kBACN,YACJ,YAAU,eACP,gBAAc,yBAE5B"}
@@ -1,7 +1,6 @@
1
1
  import { IntlayerConfig } from "@intlayer/types/config";
2
2
  import { Dictionary } from "@intlayer/types/dictionary";
3
3
  //#region src/writeContentDeclaration/writeMarkdownFile.d.ts
4
- declare const writeMarkdownFile: (absoluteFilePath: string, dictionary: Dictionary, configuration: IntlayerConfig) => Promise<void>;
4
+ export declare const writeMarkdownFile: (absoluteFilePath: string, dictionary: Dictionary, configuration: IntlayerConfig) => Promise<void>;
5
5
  //#endregion
6
- export { writeMarkdownFile };
7
6
  //# sourceMappingURL=writeMarkdownFile.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"writeMarkdownFile.d.ts","names":[],"sources":["../../../src/writeContentDeclaration/writeMarkdownFile.ts"],"mappings":";;;cA4Da,oBAAiB,0BACJ,YACZ,YAAU,eACP,mBACd"}
1
+ {"version":3,"file":"writeMarkdownFile.d.ts","names":[],"sources":["../../../src/writeContentDeclaration/writeMarkdownFile.ts"],"mappings":";;;qBA4Da,oBAAiB,0BACJ,YACZ,YAAU,eACP,mBACd"}
@@ -1,7 +1,6 @@
1
1
  import { IntlayerConfig } from "@intlayer/types/config";
2
2
  import { Dictionary } from "@intlayer/types/dictionary";
3
3
  //#region src/writeContentDeclaration/writeYamlFile.d.ts
4
- declare const writeYamlFile: (absoluteFilePath: string, dictionary: Dictionary, configuration: IntlayerConfig) => Promise<void>;
4
+ export declare const writeYamlFile: (absoluteFilePath: string, dictionary: Dictionary, configuration: IntlayerConfig) => Promise<void>;
5
5
  //#endregion
6
- export { writeYamlFile };
7
6
  //# sourceMappingURL=writeYamlFile.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"writeYamlFile.d.ts","names":[],"sources":["../../../src/writeContentDeclaration/writeYamlFile.ts"],"mappings":";;;cAWa,gBAAa,0BACA,YACZ,YAAU,eACP,mBACd"}
1
+ {"version":3,"file":"writeYamlFile.d.ts","names":[],"sources":["../../../src/writeContentDeclaration/writeYamlFile.ts"],"mappings":";;;qBAWa,gBAAa,0BACA,YACZ,YAAU,eACP,mBACd"}
@@ -2,7 +2,7 @@
2
2
  /**
3
3
  * Options for {@link writeFileIfChanged}.
4
4
  */
5
- type WriteFileIfChangedOptions = {
5
+ export type WriteFileIfChangedOptions = {
6
6
  /** Encoding used to turn `data` into bytes. Defaults to `'utf8'`. */
7
7
  encoding?: BufferEncoding;
8
8
  /** Directory to hold the temporary file used for the atomic swap. */
@@ -27,7 +27,6 @@ type WriteFileIfChangedOptions = {
27
27
  *
28
28
  * @returns `true` when the file was written, `false` when it was already up to date.
29
29
  */
30
- declare const writeFileIfChanged: (path: string, data: string, { encoding, tempDir, atomic }?: WriteFileIfChangedOptions) => Promise<boolean>;
30
+ export declare const writeFileIfChanged: (path: string, data: string, { encoding, tempDir, atomic }?: WriteFileIfChangedOptions) => Promise<boolean>;
31
31
  //#endregion
32
- export { WriteFileIfChangedOptions, writeFileIfChanged };
33
32
  //# sourceMappingURL=writeFileIfChanged.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"writeFileIfChanged.d.ts","names":[],"sources":["../../src/writeFileIfChanged.ts"],"mappings":";;;;KAoCY;;EAEV,WAAW;;EAEX;;;;;;;;EAQA;;;;;;;;;;;;;cAcW,qBAAkB,cACjB,gBACA,UAAA,SAAA,WACmC,8BAC9C"}
1
+ {"version":3,"file":"writeFileIfChanged.d.ts","names":[],"sources":["../../src/writeFileIfChanged.ts"],"mappings":";;;;YAoCY;;EAEV,WAAW;;EAEX;;;;;;;;EAQA;;;;;;;;;;;;;qBAcW,qBAAkB,cACjB,gBACA,UAAA,SAAA,WACmC,8BAC9C"}
@@ -1,7 +1,6 @@
1
1
  //#region src/writeJsonIfChanged.d.ts
2
- declare const writeJsonIfChanged: <T>(path: string, data: T, { pretty }?: {
2
+ export declare const writeJsonIfChanged: <T>(path: string, data: T, { pretty }?: {
3
3
  pretty?: boolean;
4
4
  }) => Promise<boolean>;
5
5
  //#endregion
6
- export { writeJsonIfChanged };
7
6
  //# sourceMappingURL=writeJsonIfChanged.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"writeJsonIfChanged.d.ts","names":[],"sources":["../../src/writeJsonIfChanged.ts"],"mappings":";cAEa,qBAA4B,GAAC,cAC5B,MACN,KAAC;;MAEN"}
1
+ {"version":3,"file":"writeJsonIfChanged.d.ts","names":[],"sources":["../../src/writeJsonIfChanged.ts"],"mappings":";qBAEa,qBAA4B,GAAC,cAC5B,MACN,KAAC;;MAEN"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intlayer/engine",
3
- "version": "9.4.2",
3
+ "version": "9.4.4",
4
4
  "private": false,
5
5
  "description": "Scans and builds Intlayer declaration files into dictionaries based on Intlayer configuration.",
6
6
  "keywords": [
@@ -141,13 +141,13 @@
141
141
  "typecheck": "tsc --noEmit --project tsconfig.types.json"
142
142
  },
143
143
  "dependencies": {
144
- "@intlayer/api": "9.4.2",
145
- "@intlayer/config": "9.4.2",
146
- "@intlayer/core": "9.4.2",
147
- "@intlayer/dictionaries-entry": "9.4.2",
148
- "@intlayer/remote-dictionaries-entry": "9.4.2",
149
- "@intlayer/types": "9.4.2",
150
- "@intlayer/unmerged-dictionaries-entry": "9.4.2",
144
+ "@intlayer/api": "9.4.4",
145
+ "@intlayer/config": "9.4.4",
146
+ "@intlayer/core": "9.4.4",
147
+ "@intlayer/dictionaries-entry": "9.4.4",
148
+ "@intlayer/remote-dictionaries-entry": "9.4.4",
149
+ "@intlayer/types": "9.4.4",
150
+ "@intlayer/unmerged-dictionaries-entry": "9.4.4",
151
151
  "@parcel/watcher": "2.6.0",
152
152
  "defu": "6.1.7",
153
153
  "fast-glob": "3.3.3",
@@ -161,13 +161,13 @@
161
161
  "@utils/ts-config-types": "1.0.4",
162
162
  "@utils/tsdown-config": "1.0.4",
163
163
  "rimraf": "6.1.3",
164
- "tsdown": "0.22.14",
164
+ "tsdown": "0.23.0",
165
165
  "typescript": "7.0.2",
166
- "vitest": "4.1.11",
166
+ "vitest": "5.0.0",
167
167
  "zod": "4.5.4"
168
168
  },
169
169
  "peerDependencies": {
170
- "@intlayer/babel": "9.4.2"
170
+ "@intlayer/babel": "9.4.4"
171
171
  },
172
172
  "peerDependenciesMeta": {
173
173
  "@intlayer/babel": {