@intlayer/chokidar 7.2.0 → 7.2.3

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.
Files changed (37) hide show
  1. package/dist/cjs/_virtual/rolldown_runtime.cjs +10 -6
  2. package/dist/cjs/compiler/extractDictionaryKey.cjs +38 -0
  3. package/dist/cjs/compiler/extractDictionaryKey.cjs.map +1 -0
  4. package/dist/cjs/compiler/index.cjs +225 -0
  5. package/dist/cjs/compiler/index.cjs.map +1 -0
  6. package/dist/cjs/getContentDeclarationFileTemplate/getContentDeclarationFileTemplate.cjs +5 -4
  7. package/dist/cjs/getContentDeclarationFileTemplate/getContentDeclarationFileTemplate.cjs.map +1 -1
  8. package/dist/cjs/index.cjs +12 -6
  9. package/dist/cjs/writeContentDeclaration/transformJSFile.cjs +1 -1
  10. package/dist/cjs/writeContentDeclaration/transformJSFile.cjs.map +1 -1
  11. package/dist/cjs/writeContentDeclaration/writeJSFile.cjs +2 -2
  12. package/dist/esm/compiler/extractDictionaryKey.mjs +36 -0
  13. package/dist/esm/compiler/extractDictionaryKey.mjs.map +1 -0
  14. package/dist/esm/compiler/index.mjs +219 -0
  15. package/dist/esm/compiler/index.mjs.map +1 -0
  16. package/dist/esm/getContentDeclarationFileTemplate/getContentDeclarationFileTemplate.mjs +5 -4
  17. package/dist/esm/getContentDeclarationFileTemplate/getContentDeclarationFileTemplate.mjs.map +1 -1
  18. package/dist/esm/index.mjs +8 -7
  19. package/dist/esm/writeContentDeclaration/transformJSFile.mjs +1 -1
  20. package/dist/esm/writeContentDeclaration/transformJSFile.mjs.map +1 -1
  21. package/dist/esm/writeContentDeclaration/writeJSFile.mjs +2 -2
  22. package/dist/types/buildIntlayerDictionary/writeDynamicDictionary.d.ts +3 -3
  23. package/dist/types/buildIntlayerDictionary/writeFetchDictionary.d.ts +3 -3
  24. package/dist/types/buildIntlayerDictionary/writeMergedDictionary.d.ts +2 -2
  25. package/dist/types/buildIntlayerDictionary/writeRemoteDictionary.d.ts +2 -2
  26. package/dist/types/compiler/extractDictionaryKey.d.ts +13 -0
  27. package/dist/types/compiler/extractDictionaryKey.d.ts.map +1 -0
  28. package/dist/types/compiler/index.d.ts +36 -0
  29. package/dist/types/compiler/index.d.ts.map +1 -0
  30. package/dist/types/createDictionaryEntryPoint/createDictionaryEntryPoint.d.ts +2 -2
  31. package/dist/types/createDictionaryEntryPoint/generateDictionaryListContent.d.ts +2 -2
  32. package/dist/types/createDictionaryEntryPoint/generateDictionaryListContent.d.ts.map +1 -1
  33. package/dist/types/index.d.ts +2 -1
  34. package/dist/types/loadDictionaries/loadRemoteDictionaries.d.ts +2 -2
  35. package/dist/types/utils/getFormatFromExtension.d.ts.map +1 -1
  36. package/dist/types/writeContentDeclaration/transformJSFile.d.ts.map +1 -1
  37. package/package.json +13 -13
@@ -1,6 +1,6 @@
1
- import { getContentDeclarationFileTemplate } from "../getContentDeclarationFileTemplate/getContentDeclarationFileTemplate.mjs";
2
- import { getFormatFromExtension } from "../utils/getFormatFromExtension.mjs";
3
1
  import { transformJSFile } from "./transformJSFile.mjs";
2
+ import { getFormatFromExtension } from "../utils/getFormatFromExtension.mjs";
3
+ import { getContentDeclarationFileTemplate } from "../getContentDeclarationFileTemplate/getContentDeclarationFileTemplate.mjs";
4
4
  import { detectFormatCommand } from "./detectFormatCommand.mjs";
5
5
  import { existsSync } from "node:fs";
6
6
  import { readFile, writeFile } from "node:fs/promises";
