@intlayer/chokidar 7.3.8 → 7.3.9
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/index.cjs +2 -0
- package/dist/cjs/utils/buildFilesList.cjs +50 -0
- package/dist/cjs/utils/buildFilesList.cjs.map +1 -0
- package/dist/cjs/utils/getFormatFromExtension.cjs +2 -2
- package/dist/cjs/utils/getFormatFromExtension.cjs.map +1 -1
- package/dist/esm/index.mjs +2 -1
- package/dist/esm/utils/buildFilesList.mjs +48 -0
- package/dist/esm/utils/buildFilesList.mjs.map +1 -0
- package/dist/esm/utils/getFormatFromExtension.mjs +2 -2
- package/dist/esm/utils/getFormatFromExtension.mjs.map +1 -1
- package/dist/types/buildIntlayerDictionary/buildIntlayerDictionary.d.ts +2 -2
- package/dist/types/buildIntlayerDictionary/writeDynamicDictionary.d.ts +3 -3
- package/dist/types/buildIntlayerDictionary/writeFetchDictionary.d.ts +3 -3
- package/dist/types/buildIntlayerDictionary/writeMergedDictionary.d.ts +2 -2
- package/dist/types/buildIntlayerDictionary/writeRemoteDictionary.d.ts +2 -2
- package/dist/types/createDictionaryEntryPoint/createDictionaryEntryPoint.d.ts +2 -2
- package/dist/types/createDictionaryEntryPoint/generateDictionaryListContent.d.ts +2 -2
- package/dist/types/createDictionaryEntryPoint/generateDictionaryListContent.d.ts.map +1 -1
- package/dist/types/index.d.ts +2 -1
- package/dist/types/utils/buildFilesList.d.ts +47 -0
- package/dist/types/utils/buildFilesList.d.ts.map +1 -0
- package/package.json +10 -10
package/dist/cjs/index.cjs
CHANGED
|
@@ -38,6 +38,7 @@ const require_writeContentDeclaration_detectFormatCommand = require('./writeCont
|
|
|
38
38
|
const require_writeContentDeclaration_writeJSFile = require('./writeContentDeclaration/writeJSFile.cjs');
|
|
39
39
|
const require_writeContentDeclaration_writeContentDeclaration = require('./writeContentDeclaration/writeContentDeclaration.cjs');
|
|
40
40
|
const require_transformFiles_transformFiles = require('./transformFiles/transformFiles.cjs');
|
|
41
|
+
const require_utils_buildFilesList = require('./utils/buildFilesList.cjs');
|
|
41
42
|
const require_utils_splitTextByLine = require('./utils/splitTextByLine.cjs');
|
|
42
43
|
const require_utils_getChunk = require('./utils/getChunk.cjs');
|
|
43
44
|
const require_utils_chunkJSON = require('./utils/chunkJSON.cjs');
|
|
@@ -51,6 +52,7 @@ exports.ATTRIBUTES_TO_EXTRACT = require_transformFiles_transformFiles.ATTRIBUTES
|
|
|
51
52
|
exports.assembleJSON = require_utils_chunkJSON.assembleJSON;
|
|
52
53
|
exports.buildAndWatchIntlayer = require_watcher.buildAndWatchIntlayer;
|
|
53
54
|
exports.buildDictionary = require_buildIntlayerDictionary_buildIntlayerDictionary.buildDictionary;
|
|
55
|
+
exports.buildFilesList = require_utils_buildFilesList.buildFilesList;
|
|
54
56
|
exports.chunkJSON = require_utils_chunkJSON.chunkJSON;
|
|
55
57
|
exports.cleanOutputDir = require_cleanOutputDir.cleanOutputDir;
|
|
56
58
|
exports.createDictionaryEntryPoint = require_createDictionaryEntryPoint_createDictionaryEntryPoint.createDictionaryEntryPoint;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
const require_rolldown_runtime = require('../_virtual/rolldown_runtime.cjs');
|
|
2
|
+
let node_path = require("node:path");
|
|
3
|
+
let fast_glob = require("fast-glob");
|
|
4
|
+
fast_glob = require_rolldown_runtime.__toESM(fast_glob);
|
|
5
|
+
|
|
6
|
+
//#region src/utils/buildFilesList.ts
|
|
7
|
+
/**
|
|
8
|
+
* Normalizes a pattern value to an array
|
|
9
|
+
*/
|
|
10
|
+
const normalizeToArray = (value) => {
|
|
11
|
+
return Array.isArray(value) ? value : [value];
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* Builds a list of files matching the given patterns.
|
|
15
|
+
*
|
|
16
|
+
* This utility consolidates the file listing logic used across multiple compilers
|
|
17
|
+
* (Vue, Svelte, Vite) to avoid code duplication.
|
|
18
|
+
*
|
|
19
|
+
* @param options - Configuration options for building the file list
|
|
20
|
+
* @returns Array of absolute file paths matching the patterns
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* // Basic usage
|
|
24
|
+
* const files = buildFilesList({
|
|
25
|
+
* transformPattern: 'src/**\/*.{ts,tsx}',
|
|
26
|
+
* excludePattern: ['**\/node_modules;\/**'],
|
|
27
|
+
* baseDir: '/path/to/project',
|
|
28
|
+
* });
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* // With framework extension (Vue)
|
|
32
|
+
* const files = buildFilesList({
|
|
33
|
+
* transformPattern: 'src/**\/*.{ts,tsx}',
|
|
34
|
+
* excludePattern: ['**\/node_modules\/**'],
|
|
35
|
+
* baseDir: '/path/to/project',
|
|
36
|
+
* });
|
|
37
|
+
*/
|
|
38
|
+
const buildFilesList = (options) => {
|
|
39
|
+
const { transformPattern, excludePattern, baseDir } = options;
|
|
40
|
+
const patterns = normalizeToArray(transformPattern);
|
|
41
|
+
const excludePatterns = normalizeToArray(excludePattern);
|
|
42
|
+
return fast_glob.default.sync(patterns, {
|
|
43
|
+
cwd: baseDir,
|
|
44
|
+
ignore: excludePatterns
|
|
45
|
+
}).map((file) => (0, node_path.join)(baseDir, file));
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
//#endregion
|
|
49
|
+
exports.buildFilesList = buildFilesList;
|
|
50
|
+
//# sourceMappingURL=buildFilesList.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buildFilesList.cjs","names":["fg"],"sources":["../../../src/utils/buildFilesList.ts"],"sourcesContent":["import { join } from 'node:path';\nimport fg from 'fast-glob';\n\n/**\n * Options for building the files list\n */\nexport type BuildFilesListOptions = {\n /**\n * Glob patterns to match files\n */\n transformPattern: string | string[];\n /**\n * Glob patterns to exclude files\n */\n excludePattern: string | string[];\n /**\n * Base directory for file resolution\n */\n baseDir: string;\n};\n\n/**\n * Adds framework-specific patterns to the existing patterns.\n * If a pattern already includes the framework extension or has a brace expression,\n * it's kept as-is. Otherwise, the extension is added to any existing brace expression.\n *\n * @example\n * addFrameworkPatterns(['src/**\\/*.{ts,tsx}'], 'vue')\n * // Returns: ['src/**\\/*.{ts,tsx,vue}']\n *\n * @example\n * addFrameworkPatterns(['src/**\\/*.vue'], 'vue')\n * // Returns: ['src/**\\/*.vue'] (unchanged, already has .vue)\n */\nconst addFrameworkPatterns = (\n patterns: string[],\n frameworkExtension: string\n): string[] => {\n return patterns.map((pattern) => {\n // If already includes the framework extension, keep as-is\n if (pattern.includes(`.${frameworkExtension}`)) {\n return pattern;\n }\n // If has brace expression, add the extension to it\n if (pattern.includes('{')) {\n return pattern.replace(\n /\\{([^}]+)\\}/,\n (_, exts) => `{${exts},${frameworkExtension}}`\n );\n }\n // No modification needed for patterns without brace expressions\n return pattern;\n });\n};\n\n/**\n * Normalizes a pattern value to an array\n */\nconst normalizeToArray = <T>(value: T | T[]): T[] => {\n return Array.isArray(value) ? value : [value];\n};\n\n/**\n * Builds a list of files matching the given patterns.\n *\n * This utility consolidates the file listing logic used across multiple compilers\n * (Vue, Svelte, Vite) to avoid code duplication.\n *\n * @param options - Configuration options for building the file list\n * @returns Array of absolute file paths matching the patterns\n *\n * @example\n * // Basic usage\n * const files = buildFilesList({\n * transformPattern: 'src/**\\/*.{ts,tsx}',\n * excludePattern: ['**\\/node_modules;\\/**'],\n * baseDir: '/path/to/project',\n * });\n *\n * @example\n * // With framework extension (Vue)\n * const files = buildFilesList({\n * transformPattern: 'src/**\\/*.{ts,tsx}',\n * excludePattern: ['**\\/node_modules\\/**'],\n * baseDir: '/path/to/project',\n * });\n */\nexport const buildFilesList = (options: BuildFilesListOptions): string[] => {\n const { transformPattern, excludePattern, baseDir } = options;\n\n const patterns = normalizeToArray(transformPattern);\n const excludePatterns = normalizeToArray(excludePattern);\n\n const files = fg\n .sync(patterns, {\n cwd: baseDir,\n ignore: excludePatterns,\n })\n .map((file) => join(baseDir, file));\n\n return files;\n};\n"],"mappings":";;;;;;;;;AA0DA,MAAM,oBAAuB,UAAwB;AACnD,QAAO,MAAM,QAAQ,MAAM,GAAG,QAAQ,CAAC,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4B/C,MAAa,kBAAkB,YAA6C;CAC1E,MAAM,EAAE,kBAAkB,gBAAgB,YAAY;CAEtD,MAAM,WAAW,iBAAiB,iBAAiB;CACnD,MAAM,kBAAkB,iBAAiB,eAAe;AASxD,QAPcA,kBACX,KAAK,UAAU;EACd,KAAK;EACL,QAAQ;EACT,CAAC,CACD,KAAK,6BAAc,SAAS,KAAK,CAAC"}
|
|
@@ -10,7 +10,7 @@ const getFormatFromExtension = (extension) => {
|
|
|
10
10
|
case ".json":
|
|
11
11
|
case ".json5": return "json";
|
|
12
12
|
}
|
|
13
|
-
return "
|
|
13
|
+
return "ts";
|
|
14
14
|
};
|
|
15
15
|
const getExtensionFromFormat = (format) => {
|
|
16
16
|
switch (format) {
|
|
@@ -19,7 +19,7 @@ const getExtensionFromFormat = (format) => {
|
|
|
19
19
|
case "json": return ".json";
|
|
20
20
|
case "esm": return ".mjs";
|
|
21
21
|
}
|
|
22
|
-
return ".
|
|
22
|
+
return ".ts";
|
|
23
23
|
};
|
|
24
24
|
|
|
25
25
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFormatFromExtension.cjs","names":[],"sources":["../../../src/utils/getFormatFromExtension.ts"],"sourcesContent":["export type Format = 'ts' | 'cjs' | 'esm' | 'json';\nexport type Extension =\n | '.ts'\n | '.tsx'\n | '.js'\n | '.jsx'\n | '.cjs'\n | '.cjsx'\n | '.mjs'\n | '.mjsx'\n | '.json'\n | '.json5';\n\nexport const getFormatFromExtension = (extension: Extension): Format => {\n switch (extension) {\n case '.ts':\n case '.tsx':\n return 'ts';\n case '.cjs':\n case '.cjsx':\n return 'cjs';\n case '.mjs':\n return 'esm';\n case '.json':\n case '.json5':\n return 'json';\n }\n\n return '
|
|
1
|
+
{"version":3,"file":"getFormatFromExtension.cjs","names":[],"sources":["../../../src/utils/getFormatFromExtension.ts"],"sourcesContent":["export type Format = 'ts' | 'cjs' | 'esm' | 'json';\nexport type Extension =\n | '.ts'\n | '.tsx'\n | '.js'\n | '.jsx'\n | '.cjs'\n | '.cjsx'\n | '.mjs'\n | '.mjsx'\n | '.json'\n | '.json5';\n\nexport const getFormatFromExtension = (extension: Extension): Format => {\n switch (extension) {\n case '.ts':\n case '.tsx':\n return 'ts';\n case '.cjs':\n case '.cjsx':\n return 'cjs';\n case '.mjs':\n return 'esm';\n case '.json':\n case '.json5':\n return 'json';\n }\n\n return 'ts';\n};\n\nexport const getExtensionFromFormat = (format: Format): Extension => {\n switch (format) {\n case 'ts':\n return '.ts';\n case 'cjs':\n return '.cjs';\n case 'json':\n return '.json';\n case 'esm':\n return '.mjs';\n }\n\n return '.ts';\n};\n"],"mappings":";;AAaA,MAAa,0BAA0B,cAAiC;AACtE,SAAQ,WAAR;EACE,KAAK;EACL,KAAK,OACH,QAAO;EACT,KAAK;EACL,KAAK,QACH,QAAO;EACT,KAAK,OACH,QAAO;EACT,KAAK;EACL,KAAK,SACH,QAAO;;AAGX,QAAO;;AAGT,MAAa,0BAA0B,WAA8B;AACnE,SAAQ,QAAR;EACE,KAAK,KACH,QAAO;EACT,KAAK,MACH,QAAO;EACT,KAAK,OACH,QAAO;EACT,KAAK,MACH,QAAO;;AAGX,QAAO"}
|
package/dist/esm/index.mjs
CHANGED
|
@@ -38,6 +38,7 @@ import { detectFormatCommand } from "./writeContentDeclaration/detectFormatComma
|
|
|
38
38
|
import { writeJSFile } from "./writeContentDeclaration/writeJSFile.mjs";
|
|
39
39
|
import { writeContentDeclaration } from "./writeContentDeclaration/writeContentDeclaration.mjs";
|
|
40
40
|
import { ATTRIBUTES_TO_EXTRACT, extractIntlayer, generateKey, shouldExtract, transformFiles } from "./transformFiles/transformFiles.mjs";
|
|
41
|
+
import { buildFilesList } from "./utils/buildFilesList.mjs";
|
|
41
42
|
import { splitTextByLines } from "./utils/splitTextByLine.mjs";
|
|
42
43
|
import { getChunk } from "./utils/getChunk.mjs";
|
|
43
44
|
import { assembleJSON, chunkJSON, reconstructFromSingleChunk } from "./utils/chunkJSON.mjs";
|
|
@@ -47,4 +48,4 @@ import { runParallel } from "./utils/runParallel/index.mjs";
|
|
|
47
48
|
import { verifyIdenticObjectFormat } from "./utils/verifyIdenticObjectFormat.mjs";
|
|
48
49
|
import { buildAndWatchIntlayer, watch } from "./watcher.mjs";
|
|
49
50
|
|
|
50
|
-
export { ATTRIBUTES_TO_EXTRACT, assembleJSON, buildAndWatchIntlayer, buildDictionary, chunkJSON, cleanOutputDir, createDictionaryEntryPoint, createModuleAugmentation, createTypes, detectExportedComponentName, detectFormatCommand, extractDictionaryKey, extractIntlayer, fetchDistantDictionaries, formatLocale, formatPath, generateDictionaryListContent, generateKey, getBuiltDictionariesPath, getBuiltDynamicDictionariesPath, getBuiltFetchDictionariesPath, getBuiltRemoteDictionariesPath, getBuiltUnmergedDictionariesPath, getChunk, getContentDeclarationFileTemplate, getExtensionFromFormat, getFileHash, getFormatFromExtension, getGlobalLimiter, getTaskLimiter, handleAdditionalContentDeclarationFile, handleContentDeclarationFileChange, handleUnlinkedContentDeclarationFile, isInvalidDictionary, listDictionaries, listDictionariesWithStats, listGitFiles, listGitLines, loadContentDeclarations, loadDictionaries, loadLocalDictionaries, loadRemoteDictionaries, pLimit, parallelize, parallelizeGlobal, prepareIntlayer, reconstructFromSingleChunk, reduceDictionaryContent, reduceObjectFormat, resolveObjectPromises, runOnce, runParallel, shouldExtract, sortAlphabetically, splitTextByLines, transformFiles, transformJSFile, verifyIdenticObjectFormat, watch, writeContentDeclaration, writeJSFile };
|
|
51
|
+
export { ATTRIBUTES_TO_EXTRACT, assembleJSON, buildAndWatchIntlayer, buildDictionary, buildFilesList, chunkJSON, cleanOutputDir, createDictionaryEntryPoint, createModuleAugmentation, createTypes, detectExportedComponentName, detectFormatCommand, extractDictionaryKey, extractIntlayer, fetchDistantDictionaries, formatLocale, formatPath, generateDictionaryListContent, generateKey, getBuiltDictionariesPath, getBuiltDynamicDictionariesPath, getBuiltFetchDictionariesPath, getBuiltRemoteDictionariesPath, getBuiltUnmergedDictionariesPath, getChunk, getContentDeclarationFileTemplate, getExtensionFromFormat, getFileHash, getFormatFromExtension, getGlobalLimiter, getTaskLimiter, handleAdditionalContentDeclarationFile, handleContentDeclarationFileChange, handleUnlinkedContentDeclarationFile, isInvalidDictionary, listDictionaries, listDictionariesWithStats, listGitFiles, listGitLines, loadContentDeclarations, loadDictionaries, loadLocalDictionaries, loadRemoteDictionaries, pLimit, parallelize, parallelizeGlobal, prepareIntlayer, reconstructFromSingleChunk, reduceDictionaryContent, reduceObjectFormat, resolveObjectPromises, runOnce, runParallel, shouldExtract, sortAlphabetically, splitTextByLines, transformFiles, transformJSFile, verifyIdenticObjectFormat, watch, writeContentDeclaration, writeJSFile };
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { join } from "node:path";
|
|
2
|
+
import fg from "fast-glob";
|
|
3
|
+
|
|
4
|
+
//#region src/utils/buildFilesList.ts
|
|
5
|
+
/**
|
|
6
|
+
* Normalizes a pattern value to an array
|
|
7
|
+
*/
|
|
8
|
+
const normalizeToArray = (value) => {
|
|
9
|
+
return Array.isArray(value) ? value : [value];
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* Builds a list of files matching the given patterns.
|
|
13
|
+
*
|
|
14
|
+
* This utility consolidates the file listing logic used across multiple compilers
|
|
15
|
+
* (Vue, Svelte, Vite) to avoid code duplication.
|
|
16
|
+
*
|
|
17
|
+
* @param options - Configuration options for building the file list
|
|
18
|
+
* @returns Array of absolute file paths matching the patterns
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* // Basic usage
|
|
22
|
+
* const files = buildFilesList({
|
|
23
|
+
* transformPattern: 'src/**\/*.{ts,tsx}',
|
|
24
|
+
* excludePattern: ['**\/node_modules;\/**'],
|
|
25
|
+
* baseDir: '/path/to/project',
|
|
26
|
+
* });
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* // With framework extension (Vue)
|
|
30
|
+
* const files = buildFilesList({
|
|
31
|
+
* transformPattern: 'src/**\/*.{ts,tsx}',
|
|
32
|
+
* excludePattern: ['**\/node_modules\/**'],
|
|
33
|
+
* baseDir: '/path/to/project',
|
|
34
|
+
* });
|
|
35
|
+
*/
|
|
36
|
+
const buildFilesList = (options) => {
|
|
37
|
+
const { transformPattern, excludePattern, baseDir } = options;
|
|
38
|
+
const patterns = normalizeToArray(transformPattern);
|
|
39
|
+
const excludePatterns = normalizeToArray(excludePattern);
|
|
40
|
+
return fg.sync(patterns, {
|
|
41
|
+
cwd: baseDir,
|
|
42
|
+
ignore: excludePatterns
|
|
43
|
+
}).map((file) => join(baseDir, file));
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
//#endregion
|
|
47
|
+
export { buildFilesList };
|
|
48
|
+
//# sourceMappingURL=buildFilesList.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buildFilesList.mjs","names":[],"sources":["../../../src/utils/buildFilesList.ts"],"sourcesContent":["import { join } from 'node:path';\nimport fg from 'fast-glob';\n\n/**\n * Options for building the files list\n */\nexport type BuildFilesListOptions = {\n /**\n * Glob patterns to match files\n */\n transformPattern: string | string[];\n /**\n * Glob patterns to exclude files\n */\n excludePattern: string | string[];\n /**\n * Base directory for file resolution\n */\n baseDir: string;\n};\n\n/**\n * Adds framework-specific patterns to the existing patterns.\n * If a pattern already includes the framework extension or has a brace expression,\n * it's kept as-is. Otherwise, the extension is added to any existing brace expression.\n *\n * @example\n * addFrameworkPatterns(['src/**\\/*.{ts,tsx}'], 'vue')\n * // Returns: ['src/**\\/*.{ts,tsx,vue}']\n *\n * @example\n * addFrameworkPatterns(['src/**\\/*.vue'], 'vue')\n * // Returns: ['src/**\\/*.vue'] (unchanged, already has .vue)\n */\nconst addFrameworkPatterns = (\n patterns: string[],\n frameworkExtension: string\n): string[] => {\n return patterns.map((pattern) => {\n // If already includes the framework extension, keep as-is\n if (pattern.includes(`.${frameworkExtension}`)) {\n return pattern;\n }\n // If has brace expression, add the extension to it\n if (pattern.includes('{')) {\n return pattern.replace(\n /\\{([^}]+)\\}/,\n (_, exts) => `{${exts},${frameworkExtension}}`\n );\n }\n // No modification needed for patterns without brace expressions\n return pattern;\n });\n};\n\n/**\n * Normalizes a pattern value to an array\n */\nconst normalizeToArray = <T>(value: T | T[]): T[] => {\n return Array.isArray(value) ? value : [value];\n};\n\n/**\n * Builds a list of files matching the given patterns.\n *\n * This utility consolidates the file listing logic used across multiple compilers\n * (Vue, Svelte, Vite) to avoid code duplication.\n *\n * @param options - Configuration options for building the file list\n * @returns Array of absolute file paths matching the patterns\n *\n * @example\n * // Basic usage\n * const files = buildFilesList({\n * transformPattern: 'src/**\\/*.{ts,tsx}',\n * excludePattern: ['**\\/node_modules;\\/**'],\n * baseDir: '/path/to/project',\n * });\n *\n * @example\n * // With framework extension (Vue)\n * const files = buildFilesList({\n * transformPattern: 'src/**\\/*.{ts,tsx}',\n * excludePattern: ['**\\/node_modules\\/**'],\n * baseDir: '/path/to/project',\n * });\n */\nexport const buildFilesList = (options: BuildFilesListOptions): string[] => {\n const { transformPattern, excludePattern, baseDir } = options;\n\n const patterns = normalizeToArray(transformPattern);\n const excludePatterns = normalizeToArray(excludePattern);\n\n const files = fg\n .sync(patterns, {\n cwd: baseDir,\n ignore: excludePatterns,\n })\n .map((file) => join(baseDir, file));\n\n return files;\n};\n"],"mappings":";;;;;;;AA0DA,MAAM,oBAAuB,UAAwB;AACnD,QAAO,MAAM,QAAQ,MAAM,GAAG,QAAQ,CAAC,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4B/C,MAAa,kBAAkB,YAA6C;CAC1E,MAAM,EAAE,kBAAkB,gBAAgB,YAAY;CAEtD,MAAM,WAAW,iBAAiB,iBAAiB;CACnD,MAAM,kBAAkB,iBAAiB,eAAe;AASxD,QAPc,GACX,KAAK,UAAU;EACd,KAAK;EACL,QAAQ;EACT,CAAC,CACD,KAAK,SAAS,KAAK,SAAS,KAAK,CAAC"}
|
|
@@ -9,7 +9,7 @@ const getFormatFromExtension = (extension) => {
|
|
|
9
9
|
case ".json":
|
|
10
10
|
case ".json5": return "json";
|
|
11
11
|
}
|
|
12
|
-
return "
|
|
12
|
+
return "ts";
|
|
13
13
|
};
|
|
14
14
|
const getExtensionFromFormat = (format) => {
|
|
15
15
|
switch (format) {
|
|
@@ -18,7 +18,7 @@ const getExtensionFromFormat = (format) => {
|
|
|
18
18
|
case "json": return ".json";
|
|
19
19
|
case "esm": return ".mjs";
|
|
20
20
|
}
|
|
21
|
-
return ".
|
|
21
|
+
return ".ts";
|
|
22
22
|
};
|
|
23
23
|
|
|
24
24
|
//#endregion
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getFormatFromExtension.mjs","names":[],"sources":["../../../src/utils/getFormatFromExtension.ts"],"sourcesContent":["export type Format = 'ts' | 'cjs' | 'esm' | 'json';\nexport type Extension =\n | '.ts'\n | '.tsx'\n | '.js'\n | '.jsx'\n | '.cjs'\n | '.cjsx'\n | '.mjs'\n | '.mjsx'\n | '.json'\n | '.json5';\n\nexport const getFormatFromExtension = (extension: Extension): Format => {\n switch (extension) {\n case '.ts':\n case '.tsx':\n return 'ts';\n case '.cjs':\n case '.cjsx':\n return 'cjs';\n case '.mjs':\n return 'esm';\n case '.json':\n case '.json5':\n return 'json';\n }\n\n return '
|
|
1
|
+
{"version":3,"file":"getFormatFromExtension.mjs","names":[],"sources":["../../../src/utils/getFormatFromExtension.ts"],"sourcesContent":["export type Format = 'ts' | 'cjs' | 'esm' | 'json';\nexport type Extension =\n | '.ts'\n | '.tsx'\n | '.js'\n | '.jsx'\n | '.cjs'\n | '.cjsx'\n | '.mjs'\n | '.mjsx'\n | '.json'\n | '.json5';\n\nexport const getFormatFromExtension = (extension: Extension): Format => {\n switch (extension) {\n case '.ts':\n case '.tsx':\n return 'ts';\n case '.cjs':\n case '.cjsx':\n return 'cjs';\n case '.mjs':\n return 'esm';\n case '.json':\n case '.json5':\n return 'json';\n }\n\n return 'ts';\n};\n\nexport const getExtensionFromFormat = (format: Format): Extension => {\n switch (format) {\n case 'ts':\n return '.ts';\n case 'cjs':\n return '.cjs';\n case 'json':\n return '.json';\n case 'esm':\n return '.mjs';\n }\n\n return '.ts';\n};\n"],"mappings":";AAaA,MAAa,0BAA0B,cAAiC;AACtE,SAAQ,WAAR;EACE,KAAK;EACL,KAAK,OACH,QAAO;EACT,KAAK;EACL,KAAK,QACH,QAAO;EACT,KAAK,OACH,QAAO;EACT,KAAK;EACL,KAAK,SACH,QAAO;;AAGX,QAAO;;AAGT,MAAa,0BAA0B,WAA8B;AACnE,SAAQ,QAAR;EACE,KAAK,KACH,QAAO;EACT,KAAK,MACH,QAAO;EACT,KAAK,OACH,QAAO;EACT,KAAK,MACH,QAAO;;AAGX,QAAO"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { UnmergedDictionaryOutput } from "./writeUnmergedDictionary.js";
|
|
2
2
|
import { MergedDictionaryOutput } from "./writeMergedDictionary.js";
|
|
3
3
|
import { LocalizedDictionaryOutput } from "./writeDynamicDictionary.js";
|
|
4
|
-
import * as
|
|
4
|
+
import * as _intlayer_types0 from "@intlayer/types";
|
|
5
5
|
import { Dictionary } from "@intlayer/types";
|
|
6
6
|
|
|
7
7
|
//#region src/buildIntlayerDictionary/buildIntlayerDictionary.d.ts
|
|
8
8
|
/**
|
|
9
9
|
* This function transpile the bundled code to to make dictionaries as JSON files
|
|
10
10
|
*/
|
|
11
|
-
declare const buildDictionary: (localDictionariesEntries: Dictionary[], configuration?:
|
|
11
|
+
declare const buildDictionary: (localDictionariesEntries: Dictionary[], configuration?: _intlayer_types0.IntlayerConfig, formats?: ("cjs" | "esm")[], importOtherDictionaries?: boolean) => Promise<{
|
|
12
12
|
unmergedDictionaries: UnmergedDictionaryOutput;
|
|
13
13
|
mergedDictionaries: MergedDictionaryOutput;
|
|
14
14
|
dynamicDictionaries: LocalizedDictionaryOutput;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MergedDictionaryOutput } from "./writeMergedDictionary.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _intlayer_types2 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?:
|
|
15
|
+
declare const generateDictionaryEntryPoint: (localizedDictionariesPathsRecord: LocalizedDictionaryResult, format?: "cjs" | "esm", configuration?: _intlayer_types2.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?:
|
|
32
|
+
declare const writeDynamicDictionary: (mergedDictionaries: MergedDictionaryOutput, configuration?: _intlayer_types2.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
|
|
2
|
+
import * as _intlayer_types0 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?:
|
|
8
|
+
declare const generateDictionaryEntryPoint: (localedDictionariesPathsRecord: LocalizedDictionaryResult, format?: "cjs" | "esm", configuration?: _intlayer_types0.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?:
|
|
25
|
+
declare const writeFetchDictionary: (dynamicDictionaries: LocalizedDictionaryOutput, configuration?: _intlayer_types0.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
|
|
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?:
|
|
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
|
|
1
|
+
import * as _intlayer_types4 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?:
|
|
26
|
+
declare const writeRemoteDictionary: (remoteDictionaries: Dictionary[], configuration?: _intlayer_types4.IntlayerConfig) => Promise<RemoteDictionaryOutput>;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { RemoteDictionaryOutput, RemoteDictionaryResult, writeRemoteDictionary };
|
|
29
29
|
//# sourceMappingURL=writeRemoteDictionary.d.ts.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
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?:
|
|
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
|
|
1
|
+
import * as _intlayer_types8 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?:
|
|
7
|
+
declare const generateDictionaryListContent: (dictionaries: string[], functionName: string, format?: "cjs" | "esm", configuration?: _intlayer_types8.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,
|
|
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"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -30,6 +30,7 @@ import { reduceDictionaryContent } from "./reduceDictionaryContent/reduceDiction
|
|
|
30
30
|
import { extractDictionaryKey } from "./transformFiles/extractDictionaryKey.js";
|
|
31
31
|
import { ATTRIBUTES_TO_EXTRACT, PackageName, extractIntlayer, generateKey, shouldExtract, transformFiles } from "./transformFiles/transformFiles.js";
|
|
32
32
|
import "./transformFiles/index.js";
|
|
33
|
+
import { BuildFilesListOptions, buildFilesList } from "./utils/buildFilesList.js";
|
|
33
34
|
import { JSONObject, JsonChunk, assembleJSON, chunkJSON, reconstructFromSingleChunk } from "./utils/chunkJSON.js";
|
|
34
35
|
import { formatLocale, formatPath } from "./utils/formatter.js";
|
|
35
36
|
import { getChunk } from "./utils/getChunk.js";
|
|
@@ -52,4 +53,4 @@ import { writeContentDeclaration } from "./writeContentDeclaration/writeContentD
|
|
|
52
53
|
import { writeJSFile } from "./writeContentDeclaration/writeJSFile.js";
|
|
53
54
|
import "./writeContentDeclaration/index.js";
|
|
54
55
|
import { detectFormatCommand } from "./writeContentDeclaration/detectFormatCommand.js";
|
|
55
|
-
export { ATTRIBUTES_TO_EXTRACT, 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, extractDictionaryKey, extractIntlayer, fetchDistantDictionaries, formatLocale, formatPath, generateDictionaryListContent, generateKey, getBuiltDictionariesPath, getBuiltDynamicDictionariesPath, getBuiltFetchDictionariesPath, getBuiltRemoteDictionariesPath, getBuiltUnmergedDictionariesPath, getChunk, getContentDeclarationFileTemplate, getExtensionFromFormat, getFileHash, getFormatFromExtension, getGlobalLimiter, getTaskLimiter, handleAdditionalContentDeclarationFile, handleContentDeclarationFileChange, handleUnlinkedContentDeclarationFile, isInvalidDictionary, listDictionaries, listDictionariesWithStats, listGitFiles, listGitLines, loadContentDeclarations, loadDictionaries, loadLocalDictionaries, loadRemoteDictionaries, pLimit, parallelize, parallelizeGlobal, prepareIntlayer, reconstructFromSingleChunk, reduceDictionaryContent, reduceObjectFormat, resolveObjectPromises, runOnce, runParallel, shouldExtract, sortAlphabetically, splitTextByLines, transformFiles, transformJSFile, verifyIdenticObjectFormat, watch, writeContentDeclaration, writeJSFile };
|
|
56
|
+
export { ATTRIBUTES_TO_EXTRACT, type BuildFilesListOptions, type DictionaryStatus, type DiffMode, type Extension, type Format, type JSONObject, type JsonChunk, type ListGitFilesOptions, type ListGitLinesOptions, type PackageName, type ParallelHandle, assembleJSON, buildAndWatchIntlayer, buildDictionary, buildFilesList, chunkJSON, cleanOutputDir, createDictionaryEntryPoint, createModuleAugmentation, createTypes, detectExportedComponentName, detectFormatCommand, extractDictionaryKey, extractIntlayer, fetchDistantDictionaries, formatLocale, formatPath, generateDictionaryListContent, generateKey, getBuiltDictionariesPath, getBuiltDynamicDictionariesPath, getBuiltFetchDictionariesPath, getBuiltRemoteDictionariesPath, getBuiltUnmergedDictionariesPath, getChunk, getContentDeclarationFileTemplate, getExtensionFromFormat, getFileHash, getFormatFromExtension, getGlobalLimiter, getTaskLimiter, handleAdditionalContentDeclarationFile, handleContentDeclarationFileChange, handleUnlinkedContentDeclarationFile, isInvalidDictionary, listDictionaries, listDictionariesWithStats, listGitFiles, listGitLines, loadContentDeclarations, loadDictionaries, loadLocalDictionaries, loadRemoteDictionaries, pLimit, parallelize, parallelizeGlobal, prepareIntlayer, reconstructFromSingleChunk, reduceDictionaryContent, reduceObjectFormat, resolveObjectPromises, runOnce, runParallel, shouldExtract, sortAlphabetically, splitTextByLines, transformFiles, transformJSFile, verifyIdenticObjectFormat, watch, writeContentDeclaration, writeJSFile };
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
//#region src/utils/buildFilesList.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Options for building the files list
|
|
4
|
+
*/
|
|
5
|
+
type BuildFilesListOptions = {
|
|
6
|
+
/**
|
|
7
|
+
* Glob patterns to match files
|
|
8
|
+
*/
|
|
9
|
+
transformPattern: string | string[];
|
|
10
|
+
/**
|
|
11
|
+
* Glob patterns to exclude files
|
|
12
|
+
*/
|
|
13
|
+
excludePattern: string | string[];
|
|
14
|
+
/**
|
|
15
|
+
* Base directory for file resolution
|
|
16
|
+
*/
|
|
17
|
+
baseDir: string;
|
|
18
|
+
};
|
|
19
|
+
/**
|
|
20
|
+
* Builds a list of files matching the given patterns.
|
|
21
|
+
*
|
|
22
|
+
* This utility consolidates the file listing logic used across multiple compilers
|
|
23
|
+
* (Vue, Svelte, Vite) to avoid code duplication.
|
|
24
|
+
*
|
|
25
|
+
* @param options - Configuration options for building the file list
|
|
26
|
+
* @returns Array of absolute file paths matching the patterns
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* // Basic usage
|
|
30
|
+
* const files = buildFilesList({
|
|
31
|
+
* transformPattern: 'src/**\/*.{ts,tsx}',
|
|
32
|
+
* excludePattern: ['**\/node_modules;\/**'],
|
|
33
|
+
* baseDir: '/path/to/project',
|
|
34
|
+
* });
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* // With framework extension (Vue)
|
|
38
|
+
* const files = buildFilesList({
|
|
39
|
+
* transformPattern: 'src/**\/*.{ts,tsx}',
|
|
40
|
+
* excludePattern: ['**\/node_modules\/**'],
|
|
41
|
+
* baseDir: '/path/to/project',
|
|
42
|
+
* });
|
|
43
|
+
*/
|
|
44
|
+
declare const buildFilesList: (options: BuildFilesListOptions) => string[];
|
|
45
|
+
//#endregion
|
|
46
|
+
export { BuildFilesListOptions, buildFilesList };
|
|
47
|
+
//# sourceMappingURL=buildFilesList.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"buildFilesList.d.ts","names":[],"sources":["../../../src/utils/buildFilesList.ts"],"sourcesContent":[],"mappings":";;AAMA;AAiFA;KAjFY,qBAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAiFC,0BAA2B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@intlayer/chokidar",
|
|
3
|
-
"version": "7.3.
|
|
3
|
+
"version": "7.3.9",
|
|
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": [
|
|
@@ -75,13 +75,13 @@
|
|
|
75
75
|
"typecheck": "tsc --noEmit --project tsconfig.types.json"
|
|
76
76
|
},
|
|
77
77
|
"dependencies": {
|
|
78
|
-
"@intlayer/api": "7.3.
|
|
79
|
-
"@intlayer/config": "7.3.
|
|
80
|
-
"@intlayer/core": "7.3.
|
|
81
|
-
"@intlayer/dictionaries-entry": "7.3.
|
|
82
|
-
"@intlayer/remote-dictionaries-entry": "7.3.
|
|
83
|
-
"@intlayer/types": "7.3.
|
|
84
|
-
"@intlayer/unmerged-dictionaries-entry": "7.3.
|
|
78
|
+
"@intlayer/api": "7.3.9",
|
|
79
|
+
"@intlayer/config": "7.3.9",
|
|
80
|
+
"@intlayer/core": "7.3.9",
|
|
81
|
+
"@intlayer/dictionaries-entry": "7.3.9",
|
|
82
|
+
"@intlayer/remote-dictionaries-entry": "7.3.9",
|
|
83
|
+
"@intlayer/types": "7.3.9",
|
|
84
|
+
"@intlayer/unmerged-dictionaries-entry": "7.3.9",
|
|
85
85
|
"chokidar": "3.6.0",
|
|
86
86
|
"crypto-js": "4.2.0",
|
|
87
87
|
"deepmerge": "4.3.1",
|
|
@@ -101,8 +101,8 @@
|
|
|
101
101
|
"vitest": "4.0.14"
|
|
102
102
|
},
|
|
103
103
|
"peerDependencies": {
|
|
104
|
-
"@intlayer/svelte-transformer": "7.3.
|
|
105
|
-
"@intlayer/vue-transformer": "7.3.
|
|
104
|
+
"@intlayer/svelte-transformer": "7.3.9",
|
|
105
|
+
"@intlayer/vue-transformer": "7.3.9"
|
|
106
106
|
},
|
|
107
107
|
"peerDependenciesMeta": {
|
|
108
108
|
"@intlayer/svelte-transformer": {
|