intlayer 4.1.10 → 5.0.0

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 CHANGED
@@ -16,7 +16,7 @@
16
16
  />
17
17
  </div>
18
18
 
19
- # intlayer: Manage Multilingual Content Declaration (i18n)
19
+ # intlayer: Manage Multilingual Dictionary (i18n)
20
20
 
21
21
  **Intlayer** is a suite of packages designed specifically for JavaScript developers. It is compatible with frameworks like React, Next.js, and Express.js.
22
22
 
@@ -88,7 +88,7 @@ By default, Intlayer scans for files with the extension `.content.{ts,tsx,js,jsx
88
88
  Here’s an example of content declaration:
89
89
 
90
90
  ```tsx filePath="src/ClientComponent/index.content.ts" codeFormat="typescript"
91
- import { type DeclarationContent, t } from "intlayer";
91
+ import { t, type Dictionary } from "intlayer";
92
92
 
93
93
  const clientComponentContent = {
94
94
  key: "client-component",
@@ -107,7 +107,7 @@ const clientComponentContent = {
107
107
  ">19": "Many cars",
108
108
  }),
109
109
  },
110
- } satisfies DeclarationContent;
110
+ } satisfies Dictionary;
111
111
 
112
112
  export default clientComponentContent;
113
113
  ```
@@ -18,41 +18,58 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
  var index_exports = {};
20
20
  __export(index_exports, {
21
- Locales: () => import_client2.Locales,
21
+ Locales: () => import_client.Locales,
22
+ cond: () => import_core2.cond,
22
23
  enu: () => import_core2.enu,
23
- getConfiguration: () => import_client.getConfiguration,
24
- getEnumerationContent: () => import_core2.getEnumerationContent,
24
+ getConfiguration: () => import_client2.getConfiguration,
25
+ getDictionary: () => import_core2.getDictionary,
26
+ getEnumeration: () => import_core2.getEnumeration,
25
27
  getHTMLTextDir: () => import_core2.getHTMLTextDir,
28
+ getIntlayer: () => import_core2.getIntlayer,
29
+ getIntlayerAsync: () => import_core2.getIntlayerAsync,
26
30
  getLocaleLang: () => import_core2.getLocaleLang,
27
31
  getLocaleName: () => import_core2.getLocaleName,
28
32
  getLocalizedUrl: () => import_core2.getLocalizedUrl,
29
33
  getMultilingualUrls: () => import_core2.getMultilingualUrls,
34
+ getNesting: () => import_core2.getNesting,
30
35
  getPathWithoutLocale: () => import_core2.getPathWithoutLocale,
36
+ getTranslation: () => import_core2.getTranslation,
31
37
  getTranslationContent: () => getTranslationContent,
32
38
  localeList: () => import_core2.localeList,
39
+ md: () => import_core2.md,
40
+ nest: () => nest,
33
41
  t: () => t
34
42
  });
35
43
  module.exports = __toCommonJS(index_exports);
36
- var import_core = require("@intlayer/core");
37
- var import_core2 = require("@intlayer/core");
38
44
  var import_client = require("@intlayer/config/client");
45
+ var import_core = require("@intlayer/core");
39
46
  var import_client2 = require("@intlayer/config/client");
47
+ var import_core2 = require("@intlayer/core");
40
48
  const t = import_core.t;
41
- const getTranslationContent = import_core.getTranslationContent;
49
+ const getTranslationContent = import_core.getTranslation;
50
+ const nest = import_core.nest;
42
51
  // Annotate the CommonJS export names for ESM import in node:
43
52
  0 && (module.exports = {
44
53
  Locales,
54
+ cond,
45
55
  enu,
46
56
  getConfiguration,
47
- getEnumerationContent,
57
+ getDictionary,
58
+ getEnumeration,
48
59
  getHTMLTextDir,
60
+ getIntlayer,
61
+ getIntlayerAsync,
49
62
  getLocaleLang,
50
63
  getLocaleName,
51
64
  getLocalizedUrl,
52
65
  getMultilingualUrls,
66
+ getNesting,
53
67
  getPathWithoutLocale,
68
+ getTranslation,
54
69
  getTranslationContent,
55
70
  localeList,
71
+ md,
72
+ nest,
56
73
  t
57
74
  });
58
75
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["import type { Locales } from '@intlayer/config/client';\nimport {\n type TranslationContent,\n t as tCore,\n getTranslationContent as getTranslationContentCore,\n type LanguageContent,\n} from '@intlayer/core';\n\n/* eslint-disable @typescript-eslint/no-unused-vars */\n\nexport interface IConfigLocales<Content> {\n // This interface should be augmented in the consuming app\n}\n\ntype ConfigLocales = keyof IConfigLocales<unknown>;\n\nexport type CustomizableLanguageContent<Content = string> =\n ConfigLocales extends never\n ? LanguageContent<Content>\n : IConfigLocales<Content>;\n\n// Re-exporting the following functions from the core package: to use module augmentation\nexport const t: <Content = string>(\n content?: CustomizableLanguageContent<Content>\n) => TranslationContent<Content> = tCore;\nexport const getTranslationContent: <Content = string>(\n languageContent: CustomizableLanguageContent<Content>,\n locale: Locales\n) => Content = getTranslationContentCore;\n\nexport type {\n LanguageContent,\n QuantityContent,\n ContentValue,\n DeclarationContent,\n} from '@intlayer/core';\nexport {\n getLocaleName,\n enu,\n getEnumerationContent,\n getLocaleLang,\n getHTMLTextDir,\n getPathWithoutLocale,\n getMultilingualUrls,\n getLocalizedUrl,\n localeList,\n} from '@intlayer/core';\nexport {\n type CustomIntlayerConfig as IntlayerConfig,\n type LocalesValues,\n getConfiguration,\n} from '@intlayer/config/client';\nexport { Locales } from '@intlayer/config/client';\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,kBAKO;AA8BP,IAAAA,eAUO;AACP,oBAIO;AACP,IAAAC,iBAAwB;AA9BjB,MAAM,IAEsB,YAAAC;AAC5B,MAAM,wBAGE,YAAAC;","names":["import_core","import_client","tCore","getTranslationContentCore"]}
1
+ {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["import { Locales } from '@intlayer/config/client';\nimport {\n getTranslation as getTranslationCore,\n nest as nestCore,\n t as tCore,\n type TranslationContent,\n type NestedContent,\n type DictionaryKeys,\n type TranslationContentState,\n type Dictionary as DictionaryCore,\n type ValidDotPathsFor,\n} from '@intlayer/core';\n\ninterface IConfigLocales<Content> {\n // This interface should be augmented in the consuming app\n}\n\ntype ConfigLocales = keyof IConfigLocales<unknown>;\n\ntype CustomizableLanguageContent<Content = string> = ConfigLocales extends never\n ? TranslationContentState<Content>\n : IConfigLocales<Content>;\n\n// Re-exporting the following functions from the core package: to use module augmentation\nconst t: <Content = string>(\n content: CustomizableLanguageContent<Content>\n) => TranslationContent<Content> = tCore;\nconst getTranslationContent: <Content = string>(\n languageContent: CustomizableLanguageContent<Content>,\n locale: Locales\n) => Content = getTranslationCore;\nconst nest: <K extends DictionaryKeys>(\n dictionaryKey: K,\n path?: ValidDotPathsFor<K>\n) => NestedContent<K> = nestCore;\n\ntype Dictionary<T = undefined> = DictionaryCore<T, true>;\n/**\n * @deprecated Use `Dictionary<T>` instead.\n */\ntype DeclarationContent<T> = Dictionary<T>;\n\nexport {\n Locales,\n type Dictionary,\n type DeclarationContent,\n type IConfigLocales,\n t,\n getTranslationContent,\n nest,\n};\n\nexport {\n type CustomIntlayerConfig as IntlayerConfig,\n type LocalesValues,\n getConfiguration,\n} from '@intlayer/config/client';\nexport {\n type LanguageContent,\n type ContentNode,\n getLocaleName,\n enu,\n cond,\n md,\n getEnumeration,\n getDictionary,\n getIntlayer,\n getIntlayerAsync,\n getTranslation,\n getNesting,\n getLocaleLang,\n getHTMLTextDir,\n getPathWithoutLocale,\n getMultilingualUrls,\n getLocalizedUrl,\n localeList,\n} from '@intlayer/core';\n"],"mappings":";;;;;;;;;;;;;;;;;;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,oBAAwB;AACxB,kBAUO;AAyCP,IAAAA,iBAIO;AACP,IAAAC,eAmBO;AApDP,MAAM,IAE6B,YAAAC;AACnC,MAAM,wBAGS,YAAAC;AACf,MAAM,OAGkB,YAAAC;","names":["import_client","import_core","tCore","getTranslationCore","nestCore"]}
@@ -1,13 +1,26 @@
1
+ import { Locales } from "@intlayer/config/client";
1
2
  import {
2
- t as tCore,
3
- getTranslationContent as getTranslationContentCore
3
+ getTranslation as getTranslationCore,
4
+ nest as nestCore,
5
+ t as tCore
4
6
  } from "@intlayer/core";
5
7
  const t = tCore;
6
- const getTranslationContent = getTranslationContentCore;
8
+ const getTranslationContent = getTranslationCore;
9
+ const nest = nestCore;
10
+ import {
11
+ getConfiguration
12
+ } from "@intlayer/config/client";
7
13
  import {
8
14
  getLocaleName,
9
15
  enu,
10
- getEnumerationContent,
16
+ cond,
17
+ md,
18
+ getEnumeration,
19
+ getDictionary,
20
+ getIntlayer,
21
+ getIntlayerAsync,
22
+ getTranslation,
23
+ getNesting,
11
24
  getLocaleLang,
12
25
  getHTMLTextDir,
13
26
  getPathWithoutLocale,
@@ -15,23 +28,27 @@ import {
15
28
  getLocalizedUrl,
16
29
  localeList
17
30
  } from "@intlayer/core";
18
- import {
19
- getConfiguration
20
- } from "@intlayer/config/client";
21
- import { Locales } from "@intlayer/config/client";
22
31
  export {
23
32
  Locales,
33
+ cond,
24
34
  enu,
25
35
  getConfiguration,
26
- getEnumerationContent,
36
+ getDictionary,
37
+ getEnumeration,
27
38
  getHTMLTextDir,
39
+ getIntlayer,
40
+ getIntlayerAsync,
28
41
  getLocaleLang,
29
42
  getLocaleName,
30
43
  getLocalizedUrl,
31
44
  getMultilingualUrls,
45
+ getNesting,
32
46
  getPathWithoutLocale,
47
+ getTranslation,
33
48
  getTranslationContent,
34
49
  localeList,
50
+ md,
51
+ nest,
35
52
  t
36
53
  };
37
54
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["import type { Locales } from '@intlayer/config/client';\nimport {\n type TranslationContent,\n t as tCore,\n getTranslationContent as getTranslationContentCore,\n type LanguageContent,\n} from '@intlayer/core';\n\n/* eslint-disable @typescript-eslint/no-unused-vars */\n\nexport interface IConfigLocales<Content> {\n // This interface should be augmented in the consuming app\n}\n\ntype ConfigLocales = keyof IConfigLocales<unknown>;\n\nexport type CustomizableLanguageContent<Content = string> =\n ConfigLocales extends never\n ? LanguageContent<Content>\n : IConfigLocales<Content>;\n\n// Re-exporting the following functions from the core package: to use module augmentation\nexport const t: <Content = string>(\n content?: CustomizableLanguageContent<Content>\n) => TranslationContent<Content> = tCore;\nexport const getTranslationContent: <Content = string>(\n languageContent: CustomizableLanguageContent<Content>,\n locale: Locales\n) => Content = getTranslationContentCore;\n\nexport type {\n LanguageContent,\n QuantityContent,\n ContentValue,\n DeclarationContent,\n} from '@intlayer/core';\nexport {\n getLocaleName,\n enu,\n getEnumerationContent,\n getLocaleLang,\n getHTMLTextDir,\n getPathWithoutLocale,\n getMultilingualUrls,\n getLocalizedUrl,\n localeList,\n} from '@intlayer/core';\nexport {\n type CustomIntlayerConfig as IntlayerConfig,\n type LocalesValues,\n getConfiguration,\n} from '@intlayer/config/client';\nexport { Locales } from '@intlayer/config/client';\n"],"mappings":"AACA;AAAA,EAEE,KAAK;AAAA,EACL,yBAAyB;AAAA,OAEpB;AAgBA,MAAM,IAEsB;AAC5B,MAAM,wBAGE;AAQf;AAAA,EACE;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP;AAAA,EAGE;AAAA,OACK;AACP,SAAS,eAAe;","names":[]}
1
+ {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["import { Locales } from '@intlayer/config/client';\nimport {\n getTranslation as getTranslationCore,\n nest as nestCore,\n t as tCore,\n type TranslationContent,\n type NestedContent,\n type DictionaryKeys,\n type TranslationContentState,\n type Dictionary as DictionaryCore,\n type ValidDotPathsFor,\n} from '@intlayer/core';\n\ninterface IConfigLocales<Content> {\n // This interface should be augmented in the consuming app\n}\n\ntype ConfigLocales = keyof IConfigLocales<unknown>;\n\ntype CustomizableLanguageContent<Content = string> = ConfigLocales extends never\n ? TranslationContentState<Content>\n : IConfigLocales<Content>;\n\n// Re-exporting the following functions from the core package: to use module augmentation\nconst t: <Content = string>(\n content: CustomizableLanguageContent<Content>\n) => TranslationContent<Content> = tCore;\nconst getTranslationContent: <Content = string>(\n languageContent: CustomizableLanguageContent<Content>,\n locale: Locales\n) => Content = getTranslationCore;\nconst nest: <K extends DictionaryKeys>(\n dictionaryKey: K,\n path?: ValidDotPathsFor<K>\n) => NestedContent<K> = nestCore;\n\ntype Dictionary<T = undefined> = DictionaryCore<T, true>;\n/**\n * @deprecated Use `Dictionary<T>` instead.\n */\ntype DeclarationContent<T> = Dictionary<T>;\n\nexport {\n Locales,\n type Dictionary,\n type DeclarationContent,\n type IConfigLocales,\n t,\n getTranslationContent,\n nest,\n};\n\nexport {\n type CustomIntlayerConfig as IntlayerConfig,\n type LocalesValues,\n getConfiguration,\n} from '@intlayer/config/client';\nexport {\n type LanguageContent,\n type ContentNode,\n getLocaleName,\n enu,\n cond,\n md,\n getEnumeration,\n getDictionary,\n getIntlayer,\n getIntlayerAsync,\n getTranslation,\n getNesting,\n getLocaleLang,\n getHTMLTextDir,\n getPathWithoutLocale,\n getMultilingualUrls,\n getLocalizedUrl,\n localeList,\n} from '@intlayer/core';\n"],"mappings":"AAAA,SAAS,eAAe;AACxB;AAAA,EACE,kBAAkB;AAAA,EAClB,QAAQ;AAAA,EACR,KAAK;AAAA,OAOA;AAaP,MAAM,IAE6B;AACnC,MAAM,wBAGS;AACf,MAAM,OAGkB;AAkBxB;AAAA,EAGE;AAAA,OACK;AACP;AAAA,EAGE;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,EACA;AAAA,EACA;AAAA,EACA;AAAA,OACK;","names":[]}
@@ -1,13 +1,18 @@
1
- import type { Locales } from '@intlayer/config/client';
2
- import { type TranslationContent, type LanguageContent } from '@intlayer/core';
3
- export interface IConfigLocales<Content> {
1
+ import { Locales } from '@intlayer/config/client';
2
+ import { type TranslationContent, type NestedContent, type DictionaryKeys, type TranslationContentState, type Dictionary as DictionaryCore, type ValidDotPathsFor } from '@intlayer/core';
3
+ interface IConfigLocales<Content> {
4
4
  }
5
5
  type ConfigLocales = keyof IConfigLocales<unknown>;
6
- export type CustomizableLanguageContent<Content = string> = ConfigLocales extends never ? LanguageContent<Content> : IConfigLocales<Content>;
7
- export declare const t: <Content = string>(content?: CustomizableLanguageContent<Content>) => TranslationContent<Content>;
8
- export declare const getTranslationContent: <Content = string>(languageContent: CustomizableLanguageContent<Content>, locale: Locales) => Content;
9
- export type { LanguageContent, QuantityContent, ContentValue, DeclarationContent, } from '@intlayer/core';
10
- export { getLocaleName, enu, getEnumerationContent, getLocaleLang, getHTMLTextDir, getPathWithoutLocale, getMultilingualUrls, getLocalizedUrl, localeList, } from '@intlayer/core';
6
+ type CustomizableLanguageContent<Content = string> = ConfigLocales extends never ? TranslationContentState<Content> : IConfigLocales<Content>;
7
+ declare const t: <Content = string>(content: CustomizableLanguageContent<Content>) => TranslationContent<Content>;
8
+ declare const getTranslationContent: <Content = string>(languageContent: CustomizableLanguageContent<Content>, locale: Locales) => Content;
9
+ declare const nest: <K extends DictionaryKeys>(dictionaryKey: K, path?: ValidDotPathsFor<K>) => NestedContent<K>;
10
+ type Dictionary<T = undefined> = DictionaryCore<T, true>;
11
+ /**
12
+ * @deprecated Use `Dictionary<T>` instead.
13
+ */
14
+ type DeclarationContent<T> = Dictionary<T>;
15
+ export { Locales, type Dictionary, type DeclarationContent, type IConfigLocales, t, getTranslationContent, nest, };
11
16
  export { type CustomIntlayerConfig as IntlayerConfig, type LocalesValues, getConfiguration, } from '@intlayer/config/client';
12
- export { Locales } from '@intlayer/config/client';
17
+ export { type LanguageContent, type ContentNode, getLocaleName, enu, cond, md, getEnumeration, getDictionary, getIntlayer, getIntlayerAsync, getTranslation, getNesting, getLocaleLang, getHTMLTextDir, getPathWithoutLocale, getMultilingualUrls, getLocalizedUrl, localeList, } from '@intlayer/core';
13
18
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EACL,KAAK,kBAAkB,EAGvB,KAAK,eAAe,EACrB,MAAM,gBAAgB,CAAC;AAIxB,MAAM,WAAW,cAAc,CAAC,OAAO;CAEtC;AAED,KAAK,aAAa,GAAG,MAAM,cAAc,CAAC,OAAO,CAAC,CAAC;AAEnD,MAAM,MAAM,2BAA2B,CAAC,OAAO,GAAG,MAAM,IACtD,aAAa,SAAS,KAAK,GACvB,eAAe,CAAC,OAAO,CAAC,GACxB,cAAc,CAAC,OAAO,CAAC,CAAC;AAG9B,eAAO,MAAM,CAAC,EAAE,CAAC,OAAO,GAAG,MAAM,EAC/B,OAAO,CAAC,EAAE,2BAA2B,CAAC,OAAO,CAAC,KAC3C,kBAAkB,CAAC,OAAO,CAAS,CAAC;AACzC,eAAO,MAAM,qBAAqB,EAAE,CAAC,OAAO,GAAG,MAAM,EACnD,eAAe,EAAE,2BAA2B,CAAC,OAAO,CAAC,EACrD,MAAM,EAAE,OAAO,KACZ,OAAmC,CAAC;AAEzC,YAAY,EACV,eAAe,EACf,eAAe,EACf,YAAY,EACZ,kBAAkB,GACnB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,aAAa,EACb,GAAG,EACH,qBAAqB,EACrB,aAAa,EACb,cAAc,EACd,oBAAoB,EACpB,mBAAmB,EACnB,eAAe,EACf,UAAU,GACX,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,KAAK,oBAAoB,IAAI,cAAc,EAC3C,KAAK,aAAa,EAClB,gBAAgB,GACjB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,yBAAyB,CAAC;AAClD,OAAO,EAIL,KAAK,kBAAkB,EACvB,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,uBAAuB,EAC5B,KAAK,UAAU,IAAI,cAAc,EACjC,KAAK,gBAAgB,EACtB,MAAM,gBAAgB,CAAC;AAExB,UAAU,cAAc,CAAC,OAAO;CAE/B;AAED,KAAK,aAAa,GAAG,MAAM,cAAc,CAAC,OAAO,CAAC,CAAC;AAEnD,KAAK,2BAA2B,CAAC,OAAO,GAAG,MAAM,IAAI,aAAa,SAAS,KAAK,GAC5E,uBAAuB,CAAC,OAAO,CAAC,GAChC,cAAc,CAAC,OAAO,CAAC,CAAC;AAG5B,QAAA,MAAM,CAAC,EAAE,CAAC,OAAO,GAAG,MAAM,EACxB,OAAO,EAAE,2BAA2B,CAAC,OAAO,CAAC,KAC1C,kBAAkB,CAAC,OAAO,CAAS,CAAC;AACzC,QAAA,MAAM,qBAAqB,EAAE,CAAC,OAAO,GAAG,MAAM,EAC5C,eAAe,EAAE,2BAA2B,CAAC,OAAO,CAAC,EACrD,MAAM,EAAE,OAAO,KACZ,OAA4B,CAAC;AAClC,QAAA,MAAM,IAAI,EAAE,CAAC,CAAC,SAAS,cAAc,EACnC,aAAa,EAAE,CAAC,EAChB,IAAI,CAAC,EAAE,gBAAgB,CAAC,CAAC,CAAC,KACvB,aAAa,CAAC,CAAC,CAAY,CAAC;AAEjC,KAAK,UAAU,CAAC,CAAC,GAAG,SAAS,IAAI,cAAc,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC;AACzD;;GAEG;AACH,KAAK,kBAAkB,CAAC,CAAC,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC;AAE3C,OAAO,EACL,OAAO,EACP,KAAK,UAAU,EACf,KAAK,kBAAkB,EACvB,KAAK,cAAc,EACnB,CAAC,EACD,qBAAqB,EACrB,IAAI,GACL,CAAC;AAEF,OAAO,EACL,KAAK,oBAAoB,IAAI,cAAc,EAC3C,KAAK,aAAa,EAClB,gBAAgB,GACjB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,aAAa,EACb,GAAG,EACH,IAAI,EACJ,EAAE,EACF,cAAc,EACd,aAAa,EACb,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,UAAU,EACV,aAAa,EACb,cAAc,EACd,oBAAoB,EACpB,mBAAmB,EACnB,eAAe,EACf,UAAU,GACX,MAAM,gBAAgB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intlayer",
3
- "version": "4.1.10",
3
+ "version": "5.0.0",
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": [
@@ -58,9 +58,9 @@
58
58
  "./package.json"
59
59
  ],
60
60
  "dependencies": {
61
- "@intlayer/cli": "4.1.10",
62
- "@intlayer/config": "4.1.10",
63
- "@intlayer/core": "^4.1.10"
61
+ "@intlayer/config": "5.0.0",
62
+ "@intlayer/cli": "5.0.0",
63
+ "@intlayer/core": "^5.0.0"
64
64
  },
65
65
  "devDependencies": {
66
66
  "@changesets/changelog-github": "0.5.0",
@@ -80,9 +80,9 @@
80
80
  "@utils/tsup-config": "1.0.4"
81
81
  },
82
82
  "peerDependencies": {
83
- "@intlayer/cli": "4.1.10",
84
- "@intlayer/config": "4.1.10",
85
- "@intlayer/core": "^4.1.10"
83
+ "@intlayer/cli": "5.0.0",
84
+ "@intlayer/config": "5.0.0",
85
+ "@intlayer/core": "^5.0.0"
86
86
  },
87
87
  "engines": {
88
88
  "node": ">=14.18"