@@ -1,5 +1,5 @@
1
1
  import { MergedDictionaryOutput } from "./writeMergedDictionary.js";
2
- import * as _intlayer_types4 from "@intlayer/types";
2
+ import * as _intlayer_types0 from "@intlayer/types";
3
3
  import { Dictionary, Locale } from "@intlayer/types";
4
4
 
5
5
  //#region src/buildIntlayerDictionary/writeDynamicDictionary.d.ts
@@ -12,7 +12,7 @@ type LocalizedDictionaryOutput = Record<string, LocalizedDictionaryResult>;
12
12
  /**
13
13
  * This function generates the content of the dictionary list file
14
14
  */
15
- declare const generateDictionaryEntryPoint: (localizedDictionariesPathsRecord: LocalizedDictionaryResult, format?: "cjs" | "esm", configuration?: _intlayer_types4.IntlayerConfig) => string;
15
+ declare const generateDictionaryEntryPoint: (localizedDictionariesPathsRecord: LocalizedDictionaryResult, format?: "cjs" | "esm", configuration?: _intlayer_types0.IntlayerConfig) => string;
16
16
  /**
17
17
  * Write the localized dictionaries to the dictionariesDir
18
18
  * @param mergedDictionaries - The merged dictionaries
@@ -29,7 +29,7 @@ declare const generateDictionaryEntryPoint: (localizedDictionariesPathsRecord: L
29
29
  * // { key: 'home', content: { ... } },
30
30
  * ```
31
31
  */
32
- declare const writeDynamicDictionary: (mergedDictionaries: MergedDictionaryOutput, configuration?: _intlayer_types4.IntlayerConfig, formats?: ("cjs" | "esm")[]) => Promise<LocalizedDictionaryOutput>;
32
+ declare const writeDynamicDictionary: (mergedDictionaries: MergedDictionaryOutput, configuration?: _intlayer_types0.IntlayerConfig, formats?: ("cjs" | "esm")[]) => Promise<LocalizedDictionaryOutput>;
33
33
  //#endregion
34
34
  export { DictionaryResult, LocalizedDictionaryOutput, LocalizedDictionaryResult, generateDictionaryEntryPoint, writeDynamicDictionary };
35
35
  //# sourceMappingURL=writeDynamicDictionary.d.ts.map
@@ -1,11 +1,11 @@
1
1
  import { LocalizedDictionaryOutput, LocalizedDictionaryResult } from "./writeDynamicDictionary.js";
2
- import * as _intlayer_types2 from "@intlayer/types";
2
+ import * as _intlayer_types3 from "@intlayer/types";
3
3
 
4
4
  //#region src/buildIntlayerDictionary/writeFetchDictionary.d.ts
5
5
  /**
6
6
  * This function generates the content of the dictionary list file
7
7
  */
8
- declare const generateDictionaryEntryPoint: (localedDictionariesPathsRecord: LocalizedDictionaryResult, format?: "cjs" | "esm", configuration?: _intlayer_types2.IntlayerConfig) => string;
8
+ declare const generateDictionaryEntryPoint: (localedDictionariesPathsRecord: LocalizedDictionaryResult, format?: "cjs" | "esm", configuration?: _intlayer_types3.IntlayerConfig) => string;
9
9
  /**
10
10
  * Write the localized dictionaries to the dictionariesDir
11
11
  * @param mergedDictionaries - The merged dictionaries
@@ -22,7 +22,7 @@ declare const generateDictionaryEntryPoint: (localedDictionariesPathsRecord: Loc
22
22
  * // { key: 'home', content: { ... } },
23
23
  * ```
24
24
  */
25
- declare const writeFetchDictionary: (dynamicDictionaries: LocalizedDictionaryOutput, configuration?: _intlayer_types2.IntlayerConfig, formats?: ("cjs" | "esm")[]) => Promise<LocalizedDictionaryOutput>;
25
+ declare const writeFetchDictionary: (dynamicDictionaries: LocalizedDictionaryOutput, configuration?: _intlayer_types3.IntlayerConfig, formats?: ("cjs" | "esm")[]) => Promise<LocalizedDictionaryOutput>;
26
26
  //#endregion
27
27
  export { generateDictionaryEntryPoint, writeFetchDictionary };
