@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"processContentDeclarationContent.mjs","names":[],"sources":["../../../src/writeContentDeclaration/processContentDeclarationContent.ts"],"sourcesContent":["import { existsSync, mkdirSync, writeFileSync } from 'node:fs';\nimport { dirname, join } from 'node:path';\nimport { colorizePath, x } from '@intlayer/config/logger';\nimport { deepTransformNode, type Plugins } from '@intlayer/core/interpreter';\nimport type {\n FileContent,\n FileContentConstructor,\n HTMLContent,\n HTMLContentConstructor,\n InsertionContent,\n InsertionContentConstructor,\n MarkdownContent,\n MarkdownContentConstructor,\n} from '@intlayer/core/transpiler';\nimport type { Dictionary } from '@intlayer/types/dictionary'
|
|
1
|
+
{"version":3,"file":"processContentDeclarationContent.mjs","names":[],"sources":["../../../src/writeContentDeclaration/processContentDeclarationContent.ts"],"sourcesContent":["import { existsSync, mkdirSync, writeFileSync } from 'node:fs';\nimport { dirname, join } from 'node:path';\nimport { colorizePath, x } from '@intlayer/config/logger';\nimport { deepTransformNode, type Plugins } from '@intlayer/core/interpreter';\nimport type {\n FileContent,\n FileContentConstructor,\n HTMLContent,\n HTMLContentConstructor,\n InsertionContent,\n InsertionContentConstructor,\n MarkdownContent,\n MarkdownContentConstructor,\n} from '@intlayer/core/transpiler';\nimport type { Dictionary } from '@intlayer/types/dictionary';\nimport { NodeType } from '@intlayer/types/nodeType';\n\n/**\n * Write file plugin\n */\n\nconst writeFilePlugin: Plugins = {\n id: 'write-file-plugin',\n canHandle: (node) =>\n typeof node === 'object' && node?.nodeType === NodeType.File,\n transform: (node: FileContent) => {\n const fileContent = node.content;\n const filePath = node.fixedPath;\n\n if (typeof fileContent !== 'string') {\n throw new Error('File content must be a string');\n }\n\n if (typeof filePath !== 'string') {\n throw new Error('File path must be a string');\n }\n\n // Write the file to the file system\n try {\n const absoluteFilePath = join(process.cwd(), filePath);\n\n // Create the file directory if it doesn't exist\n const fileDirectory = dirname(absoluteFilePath);\n\n if (!existsSync(fileDirectory)) {\n mkdirSync(fileDirectory, { recursive: true });\n }\n\n // Write the file\n writeFileSync(absoluteFilePath, fileContent);\n } catch (error) {\n throw new Error(\n `${x} Error writing file to ${colorizePath(filePath)}: ${error}`\n );\n }\n\n const transformedFileContent: FileContentConstructor = {\n nodeType: NodeType.File,\n [NodeType.File]: node.file,\n };\n\n return transformedFileContent;\n },\n};\n\n/**\n * Markdown file plugin\n */\n\nconst markdownFilePlugin: Plugins = {\n id: 'markdown-file-plugin',\n canHandle: (node) =>\n typeof node === 'object' && node?.nodeType === NodeType.Markdown,\n transform: (node: MarkdownContent, props, deepTransformNode) => {\n const simplifiedMarkdownNode: MarkdownContentConstructor = {\n nodeType: NodeType.Markdown,\n [NodeType.Markdown]: deepTransformNode(node.markdown, props),\n };\n\n return simplifiedMarkdownNode;\n },\n};\n\n/**\n * Insertion file plugin\n */\n\nconst insertionFilePlugin: Plugins = {\n id: 'insertion-file-plugin',\n canHandle: (node) =>\n typeof node === 'object' && node?.nodeType === NodeType.Insertion,\n transform: (node: InsertionContent, props, deepTransformNode) => {\n const simplifiedInsertionNode: InsertionContentConstructor = {\n nodeType: NodeType.Insertion,\n [NodeType.Insertion]: deepTransformNode(node.insertion, props),\n };\n\n return simplifiedInsertionNode;\n },\n};\n\n/**\n * HTML file plugin\n */\n\nconst htmlFilePlugin: Plugins = {\n id: 'html-file-plugin',\n canHandle: (node) =>\n typeof node === 'object' && node?.nodeType === NodeType.HTML,\n transform: (node: HTMLContent, props, deepTransformNode) => {\n const simplifiedHTMLNode: HTMLContentConstructor = {\n nodeType: NodeType.HTML,\n [NodeType.HTML]: deepTransformNode(node.html, props),\n };\n\n return simplifiedHTMLNode;\n },\n};\n\n/**\n * Process content declaration content\n *\n * It filter node that are autogenerated by intlayer to do not rewrite them in the content declaration file.\n *\n * And write external sources as file content if necessary.\n */\nexport const processContentDeclarationContent = async (\n dictionary: Dictionary\n) =>\n deepTransformNode(dictionary, {\n dictionaryKey: dictionary.key,\n keyPath: [],\n plugins: [\n writeFilePlugin,\n markdownFilePlugin,\n insertionFilePlugin,\n htmlFilePlugin,\n ],\n });\n"],"mappings":"sSAqBA,MAAM,EAA2B,CAC/B,GAAI,oBACJ,UAAY,GACV,OAAO,GAAS,UAAY,GAAM,WAAa,EAAS,KAC1D,UAAY,GAAsB,CAChC,IAAM,EAAc,EAAK,QACnB,EAAW,EAAK,UAEtB,GAAI,OAAO,GAAgB,SACzB,MAAU,MAAM,gCAAgC,CAGlD,GAAI,OAAO,GAAa,SACtB,MAAU,MAAM,6BAA6B,CAI/C,GAAI,CACF,IAAM,EAAmB,EAAK,QAAQ,KAAK,CAAE,EAAS,CAGhD,EAAgB,EAAQ,EAAiB,CAE1C,EAAW,EAAc,EAC5B,EAAU,EAAe,CAAE,UAAW,GAAM,CAAC,CAI/C,EAAc,EAAkB,EAAY,OACrC,EAAO,CACd,MAAU,MACR,GAAG,EAAE,yBAAyB,EAAa,EAAS,CAAC,IAAI,IAC1D,CAQH,MALuD,CACrD,SAAU,EAAS,MAClB,EAAS,MAAO,EAAK,KACvB,EAIJ,CAMK,EAA8B,CAClC,GAAI,uBACJ,UAAY,GACV,OAAO,GAAS,UAAY,GAAM,WAAa,EAAS,SAC1D,WAAY,EAAuB,EAAO,KACmB,CACzD,SAAU,EAAS,UAClB,EAAS,UAAW,EAAkB,EAAK,SAAU,EAAM,CAC7D,EAIJ,CAMK,EAA+B,CACnC,GAAI,wBACJ,UAAY,GACV,OAAO,GAAS,UAAY,GAAM,WAAa,EAAS,UAC1D,WAAY,EAAwB,EAAO,KACoB,CAC3D,SAAU,EAAS,WAClB,EAAS,WAAY,EAAkB,EAAK,UAAW,EAAM,CAC/D,EAIJ,CAMK,EAA0B,CAC9B,GAAI,mBACJ,UAAY,GACV,OAAO,GAAS,UAAY,GAAM,WAAa,EAAS,KAC1D,WAAY,EAAmB,EAAO,KACe,CACjD,SAAU,EAAS,MAClB,EAAS,MAAO,EAAkB,EAAK,KAAM,EAAM,CACrD,EAIJ,CASY,EAAmC,KAC9C,IAEA,EAAkB,EAAY,CAC5B,cAAe,EAAW,IAC1B,QAAS,EAAE,CACX,QAAS,CACP,EACA,EACA,EACA,EACD,CACF,CAAC"}
|
package/dist/types/build.d.ts
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { processContentDeclaration } from "./
|
|
1
|
+
import { n as buildDictionary, t as BuildDictionariesOptions } from "./buildIntlayerDictionary-BGj5jDFy.js";
|
|
2
|
+
import { t as processContentDeclaration } from "./processContentDeclaration-CAvrHaIT.js";
|
|
3
3
|
import { cleanOutputDir } from "./cleanOutputDir.js";
|
|
4
|
-
import {
|
|
5
|
-
import { generateDictionaryListContent } from "./
|
|
6
|
-
import { getBuiltDictionariesPath } from "./
|
|
7
|
-
import { getBuiltDynamicDictionariesPath } from "./
|
|
8
|
-
import { getBuiltFetchDictionariesPath } from "./
|
|
9
|
-
import { getBuiltRemoteDictionariesPath } from "./
|
|
10
|
-
import { getBuiltUnmergedDictionariesPath } from "./
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
4
|
+
import { n as createDictionaryEntryPoint, t as CreateDictionaryEntryPointOptions } from "./createDictionaryEntryPoint-Bc5lHSiY.js";
|
|
5
|
+
import { t as generateDictionaryListContent } from "./generateDictionaryListContent-DAtHG6SR.js";
|
|
6
|
+
import { t as getBuiltDictionariesPath } from "./getBuiltDictionariesPath-C4it65a1.js";
|
|
7
|
+
import { t as getBuiltDynamicDictionariesPath } from "./getBuiltDynamicDictionariesPath-Cj9EWnjT.js";
|
|
8
|
+
import { t as getBuiltFetchDictionariesPath } from "./getBuiltFetchDictionariesPath-1JleRhT3.js";
|
|
9
|
+
import { t as getBuiltRemoteDictionariesPath } from "./getBuiltRemoteDictionariesPath-DHOmqNCr.js";
|
|
10
|
+
import { t as getBuiltUnmergedDictionariesPath } from "./getBuiltUnmergedDictionariesPath-GUmmLxTB.js";
|
|
11
|
+
import { n as getTypeName, t as createModuleAugmentation } from "./createModuleAugmentation-D1eIVnjg.js";
|
|
12
|
+
import { n as generateTypeScriptType, t as createTypes } from "./createType--rDwdg2t.js";
|
|
13
13
|
import { formatDictionaries, formatDictionariesOutput, formatDictionary, formatDictionaryOutput } from "./formatDictionary.js";
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import { loadLocalDictionaries } from "./
|
|
17
|
-
import {
|
|
14
|
+
import { n as loadDictionaries, t as DictionariesStatus } from "./loadDictionaries-BIqHwtYE.js";
|
|
15
|
+
import { i as loadContentDeclarations, n as formatLocalDictionaries, r as loadContentDeclaration, t as ensureIntlayerBundle } from "./loadContentDeclaration-CBMS4vkA.js";
|
|
16
|
+
import { t as loadLocalDictionaries } from "./loadLocalDictionaries-CNmVaw0c.js";
|
|
17
|
+
import { n as loadRemoteDictionaries, t as formatDistantDictionaries } from "./loadRemoteDictionaries-MoITTb7W.js";
|
|
18
18
|
import { prepareIntlayer } from "./prepareIntlayer.js";
|
|
19
19
|
import { isCachedConfigurationUpToDate, writeConfiguration } from "./writeConfiguration/index.js";
|
|
20
|
-
import { detectExportedComponentName } from "./
|
|
21
|
-
import { DictionaryStatus } from "./
|
|
22
|
-
import { transformJSFile } from "./
|
|
23
|
-
import { writeContentDeclaration } from "./writeContentDeclaration
|
|
24
|
-
import { writeJSFile } from "./
|
|
20
|
+
import { t as detectExportedComponentName } from "./detectExportedComponentName-DVXsp_FG.js";
|
|
21
|
+
import { t as DictionaryStatus } from "./dictionaryStatus-DPVO37qe.js";
|
|
22
|
+
import { t as transformJSFile } from "./transformJSFile-Cg0LkeLb.js";
|
|
23
|
+
import { t as writeContentDeclaration } from "./writeContentDeclaration-XdGxj0KP.js";
|
|
24
|
+
import { t as writeJSFile } from "./writeJSFile-kK95jzg_.js";
|
|
25
25
|
export { BuildDictionariesOptions, CreateDictionaryEntryPointOptions, DictionariesStatus, DictionaryStatus, buildDictionary, cleanOutputDir, createDictionaryEntryPoint, createModuleAugmentation, createTypes, detectExportedComponentName, ensureIntlayerBundle, formatDictionaries, formatDictionariesOutput, formatDictionary, formatDictionaryOutput, formatDistantDictionaries, formatLocalDictionaries, generateDictionaryListContent, generateTypeScriptType, getBuiltDictionariesPath, getBuiltDynamicDictionariesPath, getBuiltFetchDictionariesPath, getBuiltRemoteDictionariesPath, getBuiltUnmergedDictionariesPath, getTypeName, isCachedConfigurationUpToDate, loadContentDeclaration, loadContentDeclarations, loadDictionaries, loadLocalDictionaries, loadRemoteDictionaries, prepareIntlayer, processContentDeclaration, transformJSFile, writeConfiguration, writeContentDeclaration, writeJSFile };
|
|
@@ -1,24 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import { LocalizedDictionaryOutput } from "./writeDynamicDictionary.js";
|
|
4
|
-
import * as _intlayer_types_config0 from "@intlayer/types/config";
|
|
5
|
-
import { Dictionary } from "@intlayer/types/dictionary";
|
|
6
|
-
|
|
7
|
-
//#region src/buildIntlayerDictionary/buildIntlayerDictionary.d.ts
|
|
8
|
-
type BuildDictionariesOptions = Partial<{
|
|
9
|
-
formats: ('cjs' | 'esm')[];
|
|
10
|
-
importOtherDictionaries: boolean;
|
|
11
|
-
env: 'prod' | 'dev';
|
|
12
|
-
}>;
|
|
13
|
-
/**
|
|
14
|
-
* This function transpile the bundled code to to make dictionaries as JSON files
|
|
15
|
-
*/
|
|
16
|
-
declare const buildDictionary: (localDictionariesEntries: Dictionary[], configuration?: _intlayer_types_config0.IntlayerConfig, options?: BuildDictionariesOptions) => Promise<{
|
|
17
|
-
unmergedDictionaries: UnmergedDictionaryOutput;
|
|
18
|
-
mergedDictionaries: MergedDictionaryOutput;
|
|
19
|
-
dynamicDictionaries: LocalizedDictionaryOutput;
|
|
20
|
-
fetchDictionaries: LocalizedDictionaryOutput;
|
|
21
|
-
}>;
|
|
22
|
-
//#endregion
|
|
23
|
-
export { BuildDictionariesOptions, buildDictionary };
|
|
24
|
-
//# sourceMappingURL=buildIntlayerDictionary.d.ts.map
|
|
1
|
+
import { n as buildDictionary, t as BuildDictionariesOptions } from "../buildIntlayerDictionary-BGj5jDFy.js";
|
|
2
|
+
export { BuildDictionariesOptions, buildDictionary };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { processContentDeclaration } from "
|
|
1
|
+
import { n as buildDictionary, t as BuildDictionariesOptions } from "../buildIntlayerDictionary-BGj5jDFy.js";
|
|
2
|
+
import { t as processContentDeclaration } from "../processContentDeclaration-CAvrHaIT.js";
|
|
3
3
|
export { BuildDictionariesOptions, buildDictionary, processContentDeclaration };
|
|
@@ -1,11 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
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 };
|
|
11
|
-
//# sourceMappingURL=processContentDeclaration.d.ts.map
|
|
1
|
+
import { t as processContentDeclaration } from "../processContentDeclaration-CAvrHaIT.js";
|
|
2
|
+
export { processContentDeclaration };
|
|
@@ -1,36 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
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 { DictionaryResult, LocalizedDictionaryOutput, LocalizedDictionaryResult, generateDictionaryEntryPoint, writeDynamicDictionary };
|
|
36
|
-
//# sourceMappingURL=writeDynamicDictionary.d.ts.map
|
|
1
|
+
import { a as writeDynamicDictionary, i as generateDictionaryEntryPoint, n as LocalizedDictionaryOutput, r as LocalizedDictionaryResult, t as DictionaryResult } from "../writeDynamicDictionary-DE3SJg-g.js";
|
|
2
|
+
export { DictionaryResult, LocalizedDictionaryOutput, LocalizedDictionaryResult, generateDictionaryEntryPoint, writeDynamicDictionary };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LocalizedDictionaryOutput, LocalizedDictionaryResult } from "
|
|
1
|
+
import { n as LocalizedDictionaryOutput, r as LocalizedDictionaryResult } from "../writeDynamicDictionary-DE3SJg-g.js";
|
|
2
2
|
import * as _intlayer_types_config0 from "@intlayer/types/config";
|
|
3
3
|
|
|
4
4
|
//#region src/buildIntlayerDictionary/writeFetchDictionary.d.ts
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"writeFetchDictionary.d.ts","names":[],"sources":["../../../src/buildIntlayerDictionary/writeFetchDictionary.ts"],"mappings":";;;;;;;cAea,4BAAA,GACX,8BAAA,EAAgC,yBAAA,EAChC,MAAA,kBACA,aAAA,GAFyD,uBAAA,CAEzD,cAAA;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"writeFetchDictionary.d.ts","names":[],"sources":["../../../src/buildIntlayerDictionary/writeFetchDictionary.ts"],"mappings":";;;;;;;cAea,4BAAA,GACX,8BAAA,EAAgC,yBAAA,EAChC,MAAA,kBACA,aAAA,GAFyD,uBAAA,CAEzD,cAAA;;AAHF;;;;;;;;;;;AAkDA;;;;cAAa,oBAAA,GACX,mBAAA,EAAqB,yBAAA,EACrB,aAAA,GAD8C,uBAAA,CAC9C,cAAA,EACA,OAAA,yBACC,OAAA,CAAQ,yBAAA"}
|
|
@@ -1,30 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
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 { MergedDictionaryOutput, MergedDictionaryResult, writeMergedDictionaries };
|
|
30
|
-
//# sourceMappingURL=writeMergedDictionary.d.ts.map
|
|
1
|
+
import { n as MergedDictionaryResult, r as writeMergedDictionaries, t as MergedDictionaryOutput } from "../writeMergedDictionary-C4EvgXbL.js";
|
|
2
|
+
export { MergedDictionaryOutput, MergedDictionaryResult, writeMergedDictionaries };
|
|
@@ -1,34 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
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 { UnmergedDictionaryOutput, UnmergedDictionaryResult, groupDictionariesByKey, writeUnmergedDictionaries };
|
|
34
|
-
//# sourceMappingURL=writeUnmergedDictionary.d.ts.map
|
|
1
|
+
import { i as writeUnmergedDictionaries, n as UnmergedDictionaryResult, r as groupDictionariesByKey, t as UnmergedDictionaryOutput } from "../writeUnmergedDictionary-Cxx51isz.js";
|
|
2
|
+
export { UnmergedDictionaryOutput, UnmergedDictionaryResult, groupDictionariesByKey, writeUnmergedDictionaries };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { t as UnmergedDictionaryOutput } from "./writeUnmergedDictionary-Cxx51isz.js";
|
|
2
|
+
import { t as MergedDictionaryOutput } from "./writeMergedDictionary-C4EvgXbL.js";
|
|
3
|
+
import { n as LocalizedDictionaryOutput } from "./writeDynamicDictionary-DE3SJg-g.js";
|
|
4
|
+
import * as _intlayer_types_config0 from "@intlayer/types/config";
|
|
5
|
+
import { Dictionary } from "@intlayer/types/dictionary";
|
|
6
|
+
|
|
7
|
+
//#region src/buildIntlayerDictionary/buildIntlayerDictionary.d.ts
|
|
8
|
+
type BuildDictionariesOptions = Partial<{
|
|
9
|
+
formats: ('cjs' | 'esm')[];
|
|
10
|
+
importOtherDictionaries: boolean;
|
|
11
|
+
env: 'prod' | 'dev';
|
|
12
|
+
}>;
|
|
13
|
+
/**
|
|
14
|
+
* This function transpile the bundled code to to make dictionaries as JSON files
|
|
15
|
+
*/
|
|
16
|
+
declare const buildDictionary: (localDictionariesEntries: Dictionary[], configuration?: _intlayer_types_config0.IntlayerConfig, options?: BuildDictionariesOptions) => Promise<{
|
|
17
|
+
unmergedDictionaries: UnmergedDictionaryOutput;
|
|
18
|
+
mergedDictionaries: MergedDictionaryOutput;
|
|
19
|
+
dynamicDictionaries: LocalizedDictionaryOutput;
|
|
20
|
+
fetchDictionaries: LocalizedDictionaryOutput;
|
|
21
|
+
}>;
|
|
22
|
+
//#endregion
|
|
23
|
+
export { buildDictionary as n, BuildDictionariesOptions as t };
|
|
24
|
+
//# sourceMappingURL=buildIntlayerDictionary-BGj5jDFy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buildIntlayerDictionary-BGj5jDFy.d.ts","names":[],"sources":["../../src/buildIntlayerDictionary/buildIntlayerDictionary.ts"],"mappings":";;;;;;;KAYY,wBAAA,GAA2B,OAAA;EACrC,OAAA;EACA,uBAAA;EACA,GAAA;AAAA;AAHF;;;AAAA,cAea,eAAA,GACX,wBAAA,EAA0B,UAAA,IAC1B,aAAA,GADoC,uBAAA,CACpC,cAAA,EACA,OAAA,GAAU,wBAAA,KAAwB,OAAA;wBAAA,wBAAA"}
|
package/dist/types/cli.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { detectExportedComponentName } from "./
|
|
2
|
-
import { DictionaryStatus } from "./
|
|
3
|
-
import { transformJSFile } from "./
|
|
4
|
-
import { writeContentDeclaration } from "./writeContentDeclaration
|
|
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
|
import { detectFormatCommand } from "./detectFormatCommand.js";
|
|
7
|
-
import { getContentDeclarationFileTemplate } from "./getContentDeclarationFileTemplate
|
|
7
|
+
import { t as getContentDeclarationFileTemplate } from "./getContentDeclarationFileTemplate-Dz3rnFy9.js";
|
|
8
8
|
import { initIntlayer } from "./init/index.js";
|
|
9
9
|
import { PLATFORMS, PLATFORMS_METADATA, Platform, PlatformMetadata, SKILLS, SKILLS_METADATA, Skill, getInitialSkills, installSkills } from "./installSkills/index.js";
|
|
10
10
|
import { MCPTransport, installMCP } from "./installMCP/installMCP.js";
|
|
@@ -1,14 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
//#region src/createDictionaryEntryPoint/createDictionaryEntryPoint.d.ts
|
|
4
|
-
type CreateDictionaryEntryPointOptions = {
|
|
5
|
-
formats?: ('cjs' | 'esm')[];
|
|
6
|
-
excludeKeys?: string[];
|
|
7
|
-
};
|
|
8
|
-
/**
|
|
9
|
-
* This function generates a list of dictionaries in the main directory
|
|
10
|
-
*/
|
|
11
|
-
declare const createDictionaryEntryPoint: (configuration?: _intlayer_types_config0.IntlayerConfig, options?: CreateDictionaryEntryPointOptions) => Promise<void>;
|
|
12
|
-
//#endregion
|
|
13
|
-
export { CreateDictionaryEntryPointOptions, createDictionaryEntryPoint };
|
|
14
|
-
//# sourceMappingURL=createDictionaryEntryPoint.d.ts.map
|
|
1
|
+
import { n as createDictionaryEntryPoint, t as CreateDictionaryEntryPointOptions } from "../createDictionaryEntryPoint-Bc5lHSiY.js";
|
|
2
|
+
export { CreateDictionaryEntryPointOptions, createDictionaryEntryPoint };
|
|
@@ -1,10 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
//#region src/createDictionaryEntryPoint/generateDictionaryListContent.d.ts
|
|
4
|
-
/**
|
|
5
|
-
* This function generates the content of the dictionary list file
|
|
6
|
-
*/
|
|
7
|
-
declare const generateDictionaryListContent: (dictionaries: string[], functionName: string, importType: "json" | "javascript", format?: "cjs" | "esm", configuration?: _intlayer_types_config0.IntlayerConfig) => string;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { generateDictionaryListContent };
|
|
10
|
-
//# sourceMappingURL=generateDictionaryListContent.d.ts.map
|
|
1
|
+
import { t as generateDictionaryListContent } from "../generateDictionaryListContent-DAtHG6SR.js";
|
|
2
|
+
export { generateDictionaryListContent };
|
|
@@ -1,10 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
//#region src/createDictionaryEntryPoint/getBuiltDictionariesPath.d.ts
|
|
4
|
-
/**
|
|
5
|
-
* This function generates a list of dictionaries in the main directory
|
|
6
|
-
*/
|
|
7
|
-
declare const getBuiltDictionariesPath: (configuration: IntlayerConfig, excludeKeys?: string[]) => Promise<string[]>;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { getBuiltDictionariesPath };
|
|
10
|
-
//# sourceMappingURL=getBuiltDictionariesPath.d.ts.map
|
|
1
|
+
import { t as getBuiltDictionariesPath } from "../getBuiltDictionariesPath-C4it65a1.js";
|
|
2
|
+
export { getBuiltDictionariesPath };
|
|
@@ -1,10 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
//#region src/createDictionaryEntryPoint/getBuiltDynamicDictionariesPath.d.ts
|
|
4
|
-
/**
|
|
5
|
-
* This function generates a list of dictionaries in the main directory
|
|
6
|
-
*/
|
|
7
|
-
declare const getBuiltDynamicDictionariesPath: (configuration: IntlayerConfig, format?: "cjs" | "esm", excludeKeys?: string[]) => Promise<string[]>;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { getBuiltDynamicDictionariesPath };
|
|
10
|
-
//# sourceMappingURL=getBuiltDynamicDictionariesPath.d.ts.map
|
|
1
|
+
import { t as getBuiltDynamicDictionariesPath } from "../getBuiltDynamicDictionariesPath-Cj9EWnjT.js";
|
|
2
|
+
export { getBuiltDynamicDictionariesPath };
|
|
@@ -1,10 +1,2 @@
|
|
|
1
|
-
import {
|
|
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 };
|
|
10
|
-
//# sourceMappingURL=getBuiltFetchDictionariesPath.d.ts.map
|
|
1
|
+
import { t as getBuiltFetchDictionariesPath } from "../getBuiltFetchDictionariesPath-1JleRhT3.js";
|
|
2
|
+
export { getBuiltFetchDictionariesPath };
|
|
@@ -1,10 +1,2 @@
|
|
|
1
|
-
import {
|
|
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 };
|
|
10
|
-
//# sourceMappingURL=getBuiltRemoteDictionariesPath.d.ts.map
|
|
1
|
+
import { t as getBuiltRemoteDictionariesPath } from "../getBuiltRemoteDictionariesPath-DHOmqNCr.js";
|
|
2
|
+
export { getBuiltRemoteDictionariesPath };
|
|
@@ -1,10 +1,2 @@
|
|
|
1
|
-
import {
|
|
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 };
|
|
10
|
-
//# sourceMappingURL=getBuiltUnmergedDictionariesPath.d.ts.map
|
|
1
|
+
import { t as getBuiltUnmergedDictionariesPath } from "../getBuiltUnmergedDictionariesPath-GUmmLxTB.js";
|
|
2
|
+
export { getBuiltUnmergedDictionariesPath };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { generateDictionaryListContent } from "
|
|
3
|
-
import { getBuiltDictionariesPath } from "
|
|
4
|
-
import { getBuiltDynamicDictionariesPath } from "
|
|
5
|
-
import { getBuiltFetchDictionariesPath } from "
|
|
6
|
-
import { getBuiltRemoteDictionariesPath } from "
|
|
7
|
-
import { getBuiltUnmergedDictionariesPath } from "
|
|
1
|
+
import { n as createDictionaryEntryPoint, t as CreateDictionaryEntryPointOptions } from "../createDictionaryEntryPoint-Bc5lHSiY.js";
|
|
2
|
+
import { t as generateDictionaryListContent } from "../generateDictionaryListContent-DAtHG6SR.js";
|
|
3
|
+
import { t as getBuiltDictionariesPath } from "../getBuiltDictionariesPath-C4it65a1.js";
|
|
4
|
+
import { t as getBuiltDynamicDictionariesPath } from "../getBuiltDynamicDictionariesPath-Cj9EWnjT.js";
|
|
5
|
+
import { t as getBuiltFetchDictionariesPath } from "../getBuiltFetchDictionariesPath-1JleRhT3.js";
|
|
6
|
+
import { t as getBuiltRemoteDictionariesPath } from "../getBuiltRemoteDictionariesPath-DHOmqNCr.js";
|
|
7
|
+
import { t as getBuiltUnmergedDictionariesPath } from "../getBuiltUnmergedDictionariesPath-GUmmLxTB.js";
|
|
8
8
|
export { CreateDictionaryEntryPointOptions, createDictionaryEntryPoint, generateDictionaryListContent, getBuiltDictionariesPath, getBuiltDynamicDictionariesPath, getBuiltFetchDictionariesPath, getBuiltRemoteDictionariesPath, getBuiltUnmergedDictionariesPath };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as _intlayer_types_config0 from "@intlayer/types/config";
|
|
2
|
+
|
|
3
|
+
//#region src/createDictionaryEntryPoint/createDictionaryEntryPoint.d.ts
|
|
4
|
+
type CreateDictionaryEntryPointOptions = {
|
|
5
|
+
formats?: ('cjs' | 'esm')[];
|
|
6
|
+
excludeKeys?: string[];
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* This function generates a list of dictionaries in the main directory
|
|
10
|
+
*/
|
|
11
|
+
declare const createDictionaryEntryPoint: (configuration?: _intlayer_types_config0.IntlayerConfig, options?: CreateDictionaryEntryPointOptions) => Promise<void>;
|
|
12
|
+
//#endregion
|
|
13
|
+
export { createDictionaryEntryPoint as n, CreateDictionaryEntryPointOptions as t };
|
|
14
|
+
//# sourceMappingURL=createDictionaryEntryPoint-Bc5lHSiY.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createDictionaryEntryPoint-Bc5lHSiY.d.ts","names":[],"sources":["../../src/createDictionaryEntryPoint/createDictionaryEntryPoint.ts"],"mappings":";;;KAqCY,iCAAA;EACV,OAAA;EACA,WAAA;AAAA;;;;cAMW,0BAAA,GACX,aAAA,GAkFD,uBAAA,CAlFC,cAAA,EACA,OAAA,GAAS,iCAAA,KAAsC,OAAA"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IntlayerConfig } from "@intlayer/types/config";
|
|
2
|
+
|
|
3
|
+
//#region src/createType/createModuleAugmentation.d.ts
|
|
4
|
+
declare const getTypeName: (key: string) => string;
|
|
5
|
+
/** Generate the index file merging all the types */
|
|
6
|
+
declare const createModuleAugmentation: (configuration: IntlayerConfig) => Promise<void>;
|
|
7
|
+
//#endregion
|
|
8
|
+
export { getTypeName as n, createModuleAugmentation as t };
|
|
9
|
+
//# sourceMappingURL=createModuleAugmentation-D1eIVnjg.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createModuleAugmentation-D1eIVnjg.d.ts","names":[],"sources":["../../src/createType/createModuleAugmentation.ts"],"mappings":";;;cAUa,WAAA,GAAe,GAAA;;cA4Kf,wBAAA,GACX,aAAA,EAAe,cAAA,KAAc,OAAA"}
|
|
@@ -1,9 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
//#region src/createType/createModuleAugmentation.d.ts
|
|
4
|
-
declare const getTypeName: (key: string) => string;
|
|
5
|
-
/** Generate the index file merging all the types */
|
|
6
|
-
declare const createModuleAugmentation: (configuration: IntlayerConfig) => Promise<void>;
|
|
7
|
-
//#endregion
|
|
8
|
-
export { createModuleAugmentation, getTypeName };
|
|
9
|
-
//# sourceMappingURL=createModuleAugmentation.d.ts.map
|
|
1
|
+
import { n as getTypeName, t as createModuleAugmentation } from "../createModuleAugmentation-D1eIVnjg.js";
|
|
2
|
+
export { createModuleAugmentation, getTypeName };
|
|
@@ -1,12 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
//#region src/createType/createType.d.ts
|
|
5
|
-
declare const generateTypeScriptType: (dictionary: Dictionary) => string;
|
|
6
|
-
/**
|
|
7
|
-
* This function generates a TypeScript type definition from a JSON object
|
|
8
|
-
*/
|
|
9
|
-
declare const createTypes: (dictionaries: Dictionary[], configuration: IntlayerConfig) => Promise<string[]>;
|
|
10
|
-
//#endregion
|
|
11
|
-
export { createTypes, generateTypeScriptType };
|
|
12
|
-
//# sourceMappingURL=createType.d.ts.map
|
|
1
|
+
import { n as generateTypeScriptType, t as createTypes } from "../createType--rDwdg2t.js";
|
|
2
|
+
export { createTypes, generateTypeScriptType };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { n as getTypeName, t as createModuleAugmentation } from "../createModuleAugmentation-D1eIVnjg.js";
|
|
2
|
+
import { n as generateTypeScriptType, t as createTypes } from "../createType--rDwdg2t.js";
|
|
3
3
|
export { createModuleAugmentation, createTypes, generateTypeScriptType, getTypeName };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { IntlayerConfig } from "@intlayer/types/config";
|
|
2
|
+
import { Dictionary } from "@intlayer/types/dictionary";
|
|
3
|
+
|
|
4
|
+
//#region src/createType/createType.d.ts
|
|
5
|
+
declare const generateTypeScriptType: (dictionary: Dictionary) => string;
|
|
6
|
+
/**
|
|
7
|
+
* This function generates a TypeScript type definition from a JSON object
|
|
8
|
+
*/
|
|
9
|
+
declare const createTypes: (dictionaries: Dictionary[], configuration: IntlayerConfig) => Promise<string[]>;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { generateTypeScriptType as n, createTypes as t };
|
|
12
|
+
//# sourceMappingURL=createType--rDwdg2t.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createType--rDwdg2t.d.ts","names":[],"sources":["../../src/createType/createType.ts"],"mappings":";;;;cAMa,sBAAA,GAA0B,UAAA,EAAY,UAAA;;AAAnD;;cAQa,WAAA,GACX,YAAA,EAAc,UAAA,IACd,aAAA,EAAe,cAAA,KACd,OAAA"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
//#region src/writeContentDeclaration/detectExportedComponentName.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Attempt to detect an exported React component name in the file text.
|
|
4
|
+
* Looks for patterns like:
|
|
5
|
+
* - export const MyComponent = ...
|
|
6
|
+
* - export function MyComponent(...)
|
|
7
|
+
* - export default function MyComponent(...)
|
|
8
|
+
*/
|
|
9
|
+
declare const detectExportedComponentName: (fileText: string) => string | null;
|
|
10
|
+
//#endregion
|
|
11
|
+
export { detectExportedComponentName as t };
|
|
12
|
+
//# sourceMappingURL=detectExportedComponentName-DVXsp_FG.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"detectExportedComponentName-DVXsp_FG.d.ts","names":[],"sources":["../../src/writeContentDeclaration/detectExportedComponentName.ts"],"mappings":";;AAOA;;;;;;cAAa,2BAAA,GACX,QAAA"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
//#region src/writeContentDeclaration/dictionaryStatus.d.ts
|
|
2
|
+
type DictionaryStatus = 'pending' | 'fetching' | 'up-to-date' | 'replaced' | 'updated' | 'fetched' | 'unknown' | 'error' | 'imported' | 'reimported in JSON' | 'new content file' | 'created';
|
|
3
|
+
//#endregion
|
|
4
|
+
export { DictionaryStatus as t };
|
|
5
|
+
//# sourceMappingURL=dictionaryStatus-DPVO37qe.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dictionaryStatus-DPVO37qe.d.ts","names":[],"sources":["../../src/writeContentDeclaration/dictionaryStatus.ts"],"mappings":";KAAY,gBAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetchDistantDictionaries.d.ts","names":[],"sources":["../../src/fetchDistantDictionaries.ts"],"mappings":";;;;KAQK,+BAAA;EACH,cAAA;EACA,mBAAA;EACA,SAAA;AAAA
|
|
1
|
+
{"version":3,"file":"fetchDistantDictionaries.d.ts","names":[],"sources":["../../src/fetchDistantDictionaries.ts"],"mappings":";;;;KAQK,+BAAA;EACH,cAAA;EACA,mBAAA;EACA,SAAA;AAAA;;AAN2D;;cAYhD,wBAAA,GACX,OAAA,EAAS,+BAAA,EACT,cAAA,IAAkB,MAAA,EAAQ,kBAAA,gBACzB,OAAA,CAAQ,aAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as _intlayer_types_config0 from "@intlayer/types/config";
|
|
2
|
+
|
|
3
|
+
//#region src/createDictionaryEntryPoint/generateDictionaryListContent.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* This function generates the content of the dictionary list file
|
|
6
|
+
*/
|
|
7
|
+
declare const generateDictionaryListContent: (dictionaries: string[], functionName: string, importType: "json" | "javascript", format?: "cjs" | "esm", configuration?: _intlayer_types_config0.IntlayerConfig) => string;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { generateDictionaryListContent as t };
|
|
10
|
+
//# sourceMappingURL=generateDictionaryListContent-DAtHG6SR.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generateDictionaryListContent-DAtHG6SR.d.ts","names":[],"sources":["../../src/createDictionaryEntryPoint/generateDictionaryListContent.ts"],"mappings":";;;;;;cAQa,6BAAA,GACX,YAAA,YACA,YAAA,UACA,UAAA,yBACA,MAAA,kBACA,aAAA,GA2CD,uBAAA,CA3CC,cAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IntlayerConfig } from "@intlayer/types/config";
|
|
2
|
+
|
|
3
|
+
//#region src/createDictionaryEntryPoint/getBuiltDictionariesPath.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* This function generates a list of dictionaries in the main directory
|
|
6
|
+
*/
|
|
7
|
+
declare const getBuiltDictionariesPath: (configuration: IntlayerConfig, excludeKeys?: string[]) => Promise<string[]>;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { getBuiltDictionariesPath as t };
|
|
10
|
+
//# sourceMappingURL=getBuiltDictionariesPath-C4it65a1.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getBuiltDictionariesPath-C4it65a1.d.ts","names":[],"sources":["../../src/createDictionaryEntryPoint/getBuiltDictionariesPath.ts"],"mappings":";;;;;AASA;cAAa,wBAAA,GACX,aAAA,EAAe,cAAA,EACf,WAAA,gBAA0B,OAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IntlayerConfig } from "@intlayer/types/config";
|
|
2
|
+
|
|
3
|
+
//#region src/createDictionaryEntryPoint/getBuiltDynamicDictionariesPath.d.ts
|
|
4
|
+
/**
|
|
5
|
+
* This function generates a list of dictionaries in the main directory
|
|
6
|
+
*/
|
|
7
|
+
declare const getBuiltDynamicDictionariesPath: (configuration: IntlayerConfig, format?: "cjs" | "esm", excludeKeys?: string[]) => Promise<string[]>;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { getBuiltDynamicDictionariesPath as t };
|
|
10
|
+
//# sourceMappingURL=getBuiltDynamicDictionariesPath-Cj9EWnjT.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getBuiltDynamicDictionariesPath-Cj9EWnjT.d.ts","names":[],"sources":["../../src/createDictionaryEntryPoint/getBuiltDynamicDictionariesPath.ts"],"mappings":";;;;;AASA;cAAa,+BAAA,GACX,aAAA,EAAe,cAAA,EACf,MAAA,kBACA,WAAA,gBAA0B,OAAA"}
|