@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.
- package/dist/cjs/_utils_asset-SJVy1xMD.cjs +2 -0
- package/dist/cjs/build.cjs +1 -1
- package/dist/cjs/buildIntlayerDictionary/buildIntlayerDictionary.cjs +1 -1
- package/dist/cjs/buildIntlayerDictionary/buildIntlayerDictionary.cjs.map +1 -1
- package/dist/cjs/buildIntlayerDictionary/processContentDeclaration.cjs +1 -1
- package/dist/cjs/buildIntlayerDictionary/processContentDeclaration.cjs.map +1 -1
- package/dist/cjs/buildIntlayerDictionary/writeDynamicDictionary.cjs +1 -1
- package/dist/cjs/buildIntlayerDictionary/writeDynamicDictionary.cjs.map +1 -1
- package/dist/cjs/buildIntlayerDictionary/writeFetchDictionary.cjs +1 -1
- package/dist/cjs/buildIntlayerDictionary/writeFetchDictionary.cjs.map +1 -1
- package/dist/cjs/buildIntlayerDictionary/writeMergedDictionary.cjs +1 -1
- package/dist/cjs/buildIntlayerDictionary/writeMergedDictionary.cjs.map +1 -1
- package/dist/cjs/buildIntlayerDictionary/writeRemoteDictionary.cjs +1 -1
- package/dist/cjs/buildIntlayerDictionary/writeRemoteDictionary.cjs.map +1 -1
- package/dist/cjs/buildIntlayerDictionary/writeUnmergedDictionary.cjs +1 -1
- package/dist/cjs/buildIntlayerDictionary/writeUnmergedDictionary.cjs.map +1 -1
- package/dist/cjs/{_virtual/_rolldown/runtime.cjs → chunk-Bmb41Sf3.cjs} +1 -1
- package/dist/cjs/cleanOutputDir.cjs +1 -1
- package/dist/cjs/cleanOutputDir.cjs.map +1 -1
- package/dist/cjs/cleanRemovedContentDeclaration.cjs +1 -1
- package/dist/cjs/cleanRemovedContentDeclaration.cjs.map +1 -1
- package/dist/cjs/cli.cjs +1 -1
- package/dist/cjs/createDictionaryEntryPoint/createDictionaryEntryPoint.cjs +1 -1
- package/dist/cjs/createDictionaryEntryPoint/createDictionaryEntryPoint.cjs.map +1 -1
- package/dist/cjs/createDictionaryEntryPoint/generateDictionaryListContent.cjs +1 -1
- package/dist/cjs/createDictionaryEntryPoint/generateDictionaryListContent.cjs.map +1 -1
- package/dist/cjs/createDictionaryEntryPoint/getBuiltDictionariesPath.cjs +1 -1
- package/dist/cjs/createDictionaryEntryPoint/getBuiltDictionariesPath.cjs.map +1 -1
- package/dist/cjs/createDictionaryEntryPoint/getBuiltDynamicDictionariesPath.cjs +1 -1
- package/dist/cjs/createDictionaryEntryPoint/getBuiltDynamicDictionariesPath.cjs.map +1 -1
- package/dist/cjs/createDictionaryEntryPoint/getBuiltFetchDictionariesPath.cjs +1 -1
- package/dist/cjs/createDictionaryEntryPoint/getBuiltFetchDictionariesPath.cjs.map +1 -1
- package/dist/cjs/createDictionaryEntryPoint/getBuiltRemoteDictionariesPath.cjs +1 -1
- package/dist/cjs/createDictionaryEntryPoint/getBuiltRemoteDictionariesPath.cjs.map +1 -1
- package/dist/cjs/createDictionaryEntryPoint/getBuiltUnmergedDictionariesPath.cjs +1 -1
- package/dist/cjs/createDictionaryEntryPoint/getBuiltUnmergedDictionariesPath.cjs.map +1 -1
- package/dist/cjs/createType/createModuleAugmentation.cjs +1 -1
- package/dist/cjs/createType/createModuleAugmentation.cjs.map +1 -1
- package/dist/cjs/createType/createType.cjs +1 -1
- package/dist/cjs/createType/createType.cjs.map +1 -1
- package/dist/cjs/detectFormatCommand.cjs +1 -1
- package/dist/cjs/detectFormatCommand.cjs.map +1 -1
- package/dist/cjs/fetchDistantDictionaries.cjs +1 -1
- package/dist/cjs/fetchDistantDictionaries.cjs.map +1 -1
- package/dist/cjs/filterInvalidDictionaries.cjs +1 -1
- package/dist/cjs/filterInvalidDictionaries.cjs.map +1 -1
- package/dist/cjs/formatDictionary.cjs +1 -1
- package/dist/cjs/formatDictionary.cjs.map +1 -1
- package/dist/cjs/getContentDeclarationFileTemplate/getContentDeclarationFileTemplate.cjs +1 -1
- package/dist/cjs/getContentDeclarationFileTemplate/getContentDeclarationFileTemplate.cjs.map +1 -1
- package/dist/cjs/handleAdditionalContentDeclarationFile.cjs +1 -1
- package/dist/cjs/handleAdditionalContentDeclarationFile.cjs.map +1 -1
- package/dist/cjs/handleContentDeclarationFileChange.cjs +1 -1
- package/dist/cjs/handleContentDeclarationFileChange.cjs.map +1 -1
- package/dist/cjs/handleContentDeclarationFileMoved.cjs +1 -1
- package/dist/cjs/handleContentDeclarationFileMoved.cjs.map +1 -1
- package/dist/cjs/handleUnlinkedContentDeclarationFile.cjs +1 -1
- package/dist/cjs/handleUnlinkedContentDeclarationFile.cjs.map +1 -1
- package/dist/cjs/init/index.cjs +1 -1
- package/dist/cjs/init/index.cjs.map +1 -1
- package/dist/cjs/init/utils/configManipulation.cjs +1 -1
- package/dist/cjs/init/utils/configManipulation.cjs.map +1 -1
- package/dist/cjs/init/utils/fileSystem.cjs +1 -1
- package/dist/cjs/init/utils/fileSystem.cjs.map +1 -1
- package/dist/cjs/init/utils/tsConfig.cjs +1 -1
- package/dist/cjs/init/utils/tsConfig.cjs.map +1 -1
- package/dist/cjs/initConfig/index.cjs +1 -1
- package/dist/cjs/initConfig/index.cjs.map +1 -1
- package/dist/cjs/installMCP/installMCP.cjs +1 -1
- package/dist/cjs/installMCP/installMCP.cjs.map +1 -1
- package/dist/cjs/installSkills/index.cjs +1 -1
- package/dist/cjs/installSkills/index.cjs.map +1 -1
- package/dist/cjs/listDictionariesPath.cjs +1 -1
- package/dist/cjs/listDictionariesPath.cjs.map +1 -1
- package/dist/cjs/listGitFiles.cjs +1 -1
- package/dist/cjs/listGitFiles.cjs.map +1 -1
- package/dist/cjs/listProjects.cjs +1 -1
- package/dist/cjs/listProjects.cjs.map +1 -1
- package/dist/cjs/loadDictionaries/getIntlayerBundle.cjs +1 -1
- package/dist/cjs/loadDictionaries/getIntlayerBundle.cjs.map +1 -1
- package/dist/cjs/loadDictionaries/loadContentDeclaration.cjs +1 -1
- package/dist/cjs/loadDictionaries/loadContentDeclaration.cjs.map +1 -1
- package/dist/cjs/loadDictionaries/loadDictionaries.cjs +1 -1
- package/dist/cjs/loadDictionaries/loadDictionaries.cjs.map +1 -1
- package/dist/cjs/loadDictionaries/loadLocalDictionaries.cjs +1 -1
- package/dist/cjs/loadDictionaries/loadLocalDictionaries.cjs.map +1 -1
- package/dist/cjs/loadDictionaries/loadRemoteDictionaries.cjs +1 -1
- package/dist/cjs/loadDictionaries/loadRemoteDictionaries.cjs.map +1 -1
- package/dist/cjs/loadDictionaries/log.cjs +1 -1
- package/dist/cjs/loadDictionaries/log.cjs.map +1 -1
- package/dist/cjs/loadDictionaries/logTypeScriptErrors.cjs +1 -1
- package/dist/cjs/loadDictionaries/logTypeScriptErrors.cjs.map +1 -1
- package/dist/cjs/logConfigDetails.cjs +1 -1
- package/dist/cjs/logConfigDetails.cjs.map +1 -1
- package/dist/cjs/prepareIntlayer.cjs +1 -1
- package/dist/cjs/prepareIntlayer.cjs.map +1 -1
- package/dist/cjs/reduceDictionaryContent/reduceDictionaryContent.cjs +1 -1
- package/dist/cjs/reduceDictionaryContent/reduceDictionaryContent.cjs.map +1 -1
- package/dist/cjs/utils/autoDecorateContent.cjs +1 -1
- package/dist/cjs/utils/autoDecorateContent.cjs.map +1 -1
- package/dist/cjs/utils/buildComponentFilesList.cjs +1 -1
- package/dist/cjs/utils/buildComponentFilesList.cjs.map +1 -1
- package/dist/cjs/utils/buildFilesList.cjs +1 -1
- package/dist/cjs/utils/buildFilesList.cjs.map +1 -1
- package/dist/cjs/utils/formatter.cjs +1 -1
- package/dist/cjs/utils/formatter.cjs.map +1 -1
- package/dist/cjs/utils/getPathHash.cjs +1 -1
- package/dist/cjs/utils/getPathHash.cjs.map +1 -1
- package/dist/cjs/utils/resolveRelativePath.cjs +1 -1
- package/dist/cjs/utils/resolveRelativePath.cjs.map +1 -1
- package/dist/cjs/utils/runOnce.cjs +1 -1
- package/dist/cjs/utils/runOnce.cjs.map +1 -1
- package/dist/cjs/utils/runParallel/bin.cjs +1 -1
- package/dist/cjs/utils/runParallel/bin.cjs.map +1 -1
- package/dist/cjs/utils/runParallel/index.cjs +1 -1
- package/dist/cjs/utils/runParallel/index.cjs.map +1 -1
- package/dist/cjs/utils/runParallel/pidTree.cjs +1 -1
- package/dist/cjs/utils/runParallel/pidTree.cjs.map +1 -1
- package/dist/cjs/utils/runParallel/ps.cjs +1 -1
- package/dist/cjs/utils/runParallel/ps.cjs.map +1 -1
- package/dist/cjs/utils/runParallel/runTask.cjs +1 -1
- package/dist/cjs/utils/runParallel/runTask.cjs.map +1 -1
- package/dist/cjs/utils/runParallel/spawnPosix.cjs +1 -1
- package/dist/cjs/utils/runParallel/spawnPosix.cjs.map +1 -1
- package/dist/cjs/utils/runParallel/spawnWin32.cjs +1 -1
- package/dist/cjs/utils/runParallel/spawnWin32.cjs.map +1 -1
- package/dist/cjs/utils/runParallel/wmic.cjs +1 -1
- package/dist/cjs/utils/runParallel/wmic.cjs.map +1 -1
- package/dist/cjs/watcher.cjs +1 -1
- package/dist/cjs/watcher.cjs.map +1 -1
- package/dist/cjs/writeConfiguration/index.cjs +1 -1
- package/dist/cjs/writeConfiguration/index.cjs.map +1 -1
- package/dist/cjs/writeContentDeclaration/processContentDeclarationContent.cjs +1 -1
- package/dist/cjs/writeContentDeclaration/processContentDeclarationContent.cjs.map +1 -1
- package/dist/cjs/writeContentDeclaration/transformJSFile.cjs +1 -1
- package/dist/cjs/writeContentDeclaration/transformJSFile.cjs.map +1 -1
- package/dist/cjs/writeContentDeclaration/transformJSONFile.cjs +1 -1
- package/dist/cjs/writeContentDeclaration/transformJSONFile.cjs.map +1 -1
- package/dist/cjs/writeContentDeclaration/writeContentDeclaration.cjs +1 -1
- package/dist/cjs/writeContentDeclaration/writeContentDeclaration.cjs.map +1 -1
- package/dist/cjs/writeContentDeclaration/writeJSFile.cjs +1 -1
- package/dist/cjs/writeContentDeclaration/writeJSFile.cjs.map +1 -1
- package/dist/cjs/writeFileIfChanged.cjs +1 -1
- package/dist/cjs/writeFileIfChanged.cjs.map +1 -1
- package/dist/esm/{_virtual/_utils_asset.mjs → _utils_asset-4w8dPH9r.mjs} +1 -1
- package/dist/esm/build.mjs +1 -1
- package/dist/esm/{_virtual/_rolldown/runtime.mjs → chunk-DDgYwkfe.mjs} +1 -1
- package/dist/esm/cli.mjs +1 -1
- package/dist/esm/init/index.mjs +1 -1
- package/dist/esm/init/index.mjs.map +1 -1
- package/dist/esm/init/utils/configManipulation.mjs +1 -1
- package/dist/esm/init/utils/configManipulation.mjs.map +1 -1
- package/dist/esm/initConfig/index.mjs +1 -1
- package/dist/esm/initConfig/index.mjs.map +1 -1
- package/dist/esm/installMCP/installMCP.mjs +1 -1
- package/dist/esm/installMCP/installMCP.mjs.map +1 -1
- package/dist/esm/installSkills/index.mjs +1 -1
- package/dist/esm/installSkills/index.mjs.map +1 -1
- package/dist/esm/listDictionariesPath.mjs +1 -1
- package/dist/esm/listDictionariesPath.mjs.map +1 -1
- package/dist/esm/loadDictionaries/getIntlayerBundle.mjs +1 -1
- package/dist/esm/loadDictionaries/getIntlayerBundle.mjs.map +1 -1
- package/dist/esm/utils/buildComponentFilesList.mjs +1 -1
- package/dist/esm/utils/buildComponentFilesList.mjs.map +1 -1
- package/dist/esm/utils/formatter.mjs +1 -1
- package/dist/esm/utils/formatter.mjs.map +1 -1
- package/dist/esm/watcher.mjs +1 -1
- package/dist/esm/watcher.mjs.map +1 -1
- package/dist/esm/writeConfiguration/index.mjs +1 -1
- package/dist/esm/writeConfiguration/index.mjs.map +1 -1
- package/dist/esm/writeContentDeclaration/processContentDeclarationContent.mjs.map +1 -1
- package/dist/types/build.d.ts +20 -20
- package/dist/types/buildIntlayerDictionary/buildIntlayerDictionary.d.ts +2 -24
- package/dist/types/buildIntlayerDictionary/index.d.ts +2 -2
- package/dist/types/buildIntlayerDictionary/processContentDeclaration.d.ts +2 -11
- package/dist/types/buildIntlayerDictionary/writeDynamicDictionary.d.ts +2 -36
- package/dist/types/buildIntlayerDictionary/writeFetchDictionary.d.ts +1 -1
- package/dist/types/buildIntlayerDictionary/writeFetchDictionary.d.ts.map +1 -1
- package/dist/types/buildIntlayerDictionary/writeMergedDictionary.d.ts +2 -30
- package/dist/types/buildIntlayerDictionary/writeUnmergedDictionary.d.ts +2 -34
- package/dist/types/buildIntlayerDictionary-BGj5jDFy.d.ts +24 -0
- package/dist/types/buildIntlayerDictionary-BGj5jDFy.d.ts.map +1 -0
- package/dist/types/cli.d.ts +6 -6
- package/dist/types/createDictionaryEntryPoint/createDictionaryEntryPoint.d.ts +2 -14
- package/dist/types/createDictionaryEntryPoint/generateDictionaryListContent.d.ts +2 -10
- package/dist/types/createDictionaryEntryPoint/getBuiltDictionariesPath.d.ts +2 -10
- package/dist/types/createDictionaryEntryPoint/getBuiltDynamicDictionariesPath.d.ts +2 -10
- package/dist/types/createDictionaryEntryPoint/getBuiltFetchDictionariesPath.d.ts +2 -10
- package/dist/types/createDictionaryEntryPoint/getBuiltRemoteDictionariesPath.d.ts +2 -10
- package/dist/types/createDictionaryEntryPoint/getBuiltUnmergedDictionariesPath.d.ts +2 -10
- package/dist/types/createDictionaryEntryPoint/index.d.ts +7 -7
- package/dist/types/createDictionaryEntryPoint-Bc5lHSiY.d.ts +14 -0
- package/dist/types/createDictionaryEntryPoint-Bc5lHSiY.d.ts.map +1 -0
- package/dist/types/createModuleAugmentation-D1eIVnjg.d.ts +9 -0
- package/dist/types/createModuleAugmentation-D1eIVnjg.d.ts.map +1 -0
- package/dist/types/createType/createModuleAugmentation.d.ts +2 -9
- package/dist/types/createType/createType.d.ts +2 -12
- package/dist/types/createType/index.d.ts +2 -2
- package/dist/types/createType--rDwdg2t.d.ts +12 -0
- package/dist/types/createType--rDwdg2t.d.ts.map +1 -0
- package/dist/types/detectExportedComponentName-DVXsp_FG.d.ts +12 -0
- package/dist/types/detectExportedComponentName-DVXsp_FG.d.ts.map +1 -0
- package/dist/types/dictionaryStatus-DPVO37qe.d.ts +5 -0
- package/dist/types/dictionaryStatus-DPVO37qe.d.ts.map +1 -0
- package/dist/types/fetchDistantDictionaries.d.ts +1 -1
- package/dist/types/fetchDistantDictionaries.d.ts.map +1 -1
- package/dist/types/generateDictionaryListContent-DAtHG6SR.d.ts +10 -0
- package/dist/types/generateDictionaryListContent-DAtHG6SR.d.ts.map +1 -0
- package/dist/types/getBuiltDictionariesPath-C4it65a1.d.ts +10 -0
- package/dist/types/getBuiltDictionariesPath-C4it65a1.d.ts.map +1 -0
- package/dist/types/getBuiltDynamicDictionariesPath-Cj9EWnjT.d.ts +10 -0
- package/dist/types/getBuiltDynamicDictionariesPath-Cj9EWnjT.d.ts.map +1 -0
- package/dist/types/getBuiltFetchDictionariesPath-1JleRhT3.d.ts +10 -0
- package/dist/types/getBuiltFetchDictionariesPath-1JleRhT3.d.ts.map +1 -0
- package/dist/types/getBuiltRemoteDictionariesPath-DHOmqNCr.d.ts +10 -0
- package/dist/types/getBuiltRemoteDictionariesPath-DHOmqNCr.d.ts.map +1 -0
- package/dist/types/getBuiltUnmergedDictionariesPath-GUmmLxTB.d.ts +10 -0
- package/dist/types/getBuiltUnmergedDictionariesPath-GUmmLxTB.d.ts.map +1 -0
- package/dist/types/getContentDeclarationFileTemplate/getContentDeclarationFileTemplate.d.ts +2 -7
- package/dist/types/getContentDeclarationFileTemplate/index.d.ts +1 -1
- package/dist/types/getContentDeclarationFileTemplate-Dz3rnFy9.d.ts +7 -0
- package/dist/types/getContentDeclarationFileTemplate-Dz3rnFy9.d.ts.map +1 -0
- package/dist/types/getFormatFromExtension-SdXYWfPx.d.ts +8 -0
- package/dist/types/getFormatFromExtension-SdXYWfPx.d.ts.map +1 -0
- package/dist/types/listDictionariesPath.d.ts.map +1 -1
- package/dist/types/loadContentDeclaration-CBMS4vkA.d.ts +12 -0
- package/dist/types/loadContentDeclaration-CBMS4vkA.d.ts.map +1 -0
- package/dist/types/loadDictionaries/index.d.ts +4 -4
- package/dist/types/loadDictionaries/loadContentDeclaration.d.ts +2 -12
- package/dist/types/loadDictionaries/loadDictionaries.d.ts +2 -23
- package/dist/types/loadDictionaries/loadLocalDictionaries.d.ts +2 -8
- package/dist/types/loadDictionaries/loadRemoteDictionaries.d.ts +2 -15
- package/dist/types/loadDictionaries/log.d.ts +1 -1
- package/dist/types/loadDictionaries-BIqHwtYE.d.ts +23 -0
- package/dist/types/loadDictionaries-BIqHwtYE.d.ts.map +1 -0
- package/dist/types/loadLocalDictionaries-CNmVaw0c.d.ts +8 -0
- package/dist/types/loadLocalDictionaries-CNmVaw0c.d.ts.map +1 -0
- package/dist/types/loadRemoteDictionaries-MoITTb7W.d.ts +15 -0
- package/dist/types/loadRemoteDictionaries-MoITTb7W.d.ts.map +1 -0
- package/dist/types/processContentDeclaration-CAvrHaIT.d.ts +11 -0
- package/dist/types/processContentDeclaration-CAvrHaIT.d.ts.map +1 -0
- package/dist/types/transformJSFile-Cg0LkeLb.d.ts +11 -0
- package/dist/types/transformJSFile-Cg0LkeLb.d.ts.map +1 -0
- package/dist/types/utils/getFormatFromExtension.d.ts +2 -8
- package/dist/types/utils/index.d.ts +1 -1
- package/dist/types/watcher.d.ts.map +1 -1
- package/dist/types/writeConfiguration/index.d.ts.map +1 -1
- package/dist/types/writeContentDeclaration/detectExportedComponentName.d.ts +2 -12
- package/dist/types/writeContentDeclaration/dictionaryStatus.d.ts +2 -5
- package/dist/types/writeContentDeclaration/index.d.ts +5 -5
- package/dist/types/writeContentDeclaration/transformJSFile.d.ts +2 -11
- package/dist/types/writeContentDeclaration/writeContentDeclaration.d.ts +2 -19
- package/dist/types/writeContentDeclaration/writeJSFile.d.ts +2 -14
- package/dist/types/writeContentDeclaration-XdGxj0KP.d.ts +19 -0
- package/dist/types/writeContentDeclaration-XdGxj0KP.d.ts.map +1 -0
- package/dist/types/writeDynamicDictionary-DE3SJg-g.d.ts +36 -0
- package/dist/types/writeDynamicDictionary-DE3SJg-g.d.ts.map +1 -0
- package/dist/types/writeJSFile-kK95jzg_.d.ts +14 -0
- package/dist/types/writeJSFile-kK95jzg_.d.ts.map +1 -0
- package/dist/types/writeMergedDictionary-C4EvgXbL.d.ts +30 -0
- package/dist/types/writeMergedDictionary-C4EvgXbL.d.ts.map +1 -0
- package/dist/types/writeUnmergedDictionary-Cxx51isz.d.ts +34 -0
- package/dist/types/writeUnmergedDictionary-Cxx51isz.d.ts.map +1 -0
- package/package.json +16 -8
- package/dist/cjs/_virtual/_utils_asset.cjs +0 -2
- package/dist/types/buildIntlayerDictionary/buildIntlayerDictionary.d.ts.map +0 -1
- package/dist/types/buildIntlayerDictionary/processContentDeclaration.d.ts.map +0 -1
- package/dist/types/buildIntlayerDictionary/writeDynamicDictionary.d.ts.map +0 -1
- package/dist/types/buildIntlayerDictionary/writeMergedDictionary.d.ts.map +0 -1
- package/dist/types/buildIntlayerDictionary/writeUnmergedDictionary.d.ts.map +0 -1
- package/dist/types/createDictionaryEntryPoint/createDictionaryEntryPoint.d.ts.map +0 -1
- package/dist/types/createDictionaryEntryPoint/generateDictionaryListContent.d.ts.map +0 -1
- package/dist/types/createDictionaryEntryPoint/getBuiltDictionariesPath.d.ts.map +0 -1
- package/dist/types/createDictionaryEntryPoint/getBuiltDynamicDictionariesPath.d.ts.map +0 -1
- package/dist/types/createDictionaryEntryPoint/getBuiltFetchDictionariesPath.d.ts.map +0 -1
- package/dist/types/createDictionaryEntryPoint/getBuiltRemoteDictionariesPath.d.ts.map +0 -1
- package/dist/types/createDictionaryEntryPoint/getBuiltUnmergedDictionariesPath.d.ts.map +0 -1
- package/dist/types/createType/createModuleAugmentation.d.ts.map +0 -1
- package/dist/types/createType/createType.d.ts.map +0 -1
- package/dist/types/getContentDeclarationFileTemplate/getContentDeclarationFileTemplate.d.ts.map +0 -1
- package/dist/types/loadDictionaries/loadContentDeclaration.d.ts.map +0 -1
- package/dist/types/loadDictionaries/loadDictionaries.d.ts.map +0 -1
- package/dist/types/loadDictionaries/loadLocalDictionaries.d.ts.map +0 -1
- package/dist/types/loadDictionaries/loadRemoteDictionaries.d.ts.map +0 -1
- package/dist/types/utils/getFormatFromExtension.d.ts.map +0 -1
- package/dist/types/writeContentDeclaration/detectExportedComponentName.d.ts.map +0 -1
- package/dist/types/writeContentDeclaration/dictionaryStatus.d.ts.map +0 -1
- package/dist/types/writeContentDeclaration/transformJSFile.d.ts.map +0 -1
- package/dist/types/writeContentDeclaration/writeContentDeclaration.d.ts.map +0 -1
- 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 {
|
|
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 "
|
|
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":";;;;;;;
|
|
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 {
|
|
2
|
-
import {
|
|
3
|
-
import { loadLocalDictionaries } from "
|
|
4
|
-
import {
|
|
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 {
|
|
2
|
-
|
|
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 {
|
|
2
|
-
|
|
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 {
|
|
2
|
-
|
|
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 {
|
|
2
|
-
|
|
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 };
|
|
@@ -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
|
-
|
|
2
|
-
|
|
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 {
|
|
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":";;;;;;
|
|
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":";;;
|
|
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
|
-
|
|
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
|
-
|
|
2
|
-
|
|
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 "
|
|
2
|
-
import { DictionaryStatus } from "
|
|
3
|
-
import { transformJSFile } from "
|
|
4
|
-
import { writeContentDeclaration } from "
|
|
5
|
-
import { writeJSFile } from "
|
|
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 {
|
|
2
|
-
|
|
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 {
|
|
2
|
-
|
|
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 {
|
|
2
|
-
|
|
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"}
|