28
28
  //# sourceMappingURL=writeFetchDictionary.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { UnmergedDictionaryOutput } from "./writeUnmergedDictionary.js";
2
- import * as _intlayer_types0 from "@intlayer/types";
2
+ import * as _intlayer_types5 from "@intlayer/types";
3
3
  import { Dictionary } from "@intlayer/types";
4
4
 
5
5
  //#region src/buildIntlayerDictionary/writeMergedDictionary.d.ts
@@ -24,7 +24,7 @@ type MergedDictionaryOutput = Record<string, MergedDictionaryResult>;
24
24
  * // { key: 'home', content: { ... } },
25
25
  * ```
26
26
  */
27
- declare const writeMergedDictionaries: (groupedDictionaries: UnmergedDictionaryOutput, configuration?: _intlayer_types0.IntlayerConfig) => Promise<MergedDictionaryOutput>;
27
+ declare const writeMergedDictionaries: (groupedDictionaries: UnmergedDictionaryOutput, configuration?: _intlayer_types5.IntlayerConfig) => Promise<MergedDictionaryOutput>;
28
28
  //#endregion
29
29
  export { MergedDictionaryOutput, MergedDictionaryResult, writeMergedDictionaries };
30
30
  //# sourceMappingURL=writeMergedDictionary.d.ts.map
@@ -1,4 +1,4 @@
1
- import * as _intlayer_types1 from "@intlayer/types";
1
+ import * as _intlayer_types2 from "@intlayer/types";
2
2
  import { Dictionary } from "@intlayer/types";
3
3
 
4
4
  //#region src/buildIntlayerDictionary/writeRemoteDictionary.d.ts
@@ -23,7 +23,7 @@ type RemoteDictionaryOutput = Record<string, RemoteDictionaryResult>;
23
23
  * // { key: 'home', content: { ... } },
24
24
  * ```
25
25
  */
26
- declare const writeRemoteDictionary: (remoteDictionaries: Dictionary[], configuration?: _intlayer_types1.IntlayerConfig) => Promise<RemoteDictionaryOutput>;
26
+ declare const writeRemoteDictionary: (remoteDictionaries: Dictionary[], configuration?: _intlayer_types2.IntlayerConfig) => Promise<RemoteDictionaryOutput>;
27
27
  //#endregion
28
28
  export { RemoteDictionaryOutput, RemoteDictionaryResult, writeRemoteDictionary };
29
29
  //# sourceMappingURL=writeRemoteDictionary.d.ts.map
