intlayer 5.2.7 → 5.2.8

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.
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * 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 };\n\nexport {\n type LanguageContent,\n type ContentNode,\n getLocaleName,\n enu,\n cond,\n md,\n t,\n nest,\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';\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,0BAAc,oCAAd;AAcA,mBAA0B;AAO1B,kBA6BO;AAhCP,MAAM,mBAAmB,MAAM,aAAAA;","names":["configuration"]}
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 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';\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,0BAAc,oCAAd;AAeA,mBAA0B;AAO1B,kBA6BO;AAhCP,MAAM,mBAAmB,MAAM,aAAAA;","names":["configuration"]}
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/index.ts"],"sourcesContent":["export * 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 };\n\nexport {\n type LanguageContent,\n type ContentNode,\n getLocaleName,\n enu,\n cond,\n md,\n t,\n nest,\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';\n"],"mappings":"AAAA,cAAc;AAcd,OAAO,mBAAmB;AAI1B,MAAM,mBAAmB,MAAM;AAG/B;AAAA,EAGE;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;","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 { 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 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';\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,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;","names":["getEnumeration","getTranslation"]}
@@ -1,4 +1,5 @@
1
1
  export * from '@intlayer/config/client';
2
+ import { type CustomIntlayerConfig as IntlayerConfig } from '@intlayer/config/client';
2
3
  import type { Dictionary as DictionaryCore } from '@intlayer/core';
3
4
  type Dictionary<T = undefined> = DictionaryCore<T, true>;
4
5
  /**
@@ -7,14 +8,14 @@ type Dictionary<T = undefined> = DictionaryCore<T, true>;
7
8
  type DeclarationContent<T = undefined> = Dictionary<T>;
8
9
  export type { Dictionary, DeclarationContent };
9
10
  /**
10
- * Rexport using named import because of Tsup bug in CJS
11
+ * Rexport using named import because πof Tsup bug in CJS
11
12
  */
12
13
  import configuration from '@intlayer/config/built';
13
14
  /**
14
15
  * @deprecated Use `import { configuration } from 'intlayer'` instead.
15
16
  */
16
17
  declare const getConfiguration: () => import("@intlayer/config").IntlayerConfig;
17
- export { configuration, getConfiguration };
18
+ export { configuration, getConfiguration, IntlayerConfig };
18
19
  export { type LanguageContent, type ContentNode, getLocaleName, enu, cond, md, t, nest, getEnumeration,
19
20
  /**
20
21
  * @deprecated Use `getEnumeration` instead.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,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,UAAU,EAAE,kBAAkB,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;AAE3C,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,aAAa,EACb,GAAG,EACH,IAAI,EACJ,EAAE,EACF,CAAC,EACD,IAAI,EACJ,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"}
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,UAAU,EAAE,kBAAkB,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,KAAK,eAAe,EACpB,KAAK,WAAW,EAChB,aAAa,EACb,GAAG,EACH,IAAI,EACJ,EAAE,EACF,CAAC,EACD,IAAI,EACJ,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"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intlayer",
3
- "version": "5.2.7",
3
+ "version": "5.2.8",
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": "5.2.7",
62
- "@intlayer/config": "5.2.7",
63
- "@intlayer/core": "5.2.7"
61
+ "@intlayer/cli": "5.2.8",
62
+ "@intlayer/config": "5.2.8",
63
+ "@intlayer/core": "5.2.8"
64
64
  },
65
65
  "devDependencies": {
66
66
  "@changesets/changelog-github": "0.5.0",
@@ -76,13 +76,13 @@
76
76
  "typescript": "^5.7.3",
77
77
  "@utils/eslint-config": "1.0.4",
78
78
  "@utils/ts-config": "1.0.4",
79
- "@utils/ts-config-types": "1.0.4",
80
- "@utils/tsup-config": "1.0.4"
79
+ "@utils/tsup-config": "1.0.4",
80
+ "@utils/ts-config-types": "1.0.4"
81
81
  },
82
82
  "peerDependencies": {
83
- "@intlayer/config": "5.2.7",
84
- "@intlayer/core": "5.2.7",
85
- "@intlayer/cli": "5.2.7"
83
+ "@intlayer/cli": "5.2.8",
84
+ "@intlayer/config": "5.2.8",
85
+ "@intlayer/core": "5.2.8"
86
86
  },
87
87
  "engines": {
88
88
  "node": ">=14.18"