@intlayer/docs 5.7.5 → 5.7.6
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/blog/ar/intlayer_with_i18next.md +1 -1
- package/dist/cjs/common.cjs +0 -1
- package/dist/cjs/common.cjs.map +1 -1
- package/dist/cjs/generated/docs.entry.cjs +80 -0
- package/dist/cjs/generated/docs.entry.cjs.map +1 -1
- package/dist/esm/common.mjs +0 -1
- package/dist/esm/common.mjs.map +1 -1
- package/dist/esm/generated/docs.entry.mjs +80 -0
- package/dist/esm/generated/docs.entry.mjs.map +1 -1
- package/dist/types/common.d.ts.map +1 -1
- package/dist/types/generated/docs.entry.d.ts +1 -0
- package/dist/types/generated/docs.entry.d.ts.map +1 -1
- package/docs/ar/packages/react-intlayer/useI18n.md +250 -0
- package/docs/de/dictionary/gender.md +3 -3
- package/docs/de/packages/react-intlayer/useI18n.md +250 -0
- package/docs/en/configuration.md +2 -2
- package/docs/en/packages/react-intlayer/useI18n.md +250 -0
- package/docs/en-GB/packages/react-intlayer/useI18n.md +254 -0
- package/docs/es/dictionary/enumeration.md +1 -1
- package/docs/es/dictionary/gender.md +3 -3
- package/docs/es/locale_mapper.md +1 -1
- package/docs/es/packages/react-intlayer/useI18n.md +250 -0
- package/docs/fr/intlayer_with_vite+preact.md +1 -1
- package/docs/fr/packages/react-intlayer/useI18n.md +250 -0
- package/docs/hi/dictionary/enumeration.md +0 -1
- package/docs/hi/packages/react-intlayer/useI18n.md +259 -0
- package/docs/it/packages/react-intlayer/useI18n.md +250 -0
- package/docs/ja/dictionary/enumeration.md +0 -1
- package/docs/ja/packages/react-intlayer/useI18n.md +250 -0
- package/docs/ko/dictionary/enumeration.md +0 -1
- package/docs/ko/packages/react-intlayer/useI18n.md +250 -0
- package/docs/pt/packages/react-intlayer/useI18n.md +250 -0
- package/docs/ru/dictionary/enumeration.md +0 -1
- package/docs/ru/packages/react-intlayer/useI18n.md +250 -0
- package/docs/zh/packages/react-intlayer/useI18n.md +250 -0
- package/frequent_questions/ar/unknown_command.md +1 -1
- package/frequent_questions/de/array_as_content_declaration.md +1 -1
- package/frequent_questions/de/build_dictionaries.md +1 -1
- package/frequent_questions/de/build_error_CI_CD.md +1 -1
- package/frequent_questions/de/customized_locale_list.md +1 -1
- package/frequent_questions/de/esbuild_error.md +1 -1
- package/frequent_questions/de/intlayer_command_undefined.md +1 -1
- package/frequent_questions/de/locale_incorect_in_url.md +1 -1
- package/frequent_questions/de/static_rendering.md +1 -1
- package/frequent_questions/de/translated_path_url.md +1 -1
- package/frequent_questions/de/unknown_command.md +1 -1
- package/frequent_questions/en-GB/customized_locale_list.md +1 -1
- package/frequent_questions/es/array_as_content_declaration.md +1 -1
- package/frequent_questions/es/build_dictionaries.md +1 -1
- package/frequent_questions/es/customized_locale_list.md +1 -1
- package/frequent_questions/es/domain_routing.md +1 -1
- package/frequent_questions/es/get_locale_cookie.md +1 -1
- package/frequent_questions/es/intlayer_command_undefined.md +1 -1
- package/frequent_questions/es/locale_incorect_in_url.md +1 -1
- package/frequent_questions/es/static_rendering.md +1 -1
- package/frequent_questions/es/translated_path_url.md +1 -1
- package/frequent_questions/es/unknown_command.md +1 -1
- package/frequent_questions/fr/array_as_content_declaration.md +1 -1
- package/frequent_questions/fr/build_dictionaries.md +1 -1
- package/frequent_questions/fr/customized_locale_list.md +1 -1
- package/frequent_questions/fr/domain_routing.md +1 -1
- package/frequent_questions/fr/esbuild_error.md +1 -1
- package/frequent_questions/fr/intlayer_command_undefined.md +1 -1
- package/frequent_questions/fr/static_rendering.md +1 -1
- package/frequent_questions/fr/translated_path_url.md +1 -1
- package/frequent_questions/fr/unknown_command.md +1 -1
- package/frequent_questions/it/array_as_content_declaration.md +1 -1
- package/frequent_questions/it/build_dictionaries.md +1 -1
- package/frequent_questions/it/customized_locale_list.md +1 -1
- package/frequent_questions/it/esbuild_error.md +1 -1
- package/frequent_questions/it/intlayer_command_undefined.md +1 -1
- package/frequent_questions/it/locale_incorect_in_url.md +1 -1
- package/frequent_questions/it/static_rendering.md +1 -1
- package/frequent_questions/it/translated_path_url.md +1 -1
- package/frequent_questions/it/unknown_command.md +1 -1
- package/frequent_questions/ko/build_dictionaries.md +2 -2
- package/frequent_questions/ko/customized_locale_list.md +3 -3
- package/frequent_questions/ko/intlayer_command_undefined.md +3 -3
- package/frequent_questions/pt/array_as_content_declaration.md +1 -1
- package/frequent_questions/pt/build_dictionaries.md +1 -1
- package/frequent_questions/pt/build_error_CI_CD.md +1 -1
- package/frequent_questions/pt/customized_locale_list.md +1 -1
- package/frequent_questions/pt/domain_routing.md +1 -1
- package/frequent_questions/pt/esbuild_error.md +1 -1
- package/frequent_questions/pt/intlayer_command_undefined.md +1 -1
- package/frequent_questions/pt/locale_incorect_in_url.md +1 -1
- package/frequent_questions/pt/static_rendering.md +1 -1
- package/frequent_questions/pt/translated_path_url.md +1 -1
- package/frequent_questions/pt/unknown_command.md +1 -1
- package/frequent_questions/zh/build_dictionaries.md +3 -3
- package/frequent_questions/zh/customized_locale_list.md +3 -3
- package/frequent_questions/zh/esbuild_error.md +3 -3
- package/frequent_questions/zh/intlayer_command_undefined.md +3 -3
- package/frequent_questions/zh/translated_path_url.md +3 -3
- package/package.json +9 -9
- package/src/common.ts +0 -1
- package/src/generated/docs.entry.ts +80 -0
package/dist/cjs/common.cjs
CHANGED
|
@@ -77,7 +77,6 @@ const getFileMetadata = async (files, docKey, locale = defaultLocale) => {
|
|
|
77
77
|
const file = await getFile(files, docKey, locale);
|
|
78
78
|
return formatMetadata(docKey, file, locale);
|
|
79
79
|
} catch (error) {
|
|
80
|
-
console.log({ error, docKey, locale });
|
|
81
80
|
throw error;
|
|
82
81
|
}
|
|
83
82
|
};
|
package/dist/cjs/common.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/common.ts"],"sourcesContent":["import {\n getLocalizedUrl,\n getMarkdownMetadata,\n Locales,\n LocalesValues,\n} from 'intlayer';\nimport { join } from 'path';\n\nexport const defaultLocale = Locales.ENGLISH;\n\nexport const GITHUB_URL_PREFIX =\n 'https://github.com/aymericzip/intlayer/blob/main/docs';\nexport const URL_PREFIX = 'https://intlayer.org/';\n\nexport const getFiles = async <\n F extends Record<`./${string}`, Record<LocalesValues, Promise<string>>>,\n>(\n files: F,\n lang: LocalesValues = defaultLocale as LocalesValues\n): Promise<Record<string, string>> => {\n const filesEntries = await Promise.all(\n Object.entries(files)\n .map(([key, value]) => [key, value[lang as LocalesValues]])\n .map(async ([key, value]) => [key, await value])\n );\n const filesResult = Object.fromEntries(filesEntries);\n return filesResult;\n};\n\nexport const getFile = async <\n F extends Record<string, Record<LocalesValues, Promise<string>>>,\n>(\n files: F,\n docKey: keyof F,\n locale: LocalesValues = defaultLocale as LocalesValues\n): Promise<string> => {\n const fileRecord = files[docKey];\n\n if (!fileRecord) {\n throw new Error(`File ${docKey as string} not found`);\n }\n\n const file = await files[docKey]?.[locale];\n\n if (!file) {\n const englishFile = await files[docKey][defaultLocale as LocalesValues];\n\n if (!englishFile) {\n throw new Error(`File ${docKey as string} not found`);\n }\n\n return englishFile;\n }\n\n return file;\n};\n\nexport type FileMetadata = {\n docKey: string;\n url: string;\n relativeUrl: string;\n githubUrl: string;\n title: string;\n slugs: string[];\n description: string;\n keywords: string[];\n updatedAt: string;\n createdAt: string;\n author?: string;\n youtubeVideo?: string;\n applicationTemplate?: string;\n};\n\nexport const formatMetadata = (\n docKey: string,\n file: string,\n locale: LocalesValues = defaultLocale as LocalesValues\n): FileMetadata => {\n const metadata = getMarkdownMetadata(file);\n const relativeUrl = join('/', ...(metadata.slugs ?? []));\n\n const slicedDocKey = docKey.slice(1);\n\n return {\n ...metadata,\n docKey,\n githubUrl: `${GITHUB_URL_PREFIX}${slicedDocKey}`.replace(\n '/en/',\n `/${locale}/`\n ),\n relativeUrl: getLocalizedUrl(relativeUrl, locale),\n url: getLocalizedUrl(join(URL_PREFIX, relativeUrl), locale),\n } as FileMetadata;\n};\n\nexport const getFileMetadata = async <\n F extends Record<string, Record<LocalesValues, Promise<string>>>,\n R extends FileMetadata,\n>(\n files: F,\n docKey: keyof F,\n locale: LocalesValues = defaultLocale as LocalesValues\n): Promise<R> => {\n try {\n const file = await getFile(files, docKey, locale);\n\n return formatMetadata(docKey as string, file, locale) as R;\n } catch (error) {\n
|
|
1
|
+
{"version":3,"sources":["../../src/common.ts"],"sourcesContent":["import {\n getLocalizedUrl,\n getMarkdownMetadata,\n Locales,\n LocalesValues,\n} from 'intlayer';\nimport { join } from 'path';\n\nexport const defaultLocale = Locales.ENGLISH;\n\nexport const GITHUB_URL_PREFIX =\n 'https://github.com/aymericzip/intlayer/blob/main/docs';\nexport const URL_PREFIX = 'https://intlayer.org/';\n\nexport const getFiles = async <\n F extends Record<`./${string}`, Record<LocalesValues, Promise<string>>>,\n>(\n files: F,\n lang: LocalesValues = defaultLocale as LocalesValues\n): Promise<Record<string, string>> => {\n const filesEntries = await Promise.all(\n Object.entries(files)\n .map(([key, value]) => [key, value[lang as LocalesValues]])\n .map(async ([key, value]) => [key, await value])\n );\n const filesResult = Object.fromEntries(filesEntries);\n return filesResult;\n};\n\nexport const getFile = async <\n F extends Record<string, Record<LocalesValues, Promise<string>>>,\n>(\n files: F,\n docKey: keyof F,\n locale: LocalesValues = defaultLocale as LocalesValues\n): Promise<string> => {\n const fileRecord = files[docKey];\n\n if (!fileRecord) {\n throw new Error(`File ${docKey as string} not found`);\n }\n\n const file = await files[docKey]?.[locale];\n\n if (!file) {\n const englishFile = await files[docKey][defaultLocale as LocalesValues];\n\n if (!englishFile) {\n throw new Error(`File ${docKey as string} not found`);\n }\n\n return englishFile;\n }\n\n return file;\n};\n\nexport type FileMetadata = {\n docKey: string;\n url: string;\n relativeUrl: string;\n githubUrl: string;\n title: string;\n slugs: string[];\n description: string;\n keywords: string[];\n updatedAt: string;\n createdAt: string;\n author?: string;\n youtubeVideo?: string;\n applicationTemplate?: string;\n};\n\nexport const formatMetadata = (\n docKey: string,\n file: string,\n locale: LocalesValues = defaultLocale as LocalesValues\n): FileMetadata => {\n const metadata = getMarkdownMetadata(file);\n const relativeUrl = join('/', ...(metadata.slugs ?? []));\n\n const slicedDocKey = docKey.slice(1);\n\n return {\n ...metadata,\n docKey,\n githubUrl: `${GITHUB_URL_PREFIX}${slicedDocKey}`.replace(\n '/en/',\n `/${locale}/`\n ),\n relativeUrl: getLocalizedUrl(relativeUrl, locale),\n url: getLocalizedUrl(join(URL_PREFIX, relativeUrl), locale),\n } as FileMetadata;\n};\n\nexport const getFileMetadata = async <\n F extends Record<string, Record<LocalesValues, Promise<string>>>,\n R extends FileMetadata,\n>(\n files: F,\n docKey: keyof F,\n locale: LocalesValues = defaultLocale as LocalesValues\n): Promise<R> => {\n try {\n const file = await getFile(files, docKey, locale);\n\n return formatMetadata(docKey as string, file, locale) as R;\n } catch (error) {\n throw error;\n }\n};\n\nexport const getFileMetadataRecord = async <\n F extends Record<string, Record<LocalesValues, Promise<string>>>,\n>(\n files: F,\n locale: LocalesValues = defaultLocale as LocalesValues\n): Promise<Record<keyof F, FileMetadata>> => {\n const filesEntries = await Promise.all(\n Object.entries(files).map(async ([key]) => [\n key,\n await getFileMetadata(files, key as keyof F, locale),\n ])\n );\n const filesResult = Object.fromEntries(filesEntries);\n return filesResult;\n};\n\nexport const getFileMetadataBySlug = async <\n F extends Record<string, Record<LocalesValues, Promise<string>>>,\n>(\n files: F,\n slugs: string | string[],\n locale: LocalesValues = defaultLocale as LocalesValues,\n strict = false\n) => {\n const slugsArray = Array.isArray(slugs) ? slugs : [slugs];\n const filesMetadata = await getFileMetadataRecord(\n files,\n defaultLocale as LocalesValues\n );\n\n let fileMetadataArray: FileMetadata[] = Object.values(filesMetadata).filter(\n (fileMetadata) =>\n slugsArray.every((slug) => fileMetadata.slugs?.includes(slug))\n );\n\n if (strict) {\n fileMetadataArray = fileMetadataArray.filter(\n (fileMetadata) => fileMetadata.slugs.length === slugsArray.length\n );\n }\n\n if (locale !== defaultLocale) {\n const localizedFileMetadata = await Promise.all(\n fileMetadataArray.map(\n async (fileMetadata) =>\n await getFileMetadata(files, fileMetadata.docKey, locale)\n )\n );\n\n return localizedFileMetadata;\n }\n\n return fileMetadataArray;\n};\n\nexport const getFileBySlug = async <\n F extends Record<string, Record<LocalesValues, Promise<string>>>,\n>(\n files: F,\n slugs: string | string[],\n locale: LocalesValues = defaultLocale as LocalesValues,\n strict = false\n) => {\n const slugsArray = Array.isArray(slugs) ? slugs : [slugs];\n const filesMetadata = await getFileMetadataRecord(\n files,\n defaultLocale as LocalesValues\n );\n\n let fileMetadataArray = Object.values(filesMetadata).filter((fileMetadata) =>\n slugsArray.every((slug) => fileMetadata.slugs?.includes(slug))\n );\n\n if (strict) {\n fileMetadataArray = fileMetadataArray.filter(\n (fileMetadata) => fileMetadata.slugs.length === slugsArray.length\n );\n }\n\n const fileList = await Promise.all(\n fileMetadataArray.map(async (fileMetadata) => {\n const file = await getFile(files, fileMetadata.docKey, locale);\n return file;\n })\n );\n\n return fileList;\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,sBAKO;AACP,kBAAqB;AAEd,MAAM,gBAAgB,wBAAQ;AAE9B,MAAM,oBACX;AACK,MAAM,aAAa;AAEnB,MAAM,WAAW,OAGtB,OACA,OAAsB,kBACc;AACpC,QAAM,eAAe,MAAM,QAAQ;AAAA,IACjC,OAAO,QAAQ,KAAK,EACjB,IAAI,CAAC,CAAC,KAAK,KAAK,MAAM,CAAC,KAAK,MAAM,IAAqB,CAAC,CAAC,EACzD,IAAI,OAAO,CAAC,KAAK,KAAK,MAAM,CAAC,KAAK,MAAM,KAAK,CAAC;AAAA,EACnD;AACA,QAAM,cAAc,OAAO,YAAY,YAAY;AACnD,SAAO;AACT;AAEO,MAAM,UAAU,OAGrB,OACA,QACA,SAAwB,kBACJ;AACpB,QAAM,aAAa,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AM;AAC7D,aAAO;AAAA,IACT,CAAC;AAAA,EACH;AAEA,SAAO;AACT;","names":[]}
|
|
@@ -5140,6 +5140,86 @@ const docsEntry = {
|
|
|
5140
5140
|
)
|
|
5141
5141
|
)
|
|
5142
5142
|
},
|
|
5143
|
+
"./docs/en/packages/react-intlayer/useI18n.md": {
|
|
5144
|
+
en: Promise.resolve(
|
|
5145
|
+
(0, import_promises.readFile)(
|
|
5146
|
+
(0, import_path.join)(dir, "../../../docs/en/packages/react-intlayer/useI18n.md"),
|
|
5147
|
+
"utf8"
|
|
5148
|
+
)
|
|
5149
|
+
),
|
|
5150
|
+
fr: Promise.resolve(
|
|
5151
|
+
(0, import_promises.readFile)(
|
|
5152
|
+
(0, import_path.join)(dir, "../../../docs/fr/packages/react-intlayer/useI18n.md"),
|
|
5153
|
+
"utf8"
|
|
5154
|
+
)
|
|
5155
|
+
),
|
|
5156
|
+
ru: Promise.resolve(
|
|
5157
|
+
(0, import_promises.readFile)(
|
|
5158
|
+
(0, import_path.join)(dir, "../../../docs/ru/packages/react-intlayer/useI18n.md"),
|
|
5159
|
+
"utf8"
|
|
5160
|
+
)
|
|
5161
|
+
),
|
|
5162
|
+
ja: Promise.resolve(
|
|
5163
|
+
(0, import_promises.readFile)(
|
|
5164
|
+
(0, import_path.join)(dir, "../../../docs/ja/packages/react-intlayer/useI18n.md"),
|
|
5165
|
+
"utf8"
|
|
5166
|
+
)
|
|
5167
|
+
),
|
|
5168
|
+
ko: Promise.resolve(
|
|
5169
|
+
(0, import_promises.readFile)(
|
|
5170
|
+
(0, import_path.join)(dir, "../../../docs/ko/packages/react-intlayer/useI18n.md"),
|
|
5171
|
+
"utf8"
|
|
5172
|
+
)
|
|
5173
|
+
),
|
|
5174
|
+
zh: Promise.resolve(
|
|
5175
|
+
(0, import_promises.readFile)(
|
|
5176
|
+
(0, import_path.join)(dir, "../../../docs/zh/packages/react-intlayer/useI18n.md"),
|
|
5177
|
+
"utf8"
|
|
5178
|
+
)
|
|
5179
|
+
),
|
|
5180
|
+
es: Promise.resolve(
|
|
5181
|
+
(0, import_promises.readFile)(
|
|
5182
|
+
(0, import_path.join)(dir, "../../../docs/es/packages/react-intlayer/useI18n.md"),
|
|
5183
|
+
"utf8"
|
|
5184
|
+
)
|
|
5185
|
+
),
|
|
5186
|
+
de: Promise.resolve(
|
|
5187
|
+
(0, import_promises.readFile)(
|
|
5188
|
+
(0, import_path.join)(dir, "../../../docs/de/packages/react-intlayer/useI18n.md"),
|
|
5189
|
+
"utf8"
|
|
5190
|
+
)
|
|
5191
|
+
),
|
|
5192
|
+
ar: Promise.resolve(
|
|
5193
|
+
(0, import_promises.readFile)(
|
|
5194
|
+
(0, import_path.join)(dir, "../../../docs/ar/packages/react-intlayer/useI18n.md"),
|
|
5195
|
+
"utf8"
|
|
5196
|
+
)
|
|
5197
|
+
),
|
|
5198
|
+
pt: Promise.resolve(
|
|
5199
|
+
(0, import_promises.readFile)(
|
|
5200
|
+
(0, import_path.join)(dir, "../../../docs/pt/packages/react-intlayer/useI18n.md"),
|
|
5201
|
+
"utf8"
|
|
5202
|
+
)
|
|
5203
|
+
),
|
|
5204
|
+
"en-GB": Promise.resolve(
|
|
5205
|
+
(0, import_promises.readFile)(
|
|
5206
|
+
(0, import_path.join)(dir, "../../../docs/en-GB/packages/react-intlayer/useI18n.md"),
|
|
5207
|
+
"utf8"
|
|
5208
|
+
)
|
|
5209
|
+
),
|
|
5210
|
+
it: Promise.resolve(
|
|
5211
|
+
(0, import_promises.readFile)(
|
|
5212
|
+
(0, import_path.join)(dir, "../../../docs/it/packages/react-intlayer/useI18n.md"),
|
|
5213
|
+
"utf8"
|
|
5214
|
+
)
|
|
5215
|
+
),
|
|
5216
|
+
hi: Promise.resolve(
|
|
5217
|
+
(0, import_promises.readFile)(
|
|
5218
|
+
(0, import_path.join)(dir, "../../../docs/hi/packages/react-intlayer/useI18n.md"),
|
|
5219
|
+
"utf8"
|
|
5220
|
+
)
|
|
5221
|
+
)
|
|
5222
|
+
},
|
|
5143
5223
|
"./docs/en/packages/react-intlayer/useIntlayer.md": {
|
|
5144
5224
|
en: Promise.resolve(
|
|
5145
5225
|
(0, import_promises.readFile)(
|