UNPKG

@intlayer/chokidar

Version:

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

22 lines (21 loc) 1.78 kB
import { Queue, pLimit } from "./pLimit.mjs"; import { parallelize } from "./parallelize.mjs"; import { getPathHash } from "./getPathHash.mjs"; import { formatLocale, formatPath } from "./formatter.mjs"; import { autoDecorateContent } from "./autoDecorateContent.mjs"; import { buildComponentFilesList } from "./buildComponentFilesList.mjs"; import { splitTextByLines } from "./splitTextByLine.mjs"; import { getChunk } from "./getChunk.mjs"; import { assembleJSON, chunkJSON, reconstructFromSingleChunk } from "./chunkJSON.mjs"; import { getContentExtension } from "./getContentExtension.mjs"; import { getExtensionFromFormat, getFormatFromExtension } from "./getFormatFromExtension.mjs"; import { mergeChunks } from "./mergeChunks.mjs"; import { getGlobalLimiter, getTaskLimiter, parallelizeGlobal } from "./parallelizeGlobal.mjs"; import { excludeObjectFormat, reduceObjectFormat } from "./reduceObjectFormat.mjs"; import { resolveObjectPromises } from "./resolveObjectPromises.mjs"; import { resolveRelativePath } from "./resolveRelativePath.mjs"; import { runOnce } from "./runOnce.mjs"; import { runParallel } from "./runParallel/index.mjs"; import { sortAlphabetically } from "./sortAlphabetically.mjs"; import { verifyIdenticObjectFormat } from "./verifyIdenticObjectFormat.mjs"; export { Queue, assembleJSON, autoDecorateContent, buildComponentFilesList, chunkJSON, excludeObjectFormat, formatLocale, formatPath, getChunk, getContentExtension, getExtensionFromFormat, getFormatFromExtension, getGlobalLimiter, getPathHash, getTaskLimiter, mergeChunks, pLimit, parallelize, parallelizeGlobal, reconstructFromSingleChunk, reduceObjectFormat, resolveObjectPromises, resolveRelativePath, runOnce, runParallel, sortAlphabetically, splitTextByLines, verifyIdenticObjectFormat };