@@ -0,0 +1,13 @@
1
+ //#region src/compiler/extractDictionaryKey.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
+ declare const extractDictionaryKey: (filePath: string, fileText: string) => string;
11
+ //#endregion
12
+ export { detectExportedComponentName, extractDictionaryKey };
13
+ //# sourceMappingURL=extractDictionaryKey.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extractDictionaryKey.d.ts","names":[],"sources":["../../../src/compiler/extractDictionaryKey.ts"],"sourcesContent":[],"mappings":";;AASA;AAuCA;;;;;cAvCa;cAuCA"}
@@ -0,0 +1,36 @@
1
+ import { IntlayerConfig } from "@intlayer/types";
2
+ import { GetConfigurationOptions } from "@intlayer/config";
3
+ import { Node, Project, SourceFile } from "ts-morph";
4
+
5
+ //#region src/compiler/index.d.ts
6
+ type Replacement = {
7
+ node: Node;
8
+ key: string;
9
+ type: 'jsx-text' | 'jsx-attribute' | 'string-literal';
10
+ };
11
+ declare const shouldExtract: (text: string) => boolean;
12
+ /**
13
+ * 1. Extraction of content
14
+ */
15
+ declare const extractContent: (sourceFile: SourceFile) => {
16
+ extractedContent: Record<string, string>;
17
+ replacements: Replacement[];
18
+ };
19
+ /**
20
+ * 2. Write content declaration
21
+ */
22
+ declare const writeContent: (extractedContent: Record<string, string>, componentKey: string, filePath: string, configuration: IntlayerConfig, outputDir?: string) => Promise<string>;
23
+ /**
24
+ * 3. Transform component
25
+ */
26
+ declare const transformComponent: (sourceFile: SourceFile, replacements: Replacement[], componentKey: string, packageName: string) => Promise<void>;
27
+ type ExtractIntlayer = {
28
+ configOptions?: GetConfigurationOptions;
29
+ outputDir?: string;
30
+ };
31
+ type PackageName = 'next-intlayer' | 'react-intlayer' | 'vue-intlayer' | 'preact-intlayer' | 'solid-intlayer' | 'angular-intlayer' | 'svelte-intlayer' | 'express-intlayer';
32
+ declare const extractIntlayer: (filePath: string, packageName: PackageName, options?: ExtractIntlayer, project?: Project) => Promise<void>;
33
+ declare const transformFiles: (filePaths: string[], packageName: PackageName, options?: ExtractIntlayer) => Promise<void>;
34
+ //#endregion
35
+ export { PackageName, extractContent, extractIntlayer, shouldExtract, transformComponent, transformFiles, writeContent };
36
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","names":[],"sources":["../../../src/compiler/index.ts"],"sourcesContent":[],"mappings":";;;;;KAoDK,WAAA;QACG;EADH,GAAA,EAAA,MAAA;EAMQ,IAAA,EAAA,UAWZ,GAAA,eAAA,GAAA,gBAAA;AAKD,CAAA;AAA2C,cAhB9B,aAgB8B,EAAA,CAAA,IAAA,EAAA,MAAA,EAAA,GAAA,OAAA;;;;AA4F9B,cA5FA,cA2HZ,EAAA,CAAA,UAAA,EA3H0C,UA2H1C,EAAA,GAAA;EA9BmB,gBAAA,QAAA,CAAA,MAAA,EAAA,MAAA,CAAA;EAGH,YAAA,aAAA,EAAA;CACG;;AAgDpB;;AAEgB,cAvDH,YAuDG,EAAA,CAAA,gBAAA,EAtDI,MAsDJ,CAAA,MAAA,EAAA,MAAA,CAAA,EAAA,YAAA,EAAA,MAAA,EAAA,QAAA,EAAA,MAAA,EAAA,aAAA,EAnDC,cAmDD,EAAA,SAAA,CAAA,EAAA,MAAA,EAAA,GAlDI,OAkDJ,CAAA,MAAA,CAAA;;;AAyHd;AAOU,cAlIC,kBAkIU,EAAA,CAAA,UAAA,EAjIT,UAiIS,EAAA,YAAA,EAhIP,WAgIO,EAAA,EAAA,YAAA,EAAA,MAAA,EAAA,WAAA,EAAA,MAAA,EAAA,GA9HF,OA8HE,CAAA,IAAA,CAAA;AAUvB,KAfK,eAAA,GAiGJ;EAhFc,aAAA,CAAA,EAhBG,uBAgBH;EACH,SAAA,CAAA,EAAA,MAAA;CACA;AAAO,KAdP,WAAA,GAcO,eAAA,GAAA,gBAAA,GAAA,cAAA,GAAA,iBAAA,GAAA,gBAAA,GAAA,kBAAA,GAAA,iBAAA,GAAA,kBAAA;AAAA,cAJN,eAIM,EAAA,CAAA,QAAA,EAAA,MAAA,EAAA,WAAA,EAFJ,WAEI,EAAA,OAAA,CAAA,EADP,eACO,EAAA,OAAA,CAAA,EAAP,OAAO,EAAA,GAAA,OAAA,CAAA,IAAA,CAAA;AAgFN,cAAA,cAmBZ,EAAA,CAAA,SAAA,EAAA,MAAA,EAAA,EAAA,WAAA,EAjBc,WAiBd,EAAA,OAAA,CAAA,EAhBW,eAgBX,EAAA,GAhB0B,OAgB1B,CAAA,IAAA,CAAA"}
@@ -1,10 +1,10 @@
1
- import * as _intlayer_types6 from "@intlayer/types";
1
+ import * as _intlayer_types7 from "@intlayer/types";
2
2
 
3
3
  //#region src/createDictionaryEntryPoint/createDictionaryEntryPoint.d.ts
4
4
  /**
5
5
  * This function generates a list of dictionaries in the main directory
6
6
  */
