UNPKG

@intlayer/chokidar

Version:

Uses chokidar to scan and build Intlayer declaration files into dictionaries based on Intlayer configuration.

77 lines 2.85 kB
import { checkDictionaryChanges } from "./checkDictionaryChanges.mjs"; import { buildAndWatchIntlayer, handleAdditionalContentDeclarationFile, handleContentDeclarationFileChange, watch } from "./chokidar/watcher.mjs"; import { cleanOutputDir } from "./cleanOutputDir.mjs"; import { fetchDistantDictionaries } from "./fetchDistantDictionaries.mjs"; import { fetchDistantDictionaryKeys } from "./fetchDistantDictionaryKeys.mjs"; import { getBuiltDictionariesPath } from "./getBuiltDictionariesPath.mjs"; import { getBuiltUnmergedDictionariesPath } from "./getBuiltUnmergedDictionariesPath.mjs"; import { getFilteredLocalesContent } from "./getFilteredLocalesContent.mjs"; import { listDictionaries } from "./listDictionariesPath.mjs"; import { listGitFiles, listGitLines } from "./listGitFiles.mjs"; import { loadDictionaries, loadDistantDictionaries, loadLocalDictionaries } from "./loadDictionaries/index.mjs"; import { mergeDictionaries } from "./mergeDictionaries.mjs"; import { prepareContentDeclaration } from "./prepareContentDeclaration.mjs"; import { prepareIntlayer } from "./prepareIntlayer.mjs"; import { processPerLocaleDictionary } from "./processPerLocaleDictionary.mjs"; import { reduceDictionaryContent } from "./reduceDictionaryContent/reduceDictionaryContent.mjs"; import { buildDictionary } from "./transpiler/declaration_file_to_dictionary/index.mjs"; import { createDictionaryEntryPoint, generateDictionaryListContent } from "./transpiler/dictionary_to_main/index.mjs"; import { createModuleAugmentation } from "./transpiler/dictionary_to_type/createModuleAugmentation.mjs"; import { getFileHash } from "./utils/getFileHash.mjs"; import { kebabCaseToCamelCase } from "./utils/kebabCaseToCamelCase.mjs"; import { resolveObjectPromises } from "./utils/resolveObjectPromises.mjs"; import { runOnce } from "./utils/runOnce.mjs"; import { sortAlphabetically } from "./utils/sortAlphabetically.mjs"; import { writeContentDeclaration } from "./writeContentDeclaration/index.mjs"; export { buildAndWatchIntlayer, buildDictionary, checkDictionaryChanges, cleanOutputDir, createDictionaryEntryPoint, createModuleAugmentation, fetchDistantDictionaries, fetchDistantDictionaryKeys, generateDictionaryListContent, getBuiltDictionariesPath, getBuiltUnmergedDictionariesPath, getFileHash, getFilteredLocalesContent, handleAdditionalContentDeclarationFile, handleContentDeclarationFileChange, kebabCaseToCamelCase, listDictionaries, listGitFiles, listGitLines, loadDictionaries, loadDistantDictionaries, loadLocalDictionaries, mergeDictionaries, prepareContentDeclaration, prepareIntlayer, processPerLocaleDictionary, reduceDictionaryContent, resolveObjectPromises, runOnce, sortAlphabetically, watch, writeContentDeclaration }; //# sourceMappingURL=index.mjs.map