@intlayer/config 8.1.2 → 8.1.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.
- package/dist/cjs/_virtual/_rolldown/runtime.cjs +1 -43
- package/dist/cjs/built.cjs +1 -7
- package/dist/cjs/built.cjs.map +1 -1
- package/dist/cjs/client.cjs +1 -40
- package/dist/cjs/configFile/buildConfigurationFields.cjs +1 -188
- package/dist/cjs/configFile/buildConfigurationFields.cjs.map +1 -1
- package/dist/cjs/configFile/getConfiguration.cjs +1 -70
- package/dist/cjs/configFile/getConfiguration.cjs.map +1 -1
- package/dist/cjs/configFile/index.cjs +1 -10
- package/dist/cjs/configFile/loadConfigurationFile.cjs +1 -33
- package/dist/cjs/configFile/loadConfigurationFile.cjs.map +1 -1
- package/dist/cjs/configFile/searchConfigurationFile.cjs +1 -51
- package/dist/cjs/configFile/searchConfigurationFile.cjs.map +1 -1
- package/dist/cjs/defaultValues/build.cjs +1 -29
- package/dist/cjs/defaultValues/build.cjs.map +1 -1
- package/dist/cjs/defaultValues/compiler.cjs +1 -24
- package/dist/cjs/defaultValues/compiler.cjs.map +1 -1
- package/dist/cjs/defaultValues/content.cjs +1 -56
- package/dist/cjs/defaultValues/content.cjs.map +1 -1
- package/dist/cjs/defaultValues/dictionary.cjs +1 -26
- package/dist/cjs/defaultValues/dictionary.cjs.map +1 -1
- package/dist/cjs/defaultValues/editor.cjs +1 -41
- package/dist/cjs/defaultValues/editor.cjs.map +1 -1
- package/dist/cjs/defaultValues/index.cjs +1 -78
- package/dist/cjs/defaultValues/internationalization.cjs +1 -27
- package/dist/cjs/defaultValues/internationalization.cjs.map +1 -1
- package/dist/cjs/defaultValues/log.cjs +1 -21
- package/dist/cjs/defaultValues/log.cjs.map +1 -1
- package/dist/cjs/defaultValues/routing.cjs +1 -35
- package/dist/cjs/defaultValues/routing.cjs.map +1 -1
- package/dist/cjs/defaultValues/system.cjs +1 -47
- package/dist/cjs/defaultValues/system.cjs.map +1 -1
- package/dist/cjs/index.cjs +1 -81
- package/dist/cjs/loadEnvFile.cjs +1 -36
- package/dist/cjs/loadEnvFile.cjs.map +1 -1
- package/dist/cjs/loadExternalFile/bundleFile.cjs +1 -71
- package/dist/cjs/loadExternalFile/bundleFile.cjs.map +1 -1
- package/dist/cjs/loadExternalFile/bundleJSFile.cjs +2 -0
- package/dist/cjs/loadExternalFile/bundleJSFile.cjs.map +1 -0
- package/dist/cjs/loadExternalFile/index.cjs +1 -0
- package/dist/cjs/loadExternalFile/loadExternalFile.cjs +1 -79
- package/dist/cjs/loadExternalFile/loadExternalFile.cjs.map +1 -1
- package/dist/cjs/loadExternalFile/parseFileContent.cjs +1 -77
- package/dist/cjs/loadExternalFile/parseFileContent.cjs.map +1 -1
- package/dist/cjs/loadExternalFile/transpileTSToCJS.cjs +1 -63
- package/dist/cjs/loadExternalFile/transpileTSToCJS.cjs.map +1 -1
- package/dist/cjs/logger.cjs +1 -150
- package/dist/cjs/logger.cjs.map +1 -1
- package/dist/cjs/node.cjs +1 -0
- package/dist/cjs/utils/ESMxCJSHelpers.cjs +1 -27
- package/dist/cjs/utils/ESMxCJSHelpers.cjs.map +1 -1
- package/dist/cjs/utils/alias.cjs +2 -0
- package/dist/cjs/utils/alias.cjs.map +1 -0
- package/dist/cjs/utils/cacheDisk.cjs +1 -162
- package/dist/cjs/utils/cacheDisk.cjs.map +1 -1
- package/dist/cjs/utils/cacheMemory.cjs +1 -269
- package/dist/cjs/utils/cacheMemory.cjs.map +1 -1
- package/dist/cjs/utils/clearModuleCache.cjs +1 -26
- package/dist/cjs/utils/clearModuleCache.cjs.map +1 -1
- package/dist/cjs/utils/compareVersions.cjs +1 -38
- package/dist/cjs/utils/compareVersions.cjs.map +1 -1
- package/dist/cjs/utils/extractErrorMessage.cjs +1 -95
- package/dist/cjs/utils/extractErrorMessage.cjs.map +1 -1
- package/dist/cjs/utils/getExtension.cjs +1 -14
- package/dist/cjs/utils/getExtension.cjs.map +1 -1
- package/dist/cjs/utils/getPackageJsonPath.cjs +1 -35
- package/dist/cjs/utils/getPackageJsonPath.cjs.map +1 -1
- package/dist/cjs/utils/index.cjs +1 -0
- package/dist/cjs/utils/logStack.cjs +1 -16
- package/dist/cjs/utils/logStack.cjs.map +1 -1
- package/dist/cjs/utils/normalizePath.cjs +1 -17
- package/dist/cjs/utils/normalizePath.cjs.map +1 -1
- package/dist/cjs/utils/retryManager.cjs +2 -0
- package/dist/cjs/utils/retryManager.cjs.map +1 -0
- package/dist/cjs/utils/stringFormatter/camelCaseToKebabCase.cjs +1 -13
- package/dist/cjs/utils/stringFormatter/camelCaseToKebabCase.cjs.map +1 -1
- package/dist/cjs/utils/stringFormatter/camelCaseToSentence.cjs +1 -16
- package/dist/cjs/utils/stringFormatter/camelCaseToSentence.cjs.map +1 -1
- package/dist/cjs/utils/stringFormatter/index.cjs +1 -10
- package/dist/cjs/utils/stringFormatter/kebabCaseToCamelCase.cjs +1 -14
- package/dist/cjs/utils/stringFormatter/kebabCaseToCamelCase.cjs.map +1 -1
- package/dist/cjs/utils/stringFormatter/toLowerCamelCase.cjs +1 -19
- package/dist/cjs/utils/stringFormatter/toLowerCamelCase.cjs.map +1 -1
- package/dist/esm/_virtual/_rolldown/runtime.mjs +1 -22
- package/dist/esm/built.mjs +1 -7
- package/dist/esm/built.mjs.map +1 -1
- package/dist/esm/client.mjs +1 -11
- package/dist/esm/configFile/buildConfigurationFields.mjs +1 -186
- package/dist/esm/configFile/buildConfigurationFields.mjs.map +1 -1
- package/dist/esm/configFile/getConfiguration.mjs +1 -67
- package/dist/esm/configFile/getConfiguration.mjs.map +1 -1
- package/dist/esm/configFile/index.mjs +1 -5
- package/dist/esm/configFile/loadConfigurationFile.mjs +1 -32
- package/dist/esm/configFile/loadConfigurationFile.mjs.map +1 -1
- package/dist/esm/configFile/searchConfigurationFile.mjs +1 -48
- package/dist/esm/configFile/searchConfigurationFile.mjs.map +1 -1
- package/dist/esm/defaultValues/build.mjs +1 -18
- package/dist/esm/defaultValues/build.mjs.map +1 -1
- package/dist/esm/defaultValues/compiler.mjs +1 -19
- package/dist/esm/defaultValues/compiler.mjs.map +1 -1
- package/dist/esm/defaultValues/content.mjs +1 -43
- package/dist/esm/defaultValues/content.mjs.map +1 -1
- package/dist/esm/defaultValues/dictionary.mjs +1 -16
- package/dist/esm/defaultValues/dictionary.mjs.map +1 -1
- package/dist/esm/defaultValues/editor.mjs +1 -26
- package/dist/esm/defaultValues/editor.mjs.map +1 -1
- package/dist/esm/defaultValues/index.mjs +1 -24
- package/dist/esm/defaultValues/internationalization.mjs +1 -17
- package/dist/esm/defaultValues/internationalization.mjs.map +1 -1
- package/dist/esm/defaultValues/log.mjs +1 -13
- package/dist/esm/defaultValues/log.mjs.map +1 -1
- package/dist/esm/defaultValues/routing.mjs +1 -22
- package/dist/esm/defaultValues/routing.mjs.map +1 -1
- package/dist/esm/defaultValues/system.mjs +1 -30
- package/dist/esm/defaultValues/system.mjs.map +1 -1
- package/dist/esm/index.mjs +1 -28
- package/dist/esm/loadEnvFile.mjs +1 -32
- package/dist/esm/loadEnvFile.mjs.map +1 -1
- package/dist/esm/loadExternalFile/bundleFile.mjs +1 -67
- package/dist/esm/loadExternalFile/bundleFile.mjs.map +1 -1
- package/dist/esm/loadExternalFile/bundleJSFile.mjs +2 -0
- package/dist/esm/loadExternalFile/bundleJSFile.mjs.map +1 -0
- package/dist/esm/loadExternalFile/index.mjs +1 -0
- package/dist/esm/loadExternalFile/loadExternalFile.mjs +1 -75
- package/dist/esm/loadExternalFile/loadExternalFile.mjs.map +1 -1
- package/dist/esm/loadExternalFile/parseFileContent.mjs +1 -73
- package/dist/esm/loadExternalFile/parseFileContent.mjs.map +1 -1
- package/dist/esm/loadExternalFile/transpileTSToCJS.mjs +1 -60
- package/dist/esm/loadExternalFile/transpileTSToCJS.mjs.map +1 -1
- package/dist/esm/logger.mjs +1 -133
- package/dist/esm/logger.mjs.map +1 -1
- package/dist/esm/node.mjs +1 -0
- package/dist/esm/utils/ESMxCJSHelpers.mjs +1 -24
- package/dist/esm/utils/ESMxCJSHelpers.mjs.map +1 -1
- package/dist/esm/utils/alias.mjs +2 -0
- package/dist/esm/utils/alias.mjs.map +1 -0
- package/dist/esm/utils/cacheDisk.mjs +1 -159
- package/dist/esm/utils/cacheDisk.mjs.map +1 -1
- package/dist/esm/utils/cacheMemory.mjs +1 -261
- package/dist/esm/utils/cacheMemory.mjs.map +1 -1
- package/dist/esm/utils/clearModuleCache.mjs +1 -25
- package/dist/esm/utils/clearModuleCache.mjs.map +1 -1
- package/dist/esm/utils/compareVersions.mjs +1 -36
- package/dist/esm/utils/compareVersions.mjs.map +1 -1
- package/dist/esm/utils/extractErrorMessage.mjs +1 -93
- package/dist/esm/utils/extractErrorMessage.mjs.map +1 -1
- package/dist/esm/utils/getExtension.mjs +1 -12
- package/dist/esm/utils/getExtension.mjs.map +1 -1
- package/dist/esm/utils/getPackageJsonPath.mjs +1 -32
- package/dist/esm/utils/getPackageJsonPath.mjs.map +1 -1
- package/dist/esm/utils/index.mjs +1 -0
- package/dist/esm/utils/logStack.mjs +1 -15
- package/dist/esm/utils/logStack.mjs.map +1 -1
- package/dist/esm/utils/normalizePath.mjs +1 -15
- package/dist/esm/utils/normalizePath.mjs.map +1 -1
- package/dist/esm/utils/retryManager.mjs +2 -0
- package/dist/esm/utils/retryManager.mjs.map +1 -0
- package/dist/esm/utils/stringFormatter/camelCaseToKebabCase.mjs +1 -11
- package/dist/esm/utils/stringFormatter/camelCaseToKebabCase.mjs.map +1 -1
- package/dist/esm/utils/stringFormatter/camelCaseToSentence.mjs +1 -14
- package/dist/esm/utils/stringFormatter/camelCaseToSentence.mjs.map +1 -1
- package/dist/esm/utils/stringFormatter/index.mjs +1 -6
- package/dist/esm/utils/stringFormatter/kebabCaseToCamelCase.mjs +1 -12
- package/dist/esm/utils/stringFormatter/kebabCaseToCamelCase.mjs.map +1 -1
- package/dist/esm/utils/stringFormatter/toLowerCamelCase.mjs +1 -17
- package/dist/esm/utils/stringFormatter/toLowerCamelCase.mjs.map +1 -1
- package/dist/types/index.d.ts +15 -9
- package/dist/types/{bundleJSFile.d.ts → loadExternalFile/bundleJSFile.d.ts} +1 -1
- package/dist/types/loadExternalFile/bundleJSFile.d.ts.map +1 -0
- package/dist/types/loadExternalFile/index.d.ts +6 -0
- package/dist/types/loadExternalFile/loadExternalFile.d.ts +2 -3
- package/dist/types/loadExternalFile/loadExternalFile.d.ts.map +1 -1
- package/dist/types/loadExternalFile/transpileTSToCJS.d.ts +2 -3
- package/dist/types/loadExternalFile/transpileTSToCJS.d.ts.map +1 -1
- package/dist/types/node.d.ts +5 -0
- package/dist/types/{alias.d.ts → utils/alias.d.ts} +1 -1
- package/dist/types/utils/alias.d.ts.map +1 -0
- package/dist/types/utils/getPackageJsonPath.d.ts +1 -2
- package/dist/types/utils/getPackageJsonPath.d.ts.map +1 -1
- package/dist/types/utils/index.d.ts +17 -0
- package/dist/types/{retryManager.d.ts → utils/retryManager.d.ts} +1 -1
- package/dist/types/utils/retryManager.d.ts.map +1 -0
- package/package.json +42 -10
- package/dist/cjs/alias.cjs +0 -30
- package/dist/cjs/alias.cjs.map +0 -1
- package/dist/cjs/bundleJSFile.cjs +0 -34
- package/dist/cjs/bundleJSFile.cjs.map +0 -1
- package/dist/cjs/retryManager.cjs +0 -46
- package/dist/cjs/retryManager.cjs.map +0 -1
- package/dist/esm/alias.mjs +0 -28
- package/dist/esm/alias.mjs.map +0 -1
- package/dist/esm/bundleJSFile.mjs +0 -32
- package/dist/esm/bundleJSFile.mjs.map +0 -1
- package/dist/esm/retryManager.mjs +0 -45
- package/dist/esm/retryManager.mjs.map +0 -1
- package/dist/types/alias.d.ts.map +0 -1
- package/dist/types/bundleJSFile.d.ts.map +0 -1
- package/dist/types/retryManager.d.ts.map +0 -1
|
@@ -1,34 +1,2 @@
|
|
|
1
|
-
Object.defineProperty(exports,
|
|
2
|
-
const require_utils_ESMxCJSHelpers = require('../utils/ESMxCJSHelpers.cjs');
|
|
3
|
-
const require_loadExternalFile_loadExternalFile = require('../loadExternalFile/loadExternalFile.cjs');
|
|
4
|
-
|
|
5
|
-
//#region src/configFile/loadConfigurationFile.ts
|
|
6
|
-
const filterValidConfiguration = (configuration) => {
|
|
7
|
-
return configuration;
|
|
8
|
-
};
|
|
9
|
-
const getAliases = (options) => {
|
|
10
|
-
try {
|
|
11
|
-
return {
|
|
12
|
-
...options?.aliases,
|
|
13
|
-
intlayer: require_utils_ESMxCJSHelpers.configESMxCJSRequire.resolve("@intlayer/types")
|
|
14
|
-
};
|
|
15
|
-
} catch {
|
|
16
|
-
return options?.aliases;
|
|
17
|
-
}
|
|
18
|
-
};
|
|
19
|
-
/**
|
|
20
|
-
* Load the configuration file from the given path
|
|
21
|
-
* Example of configuration file: intlayer.config.js
|
|
22
|
-
*
|
|
23
|
-
* Accepts JSON, JS, MJS and TS files as configuration
|
|
24
|
-
*/
|
|
25
|
-
const loadConfigurationFile = (configFilePath, options) => {
|
|
26
|
-
return filterValidConfiguration(require_loadExternalFile_loadExternalFile.loadExternalFileSync(configFilePath, {
|
|
27
|
-
...options,
|
|
28
|
-
aliases: getAliases(options)
|
|
29
|
-
}));
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
//#endregion
|
|
33
|
-
exports.loadConfigurationFile = loadConfigurationFile;
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`../utils/ESMxCJSHelpers.cjs`),t=require(`../loadExternalFile/loadExternalFile.cjs`),n=e=>e,r=t=>{try{return{...t?.aliases,intlayer:e.configESMxCJSRequire.resolve(`@intlayer/types`)}}catch{return t?.aliases}},i=(e,i)=>n(t.loadExternalFileSync(e,{...i,aliases:r(i)}));exports.loadConfigurationFile=i;
|
|
34
2
|
//# sourceMappingURL=loadConfigurationFile.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"loadConfigurationFile.cjs","names":["configESMxCJSRequire","loadExternalFileSync"],"sources":["../../../src/configFile/loadConfigurationFile.ts"],"sourcesContent":["import type { CustomIntlayerConfig } from '@intlayer/types';\nimport {\n type LoadExternalFileOptions,\n loadExternalFileSync,\n} from '../loadExternalFile/loadExternalFile';\nimport { configESMxCJSRequire } from '../utils/ESMxCJSHelpers';\n\nconst filterValidConfiguration = (\n configuration: CustomIntlayerConfig\n): CustomIntlayerConfig => {\n // @TODO Implement filtering of valid configuration\n return configuration;\n};\n\nconst getAliases = (\n options?: Omit<LoadExternalFileOptions, 'configuration'>\n) => {\n // Can fail if CJS hot removed from the module (e.g. in Tanstack Start + Nitro)\n try {\n return {\n ...options?.aliases,\n // Replace intlayer with @intlayer/types to avoid circular dependency intlayer -> @intlayer/config -> intlayer\n intlayer: configESMxCJSRequire.resolve('@intlayer/types'),\n };\n } catch {\n return options?.aliases;\n }\n};\n\n/**\n * Load the configuration file from the given path\n * Example of configuration file: intlayer.config.js\n *\n * Accepts JSON, JS, MJS and TS files as configuration\n */\nexport const loadConfigurationFile = (\n configFilePath: string,\n options?: Omit<LoadExternalFileOptions, 'configuration'>\n): CustomIntlayerConfig | undefined => {\n const fileContent = loadExternalFileSync(configFilePath, {\n ...options,\n aliases: getAliases(options),\n });\n\n return filterValidConfiguration(fileContent);\n};\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"loadConfigurationFile.cjs","names":["configESMxCJSRequire","loadExternalFileSync"],"sources":["../../../src/configFile/loadConfigurationFile.ts"],"sourcesContent":["import type { CustomIntlayerConfig } from '@intlayer/types';\nimport {\n type LoadExternalFileOptions,\n loadExternalFileSync,\n} from '../loadExternalFile/loadExternalFile';\nimport { configESMxCJSRequire } from '../utils/ESMxCJSHelpers';\n\nconst filterValidConfiguration = (\n configuration: CustomIntlayerConfig\n): CustomIntlayerConfig => {\n // @TODO Implement filtering of valid configuration\n return configuration;\n};\n\nconst getAliases = (\n options?: Omit<LoadExternalFileOptions, 'configuration'>\n) => {\n // Can fail if CJS hot removed from the module (e.g. in Tanstack Start + Nitro)\n try {\n return {\n ...options?.aliases,\n // Replace intlayer with @intlayer/types to avoid circular dependency intlayer -> @intlayer/config -> intlayer\n intlayer: configESMxCJSRequire.resolve('@intlayer/types'),\n };\n } catch {\n return options?.aliases;\n }\n};\n\n/**\n * Load the configuration file from the given path\n * Example of configuration file: intlayer.config.js\n *\n * Accepts JSON, JS, MJS and TS files as configuration\n */\nexport const loadConfigurationFile = (\n configFilePath: string,\n options?: Omit<LoadExternalFileOptions, 'configuration'>\n): CustomIntlayerConfig | undefined => {\n const fileContent = loadExternalFileSync(configFilePath, {\n ...options,\n aliases: getAliases(options),\n });\n\n return filterValidConfiguration(fileContent);\n};\n"],"mappings":"wKAOM,EACJ,GAGO,EAGH,EACJ,GACG,CAEH,GAAI,CACF,MAAO,CACL,GAAG,GAAS,QAEZ,SAAUA,EAAAA,qBAAqB,QAAQ,kBAAkB,CAC1D,MACK,CACN,OAAO,GAAS,UAUP,GACX,EACA,IAOO,EALaC,EAAAA,qBAAqB,EAAgB,CACvD,GAAG,EACH,QAAS,EAAW,EAAQ,CAC7B,CAAC,CAE0C"}
|
|
@@ -1,52 +1,2 @@
|
|
|
1
|
-
Object.defineProperty(exports,
|
|
2
|
-
const require_runtime = require('../_virtual/_rolldown/runtime.cjs');
|
|
3
|
-
const require_logger = require('../logger.cjs');
|
|
4
|
-
const require_utils_getPackageJsonPath = require('../utils/getPackageJsonPath.cjs');
|
|
5
|
-
let node_path = require("node:path");
|
|
6
|
-
let node_fs = require("node:fs");
|
|
7
|
-
|
|
8
|
-
//#region src/configFile/searchConfigurationFile.ts
|
|
9
|
-
const configurationFilesCandidates = [
|
|
10
|
-
"intlayer.config.ts",
|
|
11
|
-
"intlayer.config.js",
|
|
12
|
-
"intlayer.config.json",
|
|
13
|
-
"intlayer.config.json5",
|
|
14
|
-
"intlayer.config.jsonc",
|
|
15
|
-
"intlayer.config.cjs",
|
|
16
|
-
"intlayer.config.mjs",
|
|
17
|
-
".intlayerrc"
|
|
18
|
-
];
|
|
19
|
-
/**
|
|
20
|
-
* Search for the configuration file in the given path
|
|
21
|
-
*
|
|
22
|
-
* List of detected configuration files:
|
|
23
|
-
* - intlayer.config.ts
|
|
24
|
-
* - intlayer.config.js
|
|
25
|
-
* - intlayer.config.json
|
|
26
|
-
* - intlayer.config.cjs
|
|
27
|
-
* - intlayer.config.mjs
|
|
28
|
-
* - .intlayerrc
|
|
29
|
-
*/
|
|
30
|
-
const searchConfigurationFile = (startDir) => {
|
|
31
|
-
let configurationFilePath;
|
|
32
|
-
let numCustomConfiguration = 0;
|
|
33
|
-
const { baseDir } = require_utils_getPackageJsonPath.getPackageJsonPath(startDir);
|
|
34
|
-
for (const fileName of configurationFilesCandidates) try {
|
|
35
|
-
const filePath = (0, node_path.resolve)(baseDir, fileName);
|
|
36
|
-
if (!(0, node_fs.existsSync)(filePath)) {} else {
|
|
37
|
-
numCustomConfiguration += 1;
|
|
38
|
-
if (!configurationFilePath) configurationFilePath = filePath;
|
|
39
|
-
}
|
|
40
|
-
} catch (error) {
|
|
41
|
-
require_logger.logger(`${fileName}: ${error}`, { level: "error" });
|
|
42
|
-
}
|
|
43
|
-
return {
|
|
44
|
-
configurationFilePath,
|
|
45
|
-
numCustomConfiguration
|
|
46
|
-
};
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
-
//#endregion
|
|
50
|
-
exports.configurationFilesCandidates = configurationFilesCandidates;
|
|
51
|
-
exports.searchConfigurationFile = searchConfigurationFile;
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`}),require(`../_virtual/_rolldown/runtime.cjs`);const e=require(`../logger.cjs`),t=require(`../utils/getPackageJsonPath.cjs`);let n=require(`node:path`),r=require(`node:fs`);const i=[`intlayer.config.ts`,`intlayer.config.js`,`intlayer.config.json`,`intlayer.config.json5`,`intlayer.config.jsonc`,`intlayer.config.cjs`,`intlayer.config.mjs`,`.intlayerrc`],a=a=>{let o,s=0,{baseDir:c}=t.getPackageJsonPath(a);for(let t of i)try{let e=(0,n.resolve)(c,t);(0,r.existsSync)(e)&&(s+=1,o||=e)}catch(n){e.logger(`${t}: ${n}`,{level:`error`})}return{configurationFilePath:o,numCustomConfiguration:s}};exports.configurationFilesCandidates=i,exports.searchConfigurationFile=a;
|
|
52
2
|
//# sourceMappingURL=searchConfigurationFile.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"searchConfigurationFile.cjs","names":["getPackageJsonPath"],"sources":["../../../src/configFile/searchConfigurationFile.ts"],"sourcesContent":["import { existsSync } from 'node:fs';\nimport { resolve } from 'node:path';\nimport { logger } from '../logger';\nimport { getPackageJsonPath } from '../utils/getPackageJsonPath';\n\nexport const configurationFilesCandidates = [\n 'intlayer.config.ts',\n 'intlayer.config.js',\n 'intlayer.config.json',\n 'intlayer.config.json5',\n 'intlayer.config.jsonc',\n 'intlayer.config.cjs',\n 'intlayer.config.mjs',\n '.intlayerrc',\n] as const;\n\ntype SearchConfigurationFileResult = {\n configurationFilePath?: string;\n numCustomConfiguration: number;\n};\n\n/**\n * Search for the configuration file in the given path\n *\n * List of detected configuration files:\n * - intlayer.config.ts\n * - intlayer.config.js\n * - intlayer.config.json\n * - intlayer.config.cjs\n * - intlayer.config.mjs\n * - .intlayerrc\n */\nexport const searchConfigurationFile = (\n startDir: string\n): SearchConfigurationFileResult => {\n let configurationFilePath: string | undefined;\n let numCustomConfiguration = 0;\n\n const { baseDir } = getPackageJsonPath(startDir);\n\n for (const fileName of configurationFilesCandidates) {\n try {\n const filePath = resolve(baseDir, fileName);\n\n // Check if the file exists\n if (!existsSync(filePath)) {\n } else {\n numCustomConfiguration += 1;\n\n if (!configurationFilePath) {\n configurationFilePath = filePath;\n }\n }\n } catch (error) {\n // Return \"Cannot use import statement outside a module\"\n logger(`${fileName}: ${error as string}`, { level: 'error' });\n }\n }\n\n return { configurationFilePath, numCustomConfiguration };\n};\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"searchConfigurationFile.cjs","names":["getPackageJsonPath"],"sources":["../../../src/configFile/searchConfigurationFile.ts"],"sourcesContent":["import { existsSync } from 'node:fs';\nimport { resolve } from 'node:path';\nimport { logger } from '../logger';\nimport { getPackageJsonPath } from '../utils/getPackageJsonPath';\n\nexport const configurationFilesCandidates = [\n 'intlayer.config.ts',\n 'intlayer.config.js',\n 'intlayer.config.json',\n 'intlayer.config.json5',\n 'intlayer.config.jsonc',\n 'intlayer.config.cjs',\n 'intlayer.config.mjs',\n '.intlayerrc',\n] as const;\n\ntype SearchConfigurationFileResult = {\n configurationFilePath?: string;\n numCustomConfiguration: number;\n};\n\n/**\n * Search for the configuration file in the given path\n *\n * List of detected configuration files:\n * - intlayer.config.ts\n * - intlayer.config.js\n * - intlayer.config.json\n * - intlayer.config.cjs\n * - intlayer.config.mjs\n * - .intlayerrc\n */\nexport const searchConfigurationFile = (\n startDir: string\n): SearchConfigurationFileResult => {\n let configurationFilePath: string | undefined;\n let numCustomConfiguration = 0;\n\n const { baseDir } = getPackageJsonPath(startDir);\n\n for (const fileName of configurationFilesCandidates) {\n try {\n const filePath = resolve(baseDir, fileName);\n\n // Check if the file exists\n if (!existsSync(filePath)) {\n } else {\n numCustomConfiguration += 1;\n\n if (!configurationFilePath) {\n configurationFilePath = filePath;\n }\n }\n } catch (error) {\n // Return \"Cannot use import statement outside a module\"\n logger(`${fileName}: ${error as string}`, { level: 'error' });\n }\n }\n\n return { configurationFilePath, numCustomConfiguration };\n};\n"],"mappings":"8OAKA,MAAa,EAA+B,CAC1C,qBACA,qBACA,uBACA,wBACA,wBACA,sBACA,sBACA,cACD,CAkBY,EACX,GACkC,CAClC,IAAI,EACA,EAAyB,EAEvB,CAAE,WAAYA,EAAAA,mBAAmB,EAAS,CAEhD,IAAK,IAAM,KAAY,EACrB,GAAI,CACF,IAAM,GAAA,EAAA,EAAA,SAAmB,EAAS,EAAS,EAGvC,EAAA,EAAA,YAAY,EAAS,GAEvB,GAA0B,EAE1B,AACE,IAAwB,SAGrB,EAAO,CAEd,EAAA,OAAO,GAAG,EAAS,IAAI,IAAmB,CAAE,MAAO,QAAS,CAAC,CAIjE,MAAO,CAAE,wBAAuB,yBAAwB"}
|
|
@@ -1,30 +1,2 @@
|
|
|
1
|
-
Object.defineProperty(exports,
|
|
2
|
-
const require_runtime = require('../_virtual/_rolldown/runtime.cjs');
|
|
3
|
-
|
|
4
|
-
//#region src/defaultValues/build.ts
|
|
5
|
-
var build_exports = /* @__PURE__ */ require_runtime.__exportAll({
|
|
6
|
-
BUILD_MODE: () => BUILD_MODE,
|
|
7
|
-
CACHE: () => CACHE,
|
|
8
|
-
OPTIMIZE: () => OPTIMIZE,
|
|
9
|
-
OUTPUT_FORMAT: () => OUTPUT_FORMAT,
|
|
10
|
-
TRAVERSE_PATTERN: () => TRAVERSE_PATTERN
|
|
11
|
-
});
|
|
12
|
-
const BUILD_MODE = "auto";
|
|
13
|
-
const OPTIMIZE = void 0;
|
|
14
|
-
const TRAVERSE_PATTERN = ["**/*.{tsx,ts,js,mjs,cjs,jsx,vue,svelte,svte}", "!**/node_modules/**"];
|
|
15
|
-
const OUTPUT_FORMAT = ["esm", "cjs"];
|
|
16
|
-
const CACHE = true;
|
|
17
|
-
|
|
18
|
-
//#endregion
|
|
19
|
-
exports.BUILD_MODE = BUILD_MODE;
|
|
20
|
-
exports.CACHE = CACHE;
|
|
21
|
-
exports.OPTIMIZE = OPTIMIZE;
|
|
22
|
-
exports.OUTPUT_FORMAT = OUTPUT_FORMAT;
|
|
23
|
-
exports.TRAVERSE_PATTERN = TRAVERSE_PATTERN;
|
|
24
|
-
Object.defineProperty(exports, 'build_exports', {
|
|
25
|
-
enumerable: true,
|
|
26
|
-
get: function () {
|
|
27
|
-
return build_exports;
|
|
28
|
-
}
|
|
29
|
-
});
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=require(`../_virtual/_rolldown/runtime.cjs`).__exportAll({BUILD_MODE:()=>t,CACHE:()=>a,OPTIMIZE:()=>n,OUTPUT_FORMAT:()=>i,TRAVERSE_PATTERN:()=>r});const t=`auto`,n=void 0,r=[`**/*.{tsx,ts,js,mjs,cjs,jsx,vue,svelte,svte}`,`!**/node_modules/**`],i=[`esm`,`cjs`],a=!0;exports.BUILD_MODE=t,exports.CACHE=!0,exports.OPTIMIZE=void 0,exports.OUTPUT_FORMAT=i,exports.TRAVERSE_PATTERN=r,Object.defineProperty(exports,`build_exports`,{enumerable:!0,get:function(){return e}});
|
|
30
2
|
//# sourceMappingURL=build.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"build.cjs","names":[],"sources":["../../../src/defaultValues/build.ts"],"sourcesContent":["export const BUILD_MODE = 'auto';\n\nexport const OPTIMIZE = undefined;\n\nexport const TRAVERSE_PATTERN = [\n '**/*.{tsx,ts,js,mjs,cjs,jsx,vue,svelte,svte}',\n '!**/node_modules/**',\n];\n\nexport const OUTPUT_FORMAT: ('cjs' | 'esm')[] = ['esm', 'cjs'];\n\nexport const CACHE = true;\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"build.cjs","names":[],"sources":["../../../src/defaultValues/build.ts"],"sourcesContent":["export const BUILD_MODE = 'auto';\n\nexport const OPTIMIZE = undefined;\n\nexport const TRAVERSE_PATTERN = [\n '**/*.{tsx,ts,js,mjs,cjs,jsx,vue,svelte,svte}',\n '!**/node_modules/**',\n];\n\nexport const OUTPUT_FORMAT: ('cjs' | 'esm')[] = ['esm', 'cjs'];\n\nexport const CACHE = true;\n"],"mappings":"4NAAA,MAAa,EAAa,OAEb,EAAW,IAAA,GAEX,EAAmB,CAC9B,+CACA,sBACD,CAEY,EAAmC,CAAC,MAAO,MAAM,CAEjD,EAAQ"}
|
|
@@ -1,25 +1,2 @@
|
|
|
1
|
-
Object.defineProperty(exports,
|
|
2
|
-
|
|
3
|
-
//#region src/defaultValues/compiler.ts
|
|
4
|
-
const COMPILER_ENABLED = true;
|
|
5
|
-
const COMPILER_TRANSFORM_PATTERN = ["**/*.{ts,tsx,jsx,js,cjs,mjs,svelte,vue}"];
|
|
6
|
-
const COMPILER_EXCLUDE_PATTERN = [
|
|
7
|
-
"**/node_modules/**",
|
|
8
|
-
"**/dist/**",
|
|
9
|
-
"**/.next/**",
|
|
10
|
-
"**/.nuxt/**",
|
|
11
|
-
"**/.expo/**",
|
|
12
|
-
"**/.vercel/**",
|
|
13
|
-
"**/.turbo/**",
|
|
14
|
-
"**/.tanstack/**",
|
|
15
|
-
"**/*.stories.ts",
|
|
16
|
-
"**/*.test.ts"
|
|
17
|
-
];
|
|
18
|
-
const COMPILER_OUTPUT_DIR = "./compiler";
|
|
19
|
-
|
|
20
|
-
//#endregion
|
|
21
|
-
exports.COMPILER_ENABLED = COMPILER_ENABLED;
|
|
22
|
-
exports.COMPILER_EXCLUDE_PATTERN = COMPILER_EXCLUDE_PATTERN;
|
|
23
|
-
exports.COMPILER_OUTPUT_DIR = COMPILER_OUTPUT_DIR;
|
|
24
|
-
exports.COMPILER_TRANSFORM_PATTERN = COMPILER_TRANSFORM_PATTERN;
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=[`**/*.{ts,tsx,jsx,js,cjs,mjs,svelte,vue}`],t=[`**/node_modules/**`,`**/dist/**`,`**/.next/**`,`**/.nuxt/**`,`**/.expo/**`,`**/.vercel/**`,`**/.turbo/**`,`**/.tanstack/**`,`**/*.stories.ts`,`**/*.test.ts`];exports.COMPILER_ENABLED=!0,exports.COMPILER_EXCLUDE_PATTERN=t,exports.COMPILER_OUTPUT_DIR=`./compiler`,exports.COMPILER_TRANSFORM_PATTERN=e;
|
|
25
2
|
//# sourceMappingURL=compiler.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compiler.cjs","names":[],"sources":["../../../src/defaultValues/compiler.ts"],"sourcesContent":["export const COMPILER_ENABLED = true;\nexport const COMPILER_TRANSFORM_PATTERN = [\n '**/*.{ts,tsx,jsx,js,cjs,mjs,svelte,vue}',\n];\nexport const COMPILER_EXCLUDE_PATTERN = [\n '**/node_modules/**',\n '**/dist/**',\n '**/.next/**',\n '**/.nuxt/**',\n '**/.expo/**',\n '**/.vercel/**',\n '**/.turbo/**',\n '**/.tanstack/**',\n '**/*.stories.ts',\n '**/*.test.ts',\n];\nexport const COMPILER_OUTPUT_DIR = './compiler';\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"compiler.cjs","names":[],"sources":["../../../src/defaultValues/compiler.ts"],"sourcesContent":["export const COMPILER_ENABLED = true;\nexport const COMPILER_TRANSFORM_PATTERN = [\n '**/*.{ts,tsx,jsx,js,cjs,mjs,svelte,vue}',\n];\nexport const COMPILER_EXCLUDE_PATTERN = [\n '**/node_modules/**',\n '**/dist/**',\n '**/.next/**',\n '**/.nuxt/**',\n '**/.expo/**',\n '**/.vercel/**',\n '**/.turbo/**',\n '**/.tanstack/**',\n '**/*.stories.ts',\n '**/*.test.ts',\n];\nexport const COMPILER_OUTPUT_DIR = './compiler';\n"],"mappings":"mEAAA,MACa,EAA6B,CACxC,0CACD,CACY,EAA2B,CACtC,qBACA,aACA,cACA,cACA,cACA,gBACA,eACA,kBACA,kBACA,eACD"}
|
|
@@ -1,57 +1,2 @@
|
|
|
1
|
-
Object.defineProperty(exports,
|
|
2
|
-
const require_runtime = require('../_virtual/_rolldown/runtime.cjs');
|
|
3
|
-
|
|
4
|
-
//#region src/defaultValues/content.ts
|
|
5
|
-
var content_exports = /* @__PURE__ */ require_runtime.__exportAll({
|
|
6
|
-
CODE_DIR: () => CODE_DIR,
|
|
7
|
-
CONTENT_DIR: () => CONTENT_DIR,
|
|
8
|
-
EXCLUDED_PATHS: () => EXCLUDED_PATHS,
|
|
9
|
-
FILE_EXTENSIONS: () => FILE_EXTENSIONS,
|
|
10
|
-
I18NEXT_DICTIONARIES_DIR: () => I18NEXT_DICTIONARIES_DIR,
|
|
11
|
-
REACT_INTL_MESSAGES_DIR: () => REACT_INTL_MESSAGES_DIR,
|
|
12
|
-
WATCH: () => WATCH
|
|
13
|
-
});
|
|
14
|
-
const FILE_EXTENSIONS = [
|
|
15
|
-
".content.ts",
|
|
16
|
-
".content.js",
|
|
17
|
-
".content.cjs",
|
|
18
|
-
".content.mjs",
|
|
19
|
-
".content.json",
|
|
20
|
-
".content.json5",
|
|
21
|
-
".content.jsonc",
|
|
22
|
-
".content.tsx",
|
|
23
|
-
".content.jsx"
|
|
24
|
-
];
|
|
25
|
-
const EXCLUDED_PATHS = [
|
|
26
|
-
"**/node_modules/**",
|
|
27
|
-
"**/dist/**",
|
|
28
|
-
"**/build/**",
|
|
29
|
-
"**/.intlayer/**",
|
|
30
|
-
"**/.next/**",
|
|
31
|
-
"**/.nuxt/**",
|
|
32
|
-
"**/.expo/**",
|
|
33
|
-
"**/.vercel/**",
|
|
34
|
-
"**/.turbo/**",
|
|
35
|
-
"**/.tanstack/**"
|
|
36
|
-
];
|
|
37
|
-
const CONTENT_DIR = ["."];
|
|
38
|
-
const CODE_DIR = ["."];
|
|
39
|
-
const I18NEXT_DICTIONARIES_DIR = "i18next_resources";
|
|
40
|
-
const REACT_INTL_MESSAGES_DIR = "intl_messages";
|
|
41
|
-
const WATCH = process.env.NODE_ENV === "development";
|
|
42
|
-
|
|
43
|
-
//#endregion
|
|
44
|
-
exports.CODE_DIR = CODE_DIR;
|
|
45
|
-
exports.CONTENT_DIR = CONTENT_DIR;
|
|
46
|
-
exports.EXCLUDED_PATHS = EXCLUDED_PATHS;
|
|
47
|
-
exports.FILE_EXTENSIONS = FILE_EXTENSIONS;
|
|
48
|
-
exports.I18NEXT_DICTIONARIES_DIR = I18NEXT_DICTIONARIES_DIR;
|
|
49
|
-
exports.REACT_INTL_MESSAGES_DIR = REACT_INTL_MESSAGES_DIR;
|
|
50
|
-
exports.WATCH = WATCH;
|
|
51
|
-
Object.defineProperty(exports, 'content_exports', {
|
|
52
|
-
enumerable: true,
|
|
53
|
-
get: function () {
|
|
54
|
-
return content_exports;
|
|
55
|
-
}
|
|
56
|
-
});
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=require(`../_virtual/_rolldown/runtime.cjs`).__exportAll({CODE_DIR:()=>i,CONTENT_DIR:()=>r,EXCLUDED_PATHS:()=>n,FILE_EXTENSIONS:()=>t,I18NEXT_DICTIONARIES_DIR:()=>a,REACT_INTL_MESSAGES_DIR:()=>o,WATCH:()=>s});const t=[`.content.ts`,`.content.js`,`.content.cjs`,`.content.mjs`,`.content.json`,`.content.json5`,`.content.jsonc`,`.content.tsx`,`.content.jsx`],n=[`**/node_modules/**`,`**/dist/**`,`**/build/**`,`**/.intlayer/**`,`**/.next/**`,`**/.nuxt/**`,`**/.expo/**`,`**/.vercel/**`,`**/.turbo/**`,`**/.tanstack/**`],r=[`.`],i=[`.`],a=`i18next_resources`,o=`intl_messages`,s=process.env.NODE_ENV===`development`;exports.CODE_DIR=i,exports.CONTENT_DIR=r,exports.EXCLUDED_PATHS=n,exports.FILE_EXTENSIONS=t,exports.I18NEXT_DICTIONARIES_DIR=a,exports.REACT_INTL_MESSAGES_DIR=o,exports.WATCH=s,Object.defineProperty(exports,`content_exports`,{enumerable:!0,get:function(){return e}});
|
|
57
2
|
//# sourceMappingURL=content.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"content.cjs","names":[],"sources":["../../../src/defaultValues/content.ts"],"sourcesContent":["export const FILE_EXTENSIONS = [\n '.content.ts',\n '.content.js',\n '.content.cjs',\n '.content.mjs',\n '.content.json',\n '.content.json5',\n '.content.jsonc',\n '.content.tsx',\n '.content.jsx',\n];\nexport const EXCLUDED_PATHS = [\n '**/node_modules/**',\n '**/dist/**',\n '**/build/**',\n '**/.intlayer/**',\n '**/.next/**',\n '**/.nuxt/**',\n '**/.expo/**',\n '**/.vercel/**',\n '**/.turbo/**',\n '**/.tanstack/**',\n];\n\nexport const CONTENT_DIR = ['.'];\n\nexport const CODE_DIR = ['.'];\n\nexport const I18NEXT_DICTIONARIES_DIR = 'i18next_resources';\n\nexport const REACT_INTL_MESSAGES_DIR = 'intl_messages';\n\nexport const WATCH = process.env.NODE_ENV === 'development';\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"content.cjs","names":[],"sources":["../../../src/defaultValues/content.ts"],"sourcesContent":["export const FILE_EXTENSIONS = [\n '.content.ts',\n '.content.js',\n '.content.cjs',\n '.content.mjs',\n '.content.json',\n '.content.json5',\n '.content.jsonc',\n '.content.tsx',\n '.content.jsx',\n];\nexport const EXCLUDED_PATHS = [\n '**/node_modules/**',\n '**/dist/**',\n '**/build/**',\n '**/.intlayer/**',\n '**/.next/**',\n '**/.nuxt/**',\n '**/.expo/**',\n '**/.vercel/**',\n '**/.turbo/**',\n '**/.tanstack/**',\n];\n\nexport const CONTENT_DIR = ['.'];\n\nexport const CODE_DIR = ['.'];\n\nexport const I18NEXT_DICTIONARIES_DIR = 'i18next_resources';\n\nexport const REACT_INTL_MESSAGES_DIR = 'intl_messages';\n\nexport const WATCH = process.env.NODE_ENV === 'development';\n"],"mappings":"0RAAA,MAAa,EAAkB,CAC7B,cACA,cACA,eACA,eACA,gBACA,iBACA,iBACA,eACA,eACD,CACY,EAAiB,CAC5B,qBACA,aACA,cACA,kBACA,cACA,cACA,cACA,gBACA,eACA,kBACD,CAEY,EAAc,CAAC,IAAI,CAEnB,EAAW,CAAC,IAAI,CAEhB,EAA2B,oBAE3B,EAA0B,gBAE1B,EAAQ,QAAQ,IAAI,WAAa"}
|
|
@@ -1,27 +1,2 @@
|
|
|
1
|
-
Object.defineProperty(exports,
|
|
2
|
-
const require_runtime = require('../_virtual/_rolldown/runtime.cjs');
|
|
3
|
-
|
|
4
|
-
//#region src/defaultValues/dictionary.ts
|
|
5
|
-
var dictionary_exports = /* @__PURE__ */ require_runtime.__exportAll({
|
|
6
|
-
CONTENT_AUTO_TRANSFORMATION: () => CONTENT_AUTO_TRANSFORMATION,
|
|
7
|
-
FILL: () => FILL,
|
|
8
|
-
IMPORT_MODE: () => IMPORT_MODE,
|
|
9
|
-
LOCATION: () => LOCATION
|
|
10
|
-
});
|
|
11
|
-
const FILL = true;
|
|
12
|
-
const LOCATION = "local";
|
|
13
|
-
const CONTENT_AUTO_TRANSFORMATION = false;
|
|
14
|
-
const IMPORT_MODE = "static";
|
|
15
|
-
|
|
16
|
-
//#endregion
|
|
17
|
-
exports.CONTENT_AUTO_TRANSFORMATION = CONTENT_AUTO_TRANSFORMATION;
|
|
18
|
-
exports.FILL = FILL;
|
|
19
|
-
exports.IMPORT_MODE = IMPORT_MODE;
|
|
20
|
-
exports.LOCATION = LOCATION;
|
|
21
|
-
Object.defineProperty(exports, 'dictionary_exports', {
|
|
22
|
-
enumerable: true,
|
|
23
|
-
get: function () {
|
|
24
|
-
return dictionary_exports;
|
|
25
|
-
}
|
|
26
|
-
});
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=require(`../_virtual/_rolldown/runtime.cjs`).__exportAll({CONTENT_AUTO_TRANSFORMATION:()=>r,FILL:()=>t,IMPORT_MODE:()=>i,LOCATION:()=>n});const t=!0,n=`local`,r=!1,i=`static`;exports.CONTENT_AUTO_TRANSFORMATION=!1,exports.FILL=!0,exports.IMPORT_MODE=i,exports.LOCATION=n,Object.defineProperty(exports,`dictionary_exports`,{enumerable:!0,get:function(){return e}});
|
|
27
2
|
//# sourceMappingURL=dictionary.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dictionary.cjs","names":[],"sources":["../../../src/defaultValues/dictionary.ts"],"sourcesContent":["import type { DictionaryLocation } from '@intlayer/types';\n\nexport const FILL = true;\nexport const LOCATION: DictionaryLocation = 'local';\nexport const CONTENT_AUTO_TRANSFORMATION = false;\nexport const IMPORT_MODE = 'static';\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"dictionary.cjs","names":[],"sources":["../../../src/defaultValues/dictionary.ts"],"sourcesContent":["import type { DictionaryLocation } from '@intlayer/types';\n\nexport const FILL = true;\nexport const LOCATION: DictionaryLocation = 'local';\nexport const CONTENT_AUTO_TRANSFORMATION = false;\nexport const IMPORT_MODE = 'static';\n"],"mappings":"mNAEA,MAAa,EAAO,GACP,EAA+B,QAC/B,EAA8B,GAC9B,EAAc"}
|
|
@@ -1,42 +1,2 @@
|
|
|
1
|
-
Object.defineProperty(exports,
|
|
2
|
-
const require_runtime = require('../_virtual/_rolldown/runtime.cjs');
|
|
3
|
-
|
|
4
|
-
//#region src/defaultValues/editor.ts
|
|
5
|
-
var editor_exports = /* @__PURE__ */ require_runtime.__exportAll({
|
|
6
|
-
APPLICATION_URL: () => APPLICATION_URL,
|
|
7
|
-
BACKEND_URL: () => BACKEND_URL,
|
|
8
|
-
CMS_URL: () => CMS_URL,
|
|
9
|
-
DICTIONARY_PRIORITY_STRATEGY: () => DICTIONARY_PRIORITY_STRATEGY,
|
|
10
|
-
EDITOR_URL: () => EDITOR_URL,
|
|
11
|
-
IS_ENABLED: () => IS_ENABLED,
|
|
12
|
-
LIVE_SYNC: () => LIVE_SYNC,
|
|
13
|
-
LIVE_SYNC_PORT: () => LIVE_SYNC_PORT,
|
|
14
|
-
PORT: () => PORT
|
|
15
|
-
});
|
|
16
|
-
const APPLICATION_URL = "";
|
|
17
|
-
const EDITOR_URL = "http://localhost:8000";
|
|
18
|
-
const CMS_URL = "https://app.intlayer.org";
|
|
19
|
-
const BACKEND_URL = "https://back.intlayer.org";
|
|
20
|
-
const PORT = 8e3;
|
|
21
|
-
const IS_ENABLED = true;
|
|
22
|
-
const LIVE_SYNC = true;
|
|
23
|
-
const DICTIONARY_PRIORITY_STRATEGY = "local_first";
|
|
24
|
-
const LIVE_SYNC_PORT = 4e3;
|
|
25
|
-
|
|
26
|
-
//#endregion
|
|
27
|
-
exports.APPLICATION_URL = APPLICATION_URL;
|
|
28
|
-
exports.BACKEND_URL = BACKEND_URL;
|
|
29
|
-
exports.CMS_URL = CMS_URL;
|
|
30
|
-
exports.DICTIONARY_PRIORITY_STRATEGY = DICTIONARY_PRIORITY_STRATEGY;
|
|
31
|
-
exports.EDITOR_URL = EDITOR_URL;
|
|
32
|
-
exports.IS_ENABLED = IS_ENABLED;
|
|
33
|
-
exports.LIVE_SYNC = LIVE_SYNC;
|
|
34
|
-
exports.LIVE_SYNC_PORT = LIVE_SYNC_PORT;
|
|
35
|
-
exports.PORT = PORT;
|
|
36
|
-
Object.defineProperty(exports, 'editor_exports', {
|
|
37
|
-
enumerable: true,
|
|
38
|
-
get: function () {
|
|
39
|
-
return editor_exports;
|
|
40
|
-
}
|
|
41
|
-
});
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=require(`../_virtual/_rolldown/runtime.cjs`).__exportAll({APPLICATION_URL:()=>t,BACKEND_URL:()=>i,CMS_URL:()=>r,DICTIONARY_PRIORITY_STRATEGY:()=>c,EDITOR_URL:()=>n,IS_ENABLED:()=>o,LIVE_SYNC:()=>s,LIVE_SYNC_PORT:()=>l,PORT:()=>a});const t=``,n=`http://localhost:8000`,r=`https://app.intlayer.org`,i=`https://back.intlayer.org`,a=8e3,o=!0,s=!0,c=`local_first`,l=4e3;exports.APPLICATION_URL=``,exports.BACKEND_URL=i,exports.CMS_URL=r,exports.DICTIONARY_PRIORITY_STRATEGY=c,exports.EDITOR_URL=n,exports.IS_ENABLED=!0,exports.LIVE_SYNC=!0,exports.LIVE_SYNC_PORT=l,exports.PORT=a,Object.defineProperty(exports,`editor_exports`,{enumerable:!0,get:function(){return e}});
|
|
42
2
|
//# sourceMappingURL=editor.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor.cjs","names":[],"sources":["../../../src/defaultValues/editor.ts"],"sourcesContent":["export const APPLICATION_URL = '';\nexport const EDITOR_URL = 'http://localhost:8000';\nexport const CMS_URL = 'https://app.intlayer.org';\nexport const BACKEND_URL = 'https://back.intlayer.org';\nexport const PORT = 8000;\nexport const IS_ENABLED = true;\nexport const LIVE_SYNC = true;\nexport const DICTIONARY_PRIORITY_STRATEGY = 'local_first';\nexport const LIVE_SYNC_PORT = 4000;\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"editor.cjs","names":[],"sources":["../../../src/defaultValues/editor.ts"],"sourcesContent":["export const APPLICATION_URL = '';\nexport const EDITOR_URL = 'http://localhost:8000';\nexport const CMS_URL = 'https://app.intlayer.org';\nexport const BACKEND_URL = 'https://back.intlayer.org';\nexport const PORT = 8000;\nexport const IS_ENABLED = true;\nexport const LIVE_SYNC = true;\nexport const DICTIONARY_PRIORITY_STRATEGY = 'local_first';\nexport const LIVE_SYNC_PORT = 4000;\n"],"mappings":"gTAAA,MAAa,EAAkB,GAClB,EAAa,wBACb,EAAU,2BACV,EAAc,4BACd,EAAO,IACP,EAAa,GACb,EAAY,GACZ,EAA+B,cAC/B,EAAiB"}
|
|
@@ -1,79 +1,2 @@
|
|
|
1
|
-
Object.defineProperty(exports,
|
|
2
|
-
const require_runtime = require('../_virtual/_rolldown/runtime.cjs');
|
|
3
|
-
const require_defaultValues_build = require('./build.cjs');
|
|
4
|
-
const require_defaultValues_content = require('./content.cjs');
|
|
5
|
-
const require_defaultValues_dictionary = require('./dictionary.cjs');
|
|
6
|
-
const require_defaultValues_editor = require('./editor.cjs');
|
|
7
|
-
const require_defaultValues_internationalization = require('./internationalization.cjs');
|
|
8
|
-
const require_defaultValues_log = require('./log.cjs');
|
|
9
|
-
const require_defaultValues_routing = require('./routing.cjs');
|
|
10
|
-
const require_defaultValues_system = require('./system.cjs');
|
|
11
|
-
|
|
12
|
-
//#region src/defaultValues/index.ts
|
|
13
|
-
var defaultValues_exports = /* @__PURE__ */ require_runtime.__exportAll({
|
|
14
|
-
Build: () => require_defaultValues_build.build_exports,
|
|
15
|
-
Content: () => require_defaultValues_content.content_exports,
|
|
16
|
-
Dictionary: () => require_defaultValues_dictionary.dictionary_exports,
|
|
17
|
-
Editor: () => require_defaultValues_editor.editor_exports,
|
|
18
|
-
Internationalization: () => require_defaultValues_internationalization.internationalization_exports,
|
|
19
|
-
Log: () => require_defaultValues_log.log_exports,
|
|
20
|
-
Routing: () => require_defaultValues_routing.routing_exports,
|
|
21
|
-
System: () => require_defaultValues_system.system_exports
|
|
22
|
-
});
|
|
23
|
-
|
|
24
|
-
//#endregion
|
|
25
|
-
Object.defineProperty(exports, 'Build', {
|
|
26
|
-
enumerable: true,
|
|
27
|
-
get: function () {
|
|
28
|
-
return require_defaultValues_build.build_exports;
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
Object.defineProperty(exports, 'Content', {
|
|
32
|
-
enumerable: true,
|
|
33
|
-
get: function () {
|
|
34
|
-
return require_defaultValues_content.content_exports;
|
|
35
|
-
}
|
|
36
|
-
});
|
|
37
|
-
Object.defineProperty(exports, 'Dictionary', {
|
|
38
|
-
enumerable: true,
|
|
39
|
-
get: function () {
|
|
40
|
-
return require_defaultValues_dictionary.dictionary_exports;
|
|
41
|
-
}
|
|
42
|
-
});
|
|
43
|
-
Object.defineProperty(exports, 'Editor', {
|
|
44
|
-
enumerable: true,
|
|
45
|
-
get: function () {
|
|
46
|
-
return require_defaultValues_editor.editor_exports;
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
Object.defineProperty(exports, 'Internationalization', {
|
|
50
|
-
enumerable: true,
|
|
51
|
-
get: function () {
|
|
52
|
-
return require_defaultValues_internationalization.internationalization_exports;
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
Object.defineProperty(exports, 'Log', {
|
|
56
|
-
enumerable: true,
|
|
57
|
-
get: function () {
|
|
58
|
-
return require_defaultValues_log.log_exports;
|
|
59
|
-
}
|
|
60
|
-
});
|
|
61
|
-
Object.defineProperty(exports, 'Routing', {
|
|
62
|
-
enumerable: true,
|
|
63
|
-
get: function () {
|
|
64
|
-
return require_defaultValues_routing.routing_exports;
|
|
65
|
-
}
|
|
66
|
-
});
|
|
67
|
-
Object.defineProperty(exports, 'System', {
|
|
68
|
-
enumerable: true,
|
|
69
|
-
get: function () {
|
|
70
|
-
return require_defaultValues_system.system_exports;
|
|
71
|
-
}
|
|
72
|
-
});
|
|
73
|
-
Object.defineProperty(exports, 'defaultValues_exports', {
|
|
74
|
-
enumerable: true,
|
|
75
|
-
get: function () {
|
|
76
|
-
return defaultValues_exports;
|
|
77
|
-
}
|
|
78
|
-
});
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`../_virtual/_rolldown/runtime.cjs`),t=require(`./build.cjs`),n=require(`./content.cjs`),r=require(`./dictionary.cjs`),i=require(`./editor.cjs`),a=require(`./internationalization.cjs`),o=require(`./log.cjs`),s=require(`./routing.cjs`),c=require(`./system.cjs`);var l=e.__exportAll({Build:()=>t.build_exports,Content:()=>n.content_exports,Dictionary:()=>r.dictionary_exports,Editor:()=>i.editor_exports,Internationalization:()=>a.internationalization_exports,Log:()=>o.log_exports,Routing:()=>s.routing_exports,System:()=>c.system_exports});Object.defineProperty(exports,`Build`,{enumerable:!0,get:function(){return t.build_exports}}),Object.defineProperty(exports,`Content`,{enumerable:!0,get:function(){return n.content_exports}}),Object.defineProperty(exports,`Dictionary`,{enumerable:!0,get:function(){return r.dictionary_exports}}),Object.defineProperty(exports,`Editor`,{enumerable:!0,get:function(){return i.editor_exports}}),Object.defineProperty(exports,`Internationalization`,{enumerable:!0,get:function(){return a.internationalization_exports}}),Object.defineProperty(exports,`Log`,{enumerable:!0,get:function(){return o.log_exports}}),Object.defineProperty(exports,`Routing`,{enumerable:!0,get:function(){return s.routing_exports}}),Object.defineProperty(exports,`System`,{enumerable:!0,get:function(){return c.system_exports}}),Object.defineProperty(exports,`defaultValues_exports`,{enumerable:!0,get:function(){return l}});
|
|
79
2
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,28 +1,2 @@
|
|
|
1
|
-
Object.defineProperty(exports,
|
|
2
|
-
const require_runtime = require('../_virtual/_rolldown/runtime.cjs');
|
|
3
|
-
let _intlayer_types = require("@intlayer/types");
|
|
4
|
-
|
|
5
|
-
//#region src/defaultValues/internationalization.ts
|
|
6
|
-
var internationalization_exports = /* @__PURE__ */ require_runtime.__exportAll({
|
|
7
|
-
DEFAULT_LOCALE: () => DEFAULT_LOCALE,
|
|
8
|
-
LOCALES: () => LOCALES,
|
|
9
|
-
REQUIRED_LOCALES: () => REQUIRED_LOCALES,
|
|
10
|
-
STRICT_MODE: () => STRICT_MODE
|
|
11
|
-
});
|
|
12
|
-
const LOCALES = [_intlayer_types.Locales.ENGLISH];
|
|
13
|
-
const REQUIRED_LOCALES = [];
|
|
14
|
-
const DEFAULT_LOCALE = _intlayer_types.Locales.ENGLISH;
|
|
15
|
-
const STRICT_MODE = "inclusive";
|
|
16
|
-
|
|
17
|
-
//#endregion
|
|
18
|
-
exports.DEFAULT_LOCALE = DEFAULT_LOCALE;
|
|
19
|
-
exports.LOCALES = LOCALES;
|
|
20
|
-
exports.REQUIRED_LOCALES = REQUIRED_LOCALES;
|
|
21
|
-
exports.STRICT_MODE = STRICT_MODE;
|
|
22
|
-
Object.defineProperty(exports, 'internationalization_exports', {
|
|
23
|
-
enumerable: true,
|
|
24
|
-
get: function () {
|
|
25
|
-
return internationalization_exports;
|
|
26
|
-
}
|
|
27
|
-
});
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`../_virtual/_rolldown/runtime.cjs`);let t=require(`@intlayer/types`);var n=e.__exportAll({DEFAULT_LOCALE:()=>a,LOCALES:()=>r,REQUIRED_LOCALES:()=>i,STRICT_MODE:()=>o});const r=[t.Locales.ENGLISH],i=[],a=t.Locales.ENGLISH,o=`inclusive`;exports.DEFAULT_LOCALE=a,exports.LOCALES=r,exports.REQUIRED_LOCALES=i,exports.STRICT_MODE=o,Object.defineProperty(exports,`internationalization_exports`,{enumerable:!0,get:function(){return n}});
|
|
28
2
|
//# sourceMappingURL=internationalization.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"internationalization.cjs","names":["Locales"],"sources":["../../../src/defaultValues/internationalization.ts"],"sourcesContent":["import { type Locale, Locales, type StrictMode } from '@intlayer/types';\n\nexport const LOCALES: Locale[] = [Locales.ENGLISH];\n\nexport const REQUIRED_LOCALES: Locale[] = [];\n\nexport const DEFAULT_LOCALE: Locale = Locales.ENGLISH;\n\nexport const STRICT_MODE: StrictMode = 'inclusive';\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"internationalization.cjs","names":["Locales"],"sources":["../../../src/defaultValues/internationalization.ts"],"sourcesContent":["import { type Locale, Locales, type StrictMode } from '@intlayer/types';\n\nexport const LOCALES: Locale[] = [Locales.ENGLISH];\n\nexport const REQUIRED_LOCALES: Locale[] = [];\n\nexport const DEFAULT_LOCALE: Locale = Locales.ENGLISH;\n\nexport const STRICT_MODE: StrictMode = 'inclusive';\n"],"mappings":"4PAEA,MAAa,EAAoB,CAACA,EAAAA,QAAQ,QAAQ,CAErC,EAA6B,EAAE,CAE/B,EAAyBA,EAAAA,QAAQ,QAEjC,EAA0B"}
|
|
@@ -1,22 +1,2 @@
|
|
|
1
|
-
Object.defineProperty(exports,
|
|
2
|
-
const require_runtime = require('../_virtual/_rolldown/runtime.cjs');
|
|
3
|
-
const require_logger = require('../logger.cjs');
|
|
4
|
-
|
|
5
|
-
//#region src/defaultValues/log.ts
|
|
6
|
-
var log_exports = /* @__PURE__ */ require_runtime.__exportAll({
|
|
7
|
-
MODE: () => MODE,
|
|
8
|
-
PREFIX: () => PREFIX
|
|
9
|
-
});
|
|
10
|
-
const MODE = "default";
|
|
11
|
-
const PREFIX = `${require_logger.ANSIColors.GREY_DARK}[intlayer] ${require_logger.ANSIColors.RESET}`;
|
|
12
|
-
|
|
13
|
-
//#endregion
|
|
14
|
-
exports.MODE = MODE;
|
|
15
|
-
exports.PREFIX = PREFIX;
|
|
16
|
-
Object.defineProperty(exports, 'log_exports', {
|
|
17
|
-
enumerable: true,
|
|
18
|
-
get: function () {
|
|
19
|
-
return log_exports;
|
|
20
|
-
}
|
|
21
|
-
});
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});const e=require(`../_virtual/_rolldown/runtime.cjs`),t=require(`../logger.cjs`);var n=e.__exportAll({MODE:()=>r,PREFIX:()=>i});const r=`default`,i=`${t.ANSIColors.GREY_DARK}[intlayer] ${t.ANSIColors.RESET}`;exports.MODE=r,exports.PREFIX=i,Object.defineProperty(exports,`log_exports`,{enumerable:!0,get:function(){return n}});
|
|
22
2
|
//# sourceMappingURL=log.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"log.cjs","names":["ANSIColors"],"sources":["../../../src/defaultValues/log.ts"],"sourcesContent":["import { ANSIColors } from '../logger';\n\nexport const MODE = 'default';\n\nexport const PREFIX = `${ANSIColors.GREY_DARK}[intlayer] ${ANSIColors.RESET}`;\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"log.cjs","names":["ANSIColors"],"sources":["../../../src/defaultValues/log.ts"],"sourcesContent":["import { ANSIColors } from '../logger';\n\nexport const MODE = 'default';\n\nexport const PREFIX = `${ANSIColors.GREY_DARK}[intlayer] ${ANSIColors.RESET}`;\n"],"mappings":"kMAEA,MAAa,EAAO,UAEP,EAAS,GAAGA,EAAAA,WAAW,UAAU,aAAaA,EAAAA,WAAW"}
|
|
@@ -1,36 +1,2 @@
|
|
|
1
|
-
Object.defineProperty(exports,
|
|
2
|
-
const require_runtime = require('../_virtual/_rolldown/runtime.cjs');
|
|
3
|
-
|
|
4
|
-
//#region src/defaultValues/routing.ts
|
|
5
|
-
var routing_exports = /* @__PURE__ */ require_runtime.__exportAll({
|
|
6
|
-
BASE_PATH: () => BASE_PATH,
|
|
7
|
-
COOKIE_NAME: () => COOKIE_NAME,
|
|
8
|
-
HEADER_NAME: () => HEADER_NAME,
|
|
9
|
-
LOCALE_STORAGE_NAME: () => LOCALE_STORAGE_NAME,
|
|
10
|
-
ROUTING_MODE: () => ROUTING_MODE,
|
|
11
|
-
SERVER_SET_COOKIE: () => SERVER_SET_COOKIE,
|
|
12
|
-
STORAGE: () => STORAGE
|
|
13
|
-
});
|
|
14
|
-
const HEADER_NAME = "x-intlayer-locale";
|
|
15
|
-
const COOKIE_NAME = "INTLAYER_LOCALE";
|
|
16
|
-
const LOCALE_STORAGE_NAME = "INTLAYER_LOCALE";
|
|
17
|
-
const BASE_PATH = "";
|
|
18
|
-
const SERVER_SET_COOKIE = "always";
|
|
19
|
-
const ROUTING_MODE = "prefix-no-default";
|
|
20
|
-
const STORAGE = ["cookie", "header"];
|
|
21
|
-
|
|
22
|
-
//#endregion
|
|
23
|
-
exports.BASE_PATH = BASE_PATH;
|
|
24
|
-
exports.COOKIE_NAME = COOKIE_NAME;
|
|
25
|
-
exports.HEADER_NAME = HEADER_NAME;
|
|
26
|
-
exports.LOCALE_STORAGE_NAME = LOCALE_STORAGE_NAME;
|
|
27
|
-
exports.ROUTING_MODE = ROUTING_MODE;
|
|
28
|
-
exports.SERVER_SET_COOKIE = SERVER_SET_COOKIE;
|
|
29
|
-
exports.STORAGE = STORAGE;
|
|
30
|
-
Object.defineProperty(exports, 'routing_exports', {
|
|
31
|
-
enumerable: true,
|
|
32
|
-
get: function () {
|
|
33
|
-
return routing_exports;
|
|
34
|
-
}
|
|
35
|
-
});
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=require(`../_virtual/_rolldown/runtime.cjs`).__exportAll({BASE_PATH:()=>i,COOKIE_NAME:()=>n,HEADER_NAME:()=>t,LOCALE_STORAGE_NAME:()=>r,ROUTING_MODE:()=>o,SERVER_SET_COOKIE:()=>a,STORAGE:()=>s});const t=`x-intlayer-locale`,n=`INTLAYER_LOCALE`,r=`INTLAYER_LOCALE`,i=``,a=`always`,o=`prefix-no-default`,s=[`cookie`,`header`];exports.BASE_PATH=``,exports.COOKIE_NAME=n,exports.HEADER_NAME=t,exports.LOCALE_STORAGE_NAME=r,exports.ROUTING_MODE=o,exports.SERVER_SET_COOKIE=a,exports.STORAGE=s,Object.defineProperty(exports,`routing_exports`,{enumerable:!0,get:function(){return e}});
|
|
36
2
|
//# sourceMappingURL=routing.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routing.cjs","names":[],"sources":["../../../src/defaultValues/routing.ts"],"sourcesContent":["import type { RoutingConfig } from '@intlayer/types';\n\nexport const HEADER_NAME = 'x-intlayer-locale';\n\nexport const COOKIE_NAME = 'INTLAYER_LOCALE';\nexport const LOCALE_STORAGE_NAME = 'INTLAYER_LOCALE';\n\nexport const BASE_PATH = '';\n\nexport const SERVER_SET_COOKIE = 'always';\n\nexport const ROUTING_MODE = 'prefix-no-default';\n\nexport const STORAGE: RoutingConfig['storage'] = ['cookie', 'header'];\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"routing.cjs","names":[],"sources":["../../../src/defaultValues/routing.ts"],"sourcesContent":["import type { RoutingConfig } from '@intlayer/types';\n\nexport const HEADER_NAME = 'x-intlayer-locale';\n\nexport const COOKIE_NAME = 'INTLAYER_LOCALE';\nexport const LOCALE_STORAGE_NAME = 'INTLAYER_LOCALE';\n\nexport const BASE_PATH = '';\n\nexport const SERVER_SET_COOKIE = 'always';\n\nexport const ROUTING_MODE = 'prefix-no-default';\n\nexport const STORAGE: RoutingConfig['storage'] = ['cookie', 'header'];\n"],"mappings":"4QAEA,MAAa,EAAc,oBAEd,EAAc,kBACd,EAAsB,kBAEtB,EAAY,GAEZ,EAAoB,SAEpB,EAAe,oBAEf,EAAoC,CAAC,SAAU,SAAS"}
|
|
@@ -1,48 +1,2 @@
|
|
|
1
|
-
Object.defineProperty(exports,
|
|
2
|
-
const require_runtime = require('../_virtual/_rolldown/runtime.cjs');
|
|
3
|
-
|
|
4
|
-
//#region src/defaultValues/system.ts
|
|
5
|
-
var system_exports = /* @__PURE__ */ require_runtime.__exportAll({
|
|
6
|
-
CACHE_DIR: () => CACHE_DIR,
|
|
7
|
-
CONFIG_DIR: () => CONFIG_DIR,
|
|
8
|
-
DICTIONARIES_DIR: () => DICTIONARIES_DIR,
|
|
9
|
-
DYNAMIC_DICTIONARIES_DIR: () => DYNAMIC_DICTIONARIES_DIR,
|
|
10
|
-
FETCH_DICTIONARIES_DIR: () => FETCH_DICTIONARIES_DIR,
|
|
11
|
-
MAIN_DIR: () => MAIN_DIR,
|
|
12
|
-
MASKS_DIR: () => MASKS_DIR,
|
|
13
|
-
MODULE_AUGMENTATION_DIR: () => MODULE_AUGMENTATION_DIR,
|
|
14
|
-
REMOTE_DICTIONARIES_DIR: () => REMOTE_DICTIONARIES_DIR,
|
|
15
|
-
TYPES_DIR: () => TYPES_DIR,
|
|
16
|
-
UNMERGED_DICTIONARIES_DIR: () => UNMERGED_DICTIONARIES_DIR
|
|
17
|
-
});
|
|
18
|
-
const MAIN_DIR = ".intlayer/main";
|
|
19
|
-
const DICTIONARIES_DIR = ".intlayer/dictionary";
|
|
20
|
-
const MASKS_DIR = ".intlayer/mask";
|
|
21
|
-
const REMOTE_DICTIONARIES_DIR = ".intlayer/remote_dictionary";
|
|
22
|
-
const UNMERGED_DICTIONARIES_DIR = ".intlayer/unmerged_dictionary";
|
|
23
|
-
const DYNAMIC_DICTIONARIES_DIR = ".intlayer/dynamic_dictionary";
|
|
24
|
-
const FETCH_DICTIONARIES_DIR = ".intlayer/fetch_dictionary";
|
|
25
|
-
const TYPES_DIR = ".intlayer/types";
|
|
26
|
-
const MODULE_AUGMENTATION_DIR = ".intlayer/types";
|
|
27
|
-
const CONFIG_DIR = ".intlayer/config";
|
|
28
|
-
const CACHE_DIR = ".intlayer/cache";
|
|
29
|
-
|
|
30
|
-
//#endregion
|
|
31
|
-
exports.CACHE_DIR = CACHE_DIR;
|
|
32
|
-
exports.CONFIG_DIR = CONFIG_DIR;
|
|
33
|
-
exports.DICTIONARIES_DIR = DICTIONARIES_DIR;
|
|
34
|
-
exports.DYNAMIC_DICTIONARIES_DIR = DYNAMIC_DICTIONARIES_DIR;
|
|
35
|
-
exports.FETCH_DICTIONARIES_DIR = FETCH_DICTIONARIES_DIR;
|
|
36
|
-
exports.MAIN_DIR = MAIN_DIR;
|
|
37
|
-
exports.MASKS_DIR = MASKS_DIR;
|
|
38
|
-
exports.MODULE_AUGMENTATION_DIR = MODULE_AUGMENTATION_DIR;
|
|
39
|
-
exports.REMOTE_DICTIONARIES_DIR = REMOTE_DICTIONARIES_DIR;
|
|
40
|
-
exports.TYPES_DIR = TYPES_DIR;
|
|
41
|
-
exports.UNMERGED_DICTIONARIES_DIR = UNMERGED_DICTIONARIES_DIR;
|
|
42
|
-
Object.defineProperty(exports, 'system_exports', {
|
|
43
|
-
enumerable: true,
|
|
44
|
-
get: function () {
|
|
45
|
-
return system_exports;
|
|
46
|
-
}
|
|
47
|
-
});
|
|
1
|
+
Object.defineProperty(exports,Symbol.toStringTag,{value:`Module`});var e=require(`../_virtual/_rolldown/runtime.cjs`).__exportAll({CACHE_DIR:()=>d,CONFIG_DIR:()=>u,DICTIONARIES_DIR:()=>n,DYNAMIC_DICTIONARIES_DIR:()=>o,FETCH_DICTIONARIES_DIR:()=>s,MAIN_DIR:()=>t,MASKS_DIR:()=>r,MODULE_AUGMENTATION_DIR:()=>l,REMOTE_DICTIONARIES_DIR:()=>i,TYPES_DIR:()=>c,UNMERGED_DICTIONARIES_DIR:()=>a});const t=`.intlayer/main`,n=`.intlayer/dictionary`,r=`.intlayer/mask`,i=`.intlayer/remote_dictionary`,a=`.intlayer/unmerged_dictionary`,o=`.intlayer/dynamic_dictionary`,s=`.intlayer/fetch_dictionary`,c=`.intlayer/types`,l=`.intlayer/types`,u=`.intlayer/config`,d=`.intlayer/cache`;exports.CACHE_DIR=d,exports.CONFIG_DIR=u,exports.DICTIONARIES_DIR=n,exports.DYNAMIC_DICTIONARIES_DIR=o,exports.FETCH_DICTIONARIES_DIR=s,exports.MAIN_DIR=t,exports.MASKS_DIR=r,exports.MODULE_AUGMENTATION_DIR=l,exports.REMOTE_DICTIONARIES_DIR=i,exports.TYPES_DIR=c,exports.UNMERGED_DICTIONARIES_DIR=a,Object.defineProperty(exports,`system_exports`,{enumerable:!0,get:function(){return e}});
|
|
48
2
|
//# sourceMappingURL=system.cjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"system.cjs","names":[],"sources":["../../../src/defaultValues/system.ts"],"sourcesContent":["export const MAIN_DIR = '.intlayer/main';\n\nexport const DICTIONARIES_DIR = '.intlayer/dictionary';\n\nexport const MASKS_DIR = '.intlayer/mask';\n\nexport const REMOTE_DICTIONARIES_DIR = '.intlayer/remote_dictionary';\n\nexport const UNMERGED_DICTIONARIES_DIR = '.intlayer/unmerged_dictionary';\n\nexport const DYNAMIC_DICTIONARIES_DIR = '.intlayer/dynamic_dictionary';\n\nexport const FETCH_DICTIONARIES_DIR = '.intlayer/fetch_dictionary';\n\nexport const TYPES_DIR = '.intlayer/types';\n\nexport const MODULE_AUGMENTATION_DIR = '.intlayer/types';\n\nexport const CONFIG_DIR = '.intlayer/config';\n\nexport const CACHE_DIR = '.intlayer/cache';\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"system.cjs","names":[],"sources":["../../../src/defaultValues/system.ts"],"sourcesContent":["export const MAIN_DIR = '.intlayer/main';\n\nexport const DICTIONARIES_DIR = '.intlayer/dictionary';\n\nexport const MASKS_DIR = '.intlayer/mask';\n\nexport const REMOTE_DICTIONARIES_DIR = '.intlayer/remote_dictionary';\n\nexport const UNMERGED_DICTIONARIES_DIR = '.intlayer/unmerged_dictionary';\n\nexport const DYNAMIC_DICTIONARIES_DIR = '.intlayer/dynamic_dictionary';\n\nexport const FETCH_DICTIONARIES_DIR = '.intlayer/fetch_dictionary';\n\nexport const TYPES_DIR = '.intlayer/types';\n\nexport const MODULE_AUGMENTATION_DIR = '.intlayer/types';\n\nexport const CONFIG_DIR = '.intlayer/config';\n\nexport const CACHE_DIR = '.intlayer/cache';\n"],"mappings":"oYAAA,MAAa,EAAW,iBAEX,EAAmB,uBAEnB,EAAY,iBAEZ,EAA0B,8BAE1B,EAA4B,gCAE5B,EAA2B,+BAE3B,EAAyB,6BAEzB,EAAY,kBAEZ,EAA0B,kBAE1B,EAAa,mBAEb,EAAY"}
|