intlayer 5.5.9 → 5.5.11
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/README.md +45 -12
- package/dist/cjs/index.cjs +4 -0
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/index.mjs +4 -0
- package/dist/esm/index.mjs.map +1 -1
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +10 -8
package/README.md
CHANGED
|
@@ -5,15 +5,48 @@
|
|
|
5
5
|
</div>
|
|
6
6
|
|
|
7
7
|
<div align="center">
|
|
8
|
-
<a href="https://www.npmjs.com/package/intlayer"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
8
|
+
<a href="https://www.npmjs.com/package/intlayer" target="blank"><img
|
|
9
|
+
align="center"
|
|
10
|
+
alt="npm"
|
|
11
|
+
src="https://img.shields.io/npm/v/intlayer.svg?labelColor=49516F&color=8994BC&style=for-the-badge"
|
|
12
|
+
height="30" /></a>
|
|
13
|
+
<a href="https://npmjs.org/package/intlayer" target="blank"><img
|
|
14
|
+
align="center"
|
|
15
|
+
src="https://img.shields.io/npm/dm/intlayer?labelColor=49516F&color=8994BC&style=for-the-badge"
|
|
16
|
+
alt="monthly downloads"
|
|
17
|
+
height="30"
|
|
18
|
+
/></a>
|
|
19
|
+
<a href="https://npmjs.org/package/intlayer" target="blank"><img
|
|
20
|
+
align="center"
|
|
21
|
+
src="https://img.shields.io/npm/types/intlayer?label=types%20included&labelColor=49516F&color=8994BC&style=for-the-badge"
|
|
22
|
+
alt="types included"
|
|
23
|
+
height="30"
|
|
24
|
+
/></a>
|
|
25
|
+
</div>
|
|
26
|
+
|
|
27
|
+
<div>
|
|
28
|
+
<br/>
|
|
29
|
+
<p align="center">
|
|
30
|
+
<a href="https://www.linkedin.com/company/intlayerorg" target="blank"><img align="center"
|
|
31
|
+
src="https://img.shields.io/badge/linkedin-%231DA1F2.svg?style=for-the-badge&logo=linkedin&logoColor=white"
|
|
32
|
+
alt="Intlayer LinkedIn" height="30"/></a>
|
|
33
|
+
<a href="https://www.facebook.com/intlayer" target="blank"><img align="center"
|
|
34
|
+
src="https://img.shields.io/badge/facebook-4267B2.svg?style=for-the-badge&logo=facebook&logoColor=white"
|
|
35
|
+
alt="Intlayer Facebook" height="30"/></a>
|
|
36
|
+
<a href="https://www.instagram.com/intlayer_org/" target="blank"><img align="center"
|
|
37
|
+
src="https://img.shields.io/badge/instagram-%23E4405F.svg?style=for-the-badge&logo=Instagram&logoColor=white"
|
|
38
|
+
alt="Intlayer Instagram" height="30"/></a>
|
|
39
|
+
<a href="https://x.com/Intlayer183096" target="blank"><img align="center"
|
|
40
|
+
src="https://img.shields.io/badge/x-1DA1F2.svg?style=for-the-badge&logo=x&logoColor=white"
|
|
41
|
+
alt="Intlayer X" height="30"/></a>
|
|
42
|
+
<a href="https://www.youtube.com/@intlayer" target="blank"><img align="center"
|
|
43
|
+
src="https://img.shields.io/badge/youtube-FF0000.svg?style=for-the-badge&logo=youtube&logoColor=white"
|
|
44
|
+
alt="Intlayer YouTube" height="30"/></a>
|
|
45
|
+
<a href="https://www.tiktok.com/@intlayer" target="blank"><img align="center"
|
|
46
|
+
src="https://img.shields.io/badge/tiktok-000000.svg?style=for-the-badge&logo=tiktok&logoColor=white"
|
|
47
|
+
alt="Intlayer TikTok" height="30"/></a>
|
|
48
|
+
<br>
|
|
49
|
+
</p>
|
|
17
50
|
</div>
|
|
18
51
|
|
|
19
52
|
# intlayer: Manage Multilingual Dictionary (i18n)
|
|
@@ -265,15 +298,15 @@ Intlayer is available as a package for your application.
|
|
|
265
298
|
|
|
266
299
|
### React Application
|
|
267
300
|
|
|
268
|
-
To use Intlayer in your React application, you can use [react-intlayer](https://github.com/aymericzip/intlayer/blob/main/docs/en/packages/react-intlayer/index.md).
|
|
301
|
+
To use Intlayer in your React application, you can use [react-intlayer](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/packages/react-intlayer/index.md).
|
|
269
302
|
|
|
270
303
|
### Next.js Application
|
|
271
304
|
|
|
272
|
-
To use Intlayer in your Next.js application, you can use [next-intlayer](https://github.com/aymericzip/intlayer/blob/main/docs/en/packages/next-intlayer/index.md).
|
|
305
|
+
To use Intlayer in your Next.js application, you can use [next-intlayer](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/packages/next-intlayer/index.md).
|
|
273
306
|
|
|
274
307
|
### Express Application
|
|
275
308
|
|
|
276
|
-
To use Intlayer in your Express application, you can use [express-intlayer](https://github.com/aymericzip/intlayer/blob/main/docs/en/packages/express-intlayer/index.md).
|
|
309
|
+
To use Intlayer in your Express application, you can use [express-intlayer](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/packages/express-intlayer/index.md).
|
|
277
310
|
|
|
278
311
|
## Functions provided by `intlayer` package
|
|
279
312
|
|
package/dist/cjs/index.cjs
CHANGED
|
@@ -44,6 +44,7 @@ __export(index_exports, {
|
|
|
44
44
|
getLocaleLang: () => import_core.getLocaleLang,
|
|
45
45
|
getLocaleName: () => import_core.getLocaleName,
|
|
46
46
|
getLocalizedUrl: () => import_core.getLocalizedUrl,
|
|
47
|
+
getMarkdownMetadata: () => import_core.getMarkdownMetadata,
|
|
47
48
|
getMultilingualUrls: () => import_core.getMultilingualUrls,
|
|
48
49
|
getNesting: () => import_core.getNesting,
|
|
49
50
|
getPathWithoutLocale: () => import_core.getPathWithoutLocale,
|
|
@@ -53,6 +54,7 @@ __export(index_exports, {
|
|
|
53
54
|
localeFlatMap: () => import_core.localeFlatMap,
|
|
54
55
|
localeList: () => import_core.localeList,
|
|
55
56
|
localeMap: () => import_core.localeMap,
|
|
57
|
+
localeRecord: () => import_core.localeRecord,
|
|
56
58
|
md: () => import_core.md,
|
|
57
59
|
nest: () => import_core.nest,
|
|
58
60
|
t: () => import_core.t
|
|
@@ -80,6 +82,7 @@ const getConfiguration = () => import_built.default;
|
|
|
80
82
|
getLocaleLang,
|
|
81
83
|
getLocaleName,
|
|
82
84
|
getLocalizedUrl,
|
|
85
|
+
getMarkdownMetadata,
|
|
83
86
|
getMultilingualUrls,
|
|
84
87
|
getNesting,
|
|
85
88
|
getPathWithoutLocale,
|
|
@@ -89,6 +92,7 @@ const getConfiguration = () => import_built.default;
|
|
|
89
92
|
localeFlatMap,
|
|
90
93
|
localeList,
|
|
91
94
|
localeMap,
|
|
95
|
+
localeRecord,
|
|
92
96
|
md,
|
|
93
97
|
nest,
|
|
94
98
|
t,
|
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 { DeclarationContent, Dictionary };\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 cond,\n enu,\n getDictionary,\n getEnumeration,\n /**\n * @deprecated Use `getEnumeration` instead.\n */\n getEnumeration as getEnumerationContent,\n getHTMLTextDir,\n getIntlayer,\n getIntlayerAsync,\n getLocaleFromPath,\n getLocaleLang,\n getLocaleName,\n getLocalizedUrl,\n getMultilingualUrls,\n getNesting,\n getPathWithoutLocale,\n getTranslation,\n /**\n * @deprecated Use `getTranslation` instead.\n */\n getTranslation as getTranslationContent,\n insert,\n localeFlatMap,\n localeList,\n localeMap,\n md,\n nest,\n t,\n type ContentNode,\n type LanguageContent,\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;AAAA;AAAA;AAAA,0BAAc,oCAAd;AAeA,mBAA0B;AAO1B,
|
|
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 { DeclarationContent, Dictionary };\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 cond,\n enu,\n getDictionary,\n getEnumeration,\n /**\n * @deprecated Use `getEnumeration` instead.\n */\n getEnumeration as getEnumerationContent,\n getHTMLTextDir,\n getIntlayer,\n getIntlayerAsync,\n getLocaleFromPath,\n getLocaleLang,\n getLocaleName,\n getLocalizedUrl,\n getMarkdownMetadata,\n getMultilingualUrls,\n getNesting,\n getPathWithoutLocale,\n getTranslation,\n /**\n * @deprecated Use `getTranslation` instead.\n */\n getTranslation as getTranslationContent,\n insert,\n localeFlatMap,\n localeList,\n localeMap,\n localeRecord,\n md,\n nest,\n t,\n type ContentNode,\n type LanguageContent,\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;AAAA;AAAA;AAAA;AAAA;AAAA,0BAAc,oCAAd;AAeA,mBAA0B;AAO1B,kBAmCO;AACP,kBAAqB;AAvCrB,MAAM,mBAAmB,MAAM,aAAAA;","names":["configuration"]}
|
package/dist/esm/index.mjs
CHANGED
|
@@ -14,6 +14,7 @@ import {
|
|
|
14
14
|
getLocaleLang,
|
|
15
15
|
getLocaleName,
|
|
16
16
|
getLocalizedUrl,
|
|
17
|
+
getMarkdownMetadata,
|
|
17
18
|
getMultilingualUrls,
|
|
18
19
|
getNesting,
|
|
19
20
|
getPathWithoutLocale,
|
|
@@ -23,6 +24,7 @@ import {
|
|
|
23
24
|
localeFlatMap,
|
|
24
25
|
localeList,
|
|
25
26
|
localeMap,
|
|
27
|
+
localeRecord,
|
|
26
28
|
md,
|
|
27
29
|
nest,
|
|
28
30
|
t
|
|
@@ -44,6 +46,7 @@ export {
|
|
|
44
46
|
getLocaleLang,
|
|
45
47
|
getLocaleName,
|
|
46
48
|
getLocalizedUrl,
|
|
49
|
+
getMarkdownMetadata,
|
|
47
50
|
getMultilingualUrls,
|
|
48
51
|
getNesting,
|
|
49
52
|
getPathWithoutLocale,
|
|
@@ -53,6 +56,7 @@ export {
|
|
|
53
56
|
localeFlatMap,
|
|
54
57
|
localeList,
|
|
55
58
|
localeMap,
|
|
59
|
+
localeRecord,
|
|
56
60
|
md,
|
|
57
61
|
nest,
|
|
58
62
|
t
|
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 { DeclarationContent, Dictionary };\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 cond,\n enu,\n getDictionary,\n getEnumeration,\n /**\n * @deprecated Use `getEnumeration` instead.\n */\n getEnumeration as getEnumerationContent,\n getHTMLTextDir,\n getIntlayer,\n getIntlayerAsync,\n getLocaleFromPath,\n getLocaleLang,\n getLocaleName,\n getLocalizedUrl,\n getMultilingualUrls,\n getNesting,\n getPathWithoutLocale,\n getTranslation,\n /**\n * @deprecated Use `getTranslation` instead.\n */\n getTranslation as getTranslationContent,\n insert,\n localeFlatMap,\n localeList,\n localeMap,\n md,\n nest,\n t,\n type ContentNode,\n type LanguageContent,\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,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAIkB,kBAAlBA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;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,OAGK;AACP,SAAS,YAAY;","names":["getEnumeration","getTranslation"]}
|
|
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 { DeclarationContent, Dictionary };\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 cond,\n enu,\n getDictionary,\n getEnumeration,\n /**\n * @deprecated Use `getEnumeration` instead.\n */\n getEnumeration as getEnumerationContent,\n getHTMLTextDir,\n getIntlayer,\n getIntlayerAsync,\n getLocaleFromPath,\n getLocaleLang,\n getLocaleName,\n getLocalizedUrl,\n getMarkdownMetadata,\n getMultilingualUrls,\n getNesting,\n getPathWithoutLocale,\n getTranslation,\n /**\n * @deprecated Use `getTranslation` instead.\n */\n getTranslation as getTranslationContent,\n insert,\n localeFlatMap,\n localeList,\n localeMap,\n localeRecord,\n md,\n nest,\n t,\n type ContentNode,\n type LanguageContent,\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,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EAIkB,kBAAlBA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;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,EACA;AAAA,OAGK;AACP,SAAS,YAAY;","names":["getEnumeration","getTranslation"]}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -20,10 +20,10 @@ export { cond, enu, getDictionary, getEnumeration,
|
|
|
20
20
|
/**
|
|
21
21
|
* @deprecated Use `getEnumeration` instead.
|
|
22
22
|
*/
|
|
23
|
-
getEnumeration as getEnumerationContent, getHTMLTextDir, getIntlayer, getIntlayerAsync, getLocaleFromPath, getLocaleLang, getLocaleName, getLocalizedUrl, getMultilingualUrls, getNesting, getPathWithoutLocale, getTranslation,
|
|
23
|
+
getEnumeration as getEnumerationContent, getHTMLTextDir, getIntlayer, getIntlayerAsync, getLocaleFromPath, getLocaleLang, getLocaleName, getLocalizedUrl, getMarkdownMetadata, getMultilingualUrls, getNesting, getPathWithoutLocale, getTranslation,
|
|
24
24
|
/**
|
|
25
25
|
* @deprecated Use `getTranslation` instead.
|
|
26
26
|
*/
|
|
27
|
-
getTranslation as getTranslationContent, insert, localeFlatMap, localeList, localeMap, md, nest, t, type ContentNode, type LanguageContent, } from '@intlayer/core';
|
|
27
|
+
getTranslation as getTranslationContent, insert, localeFlatMap, localeList, localeMap, localeRecord, md, nest, t, type ContentNode, type LanguageContent, } from '@intlayer/core';
|
|
28
28
|
export { file } from '@intlayer/core/file';
|
|
29
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,CAAC;AAEnE,KAAK,UAAU,CAAC,CAAC,GAAG,SAAS,IAAI,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC;AACzD;;GAEG;AACH,KAAK,kBAAkB,CAAC,CAAC,GAAG,SAAS,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC;AAEvD,YAAY,EAAE,kBAAkB,EAAE,UAAU,EAAE,CAAC;AAE/C;;GAEG;AACH,OAAO,aAAa,MAAM,wBAAwB,CAAC;AACnD;;GAEG;AACH,QAAA,MAAM,gBAAgB,iDAAsB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,cAAc,EAAE,CAAC;AAE3D,OAAO,EACL,IAAI,EACJ,GAAG,EACH,aAAa,EACb,cAAc;AACd;;GAEG;AACH,cAAc,IAAI,qBAAqB,EACvC,cAAc,EACd,WAAW,EACX,gBAAgB,EAChB,iBAAiB,EACjB,aAAa,EACb,aAAa,EACb,eAAe,EACf,mBAAmB,EACnB,UAAU,EACV,oBAAoB,EACpB,cAAc;AACd;;GAEG;AACH,cAAc,IAAI,qBAAqB,EACvC,MAAM,EACN,aAAa,EACb,UAAU,EACV,SAAS,EACT,EAAE,EACF,IAAI,EACJ,CAAC,EACD,KAAK,WAAW,EAChB,KAAK,eAAe,GACrB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC"}
|
|
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,CAAC;AAEnE,KAAK,UAAU,CAAC,CAAC,GAAG,SAAS,IAAI,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC;AACzD;;GAEG;AACH,KAAK,kBAAkB,CAAC,CAAC,GAAG,SAAS,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC;AAEvD,YAAY,EAAE,kBAAkB,EAAE,UAAU,EAAE,CAAC;AAE/C;;GAEG;AACH,OAAO,aAAa,MAAM,wBAAwB,CAAC;AACnD;;GAEG;AACH,QAAA,MAAM,gBAAgB,iDAAsB,CAAC;AAC7C,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,cAAc,EAAE,CAAC;AAE3D,OAAO,EACL,IAAI,EACJ,GAAG,EACH,aAAa,EACb,cAAc;AACd;;GAEG;AACH,cAAc,IAAI,qBAAqB,EACvC,cAAc,EACd,WAAW,EACX,gBAAgB,EAChB,iBAAiB,EACjB,aAAa,EACb,aAAa,EACb,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,UAAU,EACV,oBAAoB,EACpB,cAAc;AACd;;GAEG;AACH,cAAc,IAAI,qBAAqB,EACvC,MAAM,EACN,aAAa,EACb,UAAU,EACV,SAAS,EACT,YAAY,EACZ,EAAE,EACF,IAAI,EACJ,CAAC,EACD,KAAK,WAAW,EAChB,KAAK,eAAe,GACrB,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.5.
|
|
3
|
+
"version": "5.5.11",
|
|
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/
|
|
64
|
-
"@intlayer/
|
|
62
|
+
"@intlayer/core": "5.5.11",
|
|
63
|
+
"@intlayer/cli": "5.5.11",
|
|
64
|
+
"@intlayer/config": "5.5.11"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@changesets/changelog-github": "0.5.1",
|
|
@@ -75,15 +75,16 @@
|
|
|
75
75
|
"tsc-alias": "^1.8.16",
|
|
76
76
|
"tsup": "^8.5.0",
|
|
77
77
|
"typescript": "^5.8.3",
|
|
78
|
+
"vitest": "^3.2.2",
|
|
78
79
|
"@utils/eslint-config": "1.0.4",
|
|
79
80
|
"@utils/ts-config": "1.0.4",
|
|
80
81
|
"@utils/tsup-config": "1.0.4",
|
|
81
82
|
"@utils/ts-config-types": "1.0.4"
|
|
82
83
|
},
|
|
83
84
|
"peerDependencies": {
|
|
84
|
-
"@intlayer/cli": "5.5.
|
|
85
|
-
"@intlayer/config": "5.5.
|
|
86
|
-
"@intlayer/core": "5.5.
|
|
85
|
+
"@intlayer/cli": "5.5.11",
|
|
86
|
+
"@intlayer/config": "5.5.11",
|
|
87
|
+
"@intlayer/core": "5.5.11"
|
|
87
88
|
},
|
|
88
89
|
"engines": {
|
|
89
90
|
"node": ">=14.18"
|
|
@@ -102,7 +103,8 @@
|
|
|
102
103
|
"prettier": "prettier . --check",
|
|
103
104
|
"prettier:fix": "prettier . --write",
|
|
104
105
|
"reset": "pnpm clean & pnpm build",
|
|
105
|
-
"test": "",
|
|
106
|
+
"test": "vitest run",
|
|
107
|
+
"test:watch": "vitest",
|
|
106
108
|
"typecheck": "tsup --project ./tsconfig.json --noEmit"
|
|
107
109
|
}
|
|
108
110
|
}
|