7
- declare const createDictionaryEntryPoint: (configuration?: _intlayer_types6.IntlayerConfig, formats?: ("cjs" | "esm")[]) => Promise<void>;
7
+ declare const createDictionaryEntryPoint: (configuration?: _intlayer_types7.IntlayerConfig, formats?: ("cjs" | "esm")[]) => Promise<void>;
8
8
  //#endregion
9
9
  export { createDictionaryEntryPoint };
10
10
  //# sourceMappingURL=createDictionaryEntryPoint.d.ts.map
@@ -1,10 +1,10 @@
1
- import * as _intlayer_types8 from "@intlayer/types";
1
+ import * as _intlayer_types6 from "@intlayer/types";
2
2
 
3
3
  //#region src/createDictionaryEntryPoint/generateDictionaryListContent.d.ts
4
4
  /**
5
5
  * This function generates the content of the dictionary list file
6
6
  */
7
- declare const generateDictionaryListContent: (dictionaries: string[], functionName: string, format?: "cjs" | "esm", configuration?: _intlayer_types8.IntlayerConfig) => string;
7
+ declare const generateDictionaryListContent: (dictionaries: string[], functionName: string, format?: "cjs" | "esm", configuration?: _intlayer_types6.IntlayerConfig) => string;
8
8
  //#endregion
9
9
  export { generateDictionaryListContent };
10
10
  //# sourceMappingURL=generateDictionaryListContent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"generateDictionaryListContent.d.ts","names":[],"sources":["../../../src/createDictionaryEntryPoint/generateDictionaryListContent.ts"],"sourcesContent":[],"mappings":";;;;;;AAOa,cAAA,6BA+CZ,EAAA,CAAA,YAAA,EA3CC,MAAA,EAAA,EAAA,YAAkC,EAAA,MAAA,EAAA,MAAA,CAAA,EAAA,KAAA,GAAA,KAAA,EAAA,aAAA,CAAA,EA2CnC,gBAAA,CA3CC,cAAkC,EAAA,GAAA,MAAA"}
1
+ {"version":3,"file":"generateDictionaryListContent.d.ts","names":[],"sources":["../../../src/createDictionaryEntryPoint/generateDictionaryListContent.ts"],"sourcesContent":[],"mappings":";;;;;;AAOa,cAAA,6BA+CZ,EAAA,CAAA,YA3CC,EAAA,MAAA,EAAA,EAAA,YAAkC,EAAA,MAAA,EAAA,MAAA,CAAA,EAAA,KAAA,GAAA,KAAA,EAAA,aAAA,CAAA,EA2CnC,gBAAA,CA3CC,cAAkC,EAAA,GAAA,MAAA"}
@@ -1,5 +1,6 @@
1
1
  import { buildDictionary } from "./buildIntlayerDictionary/buildIntlayerDictionary.js";
2
2
  import { cleanOutputDir } from "./cleanOutputDir.js";
3
+ import { PackageName, extractContent, extractIntlayer, transformComponent, transformFiles, writeContent } from "./compiler/index.js";
3
4
  import { createDictionaryEntryPoint } from "./createDictionaryEntryPoint/createDictionaryEntryPoint.js";
4
5
  import { generateDictionaryListContent } from "./createDictionaryEntryPoint/generateDictionaryListContent.js";
5
6
  import { getBuiltDictionariesPath } from "./createDictionaryEntryPoint/getBuiltDictionariesPath.js";
@@ -49,4 +50,4 @@ import { writeContentDeclaration } from "./writeContentDeclaration/writeContentD
49
50
  import { writeJSFile } from "./writeContentDeclaration/writeJSFile.js";
50
51
  import "./writeContentDeclaration/index.js";
51
52
  import { detectFormatCommand } from "./writeContentDeclaration/detectFormatCommand.js";
