intlayer 5.3.2 → 5.3.4
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
CHANGED
|
@@ -32,6 +32,7 @@ __export(index_exports, {
|
|
|
32
32
|
cond: () => import_core.cond,
|
|
33
33
|
configuration: () => import_built.default,
|
|
34
34
|
enu: () => import_core.enu,
|
|
35
|
+
file: () => import_file.file,
|
|
35
36
|
getConfiguration: () => getConfiguration,
|
|
36
37
|
getDictionary: () => import_core.getDictionary,
|
|
37
38
|
getEnumeration: () => import_core.getEnumeration,
|
|
@@ -57,12 +58,14 @@ module.exports = __toCommonJS(index_exports);
|
|
|
57
58
|
__reExport(index_exports, require("@intlayer/config/client"), module.exports);
|
|
58
59
|
var import_built = __toESM(require("@intlayer/config/built"));
|
|
59
60
|
var import_core = require("@intlayer/core");
|
|
61
|
+
var import_file = require("@intlayer/core/file");
|
|
60
62
|
const getConfiguration = () => import_built.default;
|
|
61
63
|
// Annotate the CommonJS export names for ESM import in node:
|
|
62
64
|
0 && (module.exports = {
|
|
63
65
|
cond,
|
|
64
66
|
configuration,
|
|
65
67
|
enu,
|
|
68
|
+
file,
|
|
66
69
|
getConfiguration,
|
|
67
70
|
getDictionary,
|
|
68
71
|
getEnumeration,
|
package/dist/cjs/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from '@intlayer/config/client';\nimport { type CustomIntlayerConfig as IntlayerConfig } from '@intlayer/config/client';\nimport type { Dictionary as DictionaryCore } from '@intlayer/core';\n\ntype Dictionary<T = undefined> = DictionaryCore<T, true>;\n/**\n * @deprecated Use `Dictionary<T>` instead.\n */\ntype DeclarationContent<T = undefined> = Dictionary<T>;\n\nexport type { Dictionary, DeclarationContent };\n\n/**\n * Rexport using named import because πof Tsup bug in CJS\n */\nimport configuration from '@intlayer/config/built';\n/**\n * @deprecated Use `import { configuration } from 'intlayer'` instead.\n */\nconst getConfiguration = () => configuration;\nexport { configuration, getConfiguration, IntlayerConfig };\n\nexport {\n type LanguageContent,\n type ContentNode,\n getLocaleName,\n enu,\n cond,\n md,\n t,\n nest,\n insert,\n
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from '@intlayer/config/client';\nimport { type CustomIntlayerConfig as IntlayerConfig } from '@intlayer/config/client';\nimport type { Dictionary as DictionaryCore } from '@intlayer/core';\n\ntype Dictionary<T = undefined> = DictionaryCore<T, true>;\n/**\n * @deprecated Use `Dictionary<T>` instead.\n */\ntype DeclarationContent<T = undefined> = Dictionary<T>;\n\nexport type { Dictionary, DeclarationContent };\n\n/**\n * Rexport using named import because πof Tsup bug in CJS\n */\nimport configuration from '@intlayer/config/built';\n/**\n * @deprecated Use `import { configuration } from 'intlayer'` instead.\n */\nconst getConfiguration = () => configuration;\nexport { configuration, getConfiguration, IntlayerConfig };\n\nexport {\n type LanguageContent,\n type ContentNode,\n getLocaleName,\n enu,\n cond,\n md,\n t,\n nest,\n insert,\n getEnumeration,\n /**\n * @deprecated Use `getEnumeration` instead.\n */\n getEnumeration as getEnumerationContent,\n getDictionary,\n getIntlayer,\n getIntlayerAsync,\n getTranslation,\n /**\n * @deprecated Use `getTranslation` instead.\n */\n getTranslation as getTranslationContent,\n getNesting,\n getLocaleLang,\n getHTMLTextDir,\n getPathWithoutLocale,\n getMultilingualUrls,\n getLocalizedUrl,\n localeList,\n} from '@intlayer/core';\nexport { file } from '@intlayer/core/file'; // Include specific export for browser because of node js function that can't be used in browser\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA,oCAAAA;AAAA,EAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,0BAAc,oCAAd;AAeA,mBAA0B;AAO1B,kBA8BO;AACP,kBAAqB;AAlCrB,MAAM,mBAAmB,MAAM,aAAAA;","names":["configuration"]}
|
package/dist/esm/index.mjs
CHANGED
package/dist/esm/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from '@intlayer/config/client';\nimport { type CustomIntlayerConfig as IntlayerConfig } from '@intlayer/config/client';\nimport type { Dictionary as DictionaryCore } from '@intlayer/core';\n\ntype Dictionary<T = undefined> = DictionaryCore<T, true>;\n/**\n * @deprecated Use `Dictionary<T>` instead.\n */\ntype DeclarationContent<T = undefined> = Dictionary<T>;\n\nexport type { Dictionary, DeclarationContent };\n\n/**\n * Rexport using named import because πof Tsup bug in CJS\n */\nimport configuration from '@intlayer/config/built';\n/**\n * @deprecated Use `import { configuration } from 'intlayer'` instead.\n */\nconst getConfiguration = () => configuration;\nexport { configuration, getConfiguration, IntlayerConfig };\n\nexport {\n type LanguageContent,\n type ContentNode,\n getLocaleName,\n enu,\n cond,\n md,\n t,\n nest,\n insert,\n
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * from '@intlayer/config/client';\nimport { type CustomIntlayerConfig as IntlayerConfig } from '@intlayer/config/client';\nimport type { Dictionary as DictionaryCore } from '@intlayer/core';\n\ntype Dictionary<T = undefined> = DictionaryCore<T, true>;\n/**\n * @deprecated Use `Dictionary<T>` instead.\n */\ntype DeclarationContent<T = undefined> = Dictionary<T>;\n\nexport type { Dictionary, DeclarationContent };\n\n/**\n * Rexport using named import because πof Tsup bug in CJS\n */\nimport configuration from '@intlayer/config/built';\n/**\n * @deprecated Use `import { configuration } from 'intlayer'` instead.\n */\nconst getConfiguration = () => configuration;\nexport { configuration, getConfiguration, IntlayerConfig };\n\nexport {\n type LanguageContent,\n type ContentNode,\n getLocaleName,\n enu,\n cond,\n md,\n t,\n nest,\n insert,\n getEnumeration,\n /**\n * @deprecated Use `getEnumeration` instead.\n */\n getEnumeration as getEnumerationContent,\n getDictionary,\n getIntlayer,\n getIntlayerAsync,\n getTranslation,\n /**\n * @deprecated Use `getTranslation` instead.\n */\n getTranslation as getTranslationContent,\n getNesting,\n getLocaleLang,\n getHTMLTextDir,\n getPathWithoutLocale,\n getMultilingualUrls,\n getLocalizedUrl,\n localeList,\n} from '@intlayer/core';\nexport { file } from '@intlayer/core/file'; // Include specific export for browser because of node js function that can't be used in browser\n"],"mappings":"AAAA,cAAc;AAed,OAAO,mBAAmB;AAI1B,MAAM,mBAAmB,MAAM;AAG/B;AAAA,EAGE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAIkB,kBAAlBA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAIkB,kBAAlBC;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP,SAAS,YAAY;","names":["getEnumeration","getTranslation"]}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -25,4 +25,5 @@ getEnumeration as getEnumerationContent, getDictionary, getIntlayer, getIntlayer
|
|
|
25
25
|
* @deprecated Use `getTranslation` instead.
|
|
26
26
|
*/
|
|
27
27
|
getTranslation as getTranslationContent, getNesting, getLocaleLang, getHTMLTextDir, getPathWithoutLocale, getMultilingualUrls, getLocalizedUrl, localeList, } from '@intlayer/core';
|
|
28
|
+
export { file } from '@intlayer/core/file';
|
|
28
29
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,OAAO,EAAE,KAAK,oBAAoB,IAAI,cAAc,EAAE,MAAM,yBAAyB,CAAC;AACtF,OAAO,KAAK,EAAE,UAAU,IAAI,cAAc,EAAE,MAAM,gBAAgB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EAChB,aAAa,EACb,GAAG,EACH,IAAI,EACJ,EAAE,EACF,CAAC,EACD,IAAI,EACJ,MAAM,EACN,cAAc;AACd;;GAEG;AACH,cAAc,IAAI,qBAAqB,EACvC,aAAa,EACb,WAAW,EACX,gBAAgB,EAChB,cAAc;AACd;;GAEG;AACH,cAAc,IAAI,qBAAqB,EACvC,UAAU,EACV,aAAa,EACb,cAAc,EACd,oBAAoB,EACpB,mBAAmB,EACnB,eAAe,EACf,UAAU,GACX,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "intlayer",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Manage internationalization i18n in a simple way, through TypeScript, declaration file, declare your multilingual content every where in your code.",
|
|
6
6
|
"keywords": [
|
|
@@ -59,9 +59,9 @@
|
|
|
59
59
|
"./package.json"
|
|
60
60
|
],
|
|
61
61
|
"dependencies": {
|
|
62
|
-
"@intlayer/
|
|
63
|
-
"@intlayer/config": "5.3.
|
|
64
|
-
"@intlayer/
|
|
62
|
+
"@intlayer/core": "5.3.4",
|
|
63
|
+
"@intlayer/config": "5.3.4",
|
|
64
|
+
"@intlayer/cli": "5.3.4"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@changesets/changelog-github": "0.5.0",
|
|
@@ -76,14 +76,14 @@
|
|
|
76
76
|
"tsup": "^8.3.5",
|
|
77
77
|
"typescript": "^5.7.3",
|
|
78
78
|
"@utils/eslint-config": "1.0.4",
|
|
79
|
-
"@utils/ts-config": "1.0.4",
|
|
80
79
|
"@utils/ts-config-types": "1.0.4",
|
|
80
|
+
"@utils/ts-config": "1.0.4",
|
|
81
81
|
"@utils/tsup-config": "1.0.4"
|
|
82
82
|
},
|
|
83
83
|
"peerDependencies": {
|
|
84
|
-
"@intlayer/cli": "5.3.
|
|
85
|
-
"@intlayer/config": "5.3.
|
|
86
|
-
"@intlayer/core": "5.3.
|
|
84
|
+
"@intlayer/cli": "5.3.4",
|
|
85
|
+
"@intlayer/config": "5.3.4",
|
|
86
|
+
"@intlayer/core": "5.3.4"
|
|
87
87
|
},
|
|
88
88
|
"engines": {
|
|
89
89
|
"node": ">=14.18"
|
|
@@ -102,6 +102,7 @@
|
|
|
102
102
|
"prettier": "prettier . --check",
|
|
103
103
|
"prettier:fix": "prettier . --write",
|
|
104
104
|
"reset": "pnpm clean & pnpm build",
|
|
105
|
+
"test": "",
|
|
105
106
|
"typecheck": "tsup --project ./tsconfig.json --noEmit"
|
|
106
107
|
}
|
|
107
108
|
}
|