@intlayer/engine 9.4.3 → 9.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -2
- package/dist/cjs/createDictionaryEntryPoint/generateDictionaryListContent.cjs +1 -2
- package/dist/cjs/createDictionaryEntryPoint/generateDictionaryListContent.cjs.map +1 -1
- package/dist/cjs/init/index.cjs +14 -11
- package/dist/cjs/init/index.cjs.map +1 -1
- package/dist/cjs/init/utils/devScript.cjs +57 -0
- package/dist/cjs/init/utils/devScript.cjs.map +1 -0
- package/dist/cjs/init/utils/index.cjs +3 -0
- package/dist/cjs/loadDictionaries/loadContentDeclaration.cjs +1 -1
- package/dist/cjs/loadDictionaries/loadContentDeclaration.cjs.map +1 -1
- package/dist/cjs/loadDictionaries/loadMarkdownContentDeclaration.cjs +6 -5
- package/dist/cjs/loadDictionaries/loadMarkdownContentDeclaration.cjs.map +1 -1
- package/dist/cjs/syncPluginKit/createSyncPlugin.cjs +51 -3
- package/dist/cjs/syncPluginKit/createSyncPlugin.cjs.map +1 -1
- package/dist/cjs/utils/contentWatcherLock.cjs +173 -0
- package/dist/cjs/utils/contentWatcherLock.cjs.map +1 -0
- package/dist/cjs/utils/index.cjs +13 -1
- package/dist/cjs/utils/parseContentDeclarationFileName.cjs +35 -0
- package/dist/cjs/utils/parseContentDeclarationFileName.cjs.map +1 -0
- package/dist/cjs/utils/withFileLock.cjs +133 -0
- package/dist/cjs/utils/withFileLock.cjs.map +1 -0
- package/dist/cjs/watcher.cjs +7 -3
- package/dist/cjs/watcher.cjs.map +1 -1
- package/dist/esm/createDictionaryEntryPoint/generateDictionaryListContent.mjs +1 -2
- package/dist/esm/createDictionaryEntryPoint/generateDictionaryListContent.mjs.map +1 -1
- package/dist/esm/init/index.mjs +14 -11
- package/dist/esm/init/index.mjs.map +1 -1
- package/dist/esm/init/utils/devScript.mjs +55 -0
- package/dist/esm/init/utils/devScript.mjs.map +1 -0
- package/dist/esm/init/utils/index.mjs +2 -1
- package/dist/esm/loadDictionaries/loadContentDeclaration.mjs +1 -1
- package/dist/esm/loadDictionaries/loadContentDeclaration.mjs.map +1 -1
- package/dist/esm/loadDictionaries/loadMarkdownContentDeclaration.mjs +6 -5
- package/dist/esm/loadDictionaries/loadMarkdownContentDeclaration.mjs.map +1 -1
- package/dist/esm/syncPluginKit/createSyncPlugin.mjs +51 -3
- package/dist/esm/syncPluginKit/createSyncPlugin.mjs.map +1 -1
- package/dist/esm/utils/contentWatcherLock.mjs +164 -0
- package/dist/esm/utils/contentWatcherLock.mjs.map +1 -0
- package/dist/esm/utils/index.mjs +4 -1
- package/dist/esm/utils/parseContentDeclarationFileName.mjs +34 -0
- package/dist/esm/utils/parseContentDeclarationFileName.mjs.map +1 -0
- package/dist/esm/utils/withFileLock.mjs +132 -0
- package/dist/esm/utils/withFileLock.mjs.map +1 -0
- package/dist/esm/watcher.mjs +8 -4
- package/dist/esm/watcher.mjs.map +1 -1
- package/dist/types/buildIntlayerDictionary/buildIntlayerDictionary.d.ts +2 -3
- package/dist/types/buildIntlayerDictionary/buildIntlayerDictionary.d.ts.map +1 -1
- package/dist/types/buildIntlayerDictionary/processContentDeclaration.d.ts +1 -2
- package/dist/types/buildIntlayerDictionary/processContentDeclaration.d.ts.map +1 -1
- package/dist/types/buildIntlayerDictionary/writeDynamicDictionary.d.ts +10 -11
- package/dist/types/buildIntlayerDictionary/writeDynamicDictionary.d.ts.map +1 -1
- package/dist/types/buildIntlayerDictionary/writeFetchDictionary.d.ts +2 -3
- package/dist/types/buildIntlayerDictionary/writeFetchDictionary.d.ts.map +1 -1
- package/dist/types/buildIntlayerDictionary/writeMergedDictionary.d.ts +5 -6
- package/dist/types/buildIntlayerDictionary/writeMergedDictionary.d.ts.map +1 -1
- package/dist/types/buildIntlayerDictionary/writeNestedDictionary.d.ts +4 -5
- package/dist/types/buildIntlayerDictionary/writeNestedDictionary.d.ts.map +1 -1
- package/dist/types/buildIntlayerDictionary/writeRemoteDictionary.d.ts +3 -4
- package/dist/types/buildIntlayerDictionary/writeRemoteDictionary.d.ts.map +1 -1
- package/dist/types/buildIntlayerDictionary/writeUnmergedDictionary.d.ts +4 -5
- package/dist/types/buildIntlayerDictionary/writeUnmergedDictionary.d.ts.map +1 -1
- package/dist/types/cleanOutputDir.d.ts +1 -2
- package/dist/types/cleanOutputDir.d.ts.map +1 -1
- package/dist/types/cleanRemovedContentDeclaration.d.ts +1 -2
- package/dist/types/cleanRemovedContentDeclaration.d.ts.map +1 -1
- package/dist/types/createDictionaryEntryPoint/createDictionaryEntryPoint.d.ts +2 -3
- package/dist/types/createDictionaryEntryPoint/createDictionaryEntryPoint.d.ts.map +1 -1
- package/dist/types/createDictionaryEntryPoint/generateDictionaryListContent.d.ts +1 -2
- package/dist/types/createDictionaryEntryPoint/generateDictionaryListContent.d.ts.map +1 -1
- package/dist/types/createDictionaryEntryPoint/getBuiltDictionariesPath.d.ts +1 -2
- package/dist/types/createDictionaryEntryPoint/getBuiltDictionariesPath.d.ts.map +1 -1
- package/dist/types/createDictionaryEntryPoint/getBuiltDynamicDictionariesPath.d.ts +1 -2
- package/dist/types/createDictionaryEntryPoint/getBuiltDynamicDictionariesPath.d.ts.map +1 -1
- package/dist/types/createDictionaryEntryPoint/getBuiltFetchDictionariesPath.d.ts +1 -2
- package/dist/types/createDictionaryEntryPoint/getBuiltFetchDictionariesPath.d.ts.map +1 -1
- package/dist/types/createDictionaryEntryPoint/getBuiltRemoteDictionariesPath.d.ts +1 -2
- package/dist/types/createDictionaryEntryPoint/getBuiltRemoteDictionariesPath.d.ts.map +1 -1
- package/dist/types/createDictionaryEntryPoint/getBuiltUnmergedDictionariesPath.d.ts +1 -2
- package/dist/types/createDictionaryEntryPoint/getBuiltUnmergedDictionariesPath.d.ts.map +1 -1
- package/dist/types/createType/createModuleAugmentation.d.ts +4 -5
- package/dist/types/createType/createModuleAugmentation.d.ts.map +1 -1
- package/dist/types/createType/createType.d.ts +2 -3
- package/dist/types/createType/createType.d.ts.map +1 -1
- package/dist/types/detectFormatCommand.d.ts +1 -2
- package/dist/types/detectFormatCommand.d.ts.map +1 -1
- package/dist/types/docReview/alignBlocks.d.ts +1 -2
- package/dist/types/docReview/alignBlocks.d.ts.map +1 -1
- package/dist/types/docReview/computeSimilarity.d.ts +2 -3
- package/dist/types/docReview/computeSimilarity.d.ts.map +1 -1
- package/dist/types/docReview/fingerprintBlock.d.ts +1 -2
- package/dist/types/docReview/fingerprintBlock.d.ts.map +1 -1
- package/dist/types/docReview/mapChangedLinesToBlocks.d.ts +1 -2
- package/dist/types/docReview/mapChangedLinesToBlocks.d.ts.map +1 -1
- package/dist/types/docReview/normalizeBlock.d.ts +1 -2
- package/dist/types/docReview/normalizeBlock.d.ts.map +1 -1
- package/dist/types/docReview/pipeline.d.ts +4 -4
- package/dist/types/docReview/pipeline.d.ts.map +1 -1
- package/dist/types/docReview/planActions.d.ts +1 -2
- package/dist/types/docReview/planActions.d.ts.map +1 -1
- package/dist/types/docReview/rebuildDocument.d.ts +5 -6
- package/dist/types/docReview/rebuildDocument.d.ts.map +1 -1
- package/dist/types/docReview/reviewReport.d.ts +8 -9
- package/dist/types/docReview/reviewReport.d.ts.map +1 -1
- package/dist/types/docReview/segmentDocument.d.ts +2 -3
- package/dist/types/docReview/segmentDocument.d.ts.map +1 -1
- package/dist/types/docReview/types.d.ts +9 -10
- package/dist/types/docReview/types.d.ts.map +1 -1
- package/dist/types/fetchDistantDictionaries.d.ts +1 -2
- package/dist/types/fetchDistantDictionaries.d.ts.map +1 -1
- package/dist/types/filterInvalidDictionaries.d.ts +2 -3
- package/dist/types/filterInvalidDictionaries.d.ts.map +1 -1
- package/dist/types/formatDictionary.d.ts +6 -8
- package/dist/types/formatDictionary.d.ts.map +1 -1
- package/dist/types/getContentDeclarationFileTemplate/getContentDeclarationFileTemplate.d.ts +1 -2
- package/dist/types/getContentDeclarationFileTemplate/getContentDeclarationFileTemplate.d.ts.map +1 -1
- package/dist/types/handleAdditionalContentDeclarationFile.d.ts +1 -2
- package/dist/types/handleAdditionalContentDeclarationFile.d.ts.map +1 -1
- package/dist/types/handleContentDeclarationFileChange.d.ts +1 -2
- package/dist/types/handleContentDeclarationFileChange.d.ts.map +1 -1
- package/dist/types/handleContentDeclarationFileMoved.d.ts +1 -2
- package/dist/types/handleContentDeclarationFileMoved.d.ts.map +1 -1
- package/dist/types/handleUnlinkedContentDeclarationFile.d.ts +1 -2
- package/dist/types/handleUnlinkedContentDeclarationFile.d.ts.map +1 -1
- package/dist/types/init/cms.d.ts +8 -9
- package/dist/types/init/cms.d.ts.map +1 -1
- package/dist/types/init/frameworkSetup/index.d.ts +2 -2
- package/dist/types/init/frameworkSetup/index.d.ts.map +1 -1
- package/dist/types/init/frameworkSetup/nextAppRouter/detect.d.ts +4 -4
- package/dist/types/init/frameworkSetup/nextAppRouter/detect.d.ts.map +1 -1
- package/dist/types/init/frameworkSetup/nextAppRouter/index.d.ts +1 -2
- package/dist/types/init/frameworkSetup/nextAppRouter/index.d.ts.map +1 -1
- package/dist/types/init/frameworkSetup/nextAppRouter/restructure.d.ts +5 -6
- package/dist/types/init/frameworkSetup/nextAppRouter/restructure.d.ts.map +1 -1
- package/dist/types/init/frameworkSetup/nextAppRouter/templates.d.ts +8 -9
- package/dist/types/init/frameworkSetup/nextAppRouter/templates.d.ts.map +1 -1
- package/dist/types/init/frameworkSetup/nextAppRouter/transforms.d.ts +2 -3
- package/dist/types/init/frameworkSetup/nextAppRouter/transforms.d.ts.map +1 -1
- package/dist/types/init/frameworkSetup/tanstackStart/detect.d.ts +3 -4
- package/dist/types/init/frameworkSetup/tanstackStart/detect.d.ts.map +1 -1
- package/dist/types/init/frameworkSetup/tanstackStart/index.d.ts +1 -2
- package/dist/types/init/frameworkSetup/tanstackStart/index.d.ts.map +1 -1
- package/dist/types/init/frameworkSetup/tanstackStart/restructure.d.ts +7 -8
- package/dist/types/init/frameworkSetup/tanstackStart/restructure.d.ts.map +1 -1
- package/dist/types/init/frameworkSetup/tanstackStart/templates.d.ts +3 -4
- package/dist/types/init/frameworkSetup/tanstackStart/templates.d.ts.map +1 -1
- package/dist/types/init/frameworkSetup/tanstackStart/transforms.d.ts +2 -3
- package/dist/types/init/frameworkSetup/tanstackStart/transforms.d.ts.map +1 -1
- package/dist/types/init/frameworkSetup/types.d.ts +2 -3
- package/dist/types/init/frameworkSetup/types.d.ts.map +1 -1
- package/dist/types/init/index.d.ts +4 -5
- package/dist/types/init/index.d.ts.map +1 -1
- package/dist/types/init/utils/astImports.d.ts +3 -4
- package/dist/types/init/utils/astImports.d.ts.map +1 -1
- package/dist/types/init/utils/configManipulation.d.ts +19 -20
- package/dist/types/init/utils/configManipulation.d.ts.map +1 -1
- package/dist/types/init/utils/devScript.d.ts +49 -0
- package/dist/types/init/utils/devScript.d.ts.map +1 -0
- package/dist/types/init/utils/fileSystem.d.ts +11 -12
- package/dist/types/init/utils/fileSystem.d.ts.map +1 -1
- package/dist/types/init/utils/githubActions.d.ts +7 -8
- package/dist/types/init/utils/githubActions.d.ts.map +1 -1
- package/dist/types/init/utils/index.d.ts +2 -1
- package/dist/types/init/utils/jsonParser.d.ts +1 -2
- package/dist/types/init/utils/jsonParser.d.ts.map +1 -1
- package/dist/types/init/utils/nextCompilerBabel.d.ts +2 -3
- package/dist/types/init/utils/nextCompilerBabel.d.ts.map +1 -1
- package/dist/types/init/utils/packageManager.d.ts +17 -18
- package/dist/types/init/utils/packageManager.d.ts.map +1 -1
- package/dist/types/init/utils/tsConfig.d.ts +1 -2
- package/dist/types/init/utils/tsConfig.d.ts.map +1 -1
- package/dist/types/init/utils/version.d.ts +1 -2
- package/dist/types/init/utils/version.d.ts.map +1 -1
- package/dist/types/initConfig/index.d.ts +2 -3
- package/dist/types/initConfig/index.d.ts.map +1 -1
- package/dist/types/installLSP.d.ts +1 -2
- package/dist/types/installLSP.d.ts.map +1 -1
- package/dist/types/installMCP/installMCP.d.ts +2 -3
- package/dist/types/installMCP/installMCP.d.ts.map +1 -1
- package/dist/types/installSkills/index.d.ts +9 -10
- package/dist/types/installSkills/index.d.ts.map +1 -1
- package/dist/types/listDictionariesPath.d.ts +2 -3
- package/dist/types/listDictionariesPath.d.ts.map +1 -1
- package/dist/types/listGitFiles.d.ts +5 -6
- package/dist/types/listGitFiles.d.ts.map +1 -1
- package/dist/types/listProjects.d.ts +3 -4
- package/dist/types/listProjects.d.ts.map +1 -1
- package/dist/types/loadDictionaries/getIntlayerBundle.d.ts +1 -2
- package/dist/types/loadDictionaries/getIntlayerBundle.d.ts.map +1 -1
- package/dist/types/loadDictionaries/loadContentDeclaration.d.ts +4 -5
- package/dist/types/loadDictionaries/loadContentDeclaration.d.ts.map +1 -1
- package/dist/types/loadDictionaries/loadDictionaries.d.ts +2 -3
- package/dist/types/loadDictionaries/loadDictionaries.d.ts.map +1 -1
- package/dist/types/loadDictionaries/loadLocalDictionaries.d.ts +1 -2
- package/dist/types/loadDictionaries/loadLocalDictionaries.d.ts.map +1 -1
- package/dist/types/loadDictionaries/loadMarkdownContentDeclaration.d.ts +2 -2
- package/dist/types/loadDictionaries/loadMarkdownContentDeclaration.d.ts.map +1 -1
- package/dist/types/loadDictionaries/loadRemoteDictionaries.d.ts +2 -3
- package/dist/types/loadDictionaries/loadRemoteDictionaries.d.ts.map +1 -1
- package/dist/types/loadDictionaries/loadYamlContentDeclaration.d.ts +1 -2
- package/dist/types/loadDictionaries/loadYamlContentDeclaration.d.ts.map +1 -1
- package/dist/types/loadDictionaries/log.d.ts +1 -2
- package/dist/types/loadDictionaries/log.d.ts.map +1 -1
- package/dist/types/loadDictionaries/logTypeScriptErrors.d.ts +1 -2
- package/dist/types/loadDictionaries/logTypeScriptErrors.d.ts.map +1 -1
- package/dist/types/logConfigDetails.d.ts +1 -2
- package/dist/types/logConfigDetails.d.ts.map +1 -1
- package/dist/types/prepareIntlayer.d.ts +1 -2
- package/dist/types/prepareIntlayer.d.ts.map +1 -1
- package/dist/types/reduceDictionaryContent/applyMask.d.ts +1 -2
- package/dist/types/reduceDictionaryContent/applyMask.d.ts.map +1 -1
- package/dist/types/reduceDictionaryContent/reduceDictionaryContent.d.ts +1 -2
- package/dist/types/reduceDictionaryContent/reduceDictionaryContent.d.ts.map +1 -1
- package/dist/types/scan/analyzeBundleContent.d.ts +1 -2
- package/dist/types/scan/analyzeBundleContent.d.ts.map +1 -1
- package/dist/types/scan/calculateScore.d.ts +6 -7
- package/dist/types/scan/calculateScore.d.ts.map +1 -1
- package/dist/types/scan/checks.d.ts +8 -9
- package/dist/types/scan/checks.d.ts.map +1 -1
- package/dist/types/scan/parseHtml.d.ts +13 -14
- package/dist/types/scan/parseHtml.d.ts.map +1 -1
- package/dist/types/scan/scanWebsite.d.ts +1 -2
- package/dist/types/scan/scanWebsite.d.ts.map +1 -1
- package/dist/types/scan/types.d.ts +9 -10
- package/dist/types/scan/types.d.ts.map +1 -1
- package/dist/types/syncPluginKit/createFileAdapter.d.ts +4 -5
- package/dist/types/syncPluginKit/createFileAdapter.d.ts.map +1 -1
- package/dist/types/syncPluginKit/createSyncPlugin.d.ts +1 -2
- package/dist/types/syncPluginKit/createSyncPlugin.d.ts.map +1 -1
- package/dist/types/syncPluginKit/extractKeyAndLocaleFromPath.d.ts +1 -2
- package/dist/types/syncPluginKit/extractKeyAndLocaleFromPath.d.ts.map +1 -1
- package/dist/types/syncPluginKit/filePathPatternHelpers.d.ts +1 -2
- package/dist/types/syncPluginKit/filePathPatternHelpers.d.ts.map +1 -1
- package/dist/types/syncPluginKit/index.d.ts +2 -2
- package/dist/types/syncPluginKit/types.d.ts +28 -15
- package/dist/types/syncPluginKit/types.d.ts.map +1 -1
- package/dist/types/utils/autoDecorateContent.d.ts +1 -2
- package/dist/types/utils/autoDecorateContent.d.ts.map +1 -1
- package/dist/types/utils/babelParser.d.ts +3 -3
- package/dist/types/utils/babelParser.d.ts.map +1 -1
- package/dist/types/utils/buildComponentFilesList.d.ts +1 -2
- package/dist/types/utils/buildComponentFilesList.d.ts.map +1 -1
- package/dist/types/utils/buildFilesList.d.ts +3 -4
- package/dist/types/utils/buildFilesList.d.ts.map +1 -1
- package/dist/types/utils/chunkArray.d.ts +1 -2
- package/dist/types/utils/chunkArray.d.ts.map +1 -1
- package/dist/types/utils/chunkJSON.d.ts +5 -6
- package/dist/types/utils/chunkJSON.d.ts.map +1 -1
- package/dist/types/utils/contentWatcherLock.d.ts +113 -0
- package/dist/types/utils/contentWatcherLock.d.ts.map +1 -0
- package/dist/types/utils/formatter.d.ts +2 -3
- package/dist/types/utils/formatter.d.ts.map +1 -1
- package/dist/types/utils/getChunk.d.ts +1 -2
- package/dist/types/utils/getChunk.d.ts.map +1 -1
- package/dist/types/utils/getContentExtension.d.ts +1 -2
- package/dist/types/utils/getContentExtension.d.ts.map +1 -1
- package/dist/types/utils/getFormatFromExtension.d.ts +4 -5
- package/dist/types/utils/getFormatFromExtension.d.ts.map +1 -1
- package/dist/types/utils/getPathHash.d.ts +1 -2
- package/dist/types/utils/getPathHash.d.ts.map +1 -1
- package/dist/types/utils/index.d.ts +4 -1
- package/dist/types/utils/mergeChunks.d.ts +1 -2
- package/dist/types/utils/mergeChunks.d.ts.map +1 -1
- package/dist/types/utils/pLimit.d.ts +2 -3
- package/dist/types/utils/pLimit.d.ts.map +1 -1
- package/dist/types/utils/parallelize.d.ts +1 -2
- package/dist/types/utils/parallelize.d.ts.map +1 -1
- package/dist/types/utils/parallelizeGlobal.d.ts +3 -4
- package/dist/types/utils/parallelizeGlobal.d.ts.map +1 -1
- package/dist/types/utils/parseContentDeclarationFileName.d.ts +23 -0
- package/dist/types/utils/parseContentDeclarationFileName.d.ts.map +1 -0
- package/dist/types/utils/readDictionariesFromDisk.d.ts +1 -2
- package/dist/types/utils/readDictionariesFromDisk.d.ts.map +1 -1
- package/dist/types/utils/reduceObjectFormat.d.ts +4 -5
- package/dist/types/utils/reduceObjectFormat.d.ts.map +1 -1
- package/dist/types/utils/resolveObjectPromises.d.ts +1 -2
- package/dist/types/utils/resolveObjectPromises.d.ts.map +1 -1
- package/dist/types/utils/resolveRelativePath.d.ts +1 -2
- package/dist/types/utils/resolveRelativePath.d.ts.map +1 -1
- package/dist/types/utils/runOnce.d.ts +2 -3
- package/dist/types/utils/runOnce.d.ts.map +1 -1
- package/dist/types/utils/runParallel/bin.d.ts +1 -2
- package/dist/types/utils/runParallel/bin.d.ts.map +1 -1
- package/dist/types/utils/runParallel/bootstrap.d.ts +1 -2
- package/dist/types/utils/runParallel/bootstrap.d.ts.map +1 -1
- package/dist/types/utils/runParallel/index.d.ts +2 -3
- package/dist/types/utils/runParallel/index.d.ts.map +1 -1
- package/dist/types/utils/runParallel/pidTree.d.ts +1 -2
- package/dist/types/utils/runParallel/pidTree.d.ts.map +1 -1
- package/dist/types/utils/runParallel/ps.d.ts +1 -2
- package/dist/types/utils/runParallel/ps.d.ts.map +1 -1
- package/dist/types/utils/runParallel/runTask.d.ts +1 -2
- package/dist/types/utils/runParallel/runTask.d.ts.map +1 -1
- package/dist/types/utils/runParallel/spawnPosix.d.ts +1 -2
- package/dist/types/utils/runParallel/spawnPosix.d.ts.map +1 -1
- package/dist/types/utils/runParallel/spawnWin32.d.ts +1 -2
- package/dist/types/utils/runParallel/spawnWin32.d.ts.map +1 -1
- package/dist/types/utils/runParallel/wmic.d.ts +1 -2
- package/dist/types/utils/runParallel/wmic.d.ts.map +1 -1
- package/dist/types/utils/sortAlphabetically.d.ts +1 -2
- package/dist/types/utils/sortAlphabetically.d.ts.map +1 -1
- package/dist/types/utils/splitTextByLine.d.ts +1 -2
- package/dist/types/utils/splitTextByLine.d.ts.map +1 -1
- package/dist/types/utils/verifyIdenticObjectFormat.d.ts +1 -2
- package/dist/types/utils/verifyIdenticObjectFormat.d.ts.map +1 -1
- package/dist/types/utils/withFileLock.d.ts +44 -0
- package/dist/types/utils/withFileLock.d.ts.map +1 -0
- package/dist/types/watcher.d.ts +2 -3
- package/dist/types/watcher.d.ts.map +1 -1
- package/dist/types/writeConfiguration/generateConfigurationContent.d.ts +1 -2
- package/dist/types/writeConfiguration/generateConfigurationContent.d.ts.map +1 -1
- package/dist/types/writeConfiguration/index.d.ts +2 -3
- package/dist/types/writeConfiguration/index.d.ts.map +1 -1
- package/dist/types/writeContentDeclaration/detectExportedComponentName.d.ts +1 -2
- package/dist/types/writeContentDeclaration/detectExportedComponentName.d.ts.map +1 -1
- package/dist/types/writeContentDeclaration/dictionaryStatus.d.ts +1 -2
- package/dist/types/writeContentDeclaration/dictionaryStatus.d.ts.map +1 -1
- package/dist/types/writeContentDeclaration/processContentDeclarationContent.d.ts +1 -2
- package/dist/types/writeContentDeclaration/processContentDeclarationContent.d.ts.map +1 -1
- package/dist/types/writeContentDeclaration/transformJSFile.d.ts +1 -2
- package/dist/types/writeContentDeclaration/transformJSFile.d.ts.map +1 -1
- package/dist/types/writeContentDeclaration/transformJSONFile.d.ts +1 -2
- package/dist/types/writeContentDeclaration/transformJSONFile.d.ts.map +1 -1
- package/dist/types/writeContentDeclaration/writeContentDeclaration.d.ts +1 -2
- package/dist/types/writeContentDeclaration/writeContentDeclaration.d.ts.map +1 -1
- package/dist/types/writeContentDeclaration/writeJSFile.d.ts +1 -2
- package/dist/types/writeContentDeclaration/writeJSFile.d.ts.map +1 -1
- package/dist/types/writeContentDeclaration/writeMarkdownFile.d.ts +1 -2
- package/dist/types/writeContentDeclaration/writeMarkdownFile.d.ts.map +1 -1
- package/dist/types/writeContentDeclaration/writeYamlFile.d.ts +1 -2
- package/dist/types/writeContentDeclaration/writeYamlFile.d.ts.map +1 -1
- package/dist/types/writeFileIfChanged.d.ts +2 -3
- package/dist/types/writeFileIfChanged.d.ts.map +1 -1
- package/dist/types/writeJsonIfChanged.d.ts +1 -2
- package/dist/types/writeJsonIfChanged.d.ts.map +1 -1
- package/package.json +12 -12
- package/dist/types/intlayer/dist/types/index.d.ts +0 -14
|
@@ -3,6 +3,7 @@ import { autoDecorateContent } from "./autoDecorateContent.js";
|
|
|
3
3
|
import { buildComponentFilesList } from "./buildComponentFilesList.js";
|
|
4
4
|
import { chunkArray } from "./chunkArray.js";
|
|
5
5
|
import { JSONObject, JsonChunk, assembleJSON, chunkJSON, reconstructFromSingleChunk } from "./chunkJSON.js";
|
|
6
|
+
import { CLI_CONTENT_WATCHER_ENV_VAR, ContentWatcherOwner, ContentWatcherSource, acquireContentWatcherLock, claimCliContentWatcher, getCliContentWatcherLabel, getContentWatcherLockFilePath, getContentWatcherOwner, reportRedundantContentWatcher } from "./contentWatcherLock.js";
|
|
6
7
|
import { formatLocale, formatPath } from "./formatter.js";
|
|
7
8
|
import { getChunk } from "./getChunk.js";
|
|
8
9
|
import { getContentExtension } from "./getContentExtension.js";
|
|
@@ -11,6 +12,7 @@ import { mergeChunks } from "./mergeChunks.js";
|
|
|
11
12
|
import { parallelize } from "./parallelize.js";
|
|
12
13
|
import { Queue, pLimit } from "./pLimit.js";
|
|
13
14
|
import { getGlobalLimiter, getTaskLimiter, parallelizeGlobal } from "./parallelizeGlobal.js";
|
|
15
|
+
import { ContentDeclarationFileName, parseContentDeclarationFileName } from "./parseContentDeclarationFileName.js";
|
|
14
16
|
import { Primitive, Recursive, excludeObjectFormat, reduceObjectFormat } from "./reduceObjectFormat.js";
|
|
15
17
|
import { resolveObjectPromises } from "./resolveObjectPromises.js";
|
|
16
18
|
import { resolveRelativePath } from "./resolveRelativePath.js";
|
|
@@ -19,4 +21,5 @@ import { ParallelHandle, runParallel } from "./runParallel/index.js";
|
|
|
19
21
|
import { sortAlphabetically } from "./sortAlphabetically.js";
|
|
20
22
|
import { splitTextByLines } from "./splitTextByLine.js";
|
|
21
23
|
import { verifyIdenticObjectFormat } from "./verifyIdenticObjectFormat.js";
|
|
22
|
-
|
|
24
|
+
import { withFileLock } from "./withFileLock.js";
|
|
25
|
+
export { CLI_CONTENT_WATCHER_ENV_VAR, ContentDeclarationFileName, ContentWatcherOwner, ContentWatcherSource, Extension, Format, JSONObject, JsonChunk, ParallelHandle, Primitive, Queue, Recursive, RunOnceContext, acquireContentWatcherLock, assembleJSON, autoDecorateContent, buildComponentFilesList, chunkArray, chunkJSON, claimCliContentWatcher, excludeObjectFormat, formatLocale, formatPath, getChunk, getCliContentWatcherLabel, getContentExtension, getContentWatcherLockFilePath, getContentWatcherOwner, getExtensionFromFormat, getFormatFromExtension, getGlobalLimiter, getPathHash, getTaskLimiter, mergeChunks, pLimit, parallelize, parallelizeGlobal, parseContentDeclarationFileName, reconstructFromSingleChunk, reduceObjectFormat, reportRedundantContentWatcher, resolveObjectPromises, resolveRelativePath, runOnce, runParallel, sortAlphabetically, splitTextByLines, verifyIdenticObjectFormat, withFileLock };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mergeChunks.d.ts","names":[],"sources":["../../../src/utils/mergeChunks.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"mergeChunks.d.ts","names":[],"sources":["../../../src/utils/mergeChunks.ts"],"mappings":";qBAAa,cAAW"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/utils/pLimit.d.ts
|
|
2
|
-
declare class Queue<T> {
|
|
2
|
+
export declare class Queue<T> {
|
|
3
3
|
#private;
|
|
4
4
|
constructor();
|
|
5
5
|
enqueue(value: T): void;
|
|
@@ -10,7 +10,6 @@ declare class Queue<T> {
|
|
|
10
10
|
[Symbol.iterator](): Generator<T, void, unknown>;
|
|
11
11
|
drain(): Generator<T | undefined, void, unknown>;
|
|
12
12
|
}
|
|
13
|
-
declare const pLimit: (concurrency: number) => (fn: (...args: any[]) => Promise<any>, ...arguments_: any[]) => Promise<any>;
|
|
13
|
+
export declare const pLimit: (concurrency: number) => (fn: (...args: any[]) => Promise<any>, ...arguments_: any[]) => Promise<any>;
|
|
14
14
|
//#endregion
|
|
15
|
-
export { Queue, pLimit };
|
|
16
15
|
//# sourceMappingURL=pLimit.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pLimit.d.ts","names":[],"sources":["../../../src/utils/pLimit.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"pLimit.d.ts","names":[],"sources":["../../../src/utils/pLimit.ts"],"mappings":";qBAca,MAAM;;EAKjB;EAIA,QAAQ,OAAO;EAcf,WAAW;EAWX,QAAQ;EAWR;MAMI;GAIF,OAAO,aAAa,UAAU;EAS/B,SAAS,UAAU;;qBAOT,SAAM,yBAAuB,QAkE9B,gBAAgB,iBAAY,sBAEnC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
//#region src/utils/parallelize.d.ts
|
|
2
|
-
declare const parallelize: <T, R>(items: T[], callback?: (item: T) => Promise<R>, parallelLimit?: number) => Promise<R[]>;
|
|
2
|
+
export declare const parallelize: <T, R>(items: T[], callback?: (item: T) => Promise<R>, parallelLimit?: number) => Promise<R[]>;
|
|
3
3
|
//#endregion
|
|
4
|
-
export { parallelize };
|
|
5
4
|
//# sourceMappingURL=parallelize.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parallelize.d.ts","names":[],"sources":["../../../src/utils/parallelize.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"parallelize.d.ts","names":[],"sources":["../../../src/utils/parallelize.ts"],"mappings":";qBAEa,cAAqB,GAAG,GAAC,OAC7B,KAAG,YACC,MAAM,MAAM,QAAQ,IAAE,2BAGhC,QAAQ"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { pLimit } from "./pLimit.js";
|
|
2
2
|
//#region src/utils/parallelizeGlobal.d.ts
|
|
3
3
|
/** Get (and optionally configure) the single, shared limiter. */
|
|
4
|
-
declare const getGlobalLimiter: (concurrency?: number) => (fn: (...args: any[]) => Promise<any>, ...arguments_: any[]) => Promise<any>;
|
|
4
|
+
export declare const getGlobalLimiter: (concurrency?: number) => (fn: (...args: any[]) => Promise<any>, ...arguments_: any[]) => Promise<any>;
|
|
5
5
|
/** Limits how many *tasks* run concurrently (independent from AI calls). */
|
|
6
|
-
declare const getTaskLimiter: (concurrency?: number) => (fn: (...args: any[]) => Promise<any>, ...arguments_: any[]) => Promise<any>;
|
|
7
|
-
declare const parallelizeGlobal: <T, R>(items: T[], callback?: (item: T, index: number) => Promise<R>, options?: {
|
|
6
|
+
export declare const getTaskLimiter: (concurrency?: number) => (fn: (...args: any[]) => Promise<any>, ...arguments_: any[]) => Promise<any>;
|
|
7
|
+
export declare const parallelizeGlobal: <T, R>(items: T[], callback?: (item: T, index: number) => Promise<R>, options?: {
|
|
8
8
|
/** Share a single limiter across the app. If omitted, uses global limiter. */
|
|
9
9
|
limiter?: ReturnType<typeof pLimit>;
|
|
10
10
|
/** If provided and no limiter is passed, configure the global limiter. */
|
|
@@ -17,5 +17,4 @@ declare const parallelizeGlobal: <T, R>(items: T[], callback?: (item: T, index:
|
|
|
17
17
|
wrapInLimiter?: boolean;
|
|
18
18
|
}) => Promise<R[]>;
|
|
19
19
|
//#endregion
|
|
20
|
-
export { getGlobalLimiter, getTaskLimiter, parallelizeGlobal };
|
|
21
20
|
//# sourceMappingURL=parallelizeGlobal.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parallelizeGlobal.d.ts","names":[],"sources":["../../../src/utils/parallelizeGlobal.ts"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"parallelizeGlobal.d.ts","names":[],"sources":["../../../src/utils/parallelizeGlobal.ts"],"mappings":";;;qBAQa,mBAAgB,0BAAwB,QAAA,gBAAA,iBAAA,sBAAA;;qBAaxC,iBAAc,0BAAwB,QAAA,gBAAA,iBAAA,sBAAA;qBAUtC,oBAA2B,GAAG,GAAC,OACnC,KAAG,YACC,MAAM,GAAG,kBAAkB,QAAQ,IAAE;;EAI9C,UAAU,kBAAkB;;EAE5B;;;;;;EAMA;MAED,QAAQ"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { IntlayerConfig } from "@intlayer/types/config";
|
|
2
|
+
import { LocalesValues } from "@intlayer/types/module_augmentation";
|
|
3
|
+
//#region src/utils/parseContentDeclarationFileName.d.ts
|
|
4
|
+
export type ContentDeclarationFileName = {
|
|
5
|
+
/** Dictionary key derived from the file name, locale suffix excluded */
|
|
6
|
+
key: string;
|
|
7
|
+
/** Locale declared as a file name suffix, e.g. `about.fr.content.md` -> `fr` */
|
|
8
|
+
locale?: LocalesValues;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Splits a content declaration file name into its dictionary key and its
|
|
12
|
+
* optional locale suffix.
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* parseContentDeclarationFileName('src/about.content.ts', configuration)
|
|
16
|
+
* // { key: 'about' }
|
|
17
|
+
*
|
|
18
|
+
* parseContentDeclarationFileName('src/about.fr.content.md', configuration)
|
|
19
|
+
* // { key: 'about', locale: 'fr' }
|
|
20
|
+
*/
|
|
21
|
+
export declare const parseContentDeclarationFileName: (filePath: string, configuration: IntlayerConfig) => ContentDeclarationFileName;
|
|
22
|
+
//#endregion
|
|
23
|
+
//# sourceMappingURL=parseContentDeclarationFileName.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parseContentDeclarationFileName.d.ts","names":[],"sources":["../../../src/utils/parseContentDeclarationFileName.ts"],"mappings":";;;YAIY;;EAEV;;EAEA,SAAS;;;;;;;;;;;;;qBAiBE,kCAA+B,kBAC1B,eACD,mBACd"}
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
* Reads all JSON dictionary files from a directory, keyed by filename.
|
|
4
4
|
* Uses readFileSync instead of require() to avoid require.cache memory leak.
|
|
5
5
|
*/
|
|
6
|
-
declare const readDictionariesFromDisk: <T = Record<string, any>>(directory: string) => T;
|
|
6
|
+
export declare const readDictionariesFromDisk: <T = Record<string, any>>(directory: string) => T;
|
|
7
7
|
//#endregion
|
|
8
|
-
export { readDictionariesFromDisk };
|
|
9
8
|
//# sourceMappingURL=readDictionariesFromDisk.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"readDictionariesFromDisk.d.ts","names":[],"sources":["../../../src/utils/readDictionariesFromDisk.ts"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"readDictionariesFromDisk.d.ts","names":[],"sources":["../../../src/utils/readDictionariesFromDisk.ts"],"mappings":";;;;;qBAOa,2BAA4B,IAAI,qBAAmB,sBAE7D"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
//#region src/utils/reduceObjectFormat.d.ts
|
|
2
|
-
type Primitive = string | number | boolean | null | undefined;
|
|
3
|
-
type Recursive = Primitive | {
|
|
2
|
+
export type Primitive = string | number | boolean | null | undefined;
|
|
3
|
+
export type Recursive = Primitive | {
|
|
4
4
|
[key: string]: Recursive;
|
|
5
5
|
} | Array<Recursive>;
|
|
6
6
|
/**
|
|
@@ -11,7 +11,7 @@ type Recursive = Primitive | {
|
|
|
11
11
|
* reduceObjectFormat({ a: 1, b: 2 }, { a: 0 }) => { a: 1 }
|
|
12
12
|
* reduceObjectFormat({ a: { x: 1, y: 2 } }, { a: { x: 0 } }) => { a: { x: 1 } }
|
|
13
13
|
*/
|
|
14
|
-
declare const reduceObjectFormat: (source: Recursive, format: Recursive) => Recursive;
|
|
14
|
+
export declare const reduceObjectFormat: (source: Recursive, format: Recursive) => Recursive;
|
|
15
15
|
/**
|
|
16
16
|
* Returns the subset of source whose keys are NOT present in the format object.
|
|
17
17
|
* Inverse of reduceObjectFormat.
|
|
@@ -24,7 +24,6 @@ declare const reduceObjectFormat: (source: Recursive, format: Recursive) => Recu
|
|
|
24
24
|
* excludeObjectFormat({ a: { x: 1, y: 2 } }, { a: { x: 0 } }) => { a: { y: 2 } }
|
|
25
25
|
* excludeObjectFormat({ a: null, b: 2 }, { b: 0 }) => { a: null }
|
|
26
26
|
*/
|
|
27
|
-
declare const excludeObjectFormat: (source: Recursive, format: Recursive) => Recursive | undefined;
|
|
27
|
+
export declare const excludeObjectFormat: (source: Recursive, format: Recursive) => Recursive | undefined;
|
|
28
28
|
//#endregion
|
|
29
|
-
export { Primitive, Recursive, excludeObjectFormat, reduceObjectFormat };
|
|
30
29
|
//# sourceMappingURL=reduceObjectFormat.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"reduceObjectFormat.d.ts","names":[],"sources":["../../../src/utils/reduceObjectFormat.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"reduceObjectFormat.d.ts","names":[],"sources":["../../../src/utils/reduceObjectFormat.ts"],"mappings":";YAAY;YAEA,YACR;GACG,cAAc;IACjB,MAAM;;;;;;;;;qBAUG,qBAAkB,QACrB,WAAS,QACT,cACP;;;;;;;;;;;;;qBAyCU,sBAAmB,QACtB,WAAS,QACT,cACP"}
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
* A more "unified" approach where each type (function, array, object, primitive)
|
|
4
4
|
* is handled inside the main recursive body.
|
|
5
5
|
*/
|
|
6
|
-
declare const resolveObjectPromises: <T = unknown>(entry: any) => Promise<T>;
|
|
6
|
+
export declare const resolveObjectPromises: <T = unknown>(entry: any) => Promise<T>;
|
|
7
7
|
//#endregion
|
|
8
|
-
export { resolveObjectPromises };
|
|
9
8
|
//# sourceMappingURL=resolveObjectPromises.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolveObjectPromises.d.ts","names":[],"sources":["../../../src/utils/resolveObjectPromises.ts"],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"resolveObjectPromises.d.ts","names":[],"sources":["../../../src/utils/resolveObjectPromises.ts"],"mappings":";;;;;qBAIa,wBAA+B,aAAW,eAEpD,QAAQ"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
//#region src/utils/resolveRelativePath.d.ts
|
|
2
|
-
declare const resolveRelativePath: (path: string, sourcePath: string, baseDir: string) => string;
|
|
2
|
+
export declare const resolveRelativePath: (path: string, sourcePath: string, baseDir: string) => string;
|
|
3
3
|
//#endregion
|
|
4
|
-
export { resolveRelativePath };
|
|
5
4
|
//# sourceMappingURL=resolveRelativePath.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolveRelativePath.d.ts","names":[],"sources":["../../../src/utils/resolveRelativePath.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"resolveRelativePath.d.ts","names":[],"sources":["../../../src/utils/resolveRelativePath.ts"],"mappings":";qBAEa,sBAAmB,cAClB,oBACM"}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
/**
|
|
3
3
|
* Context handed to the callback so it can interact with the lock it runs under.
|
|
4
4
|
*/
|
|
5
|
-
type RunOnceContext = {
|
|
5
|
+
export type RunOnceContext = {
|
|
6
6
|
/**
|
|
7
7
|
* Re-create the sentinel file after an operation that may have deleted it —
|
|
8
8
|
* typically cleaning the output directory, which wipes the cache directory the
|
|
@@ -63,7 +63,6 @@ type RunOnceOptions = {
|
|
|
63
63
|
*
|
|
64
64
|
* @throws {Error} When there are unexpected filesystem errors
|
|
65
65
|
*/
|
|
66
|
-
declare const runOnce: (sentinelFilePath: string, callback: (context: RunOnceContext) => void | Promise<void>, options?: RunOnceOptions) => Promise<void>;
|
|
66
|
+
export declare const runOnce: (sentinelFilePath: string, callback: (context: RunOnceContext) => void | Promise<void>, options?: RunOnceOptions) => Promise<void>;
|
|
67
67
|
//#endregion
|
|
68
|
-
export { RunOnceContext, runOnce };
|
|
69
68
|
//# sourceMappingURL=runOnce.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runOnce.d.ts","names":[],"sources":["../../../src/utils/runOnce.ts"],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"runOnce.d.ts","names":[],"sources":["../../../src/utils/runOnce.ts"],"mappings":";;;;YA4BY;;;;;;;EAOV,iBAAiB;;KAGd;;;;EAIH,0BAA0B;;;;;;EAM1B;;;;;;EAMA;;;;;;;EAOA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAwKW,UAAO,0BACM,WACb,SAAS,0BAA0B,eAAa,UACjD,mBAAc"}
|
|
@@ -8,7 +8,6 @@ type BinCallback = (err: Error | null, stdout?: string, code?: number) => void;
|
|
|
8
8
|
* @param options Optional option for the spawn function.
|
|
9
9
|
* @param done Callback function.
|
|
10
10
|
*/
|
|
11
|
-
declare const run: (cmd: string, args: string[], options: SpawnOptions | BinCallback | undefined, done?: BinCallback) => void;
|
|
11
|
+
export declare const run: (cmd: string, args: string[], options: SpawnOptions | BinCallback | undefined, done?: BinCallback) => void;
|
|
12
12
|
//#endregion
|
|
13
|
-
export { run };
|
|
14
13
|
//# sourceMappingURL=bin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bin.d.ts","names":[],"sources":["../../../../src/utils/runParallel/bin.ts"],"mappings":";;KAGK,eAAe,KAAK,cAAc,iBAAiB;;;;;;;;
|
|
1
|
+
{"version":3,"file":"bin.d.ts","names":[],"sources":["../../../../src/utils/runParallel/bin.ts"],"mappings":";;KAGK,eAAe,KAAK,cAAc,iBAAiB;;;;;;;;qBAoB3C,MAAG,aACH,gBACG,SACL,eAAe,yBAAuB,OACxC"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
//#region src/utils/runParallel/bootstrap.d.ts
|
|
2
|
-
declare const bootstrap: (_name: string) => void | Promise<void>;
|
|
2
|
+
export declare const bootstrap: (_name: string) => void | Promise<void>;
|
|
3
3
|
//#endregion
|
|
4
|
-
export { bootstrap };
|
|
5
4
|
//# sourceMappingURL=bootstrap.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bootstrap.d.ts","names":[],"sources":["../../../../src/utils/runParallel/bootstrap.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"bootstrap.d.ts","names":[],"sources":["../../../../src/utils/runParallel/bootstrap.ts"],"mappings":";qBAIa,YAAS,yBAA2B"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region src/utils/runParallel/index.d.ts
|
|
2
|
-
type ParallelHandle = {
|
|
2
|
+
export type ParallelHandle = {
|
|
3
3
|
/**
|
|
4
4
|
* Terminate the child and its whole process group.
|
|
5
5
|
* @param signal Signal to send (default `SIGTERM`). Pass `SIGKILL` to force-kill
|
|
@@ -13,7 +13,6 @@ type ParallelHandle = {
|
|
|
13
13
|
* Start a cross-platform parallel process using npm-run-all approach.
|
|
14
14
|
* Accepts either a single string (e.g., 'next start') or an array of tokens (e.g., ['next', 'start']).
|
|
15
15
|
*/
|
|
16
|
-
declare const runParallel: (proc?: string | string[]) => ParallelHandle;
|
|
16
|
+
export declare const runParallel: (proc?: string | string[]) => ParallelHandle;
|
|
17
17
|
//#endregion
|
|
18
|
-
export { ParallelHandle, runParallel };
|
|
19
18
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/utils/runParallel/index.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../../src/utils/runParallel/index.ts"],"mappings":";YAIY;;;;;;EAMV,OAAO,SAAS,OAAO;EACvB,QAAQ;EACR;;;;;;qBAOW,cAAW,6BAA+B"}
|
|
@@ -18,7 +18,6 @@ type ListCallback<T extends ListOptions | undefined> = (err: Error | null, list?
|
|
|
18
18
|
* @param callback Called when the list is ready. If not provided a promise is returned instead.
|
|
19
19
|
* @returns Only when the callback is not provided.
|
|
20
20
|
*/
|
|
21
|
-
declare const list: <T extends ListOptions | undefined>(pid: number | string, options?: T | ListCallback<T>, callback?: ListCallback<T>) => Promise<ResultType<T>> | undefined;
|
|
21
|
+
export declare const list: <T extends ListOptions | undefined>(pid: number | string, options?: T | ListCallback<T>, callback?: ListCallback<T>) => Promise<ResultType<T>> | undefined;
|
|
22
22
|
//#endregion
|
|
23
|
-
export { list };
|
|
24
23
|
//# sourceMappingURL=pidTree.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pidTree.d.ts","names":[],"sources":["../../../../src/utils/runParallel/pidTree.ts"],"mappings":";UAgBU;EACR;EACA;;KAGG;EAAgB;EAAa;;KAC7B,WAAW,UAAU,2BAA2B;EACnD;IAEE;KAIC,aAAa,UAAU,4BAC1B,KAAK,cACL,OAAO,WAAW;;;;;;;;
|
|
1
|
+
{"version":3,"file":"pidTree.d.ts","names":[],"sources":["../../../../src/utils/runParallel/pidTree.ts"],"mappings":";UAgBU;EACR;EACA;;KAGG;EAAgB;EAAa;;KAC7B,WAAW,UAAU,2BAA2B;EACnD;IAEE;KAIC,aAAa,UAAU,4BAC1B,KAAK,cACL,OAAO,WAAW;;;;;;;;qBA8LP,OAAQ,UAAU,yBAAuB,sBAChC,UACV,IAAI,aAAa,IAAE,WAClB,aAAa,OACvB,QAAQ,WAAW"}
|
|
@@ -5,7 +5,6 @@ type ProcessListCallback = (err: Error | null, list?: ProcessList) => void;
|
|
|
5
5
|
* Gets the list of all the pids of the system through the ps command.
|
|
6
6
|
* @param callback Callback function with error and process list.
|
|
7
7
|
*/
|
|
8
|
-
declare const ps: (callback: ProcessListCallback) => void;
|
|
8
|
+
export declare const ps: (callback: ProcessListCallback) => void;
|
|
9
9
|
//#endregion
|
|
10
|
-
export { ps };
|
|
11
10
|
//# sourceMappingURL=ps.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ps.d.ts","names":[],"sources":["../../../../src/utils/runParallel/ps.ts"],"mappings":";KAGK;KACA,uBAAuB,KAAK,cAAc,OAAO;;;;;
|
|
1
|
+
{"version":3,"file":"ps.d.ts","names":[],"sources":["../../../../src/utils/runParallel/ps.ts"],"mappings":";KAGK;KACA,uBAAuB,KAAK,cAAc,OAAO;;;;;qBAMzC,KAAE,UAAc"}
|
|
@@ -20,7 +20,6 @@ interface RunTaskOptions {
|
|
|
20
20
|
* Note: This is a simplified version for our use case.
|
|
21
21
|
* The full implementation would require the actual runTask function from npm-run-all.
|
|
22
22
|
*/
|
|
23
|
-
declare const runTasks: (tasks: string[], options: RunTaskOptions) => Promise<TaskResult[]>;
|
|
23
|
+
export declare const runTasks: (tasks: string[], options: RunTaskOptions) => Promise<TaskResult[]>;
|
|
24
24
|
//#endregion
|
|
25
|
-
export { runTasks };
|
|
26
25
|
//# sourceMappingURL=runTask.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"runTask.d.ts","names":[],"sources":["../../../../src/utils/runParallel/runTask.ts"],"mappings":";UA8EU;EACR;EACA;EACA;;UAQQ;EACR,QAAQ,OAAO;EACf,SAAS,OAAO;EAChB;EACA;EACA;EACA;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"runTask.d.ts","names":[],"sources":["../../../../src/utils/runParallel/runTask.ts"],"mappings":";UA8EU;EACR;EACA;EACA;;UAQQ;EACR,QAAQ,OAAO;EACf,SAAS,OAAO;EAChB;EACA;EACA;EACA;;;;;;;;;;qBAmBW,WAAQ,iBACJ,SACN,mBACR,QAAQ"}
|
|
@@ -13,7 +13,6 @@ import { ChildProcess, SpawnOptions } from "node:child_process";
|
|
|
13
13
|
* @returns A ChildProcess instance of new process.
|
|
14
14
|
* @private
|
|
15
15
|
*/
|
|
16
|
-
declare const spawnPosix: (command: string, args: string[], options: SpawnOptions) => ChildProcess;
|
|
16
|
+
export declare const spawnPosix: (command: string, args: string[], options: SpawnOptions) => ChildProcess;
|
|
17
17
|
//#endregion
|
|
18
|
-
export { spawnPosix };
|
|
19
18
|
//# sourceMappingURL=spawnPosix.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spawnPosix.d.ts","names":[],"sources":["../../../../src/utils/runParallel/spawnPosix.ts"],"mappings":";;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"spawnPosix.d.ts","names":[],"sources":["../../../../src/utils/runParallel/spawnPosix.ts"],"mappings":";;;;;;;;;;;;;;;qBA6Da,aAAU,iBACN,gBACD,SACL,iBACR"}
|
|
@@ -13,7 +13,6 @@ import { ChildProcess, SpawnOptions } from "node:child_process";
|
|
|
13
13
|
* @returns A ChildProcess instance of new process.
|
|
14
14
|
* @private
|
|
15
15
|
*/
|
|
16
|
-
declare const spawnWin32: (command: string, args: string[], options: SpawnOptions) => ChildProcess;
|
|
16
|
+
export declare const spawnWin32: (command: string, args: string[], options: SpawnOptions) => ChildProcess;
|
|
17
17
|
//#endregion
|
|
18
|
-
export { spawnWin32 };
|
|
19
18
|
//# sourceMappingURL=spawnWin32.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"spawnWin32.d.ts","names":[],"sources":["../../../../src/utils/runParallel/spawnWin32.ts"],"mappings":";;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"spawnWin32.d.ts","names":[],"sources":["../../../../src/utils/runParallel/spawnWin32.ts"],"mappings":";;;;;;;;;;;;;;;qBAoDa,aAAU,iBACN,gBACD,SACL,iBACR"}
|
|
@@ -5,7 +5,6 @@ type ProcessListCallback = (err: Error | null, list?: ProcessList) => void;
|
|
|
5
5
|
* Gets the list of all the pids of the system through the wmic command.
|
|
6
6
|
* @param callback Callback function with error and process list.
|
|
7
7
|
*/
|
|
8
|
-
declare const wmic: (callback: ProcessListCallback) => void;
|
|
8
|
+
export declare const wmic: (callback: ProcessListCallback) => void;
|
|
9
9
|
//#endregion
|
|
10
|
-
export { wmic };
|
|
11
10
|
//# sourceMappingURL=wmic.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wmic.d.ts","names":[],"sources":["../../../../src/utils/runParallel/wmic.ts"],"mappings":";KAIK;KACA,uBAAuB,KAAK,cAAc,OAAO;;;;;
|
|
1
|
+
{"version":3,"file":"wmic.d.ts","names":[],"sources":["../../../../src/utils/runParallel/wmic.ts"],"mappings":";KAIK;KACA,uBAAuB,KAAK,cAAc,OAAO;;;;;qBAMzC,OAAI,UAAc"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
//#region src/utils/sortAlphabetically.d.ts
|
|
2
|
-
declare const sortAlphabetically: (a: string, b: string) => number;
|
|
2
|
+
export declare const sortAlphabetically: (a: string, b: string) => number;
|
|
3
3
|
//#endregion
|
|
4
|
-
export { sortAlphabetically };
|
|
5
4
|
//# sourceMappingURL=sortAlphabetically.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sortAlphabetically.d.ts","names":[],"sources":["../../../src/utils/sortAlphabetically.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"sortAlphabetically.d.ts","names":[],"sources":["../../../src/utils/sortAlphabetically.ts"],"mappings":";qBAAa,qBAAkB,WAAa"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"splitTextByLine.d.ts","names":[],"sources":["../../../src/utils/splitTextByLine.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"splitTextByLine.d.ts","names":[],"sources":["../../../src/utils/splitTextByLine.ts"],"mappings":";qBAAa,mBAAgB"}
|
|
@@ -17,7 +17,6 @@ type VerifyIdenticObjectFormatResult = {
|
|
|
17
17
|
* @param path - Current path in the object tree (for error messages)
|
|
18
18
|
* @returns true if structures match, throws error with details if they don't
|
|
19
19
|
*/
|
|
20
|
-
declare const verifyIdenticObjectFormat: (object: RecursiveType, expectedFormat: RecursiveType, path?: string) => VerifyIdenticObjectFormatResult;
|
|
20
|
+
export declare const verifyIdenticObjectFormat: (object: RecursiveType, expectedFormat: RecursiveType, path?: string) => VerifyIdenticObjectFormatResult;
|
|
21
21
|
//#endregion
|
|
22
|
-
export { verifyIdenticObjectFormat };
|
|
23
22
|
//# sourceMappingURL=verifyIdenticObjectFormat.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verifyIdenticObjectFormat.d.ts","names":[],"sources":["../../../src/utils/verifyIdenticObjectFormat.ts"],"mappings":";KAAK;KAEA,gBACD;GACG,cAAc;IACjB,MAAM;KAEL;EACH;EACA;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"verifyIdenticObjectFormat.d.ts","names":[],"sources":["../../../src/utils/verifyIdenticObjectFormat.ts"],"mappings":";KAAK;KAEA,gBACD;GACG,cAAc;IACjB,MAAM;KAEL;EACH;EACA;;;;;;;;;;;;qBAaW,4BAAyB,QAC5B,eAAa,gBACL,eAAa,kBAE5B"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
//#region src/utils/withFileLock.d.ts
|
|
2
|
+
type WithFileLockOptions = {
|
|
3
|
+
/**
|
|
4
|
+
* How long a lock may be held before it is considered abandoned and taken
|
|
5
|
+
* over, in milliseconds.
|
|
6
|
+
*
|
|
7
|
+
* @default 30000 = 30 seconds
|
|
8
|
+
*/
|
|
9
|
+
staleTimeoutMs?: number;
|
|
10
|
+
/**
|
|
11
|
+
* How long to wait for the lock before running the callback anyway, in
|
|
12
|
+
* milliseconds. Giving up serialises nothing, but it is strictly better than
|
|
13
|
+
* deadlocking a build behind a lock that never clears.
|
|
14
|
+
*
|
|
15
|
+
* @default 60000 = 1 minute
|
|
16
|
+
*/
|
|
17
|
+
acquireTimeoutMs?: number;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Runs `callback` under a cross-process mutex materialised by a lock file.
|
|
21
|
+
*
|
|
22
|
+
* Unlike `runOnce`, which lets one process do the work and the others skip it,
|
|
23
|
+
* every caller here runs the callback — just never at the same time. This is
|
|
24
|
+
* what shared, read-modify-write outputs need (e.g. building the `.intlayer`
|
|
25
|
+
* dictionaries, which merges every dictionary on disk): concurrent runs would
|
|
26
|
+
* each read a half-written state.
|
|
27
|
+
*
|
|
28
|
+
* The lock is released even when the callback throws, and its error is
|
|
29
|
+
* re-thrown to the caller unchanged.
|
|
30
|
+
*
|
|
31
|
+
* @param lockFilePath - Path of the lock file coordinating the callers.
|
|
32
|
+
* @param callback - The critical section.
|
|
33
|
+
* @param options - Staleness and acquisition timeouts.
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* ```typescript
|
|
37
|
+
* await withFileLock(join(cacheDir, 'build-dictionary.lock'), () =>
|
|
38
|
+
* buildDictionary([dictionary], configuration)
|
|
39
|
+
* );
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
export declare const withFileLock: <T>(lockFilePath: string, callback: () => T | Promise<T>, options?: WithFileLockOptions) => Promise<T>;
|
|
43
|
+
//#endregion
|
|
44
|
+
//# sourceMappingURL=withFileLock.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"withFileLock.d.ts","names":[],"sources":["../../../src/utils/withFileLock.ts"],"mappings":";KAYK;;;;;;;EAOH;;;;;;;;EAQA;;;;;;;;;;;;;;;;;;;;;;;;;qBA0HW,eAAsB,GAAC,sBACd,gBACJ,IAAI,QAAQ,IAAE,UACpB,wBACT,QAAQ"}
|
package/dist/types/watcher.d.ts
CHANGED
|
@@ -7,10 +7,9 @@ type WatchOptions = {
|
|
|
7
7
|
skipPrepare?: boolean;
|
|
8
8
|
persistent?: boolean;
|
|
9
9
|
};
|
|
10
|
-
declare const watch: (options?: WatchOptions) => Promise<{
|
|
10
|
+
export declare const watch: (options?: WatchOptions) => Promise<{
|
|
11
11
|
unsubscribe: () => Promise<void>;
|
|
12
12
|
}[]>;
|
|
13
|
-
declare const buildAndWatchIntlayer: (options?: WatchOptions) => Promise<void>;
|
|
13
|
+
export declare const buildAndWatchIntlayer: (options?: WatchOptions) => Promise<void>;
|
|
14
14
|
//#endregion
|
|
15
|
-
export { buildAndWatchIntlayer, watch };
|
|
16
15
|
//# sourceMappingURL=watcher.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"watcher.d.ts","names":[],"sources":["../../src/watcher.ts"],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"watcher.d.ts","names":[],"sources":["../../src/watcher.ts"],"mappings":";;;KA2DK;EACH,gBAAgB;EAChB,gBAAgB;EAChB;EACA;;qBAsBW,QAAK,UAAoB,iBAAY;EAkDZ,mBAAM;;qBA2Q/B,wBAAqB,UAAoB,iBAAY"}
|
|
@@ -28,7 +28,6 @@ import { IntlayerConfig } from "@intlayer/types/config";
|
|
|
28
28
|
* @param format - Module format to emit (`esm` for `.mjs`, `cjs` for `.cjs`).
|
|
29
29
|
* @returns The file content as a string.
|
|
30
30
|
*/
|
|
31
|
-
declare const generateConfigurationContent: (configuration: IntlayerConfig, format: 'cjs' | 'esm') => string;
|
|
31
|
+
export declare const generateConfigurationContent: (configuration: IntlayerConfig, format: 'cjs' | 'esm') => string;
|
|
32
32
|
//#endregion
|
|
33
|
-
export { generateConfigurationContent };
|
|
34
33
|
//# sourceMappingURL=generateConfigurationContent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"generateConfigurationContent.d.ts","names":[],"sources":["../../../src/writeConfiguration/generateConfigurationContent.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"generateConfigurationContent.d.ts","names":[],"sources":["../../../src/writeConfiguration/generateConfigurationContent.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBA+Ba,+BAA4B,eACxB,gBAAc"}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { IntlayerConfig } from "@intlayer/types/config";
|
|
2
2
|
//#region src/writeConfiguration/index.d.ts
|
|
3
|
-
declare const isCachedConfigurationUpToDate: (configuration: IntlayerConfig) => Promise<boolean | null>;
|
|
4
|
-
declare const writeConfiguration: (configuration: IntlayerConfig) => Promise<void>;
|
|
3
|
+
export declare const isCachedConfigurationUpToDate: (configuration: IntlayerConfig) => Promise<boolean | null>;
|
|
4
|
+
export declare const writeConfiguration: (configuration: IntlayerConfig) => Promise<void>;
|
|
5
5
|
//#endregion
|
|
6
|
-
export { isCachedConfigurationUpToDate, writeConfiguration };
|
|
7
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/writeConfiguration/index.ts"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/writeConfiguration/index.ts"],"mappings":";;qBAMa,gCAA6B,eACzB,mBACd;qBAWU,qBAAkB,eAAyB,mBAAc"}
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
* - export function MyComponent(...)
|
|
7
7
|
* - export default function MyComponent(...)
|
|
8
8
|
*/
|
|
9
|
-
declare const detectExportedComponentName: (fileText: string) => string | null;
|
|
9
|
+
export declare const detectExportedComponentName: (fileText: string) => string | null;
|
|
10
10
|
//#endregion
|
|
11
|
-
export { detectExportedComponentName };
|
|
12
11
|
//# sourceMappingURL=detectExportedComponentName.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"detectExportedComponentName.d.ts","names":[],"sources":["../../../src/writeContentDeclaration/detectExportedComponentName.ts"],"mappings":";;;;;;;;
|
|
1
|
+
{"version":3,"file":"detectExportedComponentName.d.ts","names":[],"sources":["../../../src/writeContentDeclaration/detectExportedComponentName.ts"],"mappings":";;;;;;;;qBAOa,8BAA2B"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
//#region src/writeContentDeclaration/dictionaryStatus.d.ts
|
|
2
|
-
type DictionaryStatus = 'pending' | 'fetching' | 'up-to-date' | 'replaced' | 'updated' | 'fetched' | 'unknown' | 'error' | 'imported' | 'reimported in JSON' | 'new content file' | 'created';
|
|
2
|
+
export type DictionaryStatus = 'pending' | 'fetching' | 'up-to-date' | 'replaced' | 'updated' | 'fetched' | 'unknown' | 'error' | 'imported' | 'reimported in JSON' | 'new content file' | 'created';
|
|
3
3
|
//#endregion
|
|
4
|
-
export { DictionaryStatus };
|
|
5
4
|
//# sourceMappingURL=dictionaryStatus.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dictionaryStatus.d.ts","names":[],"sources":["../../../src/writeContentDeclaration/dictionaryStatus.ts"],"mappings":";
|
|
1
|
+
{"version":3,"file":"dictionaryStatus.d.ts","names":[],"sources":["../../../src/writeContentDeclaration/dictionaryStatus.ts"],"mappings":";YAAY"}
|
|
@@ -7,7 +7,6 @@ import { Dictionary } from "@intlayer/types/dictionary";
|
|
|
7
7
|
*
|
|
8
8
|
* And write external sources as file content if necessary.
|
|
9
9
|
*/
|
|
10
|
-
declare const processContentDeclarationContent: (dictionary: Dictionary) => Promise<any>;
|
|
10
|
+
export declare const processContentDeclarationContent: (dictionary: Dictionary) => Promise<any>;
|
|
11
11
|
//#endregion
|
|
12
|
-
export { processContentDeclarationContent };
|
|
13
12
|
//# sourceMappingURL=processContentDeclarationContent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"processContentDeclarationContent.d.ts","names":[],"sources":["../../../src/writeContentDeclaration/processContentDeclarationContent.ts"],"mappings":";;;;;;;;;
|
|
1
|
+
{"version":3,"file":"processContentDeclarationContent.d.ts","names":[],"sources":["../../../src/writeContentDeclaration/processContentDeclarationContent.ts"],"mappings":";;;;;;;;;qBAiIa,mCAAgC,YAC/B,eAAU"}
|
|
@@ -4,7 +4,6 @@ import { Locale } from "@intlayer/types/allLocales";
|
|
|
4
4
|
/**
|
|
5
5
|
* Updates a JS/TS file seamlessly to map new localization keys, arrays, complex nodes and nested dictionaries gracefully using AST updates via Recast parser.
|
|
6
6
|
*/
|
|
7
|
-
declare const transformJSFile: (fileContent: string, dictionary: Dictionary, fallbackLocale?: Locale, noMetadata?: boolean) => Promise<string>;
|
|
7
|
+
export declare const transformJSFile: (fileContent: string, dictionary: Dictionary, fallbackLocale?: Locale, noMetadata?: boolean) => Promise<string>;
|
|
8
8
|
//#endregion
|
|
9
|
-
export { transformJSFile };
|
|
10
9
|
//# sourceMappingURL=transformJSFile.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transformJSFile.d.ts","names":[],"sources":["../../../src/writeContentDeclaration/transformJSFile.ts"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"transformJSFile.d.ts","names":[],"sources":["../../../src/writeContentDeclaration/transformJSFile.ts"],"mappings":";;;;;;qBAixBa,kBAAe,qBACP,YACP,YAAU,iBACL,QAAM,yBAEtB"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { Dictionary } from "@intlayer/types/dictionary";
|
|
2
2
|
//#region src/writeContentDeclaration/transformJSONFile.d.ts
|
|
3
|
-
declare const transformJSONFile: (fileContent: string, dictionary: Dictionary, noMetadata?: boolean) => string;
|
|
3
|
+
export declare const transformJSONFile: (fileContent: string, dictionary: Dictionary, noMetadata?: boolean) => string;
|
|
4
4
|
//#endregion
|
|
5
|
-
export { transformJSONFile };
|
|
6
5
|
//# sourceMappingURL=transformJSONFile.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transformJSONFile.d.ts","names":[],"sources":["../../../src/writeContentDeclaration/transformJSONFile.ts"],"mappings":";;
|
|
1
|
+
{"version":3,"file":"transformJSONFile.d.ts","names":[],"sources":["../../../src/writeContentDeclaration/transformJSONFile.ts"],"mappings":";;qBA8Ia,oBAAiB,qBACT,YACP,YAAU"}
|