52
- export { type DictionaryStatus, type DiffMode, type Extension, type Format, type JSONObject, type JsonChunk, type ListGitFilesOptions, type ListGitLinesOptions, type ParallelHandle, assembleJSON, buildAndWatchIntlayer, buildDictionary, chunkJSON, cleanOutputDir, createDictionaryEntryPoint, createModuleAugmentation, createTypes, detectExportedComponentName, detectFormatCommand, fetchDistantDictionaries, formatLocale, formatPath, generateDictionaryListContent, getBuiltDictionariesPath, getBuiltDynamicDictionariesPath, getBuiltFetchDictionariesPath, getBuiltRemoteDictionariesPath, getBuiltUnmergedDictionariesPath, getChunk, getContentDeclarationFileTemplate, getExtensionFromFormat, getFileHash, getFormatFromExtension, getGlobalLimiter, getTaskLimiter, handleAdditionalContentDeclarationFile, handleContentDeclarationFileChange, handleUnlinkedContentDeclarationFile, isInvalidDictionary, listDictionaries, listGitFiles, listGitLines, loadContentDeclarations, loadDictionaries, loadLocalDictionaries, loadRemoteDictionaries, pLimit, parallelize, parallelizeGlobal, prepareIntlayer, reconstructFromSingleChunk, reduceDictionaryContent, reduceObjectFormat, resolveObjectPromises, runOnce, runParallel, sortAlphabetically, splitTextByLines, transformJSFile, verifyIdenticObjectFormat, watch, writeContentDeclaration, writeJSFile };
53
+ export { type DictionaryStatus, type DiffMode, type Extension, type Format, type JSONObject, type JsonChunk, type ListGitFilesOptions, type ListGitLinesOptions, type PackageName, type ParallelHandle, assembleJSON, buildAndWatchIntlayer, buildDictionary, chunkJSON, cleanOutputDir, createDictionaryEntryPoint, createModuleAugmentation, createTypes, detectExportedComponentName, detectFormatCommand, extractContent, extractIntlayer, fetchDistantDictionaries, formatLocale, formatPath, generateDictionaryListContent, getBuiltDictionariesPath, getBuiltDynamicDictionariesPath, getBuiltFetchDictionariesPath, getBuiltRemoteDictionariesPath, getBuiltUnmergedDictionariesPath, getChunk, getContentDeclarationFileTemplate, getExtensionFromFormat, getFileHash, getFormatFromExtension, getGlobalLimiter, getTaskLimiter, handleAdditionalContentDeclarationFile, handleContentDeclarationFileChange, handleUnlinkedContentDeclarationFile, isInvalidDictionary, listDictionaries, listGitFiles, listGitLines, loadContentDeclarations, loadDictionaries, loadLocalDictionaries, loadRemoteDictionaries, pLimit, parallelize, parallelizeGlobal, prepareIntlayer, reconstructFromSingleChunk, reduceDictionaryContent, reduceObjectFormat, resolveObjectPromises, runOnce, runParallel, sortAlphabetically, splitTextByLines, transformComponent, transformFiles, transformJSFile, verifyIdenticObjectFormat, watch, writeContent, writeContentDeclaration, writeJSFile };
@@ -1,11 +1,11 @@
1
1
  import { DictionariesStatus } from "./loadDictionaries.js";
2
- import * as _intlayer_types7 from "@intlayer/types";
2
+ import * as _intlayer_types8 from "@intlayer/types";
3
3
  import { Dictionary } from "@intlayer/types";
4
4
  import { DictionaryAPI } from "@intlayer/backend";
5
5
 
6
6
  //#region src/loadDictionaries/loadRemoteDictionaries.d.ts
7
7
  declare const formatDistantDictionaries: (dictionaries: (DictionaryAPI | Dictionary)[]) => Dictionary[];
8
- declare const loadRemoteDictionaries: (configuration?: _intlayer_types7.IntlayerConfig, onStatusUpdate?: (status: DictionariesStatus[]) => void, options?: {
8
+ declare const loadRemoteDictionaries: (configuration?: _intlayer_types8.IntlayerConfig, onStatusUpdate?: (status: DictionariesStatus[]) => void, options?: {
9
9
  onStartRemoteCheck?: () => void;
10
10
  onStopRemoteCheck?: () => void;
11
11
  onError?: (error: Error) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"getFormatFromExtension.d.ts","names":[],"sources":["../../../src/utils/getFormatFromExtension.ts"],"sourcesContent":[],"mappings":";KAAY,MAAA;AAAA,KACA,SAAA,GADM,KAAA,GAAA,MAAA,GAAA,KAAA,GAAA,MAAA,GAAA,MAAA,GAAA,OAAA,GAAA,MAAA,GAAA,OAAA,GAAA,OAAA,GAAA,QAAA;AACN,cAYC,sBAZQ,EAAA,CAAA,SAAA,EAY6B,SAZ7B,EAAA,GAYyC,MAZzC;AAYR,cAkBA,sBAlBqC,EAAA,CAAA,MAAA,EAkBH,MAF9C,EAAA,GAEuD,SAFvD"}
1
+ {"version":3,"file":"getFormatFromExtension.d.ts","names":[],"sources":["../../../src/utils/getFormatFromExtension.ts"],"sourcesContent":[],"mappings":";KAAY,MAAA;AAAA,KACA,SAAA,GADM,KAAA,GAAA,MAAA,GAAA,KAAA,GAAA,MAAA,GAAA,MAAA,GAAA,OAAA,GAAA,MAAA,GAAA,OAAA,GAAA,OAAA,GAAA,QAAA;AACN,cAYC,sBAZQ,EAAA,CAAA,SAAA,EAY6B,SAZ7B,EAAA,GAYyC,MAZzC;AAYR,cAkBA,sBAlBqC,EAAA,CAAA,MAAY,EAkBf,MAF9C,EAAA,GAEuD,SAFvD"}
@@ -1 +1 @@
1
- {"version":3,"file":"transformJSFile.d.ts","names":[],"sources":["../../../src/writeContentDeclaration/transformJSFile.ts"],"sourcesContent":[],"mappings":";;;;;;AAs5GA;;;;;;;;;;;;;;;;;;;;;;;;;;cAAa,mDAEC,6BACK,WAChB"}
1
+ {"version":3,"file":"transformJSFile.d.ts","names":[],"sources":["../../../src/writeContentDeclaration/transformJSFile.ts"],"sourcesContent":[],"mappings":";;;;;;AAy5GA;;;;;;;;;;;;;;;;;;;;;;;;;;cAAa,mDAEC,6BACK,WAChB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intlayer/chokidar",
3
- "version": "7.2.0",
3
+ "version": "7.2.3",
4
4
  "private": false,
5
5
  "description": "Uses chokidar to scan and build Intlayer declaration files into dictionaries based on Intlayer configuration.",
6
6
  "keywords": [
@@ -74,19 +74,19 @@
74
74
  "typecheck": "tsc --noEmit --project tsconfig.types.json"
75
75
  },
76
76
  "dependencies": {
77
- "@intlayer/api": "7.2.0",
78
- "@intlayer/config": "7.2.0",
79
- "@intlayer/core": "7.2.0",
80
- "@intlayer/dictionaries-entry": "7.2.0",
81
- "@intlayer/remote-dictionaries-entry": "7.2.0",
82
- "@intlayer/types": "7.2.0",
83
- "@intlayer/unmerged-dictionaries-entry": "7.2.0",
77
+ "@intlayer/api": "7.2.3",
78
+ "@intlayer/config": "7.2.3",
79
+ "@intlayer/core": "7.2.3",
80
+ "@intlayer/dictionaries-entry": "7.2.3",
81
+ "@intlayer/remote-dictionaries-entry": "7.2.3",
82
+ "@intlayer/types": "7.2.3",
83
+ "@intlayer/unmerged-dictionaries-entry": "7.2.3",
84
84
  "chokidar": "3.6.0",
85
85
  "crypto-js": "4.2.0",
86
86
  "deepmerge": "4.3.1",
87
87
  "fast-glob": "3.3.3",
88
- "simple-git": "3.28.0",
89
- "ts-morph": "27.0.0"
88
+ "simple-git": "3.30.0",
89
+ "ts-morph": "27.0.2"
90
90
  },
91
91
  "devDependencies": {
92
92
  "@types/crypto-js": "4.2.2",
@@ -94,10 +94,10 @@
94
94
  "@utils/ts-config": "1.0.4",
95
95
  "@utils/ts-config-types": "1.0.4",
96
96
  "@utils/tsdown-config": "1.0.4",
97
- "rimraf": "6.1.0",
98
- "tsdown": "0.16.5",
97
+ "rimraf": "6.1.2",
98
+ "tsdown": "0.16.6",
99
99
  "typescript": "5.9.3",
100
- "vitest": "4.0.10"
100
+ "vitest": "4.0.12"
101
101
  },
102
102
  "peerDependencies": {
103
103
  "fast-glob": "3.3.3"