@intlayer/docs 9.0.0-canary.9 → 9.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/blog/ar/internationalization_and_SEO.md +6 -0
- package/blog/ar/intlayer_with_i18next.md +8 -4
- package/blog/ar/intlayer_with_next-i18next.md +8 -4
- package/blog/ar/intlayer_with_next-intl.md +8 -4
- package/blog/ar/intlayer_with_react-i18next.md +8 -4
- package/blog/ar/intlayer_with_react-intl.md +8 -4
- package/blog/ar/intlayer_with_vue-i18n.md +8 -4
- package/blog/ar/nextjs-multilingual-seo-comparison.md +6 -0
- package/blog/de/internationalization_and_SEO.md +6 -0
- package/blog/de/intlayer_with_i18next.md +8 -4
- package/blog/de/intlayer_with_next-i18next.md +8 -4
- package/blog/de/intlayer_with_next-intl.md +8 -4
- package/blog/de/intlayer_with_react-i18next.md +8 -4
- package/blog/de/intlayer_with_react-intl.md +8 -4
- package/blog/de/intlayer_with_vue-i18n.md +8 -4
- package/blog/de/nextjs-multilingual-seo-comparison.md +6 -0
- package/blog/en/internationalization_and_SEO.md +6 -0
- package/blog/en/intlayer_with_i18next.md +8 -4
- package/blog/en/intlayer_with_next-i18next.md +8 -4
- package/blog/en/intlayer_with_next-intl.md +8 -4
- package/blog/en/intlayer_with_react-i18next.md +8 -4
- package/blog/en/intlayer_with_react-intl.md +8 -4
- package/blog/en/intlayer_with_vue-i18n.md +8 -4
- package/blog/en/nextjs-multilingual-seo-comparison.md +6 -0
- package/blog/en/rag_powered_documentation_assistant.md +6 -0
- package/blog/en-GB/internationalization_and_SEO.md +6 -0
- package/blog/en-GB/intlayer_with_i18next.md +8 -4
- package/blog/en-GB/intlayer_with_next-i18next.md +8 -4
- package/blog/en-GB/intlayer_with_next-intl.md +8 -4
- package/blog/en-GB/intlayer_with_react-i18next.md +8 -4
- package/blog/en-GB/intlayer_with_react-intl.md +8 -4
- package/blog/en-GB/intlayer_with_vue-i18n.md +8 -4
- package/blog/en-GB/nextjs-multilingual-seo-comparison.md +6 -0
- package/blog/es/internationalization_and_SEO.md +6 -0
- package/blog/es/intlayer_with_i18next.md +8 -4
- package/blog/es/intlayer_with_next-i18next.md +8 -4
- package/blog/es/intlayer_with_next-intl.md +8 -4
- package/blog/es/intlayer_with_react-i18next.md +8 -4
- package/blog/es/intlayer_with_react-intl.md +8 -4
- package/blog/es/intlayer_with_vue-i18n.md +8 -4
- package/blog/es/nextjs-multilingual-seo-comparison.md +6 -0
- package/blog/fr/internationalization_and_SEO.md +6 -0
- package/blog/fr/intlayer_with_i18next.md +8 -4
- package/blog/fr/intlayer_with_next-i18next.md +8 -4
- package/blog/fr/intlayer_with_next-intl.md +8 -4
- package/blog/fr/intlayer_with_react-i18next.md +8 -4
- package/blog/fr/intlayer_with_react-intl.md +8 -4
- package/blog/fr/intlayer_with_vue-i18n.md +8 -4
- package/blog/fr/nextjs-multilingual-seo-comparison.md +6 -0
- package/blog/hi/internationalization_and_SEO.md +6 -0
- package/blog/hi/intlayer_with_i18next.md +8 -4
- package/blog/hi/intlayer_with_next-i18next.md +8 -4
- package/blog/hi/intlayer_with_next-intl.md +8 -4
- package/blog/hi/intlayer_with_react-i18next.md +8 -4
- package/blog/hi/intlayer_with_react-intl.md +8 -4
- package/blog/hi/intlayer_with_vue-i18n.md +8 -4
- package/blog/hi/nextjs-multilingual-seo-comparison.md +6 -0
- package/blog/id/internationalization_and_SEO.md +6 -0
- package/blog/id/intlayer_with_i18next.md +8 -4
- package/blog/id/intlayer_with_next-i18next.md +8 -4
- package/blog/id/intlayer_with_next-intl.md +8 -4
- package/blog/id/intlayer_with_react-i18next.md +8 -4
- package/blog/id/intlayer_with_react-intl.md +8 -4
- package/blog/id/intlayer_with_vue-i18n.md +8 -4
- package/blog/id/nextjs-multilingual-seo-comparison.md +6 -0
- package/blog/it/internationalization_and_SEO.md +6 -0
- package/blog/it/intlayer_with_i18next.md +8 -4
- package/blog/it/intlayer_with_next-i18next.md +8 -4
- package/blog/it/intlayer_with_next-intl.md +8 -4
- package/blog/it/intlayer_with_react-i18next.md +8 -4
- package/blog/it/intlayer_with_react-intl.md +8 -4
- package/blog/it/intlayer_with_vue-i18n.md +8 -4
- package/blog/it/nextjs-multilingual-seo-comparison.md +6 -0
- package/blog/ja/internationalization_and_SEO.md +6 -0
- package/blog/ja/intlayer_with_i18next.md +8 -4
- package/blog/ja/intlayer_with_next-i18next.md +8 -4
- package/blog/ja/intlayer_with_next-intl.md +8 -4
- package/blog/ja/intlayer_with_react-i18next.md +8 -4
- package/blog/ja/intlayer_with_react-intl.md +8 -4
- package/blog/ja/intlayer_with_vue-i18n.md +8 -4
- package/blog/ja/nextjs-multilingual-seo-comparison.md +6 -0
- package/blog/ko/internationalization_and_SEO.md +6 -0
- package/blog/ko/intlayer_with_i18next.md +8 -4
- package/blog/ko/intlayer_with_next-i18next.md +8 -4
- package/blog/ko/intlayer_with_next-intl.md +8 -4
- package/blog/ko/intlayer_with_react-i18next.md +8 -4
- package/blog/ko/intlayer_with_react-intl.md +8 -4
- package/blog/ko/intlayer_with_vue-i18n.md +8 -4
- package/blog/ko/nextjs-multilingual-seo-comparison.md +6 -0
- package/blog/pl/internationalization_and_SEO.md +6 -0
- package/blog/pl/intlayer_with_i18next.md +8 -4
- package/blog/pl/intlayer_with_next-i18next.md +8 -4
- package/blog/pl/intlayer_with_next-intl.md +8 -4
- package/blog/pl/intlayer_with_react-i18next.md +8 -4
- package/blog/pl/intlayer_with_react-intl.md +8 -4
- package/blog/pl/intlayer_with_vue-i18n.md +8 -4
- package/blog/pl/nextjs-multilingual-seo-comparison.md +6 -0
- package/blog/pt/internationalization_and_SEO.md +6 -0
- package/blog/pt/intlayer_with_i18next.md +8 -4
- package/blog/pt/intlayer_with_next-i18next.md +8 -4
- package/blog/pt/intlayer_with_next-intl.md +8 -4
- package/blog/pt/intlayer_with_react-i18next.md +8 -4
- package/blog/pt/intlayer_with_react-intl.md +8 -4
- package/blog/pt/intlayer_with_vue-i18n.md +8 -4
- package/blog/pt/nextjs-multilingual-seo-comparison.md +6 -0
- package/blog/ru/internationalization_and_SEO.md +6 -0
- package/blog/ru/intlayer_with_i18next.md +8 -4
- package/blog/ru/intlayer_with_next-i18next.md +8 -4
- package/blog/ru/intlayer_with_next-intl.md +8 -4
- package/blog/ru/intlayer_with_react-i18next.md +8 -4
- package/blog/ru/intlayer_with_react-intl.md +8 -4
- package/blog/ru/intlayer_with_vue-i18n.md +8 -4
- package/blog/ru/nextjs-multilingual-seo-comparison.md +6 -0
- package/blog/tr/internationalization_and_SEO.md +6 -0
- package/blog/tr/intlayer_with_i18next.md +8 -4
- package/blog/tr/intlayer_with_next-i18next.md +8 -4
- package/blog/tr/intlayer_with_next-intl.md +8 -4
- package/blog/tr/intlayer_with_react-i18next.md +8 -4
- package/blog/tr/intlayer_with_react-intl.md +8 -4
- package/blog/tr/intlayer_with_vue-i18n.md +8 -4
- package/blog/tr/nextjs-multilingual-seo-comparison.md +6 -0
- package/blog/uk/internationalization_and_SEO.md +6 -0
- package/blog/uk/intlayer_with_i18next.md +8 -4
- package/blog/uk/intlayer_with_next-i18next.md +8 -4
- package/blog/uk/intlayer_with_next-intl.md +8 -4
- package/blog/uk/intlayer_with_react-i18next.md +8 -4
- package/blog/uk/intlayer_with_react-intl.md +8 -4
- package/blog/uk/intlayer_with_vue-i18n.md +8 -4
- package/blog/uk/nextjs-multilingual-seo-comparison.md +6 -0
- package/blog/vi/internationalization_and_SEO.md +6 -0
- package/blog/vi/intlayer_with_i18next.md +8 -4
- package/blog/vi/intlayer_with_next-i18next.md +8 -4
- package/blog/vi/intlayer_with_next-intl.md +8 -4
- package/blog/vi/intlayer_with_react-i18next.md +8 -4
- package/blog/vi/intlayer_with_react-intl.md +8 -4
- package/blog/vi/intlayer_with_vue-i18n.md +8 -4
- package/blog/vi/nextjs-multilingual-seo-comparison.md +6 -0
- package/blog/zh/internationalization_and_SEO.md +6 -0
- package/blog/zh/nextjs-multilingual-seo-comparison.md +6 -0
- package/dist/cjs/authors.cjs.map +1 -1
- package/dist/cjs/blog.cjs.map +1 -1
- package/dist/cjs/common.cjs +2 -1
- package/dist/cjs/common.cjs.map +1 -1
- package/dist/cjs/doc.cjs.map +1 -1
- package/dist/cjs/frequentQuestions.cjs.map +1 -1
- package/dist/cjs/generated/blog.entry.cjs +0 -1
- package/dist/cjs/generated/blog.entry.cjs.map +1 -1
- package/dist/cjs/generated/docs.entry.cjs +60 -1
- package/dist/cjs/generated/docs.entry.cjs.map +1 -1
- package/dist/cjs/generated/frequentQuestions.entry.cjs +0 -1
- package/dist/cjs/generated/frequentQuestions.entry.cjs.map +1 -1
- package/dist/cjs/generated/legal.entry.cjs +0 -1
- package/dist/cjs/generated/legal.entry.cjs.map +1 -1
- package/dist/cjs/legal.cjs.map +1 -1
- package/dist/esm/authors.mjs.map +1 -1
- package/dist/esm/blog.mjs.map +1 -1
- package/dist/esm/common.mjs +2 -1
- package/dist/esm/common.mjs.map +1 -1
- package/dist/esm/doc.mjs.map +1 -1
- package/dist/esm/frequentQuestions.mjs.map +1 -1
- package/dist/esm/generated/blog.entry.mjs.map +1 -1
- package/dist/esm/generated/docs.entry.mjs +60 -0
- package/dist/esm/generated/docs.entry.mjs.map +1 -1
- package/dist/esm/generated/frequentQuestions.entry.mjs.map +1 -1
- package/dist/esm/generated/legal.entry.mjs.map +1 -1
- package/dist/esm/legal.mjs.map +1 -1
- package/dist/types/authors.d.ts +16 -8
- package/dist/types/authors.d.ts.map +1 -1
- package/dist/types/blog.d.ts +0 -1
- package/dist/types/blog.d.ts.map +1 -1
- package/dist/types/common.d.ts +0 -1
- package/dist/types/common.d.ts.map +1 -1
- package/dist/types/doc.d.ts +0 -1
- package/dist/types/doc.d.ts.map +1 -1
- package/dist/types/frequentQuestions.d.ts +0 -1
- package/dist/types/frequentQuestions.d.ts.map +1 -1
- package/dist/types/generated/blog.entry.d.ts +0 -1
- package/dist/types/generated/blog.entry.d.ts.map +1 -1
- package/dist/types/generated/docs.entry.d.ts +3 -1
- package/dist/types/generated/docs.entry.d.ts.map +1 -1
- package/dist/types/generated/frequentQuestions.entry.d.ts +0 -1
- package/dist/types/generated/frequentQuestions.entry.d.ts.map +1 -1
- package/dist/types/generated/legal.entry.d.ts +0 -1
- package/dist/types/generated/legal.entry.d.ts.map +1 -1
- package/dist/types/legal.d.ts +0 -1
- package/dist/types/legal.d.ts.map +1 -1
- package/docs/ar/bundle_optimization.md +16 -0
- package/docs/ar/cli/index.md +1 -1
- package/docs/ar/cli/scan.md +2 -2
- package/docs/ar/configuration.md +42 -1
- package/docs/ar/how_works_intlayer.md +2 -2
- package/docs/ar/intlayer_CMS.md +14 -122
- package/docs/ar/intlayer_with_adonisjs.md +8 -4
- package/docs/ar/intlayer_with_analog.md +8 -4
- package/docs/ar/intlayer_with_angular_19.md +8 -4
- package/docs/ar/intlayer_with_angular_21.md +8 -4
- package/docs/ar/intlayer_with_astro_lit.md +11 -7
- package/docs/ar/intlayer_with_astro_preact.md +8 -4
- package/docs/ar/intlayer_with_astro_react.md +8 -4
- package/docs/ar/intlayer_with_astro_solid.md +8 -4
- package/docs/ar/intlayer_with_astro_svelte.md +8 -4
- package/docs/ar/intlayer_with_astro_vanilla.md +8 -4
- package/docs/ar/intlayer_with_astro_vue.md +8 -4
- package/docs/ar/intlayer_with_create_react_app.md +8 -4
- package/docs/ar/intlayer_with_express.md +8 -4
- package/docs/ar/intlayer_with_fastify.md +8 -4
- package/docs/ar/intlayer_with_hono.md +8 -4
- package/docs/ar/intlayer_with_lynx+react.md +8 -4
- package/docs/ar/intlayer_with_nestjs.md +8 -4
- package/docs/ar/intlayer_with_next-i18next.md +8 -4
- package/docs/ar/intlayer_with_nextjs_14.md +8 -4
- package/docs/ar/intlayer_with_nextjs_15.md +10 -8
- package/docs/ar/intlayer_with_nextjs_16.md +10 -8
- package/docs/ar/intlayer_with_nextjs_compiler.md +9 -7
- package/docs/ar/intlayer_with_nextjs_no_locale_path.md +10 -8
- package/docs/ar/intlayer_with_nextjs_page_router.md +8 -4
- package/docs/ar/intlayer_with_nuxt.md +9 -5
- package/docs/ar/intlayer_with_react_native+expo.md +8 -4
- package/docs/ar/intlayer_with_react_router_v7.md +9 -5
- package/docs/ar/intlayer_with_react_router_v7_fs_routes.md +9 -5
- package/docs/ar/intlayer_with_svelte_kit.md +8 -4
- package/docs/ar/intlayer_with_tanstack+solid.md +9 -5
- package/docs/ar/intlayer_with_tanstack.md +10 -7
- package/docs/ar/intlayer_with_vite+lit.md +8 -4
- package/docs/ar/intlayer_with_vite+preact.md +9 -5
- package/docs/ar/intlayer_with_vite+react.md +9 -5
- package/docs/ar/intlayer_with_vite+react_compiler.md +9 -5
- package/docs/ar/intlayer_with_vite+solid.md +9 -5
- package/docs/ar/intlayer_with_vite+svelte.md +8 -4
- package/docs/ar/intlayer_with_vite+vanilla.md +8 -4
- package/docs/ar/intlayer_with_vite+vue.md +9 -5
- package/docs/ar/live-sync.md +174 -0
- package/docs/ar/migration_from_i18next_to_intlayer.md +8 -4
- package/docs/ar/migration_from_next-i18next_to_intlayer.md +8 -4
- package/docs/ar/migration_from_next-intl_to_intlayer.md +9 -7
- package/docs/ar/migration_from_nuxtjs_i18n_to_intlayer.md +8 -4
- package/docs/ar/migration_from_react-i18next_to_intlayer.md +9 -7
- package/docs/ar/migration_from_vue-i18n_to_intlayer.md +8 -4
- package/docs/ar/releases/v9.md +128 -33
- package/docs/ar/self_hosting.md +350 -0
- package/docs/bn/bundle_optimization.md +16 -0
- package/docs/bn/cli/index.md +1 -1
- package/docs/bn/cli/scan.md +2 -2
- package/docs/bn/configuration.md +45 -1
- package/docs/bn/intlayer_CMS.md +570 -0
- package/docs/bn/intlayer_with_angular_21.md +8 -4
- package/docs/bn/intlayer_with_fastify.md +8 -4
- package/docs/bn/intlayer_with_hono.md +8 -4
- package/docs/bn/intlayer_with_vite+lit.md +8 -4
- package/docs/bn/intlayer_with_vite+vanilla.md +8 -4
- package/docs/bn/releases/v9.md +349 -0
- package/docs/cs/bundle_optimization.md +16 -0
- package/docs/cs/cli/index.md +1 -1
- package/docs/cs/cli/scan.md +2 -2
- package/docs/cs/configuration.md +45 -1
- package/docs/cs/intlayer_with_angular_21.md +8 -4
- package/docs/cs/intlayer_with_fastify.md +8 -4
- package/docs/cs/intlayer_with_hono.md +8 -4
- package/docs/cs/intlayer_with_vite+lit.md +8 -4
- package/docs/cs/intlayer_with_vite+vanilla.md +8 -4
- package/docs/cs/releases/v9.md +349 -0
- package/docs/de/bundle_optimization.md +16 -0
- package/docs/de/cli/index.md +1 -1
- package/docs/de/cli/scan.md +2 -2
- package/docs/de/configuration.md +42 -1
- package/docs/de/how_works_intlayer.md +2 -2
- package/docs/de/intlayer_CMS.md +86 -100
- package/docs/de/intlayer_with_adonisjs.md +8 -4
- package/docs/de/intlayer_with_analog.md +8 -4
- package/docs/de/intlayer_with_angular_19.md +8 -4
- package/docs/de/intlayer_with_angular_21.md +8 -4
- package/docs/de/intlayer_with_astro_lit.md +11 -7
- package/docs/de/intlayer_with_astro_preact.md +8 -4
- package/docs/de/intlayer_with_astro_react.md +8 -4
- package/docs/de/intlayer_with_astro_solid.md +8 -4
- package/docs/de/intlayer_with_astro_svelte.md +8 -4
- package/docs/de/intlayer_with_astro_vanilla.md +8 -4
- package/docs/de/intlayer_with_astro_vue.md +8 -4
- package/docs/de/intlayer_with_create_react_app.md +8 -4
- package/docs/de/intlayer_with_express.md +8 -4
- package/docs/de/intlayer_with_fastify.md +8 -4
- package/docs/de/intlayer_with_hono.md +8 -4
- package/docs/de/intlayer_with_lynx+react.md +8 -4
- package/docs/de/intlayer_with_nestjs.md +8 -4
- package/docs/de/intlayer_with_next-i18next.md +8 -4
- package/docs/de/intlayer_with_nextjs_14.md +8 -4
- package/docs/de/intlayer_with_nextjs_15.md +10 -8
- package/docs/de/intlayer_with_nextjs_16.md +10 -8
- package/docs/de/intlayer_with_nextjs_no_locale_path.md +10 -8
- package/docs/de/intlayer_with_nextjs_page_router.md +8 -4
- package/docs/de/intlayer_with_nuxt.md +9 -5
- package/docs/de/intlayer_with_react_native+expo.md +8 -4
- package/docs/de/intlayer_with_react_router_v7.md +9 -5
- package/docs/de/intlayer_with_svelte_kit.md +8 -4
- package/docs/de/intlayer_with_tanstack+solid.md +9 -5
- package/docs/de/intlayer_with_tanstack.md +10 -7
- package/docs/de/intlayer_with_vite+lit.md +8 -4
- package/docs/de/intlayer_with_vite+preact.md +9 -5
- package/docs/de/intlayer_with_vite+react.md +9 -5
- package/docs/de/intlayer_with_vite+react_compiler.md +9 -5
- package/docs/de/intlayer_with_vite+solid.md +9 -5
- package/docs/de/intlayer_with_vite+vanilla.md +8 -4
- package/docs/de/intlayer_with_vite+vue.md +9 -5
- package/docs/de/live-sync.md +174 -0
- package/docs/de/migration_from_i18next_to_intlayer.md +8 -4
- package/docs/de/migration_from_next-i18next_to_intlayer.md +8 -4
- package/docs/de/migration_from_next-intl_to_intlayer.md +9 -7
- package/docs/de/migration_from_nuxtjs_i18n_to_intlayer.md +8 -4
- package/docs/de/migration_from_react-i18next_to_intlayer.md +9 -7
- package/docs/de/migration_from_vue-i18n_to_intlayer.md +8 -4
- package/docs/de/releases/v9.md +131 -33
- package/docs/de/self_hosting.md +350 -0
- package/docs/en/analytics.md +222 -0
- package/docs/en/bundle_optimization.md +16 -0
- package/docs/en/cli/index.md +1 -1
- package/docs/en/cli/scan.md +2 -2
- package/docs/en/configuration.md +42 -1
- package/docs/en/how_works_intlayer.md +2 -2
- package/docs/en/intlayer_CMS.md +143 -107
- package/docs/en/intlayer_with_adonisjs.md +8 -4
- package/docs/en/intlayer_with_analog.md +8 -4
- package/docs/en/intlayer_with_angular_19.md +8 -4
- package/docs/en/intlayer_with_angular_21.md +8 -4
- package/docs/en/intlayer_with_astro.md +8 -4
- package/docs/en/intlayer_with_astro_lit.md +11 -7
- package/docs/en/intlayer_with_astro_preact.md +8 -4
- package/docs/en/intlayer_with_astro_react.md +8 -4
- package/docs/en/intlayer_with_astro_solid.md +8 -4
- package/docs/en/intlayer_with_astro_svelte.md +8 -4
- package/docs/en/intlayer_with_astro_vanilla.md +8 -4
- package/docs/en/intlayer_with_astro_vue.md +8 -4
- package/docs/en/intlayer_with_create_react_app.md +8 -4
- package/docs/en/intlayer_with_express.md +8 -4
- package/docs/en/intlayer_with_fastify.md +8 -4
- package/docs/en/intlayer_with_hono.md +8 -4
- package/docs/en/intlayer_with_lynx+react.md +8 -4
- package/docs/en/intlayer_with_nestjs.md +8 -4
- package/docs/en/intlayer_with_next-i18next.md +8 -4
- package/docs/en/intlayer_with_nextjs_14.md +8 -4
- package/docs/en/intlayer_with_nextjs_15.md +9 -7
- package/docs/en/intlayer_with_nextjs_16.md +10 -8
- package/docs/en/intlayer_with_nextjs_compiler.md +10 -8
- package/docs/en/intlayer_with_nextjs_no_locale_path.md +10 -8
- package/docs/en/intlayer_with_nextjs_page_router.md +8 -4
- package/docs/en/intlayer_with_nuxt.md +9 -5
- package/docs/en/intlayer_with_react_native+expo.md +8 -4
- package/docs/en/intlayer_with_react_router_v7.md +9 -5
- package/docs/en/intlayer_with_svelte_kit.md +8 -4
- package/docs/en/intlayer_with_tanstack+solid.md +9 -5
- package/docs/en/intlayer_with_tanstack.md +10 -7
- package/docs/en/intlayer_with_vite+lit.md +8 -4
- package/docs/en/intlayer_with_vite+preact.md +9 -5
- package/docs/en/intlayer_with_vite+react.md +9 -5
- package/docs/en/intlayer_with_vite+react_compiler.md +9 -5
- package/docs/en/intlayer_with_vite+solid.md +9 -5
- package/docs/en/intlayer_with_vite+svelte.md +8 -4
- package/docs/en/intlayer_with_vite+vanilla.md +8 -4
- package/docs/en/intlayer_with_vite+vue.md +9 -5
- package/docs/en/live-sync.md +184 -0
- package/docs/en/migration_from_i18next_to_intlayer.md +8 -4
- package/docs/en/migration_from_next-i18next_to_intlayer.md +8 -4
- package/docs/en/migration_from_next-intl_to_intlayer.md +9 -7
- package/docs/en/migration_from_nuxtjs_i18n_to_intlayer.md +8 -4
- package/docs/en/migration_from_react-i18next_to_intlayer.md +9 -7
- package/docs/en/migration_from_vue-i18n_to_intlayer.md +8 -4
- package/docs/en/releases/v9.md +124 -29
- package/docs/en/self_hosting.md +310 -0
- package/docs/en-GB/bundle_optimization.md +16 -0
- package/docs/en-GB/cli/index.md +1 -1
- package/docs/en-GB/cli/scan.md +2 -2
- package/docs/en-GB/configuration.md +42 -1
- package/docs/en-GB/how_works_intlayer.md +2 -2
- package/docs/en-GB/intlayer_CMS.md +14 -122
- package/docs/en-GB/intlayer_with_adonisjs.md +8 -4
- package/docs/en-GB/intlayer_with_analog.md +8 -4
- package/docs/en-GB/intlayer_with_angular_19.md +8 -4
- package/docs/en-GB/intlayer_with_angular_21.md +8 -4
- package/docs/en-GB/intlayer_with_astro_lit.md +11 -7
- package/docs/en-GB/intlayer_with_astro_preact.md +8 -4
- package/docs/en-GB/intlayer_with_astro_react.md +8 -4
- package/docs/en-GB/intlayer_with_astro_solid.md +8 -4
- package/docs/en-GB/intlayer_with_astro_svelte.md +8 -4
- package/docs/en-GB/intlayer_with_astro_vanilla.md +8 -4
- package/docs/en-GB/intlayer_with_astro_vue.md +8 -4
- package/docs/en-GB/intlayer_with_create_react_app.md +16 -8
- package/docs/en-GB/intlayer_with_express.md +8 -4
- package/docs/en-GB/intlayer_with_fastify.md +8 -4
- package/docs/en-GB/intlayer_with_hono.md +8 -4
- package/docs/en-GB/intlayer_with_lynx+react.md +16 -8
- package/docs/en-GB/intlayer_with_nestjs.md +8 -4
- package/docs/en-GB/intlayer_with_next-i18next.md +8 -4
- package/docs/en-GB/intlayer_with_nextjs_14.md +8 -4
- package/docs/en-GB/intlayer_with_nextjs_15.md +10 -8
- package/docs/en-GB/intlayer_with_nextjs_16.md +10 -8
- package/docs/en-GB/intlayer_with_nextjs_compiler.md +9 -7
- package/docs/en-GB/intlayer_with_nextjs_no_locale_path.md +10 -8
- package/docs/en-GB/intlayer_with_nextjs_page_router.md +8 -4
- package/docs/en-GB/intlayer_with_nuxt.md +9 -5
- package/docs/en-GB/intlayer_with_react_native+expo.md +8 -4
- package/docs/en-GB/intlayer_with_react_router_v7.md +9 -5
- package/docs/en-GB/intlayer_with_react_router_v7_fs_routes.md +9 -5
- package/docs/en-GB/intlayer_with_svelte_kit.md +8 -4
- package/docs/en-GB/intlayer_with_tanstack+solid.md +9 -5
- package/docs/en-GB/intlayer_with_tanstack.md +10 -7
- package/docs/en-GB/intlayer_with_vite+lit.md +8 -4
- package/docs/en-GB/intlayer_with_vite+preact.md +9 -5
- package/docs/en-GB/intlayer_with_vite+react.md +9 -5
- package/docs/en-GB/intlayer_with_vite+react_compiler.md +9 -5
- package/docs/en-GB/intlayer_with_vite+solid.md +9 -5
- package/docs/en-GB/intlayer_with_vite+svelte.md +8 -4
- package/docs/en-GB/intlayer_with_vite+vanilla.md +8 -4
- package/docs/en-GB/intlayer_with_vite+vue.md +9 -5
- package/docs/en-GB/live-sync.md +173 -0
- package/docs/en-GB/migration_from_i18next_to_intlayer.md +8 -4
- package/docs/en-GB/migration_from_next-i18next_to_intlayer.md +8 -4
- package/docs/en-GB/migration_from_next-intl_to_intlayer.md +9 -7
- package/docs/en-GB/migration_from_nuxtjs_i18n_to_intlayer.md +8 -4
- package/docs/en-GB/migration_from_react-i18next_to_intlayer.md +9 -7
- package/docs/en-GB/migration_from_vue-i18n_to_intlayer.md +8 -4
- package/docs/en-GB/releases/v9.md +117 -26
- package/docs/en-GB/self_hosting.md +350 -0
- package/docs/es/bundle_optimization.md +16 -0
- package/docs/es/cli/index.md +1 -1
- package/docs/es/cli/scan.md +2 -2
- package/docs/es/configuration.md +42 -1
- package/docs/es/how_works_intlayer.md +2 -2
- package/docs/es/intlayer_CMS.md +85 -104
- package/docs/es/intlayer_with_adonisjs.md +8 -4
- package/docs/es/intlayer_with_analog.md +8 -4
- package/docs/es/intlayer_with_angular_19.md +8 -4
- package/docs/es/intlayer_with_angular_21.md +8 -4
- package/docs/es/intlayer_with_astro_lit.md +11 -7
- package/docs/es/intlayer_with_astro_preact.md +8 -4
- package/docs/es/intlayer_with_astro_react.md +8 -4
- package/docs/es/intlayer_with_astro_solid.md +8 -4
- package/docs/es/intlayer_with_astro_svelte.md +8 -4
- package/docs/es/intlayer_with_astro_vanilla.md +8 -4
- package/docs/es/intlayer_with_astro_vue.md +8 -4
- package/docs/es/intlayer_with_create_react_app.md +8 -4
- package/docs/es/intlayer_with_express.md +8 -4
- package/docs/es/intlayer_with_fastify.md +8 -4
- package/docs/es/intlayer_with_hono.md +8 -4
- package/docs/es/intlayer_with_lynx+react.md +8 -4
- package/docs/es/intlayer_with_nestjs.md +8 -4
- package/docs/es/intlayer_with_next-i18next.md +8 -4
- package/docs/es/intlayer_with_nextjs_14.md +8 -4
- package/docs/es/intlayer_with_nextjs_15.md +10 -8
- package/docs/es/intlayer_with_nextjs_16.md +10 -8
- package/docs/es/intlayer_with_nextjs_compiler.md +9 -7
- package/docs/es/intlayer_with_nextjs_no_locale_path.md +10 -8
- package/docs/es/intlayer_with_nextjs_page_router.md +8 -4
- package/docs/es/intlayer_with_nuxt.md +9 -5
- package/docs/es/intlayer_with_react_native+expo.md +8 -4
- package/docs/es/intlayer_with_react_router_v7.md +9 -5
- package/docs/es/intlayer_with_svelte_kit.md +8 -4
- package/docs/es/intlayer_with_tanstack+solid.md +9 -5
- package/docs/es/intlayer_with_tanstack.md +10 -7
- package/docs/es/intlayer_with_vite+lit.md +8 -4
- package/docs/es/intlayer_with_vite+preact.md +9 -5
- package/docs/es/intlayer_with_vite+react.md +9 -5
- package/docs/es/intlayer_with_vite+react_compiler.md +9 -5
- package/docs/es/intlayer_with_vite+solid.md +9 -5
- package/docs/es/intlayer_with_vite+svelte.md +8 -4
- package/docs/es/intlayer_with_vite+vanilla.md +8 -4
- package/docs/es/intlayer_with_vite+vue.md +9 -5
- package/docs/es/live-sync.md +176 -0
- package/docs/es/migration_from_i18next_to_intlayer.md +8 -4
- package/docs/es/migration_from_next-i18next_to_intlayer.md +8 -4
- package/docs/es/migration_from_next-intl_to_intlayer.md +9 -7
- package/docs/es/migration_from_nuxtjs_i18n_to_intlayer.md +8 -4
- package/docs/es/migration_from_react-i18next_to_intlayer.md +9 -7
- package/docs/es/migration_from_vue-i18n_to_intlayer.md +8 -4
- package/docs/es/releases/v9.md +131 -33
- package/docs/es/self_hosting.md +350 -0
- package/docs/fr/bundle_optimization.md +16 -0
- package/docs/fr/cli/index.md +1 -1
- package/docs/fr/cli/scan.md +2 -2
- package/docs/fr/configuration.md +42 -1
- package/docs/fr/how_works_intlayer.md +2 -2
- package/docs/fr/intlayer_CMS.md +86 -100
- package/docs/fr/intlayer_with_adonisjs.md +8 -4
- package/docs/fr/intlayer_with_analog.md +8 -4
- package/docs/fr/intlayer_with_angular_19.md +8 -4
- package/docs/fr/intlayer_with_angular_21.md +8 -4
- package/docs/fr/intlayer_with_astro_lit.md +11 -7
- package/docs/fr/intlayer_with_astro_preact.md +8 -4
- package/docs/fr/intlayer_with_astro_react.md +8 -4
- package/docs/fr/intlayer_with_astro_solid.md +8 -4
- package/docs/fr/intlayer_with_astro_svelte.md +8 -4
- package/docs/fr/intlayer_with_astro_vanilla.md +8 -4
- package/docs/fr/intlayer_with_astro_vue.md +8 -4
- package/docs/fr/intlayer_with_create_react_app.md +8 -4
- package/docs/fr/intlayer_with_express.md +8 -4
- package/docs/fr/intlayer_with_fastify.md +8 -4
- package/docs/fr/intlayer_with_hono.md +8 -4
- package/docs/fr/intlayer_with_lynx+react.md +8 -4
- package/docs/fr/intlayer_with_nestjs.md +8 -4
- package/docs/fr/intlayer_with_next-i18next.md +8 -4
- package/docs/fr/intlayer_with_nextjs_14.md +8 -4
- package/docs/fr/intlayer_with_nextjs_15.md +10 -8
- package/docs/fr/intlayer_with_nextjs_16.md +10 -8
- package/docs/fr/intlayer_with_nextjs_compiler.md +9 -7
- package/docs/fr/intlayer_with_nextjs_no_locale_path.md +10 -8
- package/docs/fr/intlayer_with_nextjs_page_router.md +8 -4
- package/docs/fr/intlayer_with_nuxt.md +9 -5
- package/docs/fr/intlayer_with_react_native+expo.md +8 -4
- package/docs/fr/intlayer_with_react_router_v7.md +9 -5
- package/docs/fr/intlayer_with_svelte_kit.md +8 -4
- package/docs/fr/intlayer_with_tanstack+solid.md +9 -5
- package/docs/fr/intlayer_with_tanstack.md +10 -7
- package/docs/fr/intlayer_with_vite+lit.md +8 -4
- package/docs/fr/intlayer_with_vite+preact.md +9 -5
- package/docs/fr/intlayer_with_vite+react.md +9 -5
- package/docs/fr/intlayer_with_vite+react_compiler.md +9 -5
- package/docs/fr/intlayer_with_vite+solid.md +9 -5
- package/docs/fr/intlayer_with_vite+svelte.md +8 -4
- package/docs/fr/intlayer_with_vite+vanilla.md +8 -4
- package/docs/fr/intlayer_with_vite+vue.md +9 -5
- package/docs/fr/live-sync.md +174 -0
- package/docs/fr/migration_from_i18next_to_intlayer.md +8 -4
- package/docs/fr/migration_from_next-i18next_to_intlayer.md +8 -4
- package/docs/fr/migration_from_next-intl_to_intlayer.md +9 -7
- package/docs/fr/migration_from_nuxtjs_i18n_to_intlayer.md +8 -4
- package/docs/fr/migration_from_react-i18next_to_intlayer.md +9 -7
- package/docs/fr/migration_from_vue-i18n_to_intlayer.md +8 -4
- package/docs/fr/releases/v9.md +131 -25
- package/docs/fr/self_hosting.md +350 -0
- package/docs/hi/bundle_optimization.md +16 -0
- package/docs/hi/cli/index.md +1 -1
- package/docs/hi/cli/scan.md +2 -2
- package/docs/hi/configuration.md +42 -1
- package/docs/hi/how_works_intlayer.md +2 -2
- package/docs/hi/intlayer_CMS.md +14 -122
- package/docs/hi/intlayer_with_adonisjs.md +8 -4
- package/docs/hi/intlayer_with_analog.md +8 -4
- package/docs/hi/intlayer_with_angular_19.md +8 -4
- package/docs/hi/intlayer_with_angular_21.md +8 -4
- package/docs/hi/intlayer_with_astro_vue.md +8 -4
- package/docs/hi/intlayer_with_create_react_app.md +8 -4
- package/docs/hi/intlayer_with_express.md +8 -4
- package/docs/hi/intlayer_with_fastify.md +8 -4
- package/docs/hi/intlayer_with_hono.md +8 -4
- package/docs/hi/intlayer_with_lynx+react.md +8 -4
- package/docs/hi/intlayer_with_nestjs.md +8 -4
- package/docs/hi/intlayer_with_next-i18next.md +8 -4
- package/docs/hi/intlayer_with_nextjs_14.md +8 -4
- package/docs/hi/intlayer_with_nextjs_15.md +10 -8
- package/docs/hi/intlayer_with_nextjs_16.md +10 -8
- package/docs/hi/intlayer_with_nextjs_compiler.md +8 -4
- package/docs/hi/intlayer_with_nextjs_no_locale_path.md +10 -8
- package/docs/hi/intlayer_with_nextjs_page_router.md +8 -4
- package/docs/hi/intlayer_with_nuxt.md +9 -5
- package/docs/hi/intlayer_with_react_native+expo.md +8 -4
- package/docs/hi/intlayer_with_react_router_v7.md +9 -5
- package/docs/hi/intlayer_with_react_router_v7_fs_routes.md +9 -5
- package/docs/hi/intlayer_with_svelte_kit.md +8 -4
- package/docs/hi/intlayer_with_tanstack+solid.md +9 -5
- package/docs/hi/intlayer_with_tanstack.md +10 -7
- package/docs/hi/intlayer_with_vite+lit.md +8 -4
- package/docs/hi/intlayer_with_vite+preact.md +9 -5
- package/docs/hi/intlayer_with_vite+react.md +9 -5
- package/docs/hi/intlayer_with_vite+react_compiler.md +9 -5
- package/docs/hi/intlayer_with_vite+solid.md +9 -5
- package/docs/hi/intlayer_with_vite+svelte.md +8 -4
- package/docs/hi/intlayer_with_vite+vanilla.md +8 -4
- package/docs/hi/intlayer_with_vite+vue.md +9 -5
- package/docs/hi/live-sync.md +174 -0
- package/docs/hi/migration_from_i18next_to_intlayer.md +8 -4
- package/docs/hi/migration_from_next-i18next_to_intlayer.md +8 -4
- package/docs/hi/migration_from_next-intl_to_intlayer.md +9 -7
- package/docs/hi/migration_from_nuxtjs_i18n_to_intlayer.md +8 -4
- package/docs/hi/migration_from_react-i18next_to_intlayer.md +9 -7
- package/docs/hi/migration_from_vue-i18n_to_intlayer.md +8 -4
- package/docs/hi/packages/intlayer/index.md +8 -4
- package/docs/hi/releases/v9.md +129 -33
- package/docs/hi/self_hosting.md +350 -0
- package/docs/id/bundle_optimization.md +16 -0
- package/docs/id/cli/index.md +1 -1
- package/docs/id/cli/scan.md +2 -2
- package/docs/id/configuration.md +42 -1
- package/docs/id/how_works_intlayer.md +2 -2
- package/docs/id/intlayer_CMS.md +5 -139
- package/docs/id/intlayer_with_adonisjs.md +8 -4
- package/docs/id/intlayer_with_analog.md +8 -4
- package/docs/id/intlayer_with_angular_19.md +8 -4
- package/docs/id/intlayer_with_angular_21.md +8 -4
- package/docs/id/intlayer_with_astro_lit.md +11 -7
- package/docs/id/intlayer_with_astro_preact.md +8 -4
- package/docs/id/intlayer_with_astro_react.md +8 -4
- package/docs/id/intlayer_with_astro_solid.md +8 -4
- package/docs/id/intlayer_with_astro_svelte.md +8 -4
- package/docs/id/intlayer_with_astro_vanilla.md +8 -4
- package/docs/id/intlayer_with_astro_vue.md +8 -4
- package/docs/id/intlayer_with_create_react_app.md +8 -4
- package/docs/id/intlayer_with_express.md +8 -4
- package/docs/id/intlayer_with_fastify.md +8 -4
- package/docs/id/intlayer_with_hono.md +8 -4
- package/docs/id/intlayer_with_lynx+react.md +8 -4
- package/docs/id/intlayer_with_nestjs.md +8 -4
- package/docs/id/intlayer_with_next-i18next.md +8 -4
- package/docs/id/intlayer_with_nextjs_14.md +8 -4
- package/docs/id/intlayer_with_nextjs_15.md +9 -7
- package/docs/id/intlayer_with_nextjs_16.md +10 -8
- package/docs/id/intlayer_with_nextjs_compiler.md +8 -4
- package/docs/id/intlayer_with_nextjs_no_locale_path.md +10 -8
- package/docs/id/intlayer_with_nextjs_page_router.md +8 -4
- package/docs/id/intlayer_with_nuxt.md +9 -5
- package/docs/id/intlayer_with_react_native+expo.md +8 -4
- package/docs/id/intlayer_with_react_router_v7.md +9 -5
- package/docs/id/intlayer_with_svelte_kit.md +8 -4
- package/docs/id/intlayer_with_tanstack+solid.md +9 -5
- package/docs/id/intlayer_with_tanstack.md +10 -7
- package/docs/id/intlayer_with_vite+lit.md +8 -4
- package/docs/id/intlayer_with_vite+preact.md +9 -5
- package/docs/id/intlayer_with_vite+react.md +9 -5
- package/docs/id/intlayer_with_vite+react_compiler.md +9 -5
- package/docs/id/intlayer_with_vite+solid.md +9 -5
- package/docs/id/intlayer_with_vite+svelte.md +8 -4
- package/docs/id/intlayer_with_vite+vanilla.md +8 -4
- package/docs/id/intlayer_with_vite+vue.md +9 -5
- package/docs/id/live-sync.md +185 -0
- package/docs/id/migration_from_i18next_to_intlayer.md +8 -4
- package/docs/id/migration_from_next-i18next_to_intlayer.md +8 -4
- package/docs/id/migration_from_next-intl_to_intlayer.md +9 -7
- package/docs/id/migration_from_nuxtjs_i18n_to_intlayer.md +8 -4
- package/docs/id/migration_from_react-i18next_to_intlayer.md +9 -7
- package/docs/id/migration_from_vue-i18n_to_intlayer.md +8 -4
- package/docs/id/releases/v9.md +101 -33
- package/docs/id/self_hosting.md +350 -0
- package/docs/it/bundle_optimization.md +16 -0
- package/docs/it/cli/index.md +1 -1
- package/docs/it/cli/scan.md +2 -2
- package/docs/it/configuration.md +42 -1
- package/docs/it/how_works_intlayer.md +2 -2
- package/docs/it/intlayer_CMS.md +87 -94
- package/docs/it/intlayer_with_adonisjs.md +8 -4
- package/docs/it/intlayer_with_analog.md +8 -4
- package/docs/it/intlayer_with_angular_19.md +8 -4
- package/docs/it/intlayer_with_angular_21.md +8 -4
- package/docs/it/intlayer_with_astro_lit.md +11 -7
- package/docs/it/intlayer_with_astro_preact.md +8 -4
- package/docs/it/intlayer_with_astro_react.md +8 -4
- package/docs/it/intlayer_with_astro_solid.md +8 -4
- package/docs/it/intlayer_with_astro_svelte.md +8 -4
- package/docs/it/intlayer_with_astro_vanilla.md +8 -4
- package/docs/it/intlayer_with_astro_vue.md +8 -4
- package/docs/it/intlayer_with_create_react_app.md +8 -4
- package/docs/it/intlayer_with_express.md +8 -4
- package/docs/it/intlayer_with_fastify.md +8 -4
- package/docs/it/intlayer_with_hono.md +8 -4
- package/docs/it/intlayer_with_lynx+react.md +8 -4
- package/docs/it/intlayer_with_nestjs.md +8 -4
- package/docs/it/intlayer_with_next-i18next.md +8 -4
- package/docs/it/intlayer_with_nextjs_14.md +8 -4
- package/docs/it/intlayer_with_nextjs_15.md +10 -8
- package/docs/it/intlayer_with_nextjs_16.md +10 -8
- package/docs/it/intlayer_with_nextjs_compiler.md +9 -7
- package/docs/it/intlayer_with_nextjs_no_locale_path.md +10 -8
- package/docs/it/intlayer_with_nextjs_page_router.md +8 -4
- package/docs/it/intlayer_with_nuxt.md +9 -5
- package/docs/it/intlayer_with_react_native+expo.md +8 -4
- package/docs/it/intlayer_with_react_router_v7.md +9 -5
- package/docs/it/intlayer_with_svelte_kit.md +8 -4
- package/docs/it/intlayer_with_tanstack+solid.md +9 -5
- package/docs/it/intlayer_with_tanstack.md +10 -7
- package/docs/it/intlayer_with_vite+lit.md +8 -4
- package/docs/it/intlayer_with_vite+preact.md +9 -5
- package/docs/it/intlayer_with_vite+react.md +10 -6
- package/docs/it/intlayer_with_vite+react_compiler.md +9 -5
- package/docs/it/intlayer_with_vite+solid.md +9 -5
- package/docs/it/intlayer_with_vite+svelte.md +8 -4
- package/docs/it/intlayer_with_vite+vanilla.md +8 -4
- package/docs/it/intlayer_with_vite+vue.md +9 -5
- package/docs/it/live-sync.md +174 -0
- package/docs/it/migration_from_i18next_to_intlayer.md +8 -4
- package/docs/it/migration_from_next-i18next_to_intlayer.md +8 -4
- package/docs/it/migration_from_next-intl_to_intlayer.md +8 -4
- package/docs/it/migration_from_nuxtjs_i18n_to_intlayer.md +8 -4
- package/docs/it/migration_from_react-i18next_to_intlayer.md +9 -7
- package/docs/it/migration_from_vue-i18n_to_intlayer.md +8 -4
- package/docs/it/releases/v9.md +131 -33
- package/docs/it/self_hosting.md +350 -0
- package/docs/ja/bundle_optimization.md +16 -0
- package/docs/ja/cli/index.md +1 -1
- package/docs/ja/cli/scan.md +2 -2
- package/docs/ja/configuration.md +42 -1
- package/docs/ja/how_works_intlayer.md +2 -2
- package/docs/ja/intlayer_CMS.md +149 -102
- package/docs/ja/intlayer_with_adonisjs.md +8 -4
- package/docs/ja/intlayer_with_analog.md +8 -4
- package/docs/ja/intlayer_with_angular_19.md +8 -4
- package/docs/ja/intlayer_with_angular_21.md +8 -4
- package/docs/ja/intlayer_with_astro_lit.md +11 -7
- package/docs/ja/intlayer_with_astro_preact.md +8 -4
- package/docs/ja/intlayer_with_astro_react.md +8 -4
- package/docs/ja/intlayer_with_astro_solid.md +8 -4
- package/docs/ja/intlayer_with_astro_svelte.md +8 -4
- package/docs/ja/intlayer_with_astro_vanilla.md +8 -4
- package/docs/ja/intlayer_with_astro_vue.md +8 -4
- package/docs/ja/intlayer_with_create_react_app.md +8 -4
- package/docs/ja/intlayer_with_express.md +8 -4
- package/docs/ja/intlayer_with_fastify.md +8 -4
- package/docs/ja/intlayer_with_hono.md +8 -4
- package/docs/ja/intlayer_with_lynx+react.md +8 -4
- package/docs/ja/intlayer_with_nestjs.md +8 -4
- package/docs/ja/intlayer_with_next-i18next.md +8 -4
- package/docs/ja/intlayer_with_nextjs_14.md +8 -4
- package/docs/ja/intlayer_with_nextjs_15.md +10 -8
- package/docs/ja/intlayer_with_nextjs_16.md +10 -8
- package/docs/ja/intlayer_with_nextjs_compiler.md +8 -4
- package/docs/ja/intlayer_with_nextjs_no_locale_path.md +10 -8
- package/docs/ja/intlayer_with_nextjs_page_router.md +8 -4
- package/docs/ja/intlayer_with_nuxt.md +9 -5
- package/docs/ja/intlayer_with_react_native+expo.md +8 -4
- package/docs/ja/intlayer_with_tanstack+solid.md +9 -5
- package/docs/ja/intlayer_with_tanstack.md +10 -7
- package/docs/ja/intlayer_with_vite+lit.md +8 -4
- package/docs/ja/intlayer_with_vite+preact.md +9 -5
- package/docs/ja/intlayer_with_vite+react_compiler.md +9 -5
- package/docs/ja/intlayer_with_vite+solid.md +9 -5
- package/docs/ja/intlayer_with_vite+svelte.md +8 -4
- package/docs/ja/intlayer_with_vite+vanilla.md +8 -4
- package/docs/ja/intlayer_with_vite+vue.md +9 -5
- package/docs/ja/live-sync.md +185 -0
- package/docs/ja/migration_from_i18next_to_intlayer.md +8 -4
- package/docs/ja/migration_from_next-i18next_to_intlayer.md +8 -4
- package/docs/ja/migration_from_next-intl_to_intlayer.md +9 -7
- package/docs/ja/migration_from_nuxtjs_i18n_to_intlayer.md +8 -4
- package/docs/ja/migration_from_react-i18next_to_intlayer.md +9 -7
- package/docs/ja/migration_from_vue-i18n_to_intlayer.md +8 -4
- package/docs/ja/releases/v9.md +101 -33
- package/docs/ja/self_hosting.md +350 -0
- package/docs/ko/bundle_optimization.md +16 -0
- package/docs/ko/cli/index.md +1 -1
- package/docs/ko/cli/scan.md +2 -2
- package/docs/ko/configuration.md +42 -1
- package/docs/ko/how_works_intlayer.md +2 -2
- package/docs/ko/intlayer_CMS.md +147 -100
- package/docs/ko/intlayer_with_adonisjs.md +8 -4
- package/docs/ko/intlayer_with_analog.md +8 -4
- package/docs/ko/intlayer_with_angular_19.md +8 -4
- package/docs/ko/intlayer_with_angular_21.md +8 -4
- package/docs/ko/intlayer_with_astro_vue.md +8 -4
- package/docs/ko/intlayer_with_create_react_app.md +8 -4
- package/docs/ko/intlayer_with_express.md +8 -4
- package/docs/ko/intlayer_with_fastify.md +8 -4
- package/docs/ko/intlayer_with_hono.md +8 -4
- package/docs/ko/intlayer_with_nestjs.md +8 -4
- package/docs/ko/intlayer_with_next-i18next.md +8 -4
- package/docs/ko/intlayer_with_nextjs_15.md +10 -8
- package/docs/ko/intlayer_with_nextjs_16.md +10 -8
- package/docs/ko/intlayer_with_nextjs_compiler.md +9 -7
- package/docs/ko/intlayer_with_nextjs_no_locale_path.md +10 -8
- package/docs/ko/intlayer_with_nextjs_page_router.md +8 -4
- package/docs/ko/intlayer_with_nuxt.md +9 -5
- package/docs/ko/intlayer_with_react_native+expo.md +8 -4
- package/docs/ko/intlayer_with_react_router_v7.md +9 -5
- package/docs/ko/intlayer_with_react_router_v7_fs_routes.md +9 -5
- package/docs/ko/intlayer_with_svelte_kit.md +8 -4
- package/docs/ko/intlayer_with_tanstack+solid.md +9 -5
- package/docs/ko/intlayer_with_tanstack.md +10 -7
- package/docs/ko/intlayer_with_vite+lit.md +8 -4
- package/docs/ko/intlayer_with_vite+preact.md +9 -5
- package/docs/ko/intlayer_with_vite+react_compiler.md +9 -5
- package/docs/ko/intlayer_with_vite+solid.md +9 -5
- package/docs/ko/intlayer_with_vite+svelte.md +8 -4
- package/docs/ko/intlayer_with_vite+vanilla.md +8 -4
- package/docs/ko/intlayer_with_vite+vue.md +9 -5
- package/docs/ko/live-sync.md +187 -0
- package/docs/ko/migration_from_i18next_to_intlayer.md +8 -4
- package/docs/ko/migration_from_next-i18next_to_intlayer.md +8 -4
- package/docs/ko/migration_from_next-intl_to_intlayer.md +9 -7
- package/docs/ko/migration_from_nuxtjs_i18n_to_intlayer.md +8 -4
- package/docs/ko/migration_from_react-i18next_to_intlayer.md +9 -7
- package/docs/ko/migration_from_vue-i18n_to_intlayer.md +8 -4
- package/docs/ko/releases/v9.md +100 -33
- package/docs/ko/self_hosting.md +350 -0
- package/docs/nl/bundle_optimization.md +16 -0
- package/docs/nl/cli/index.md +1 -1
- package/docs/nl/cli/scan.md +2 -2
- package/docs/nl/configuration.md +45 -1
- package/docs/nl/intlayer_with_angular_21.md +8 -4
- package/docs/nl/intlayer_with_fastify.md +8 -4
- package/docs/nl/intlayer_with_hono.md +8 -4
- package/docs/nl/intlayer_with_vite+lit.md +8 -4
- package/docs/nl/intlayer_with_vite+vanilla.md +8 -4
- package/docs/nl/releases/v9.md +349 -0
- package/docs/pl/bundle_optimization.md +16 -0
- package/docs/pl/cli/index.md +1 -1
- package/docs/pl/cli/scan.md +2 -2
- package/docs/pl/configuration.md +45 -1
- package/docs/pl/how_works_intlayer.md +2 -2
- package/docs/pl/intlayer_CMS.md +14 -133
- package/docs/pl/intlayer_with_adonisjs.md +8 -4
- package/docs/pl/intlayer_with_analog.md +8 -4
- package/docs/pl/intlayer_with_angular_19.md +8 -4
- package/docs/pl/intlayer_with_angular_21.md +8 -4
- package/docs/pl/intlayer_with_astro_lit.md +11 -7
- package/docs/pl/intlayer_with_astro_preact.md +8 -4
- package/docs/pl/intlayer_with_astro_react.md +8 -4
- package/docs/pl/intlayer_with_astro_solid.md +8 -4
- package/docs/pl/intlayer_with_astro_svelte.md +8 -4
- package/docs/pl/intlayer_with_astro_vanilla.md +8 -4
- package/docs/pl/intlayer_with_astro_vue.md +8 -4
- package/docs/pl/intlayer_with_create_react_app.md +8 -4
- package/docs/pl/intlayer_with_express.md +8 -4
- package/docs/pl/intlayer_with_fastify.md +8 -4
- package/docs/pl/intlayer_with_hono.md +8 -4
- package/docs/pl/intlayer_with_lynx+react.md +8 -4
- package/docs/pl/intlayer_with_nestjs.md +8 -4
- package/docs/pl/intlayer_with_next-i18next.md +8 -4
- package/docs/pl/intlayer_with_nextjs_14.md +8 -4
- package/docs/pl/intlayer_with_nextjs_15.md +9 -7
- package/docs/pl/intlayer_with_nextjs_16.md +10 -8
- package/docs/pl/intlayer_with_nextjs_compiler.md +8 -4
- package/docs/pl/intlayer_with_nextjs_no_locale_path.md +10 -8
- package/docs/pl/intlayer_with_nextjs_page_router.md +8 -4
- package/docs/pl/intlayer_with_nuxt.md +9 -5
- package/docs/pl/intlayer_with_react_native+expo.md +8 -4
- package/docs/pl/intlayer_with_react_router_v7.md +9 -5
- package/docs/pl/intlayer_with_svelte_kit.md +8 -4
- package/docs/pl/intlayer_with_tanstack+solid.md +9 -5
- package/docs/pl/intlayer_with_tanstack.md +10 -7
- package/docs/pl/intlayer_with_vite+lit.md +8 -4
- package/docs/pl/intlayer_with_vite+preact.md +9 -5
- package/docs/pl/intlayer_with_vite+react.md +9 -5
- package/docs/pl/intlayer_with_vite+react_compiler.md +9 -5
- package/docs/pl/intlayer_with_vite+solid.md +9 -5
- package/docs/pl/intlayer_with_vite+svelte.md +8 -4
- package/docs/pl/intlayer_with_vite+vanilla.md +8 -4
- package/docs/pl/intlayer_with_vite+vue.md +9 -5
- package/docs/pl/live-sync.md +185 -0
- package/docs/pl/migration_from_next-i18next_to_intlayer.md +8 -4
- package/docs/pl/migration_from_next-intl_to_intlayer.md +9 -7
- package/docs/pl/migration_from_nuxtjs_i18n_to_intlayer.md +8 -4
- package/docs/pl/migration_from_react-i18next_to_intlayer.md +9 -7
- package/docs/pl/releases/v9.md +128 -33
- package/docs/pl/self_hosting.md +350 -0
- package/docs/pt/bundle_optimization.md +16 -0
- package/docs/pt/cli/index.md +1 -1
- package/docs/pt/cli/scan.md +2 -2
- package/docs/pt/configuration.md +45 -1
- package/docs/pt/how_works_intlayer.md +2 -2
- package/docs/pt/intlayer_CMS.md +87 -109
- package/docs/pt/intlayer_with_adonisjs.md +8 -4
- package/docs/pt/intlayer_with_analog.md +8 -4
- package/docs/pt/intlayer_with_angular_19.md +8 -4
- package/docs/pt/intlayer_with_angular_21.md +8 -4
- package/docs/pt/intlayer_with_astro_lit.md +11 -7
- package/docs/pt/intlayer_with_astro_preact.md +8 -4
- package/docs/pt/intlayer_with_astro_react.md +8 -4
- package/docs/pt/intlayer_with_astro_solid.md +8 -4
- package/docs/pt/intlayer_with_astro_svelte.md +8 -4
- package/docs/pt/intlayer_with_astro_vanilla.md +8 -4
- package/docs/pt/intlayer_with_astro_vue.md +8 -4
- package/docs/pt/intlayer_with_create_react_app.md +8 -4
- package/docs/pt/intlayer_with_express.md +8 -4
- package/docs/pt/intlayer_with_fastify.md +8 -4
- package/docs/pt/intlayer_with_hono.md +8 -4
- package/docs/pt/intlayer_with_lynx+react.md +8 -4
- package/docs/pt/intlayer_with_nestjs.md +8 -4
- package/docs/pt/intlayer_with_next-i18next.md +8 -4
- package/docs/pt/intlayer_with_nextjs_14.md +8 -4
- package/docs/pt/intlayer_with_nextjs_15.md +10 -8
- package/docs/pt/intlayer_with_nextjs_16.md +10 -8
- package/docs/pt/intlayer_with_nextjs_compiler.md +9 -7
- package/docs/pt/intlayer_with_nextjs_no_locale_path.md +10 -8
- package/docs/pt/intlayer_with_nextjs_page_router.md +8 -4
- package/docs/pt/intlayer_with_nuxt.md +9 -5
- package/docs/pt/intlayer_with_react_native+expo.md +8 -4
- package/docs/pt/intlayer_with_react_router_v7.md +9 -5
- package/docs/pt/intlayer_with_svelte_kit.md +8 -4
- package/docs/pt/intlayer_with_tanstack+solid.md +9 -5
- package/docs/pt/intlayer_with_tanstack.md +10 -7
- package/docs/pt/intlayer_with_vite+lit.md +8 -4
- package/docs/pt/intlayer_with_vite+preact.md +9 -5
- package/docs/pt/intlayer_with_vite+react.md +9 -5
- package/docs/pt/intlayer_with_vite+react_compiler.md +9 -5
- package/docs/pt/intlayer_with_vite+solid.md +9 -5
- package/docs/pt/intlayer_with_vite+svelte.md +8 -4
- package/docs/pt/intlayer_with_vite+vanilla.md +8 -4
- package/docs/pt/intlayer_with_vite+vue.md +9 -5
- package/docs/pt/live-sync.md +174 -0
- package/docs/pt/migration_from_i18next_to_intlayer.md +8 -4
- package/docs/pt/migration_from_next-i18next_to_intlayer.md +8 -4
- package/docs/pt/migration_from_next-intl_to_intlayer.md +9 -7
- package/docs/pt/migration_from_nuxtjs_i18n_to_intlayer.md +8 -4
- package/docs/pt/migration_from_react-i18next_to_intlayer.md +9 -7
- package/docs/pt/migration_from_vue-i18n_to_intlayer.md +8 -4
- package/docs/pt/releases/v9.md +131 -33
- package/docs/pt/self_hosting.md +350 -0
- package/docs/ru/bundle_optimization.md +16 -0
- package/docs/ru/cli/index.md +1 -1
- package/docs/ru/cli/scan.md +2 -2
- package/docs/ru/configuration.md +42 -1
- package/docs/ru/how_works_intlayer.md +2 -2
- package/docs/ru/intlayer_CMS.md +149 -102
- package/docs/ru/intlayer_with_adonisjs.md +8 -4
- package/docs/ru/intlayer_with_analog.md +8 -4
- package/docs/ru/intlayer_with_angular_19.md +8 -4
- package/docs/ru/intlayer_with_angular_21.md +8 -4
- package/docs/ru/intlayer_with_astro_vue.md +8 -4
- package/docs/ru/intlayer_with_create_react_app.md +8 -4
- package/docs/ru/intlayer_with_express.md +8 -4
- package/docs/ru/intlayer_with_fastify.md +8 -4
- package/docs/ru/intlayer_with_hono.md +8 -4
- package/docs/ru/intlayer_with_lynx+react.md +8 -4
- package/docs/ru/intlayer_with_nestjs.md +8 -4
- package/docs/ru/intlayer_with_next-i18next.md +8 -4
- package/docs/ru/intlayer_with_nextjs_14.md +8 -4
- package/docs/ru/intlayer_with_nextjs_15.md +10 -8
- package/docs/ru/intlayer_with_nextjs_16.md +10 -8
- package/docs/ru/intlayer_with_nextjs_compiler.md +9 -7
- package/docs/ru/intlayer_with_nextjs_no_locale_path.md +10 -8
- package/docs/ru/intlayer_with_nextjs_page_router.md +8 -4
- package/docs/ru/intlayer_with_nuxt.md +9 -5
- package/docs/ru/intlayer_with_react_native+expo.md +8 -4
- package/docs/ru/intlayer_with_react_router_v7.md +9 -5
- package/docs/ru/intlayer_with_svelte_kit.md +8 -4
- package/docs/ru/intlayer_with_tanstack+solid.md +9 -5
- package/docs/ru/intlayer_with_tanstack.md +10 -7
- package/docs/ru/intlayer_with_vite+lit.md +8 -4
- package/docs/ru/intlayer_with_vite+preact.md +9 -5
- package/docs/ru/intlayer_with_vite+react.md +9 -5
- package/docs/ru/intlayer_with_vite+react_compiler.md +9 -5
- package/docs/ru/intlayer_with_vite+solid.md +9 -5
- package/docs/ru/intlayer_with_vite+svelte.md +8 -4
- package/docs/ru/intlayer_with_vite+vanilla.md +8 -4
- package/docs/ru/intlayer_with_vite+vue.md +9 -5
- package/docs/ru/live-sync.md +185 -0
- package/docs/ru/migration_from_i18next_to_intlayer.md +8 -4
- package/docs/ru/migration_from_next-i18next_to_intlayer.md +8 -4
- package/docs/ru/migration_from_next-intl_to_intlayer.md +9 -7
- package/docs/ru/migration_from_nuxtjs_i18n_to_intlayer.md +8 -4
- package/docs/ru/migration_from_react-i18next_to_intlayer.md +9 -7
- package/docs/ru/migration_from_vue-i18n_to_intlayer.md +8 -4
- package/docs/ru/releases/v9.md +129 -33
- package/docs/ru/self_hosting.md +350 -0
- package/docs/tr/bundle_optimization.md +16 -0
- package/docs/tr/cli/index.md +1 -1
- package/docs/tr/cli/scan.md +2 -2
- package/docs/tr/configuration.md +42 -1
- package/docs/tr/how_works_intlayer.md +2 -2
- package/docs/tr/intlayer_CMS.md +14 -121
- package/docs/tr/intlayer_with_adonisjs.md +8 -4
- package/docs/tr/intlayer_with_analog.md +8 -4
- package/docs/tr/intlayer_with_angular_19.md +8 -4
- package/docs/tr/intlayer_with_angular_21.md +8 -4
- package/docs/tr/intlayer_with_astro_lit.md +11 -7
- package/docs/tr/intlayer_with_astro_preact.md +8 -4
- package/docs/tr/intlayer_with_astro_react.md +8 -4
- package/docs/tr/intlayer_with_astro_solid.md +8 -4
- package/docs/tr/intlayer_with_astro_svelte.md +8 -4
- package/docs/tr/intlayer_with_astro_vanilla.md +8 -4
- package/docs/tr/intlayer_with_astro_vue.md +8 -4
- package/docs/tr/intlayer_with_create_react_app.md +8 -4
- package/docs/tr/intlayer_with_express.md +8 -4
- package/docs/tr/intlayer_with_fastify.md +8 -4
- package/docs/tr/intlayer_with_hono.md +8 -4
- package/docs/tr/intlayer_with_lynx+react.md +8 -4
- package/docs/tr/intlayer_with_nestjs.md +8 -4
- package/docs/tr/intlayer_with_next-i18next.md +8 -4
- package/docs/tr/intlayer_with_nextjs_14.md +8 -4
- package/docs/tr/intlayer_with_nextjs_15.md +10 -8
- package/docs/tr/intlayer_with_nextjs_16.md +10 -8
- package/docs/tr/intlayer_with_nextjs_compiler.md +8 -4
- package/docs/tr/intlayer_with_nextjs_no_locale_path.md +10 -8
- package/docs/tr/intlayer_with_nextjs_page_router.md +8 -4
- package/docs/tr/intlayer_with_nuxt.md +9 -5
- package/docs/tr/intlayer_with_react_native+expo.md +8 -4
- package/docs/tr/intlayer_with_react_router_v7.md +9 -5
- package/docs/tr/intlayer_with_svelte_kit.md +8 -4
- package/docs/tr/intlayer_with_tanstack+solid.md +9 -5
- package/docs/tr/intlayer_with_tanstack.md +10 -7
- package/docs/tr/intlayer_with_vite+lit.md +8 -4
- package/docs/tr/intlayer_with_vite+preact.md +9 -5
- package/docs/tr/intlayer_with_vite+react.md +9 -5
- package/docs/tr/intlayer_with_vite+react_compiler.md +9 -5
- package/docs/tr/intlayer_with_vite+solid.md +9 -5
- package/docs/tr/intlayer_with_vite+svelte.md +8 -4
- package/docs/tr/intlayer_with_vite+vanilla.md +8 -4
- package/docs/tr/intlayer_with_vite+vue.md +9 -5
- package/docs/tr/live-sync.md +173 -0
- package/docs/tr/migration_from_i18next_to_intlayer.md +8 -4
- package/docs/tr/migration_from_next-i18next_to_intlayer.md +8 -4
- package/docs/tr/migration_from_next-intl_to_intlayer.md +9 -7
- package/docs/tr/migration_from_nuxtjs_i18n_to_intlayer.md +8 -4
- package/docs/tr/migration_from_react-i18next_to_intlayer.md +9 -7
- package/docs/tr/migration_from_vue-i18n_to_intlayer.md +8 -4
- package/docs/tr/releases/v9.md +116 -33
- package/docs/tr/self_hosting.md +350 -0
- package/docs/uk/bundle_optimization.md +16 -0
- package/docs/uk/cli/index.md +1 -1
- package/docs/uk/cli/scan.md +2 -2
- package/docs/uk/configuration.md +42 -1
- package/docs/uk/how_works_intlayer.md +2 -2
- package/docs/uk/intlayer_CMS.md +14 -133
- package/docs/uk/intlayer_with_adonisjs.md +8 -4
- package/docs/uk/intlayer_with_analog.md +8 -4
- package/docs/uk/intlayer_with_angular_19.md +8 -4
- package/docs/uk/intlayer_with_angular_21.md +8 -4
- package/docs/uk/intlayer_with_astro_lit.md +11 -7
- package/docs/uk/intlayer_with_astro_preact.md +8 -4
- package/docs/uk/intlayer_with_astro_react.md +8 -4
- package/docs/uk/intlayer_with_astro_solid.md +8 -4
- package/docs/uk/intlayer_with_astro_svelte.md +8 -4
- package/docs/uk/intlayer_with_astro_vanilla.md +8 -4
- package/docs/uk/intlayer_with_astro_vue.md +8 -4
- package/docs/uk/intlayer_with_create_react_app.md +8 -4
- package/docs/uk/intlayer_with_express.md +8 -4
- package/docs/uk/intlayer_with_fastify.md +8 -4
- package/docs/uk/intlayer_with_hono.md +8 -4
- package/docs/uk/intlayer_with_lynx+react.md +8 -4
- package/docs/uk/intlayer_with_nestjs.md +8 -4
- package/docs/uk/intlayer_with_next-i18next.md +8 -4
- package/docs/uk/intlayer_with_nextjs_14.md +8 -4
- package/docs/uk/intlayer_with_nextjs_15.md +10 -8
- package/docs/uk/intlayer_with_nextjs_16.md +10 -8
- package/docs/uk/intlayer_with_nextjs_compiler.md +8 -4
- package/docs/uk/intlayer_with_nextjs_no_locale_path.md +10 -8
- package/docs/uk/intlayer_with_nextjs_page_router.md +8 -4
- package/docs/uk/intlayer_with_nuxt.md +9 -5
- package/docs/uk/intlayer_with_react_native+expo.md +8 -4
- package/docs/uk/intlayer_with_react_router_v7.md +9 -5
- package/docs/uk/intlayer_with_svelte_kit.md +8 -4
- package/docs/uk/intlayer_with_tanstack+solid.md +9 -5
- package/docs/uk/intlayer_with_tanstack.md +10 -7
- package/docs/uk/intlayer_with_vite+lit.md +8 -4
- package/docs/uk/intlayer_with_vite+preact.md +9 -5
- package/docs/uk/intlayer_with_vite+react.md +9 -5
- package/docs/uk/intlayer_with_vite+react_compiler.md +9 -5
- package/docs/uk/intlayer_with_vite+solid.md +9 -5
- package/docs/uk/intlayer_with_vite+svelte.md +8 -4
- package/docs/uk/intlayer_with_vite+vanilla.md +8 -4
- package/docs/uk/intlayer_with_vite+vue.md +9 -5
- package/docs/uk/live-sync.md +185 -0
- package/docs/uk/migration_from_i18next_to_intlayer.md +8 -4
- package/docs/uk/migration_from_next-i18next_to_intlayer.md +8 -4
- package/docs/uk/migration_from_next-intl_to_intlayer.md +9 -7
- package/docs/uk/migration_from_nuxtjs_i18n_to_intlayer.md +8 -4
- package/docs/uk/migration_from_react-i18next_to_intlayer.md +9 -7
- package/docs/uk/migration_from_vue-i18n_to_intlayer.md +8 -4
- package/docs/uk/releases/v9.md +128 -33
- package/docs/uk/self_hosting.md +350 -0
- package/docs/ur/bundle_optimization.md +16 -0
- package/docs/ur/cli/index.md +1 -1
- package/docs/ur/cli/scan.md +2 -2
- package/docs/ur/configuration.md +45 -1
- package/docs/ur/intlayer_with_angular_21.md +8 -4
- package/docs/ur/intlayer_with_fastify.md +8 -4
- package/docs/ur/intlayer_with_hono.md +8 -4
- package/docs/ur/intlayer_with_vite+lit.md +8 -4
- package/docs/ur/intlayer_with_vite+vanilla.md +8 -4
- package/docs/vi/bundle_optimization.md +16 -0
- package/docs/vi/cli/index.md +1 -1
- package/docs/vi/cli/scan.md +2 -2
- package/docs/vi/configuration.md +42 -1
- package/docs/vi/how_works_intlayer.md +2 -2
- package/docs/vi/intlayer_CMS.md +5 -139
- package/docs/vi/intlayer_with_adonisjs.md +8 -4
- package/docs/vi/intlayer_with_analog.md +8 -4
- package/docs/vi/intlayer_with_angular_19.md +8 -4
- package/docs/vi/intlayer_with_angular_21.md +8 -4
- package/docs/vi/intlayer_with_astro_lit.md +11 -7
- package/docs/vi/intlayer_with_astro_preact.md +8 -4
- package/docs/vi/intlayer_with_astro_react.md +8 -4
- package/docs/vi/intlayer_with_astro_solid.md +8 -4
- package/docs/vi/intlayer_with_astro_svelte.md +8 -4
- package/docs/vi/intlayer_with_astro_vanilla.md +8 -4
- package/docs/vi/intlayer_with_astro_vue.md +8 -4
- package/docs/vi/intlayer_with_create_react_app.md +8 -4
- package/docs/vi/intlayer_with_express.md +8 -4
- package/docs/vi/intlayer_with_fastify.md +8 -4
- package/docs/vi/intlayer_with_hono.md +8 -4
- package/docs/vi/intlayer_with_lynx+react.md +8 -4
- package/docs/vi/intlayer_with_nestjs.md +8 -4
- package/docs/vi/intlayer_with_next-i18next.md +8 -4
- package/docs/vi/intlayer_with_nextjs_14.md +8 -4
- package/docs/vi/intlayer_with_nextjs_15.md +9 -7
- package/docs/vi/intlayer_with_nextjs_16.md +10 -8
- package/docs/vi/intlayer_with_nextjs_compiler.md +8 -4
- package/docs/vi/intlayer_with_nextjs_no_locale_path.md +10 -8
- package/docs/vi/intlayer_with_nextjs_page_router.md +8 -4
- package/docs/vi/intlayer_with_nuxt.md +9 -5
- package/docs/vi/intlayer_with_react_native+expo.md +8 -4
- package/docs/vi/intlayer_with_react_router_v7.md +9 -5
- package/docs/vi/intlayer_with_svelte_kit.md +8 -4
- package/docs/vi/intlayer_with_tanstack+solid.md +9 -5
- package/docs/vi/intlayer_with_tanstack.md +10 -7
- package/docs/vi/intlayer_with_vite+lit.md +8 -4
- package/docs/vi/intlayer_with_vite+preact.md +9 -5
- package/docs/vi/intlayer_with_vite+react.md +9 -5
- package/docs/vi/intlayer_with_vite+react_compiler.md +9 -5
- package/docs/vi/intlayer_with_vite+solid.md +9 -5
- package/docs/vi/intlayer_with_vite+svelte.md +8 -4
- package/docs/vi/intlayer_with_vite+vanilla.md +8 -4
- package/docs/vi/intlayer_with_vite+vue.md +9 -5
- package/docs/vi/live-sync.md +185 -0
- package/docs/vi/migration_from_i18next_to_intlayer.md +8 -4
- package/docs/vi/migration_from_next-i18next_to_intlayer.md +8 -4
- package/docs/vi/migration_from_next-intl_to_intlayer.md +9 -7
- package/docs/vi/migration_from_nuxtjs_i18n_to_intlayer.md +8 -4
- package/docs/vi/migration_from_react-i18next_to_intlayer.md +9 -7
- package/docs/vi/migration_from_vue-i18n_to_intlayer.md +8 -4
- package/docs/vi/releases/v9.md +101 -33
- package/docs/vi/self_hosting.md +350 -0
- package/docs/zh/bundle_optimization.md +16 -0
- package/docs/zh/cli/index.md +1 -1
- package/docs/zh/cli/scan.md +2 -2
- package/docs/zh/configuration.md +42 -1
- package/docs/zh/how_works_intlayer.md +2 -2
- package/docs/zh/intlayer_CMS.md +5 -129
- package/docs/zh/intlayer_with_adonisjs.md +8 -4
- package/docs/zh/intlayer_with_angular_21.md +8 -4
- package/docs/zh/intlayer_with_astro.md +8 -4
- package/docs/zh/intlayer_with_astro_lit.md +11 -7
- package/docs/zh/intlayer_with_astro_preact.md +8 -4
- package/docs/zh/intlayer_with_astro_react.md +8 -4
- package/docs/zh/intlayer_with_astro_solid.md +8 -4
- package/docs/zh/intlayer_with_astro_svelte.md +8 -4
- package/docs/zh/intlayer_with_astro_vanilla.md +8 -4
- package/docs/zh/intlayer_with_astro_vue.md +8 -4
- package/docs/zh/intlayer_with_create_react_app.md +8 -4
- package/docs/zh/intlayer_with_express.md +8 -4
- package/docs/zh/intlayer_with_fastify.md +8 -4
- package/docs/zh/intlayer_with_hono.md +8 -4
- package/docs/zh/intlayer_with_nestjs.md +8 -4
- package/docs/zh/intlayer_with_next-i18next.md +8 -4
- package/docs/zh/intlayer_with_nextjs_14.md +8 -4
- package/docs/zh/intlayer_with_nextjs_15.md +10 -8
- package/docs/zh/intlayer_with_nextjs_16.md +10 -8
- package/docs/zh/intlayer_with_nextjs_compiler.md +9 -7
- package/docs/zh/intlayer_with_nextjs_no_locale_path.md +10 -8
- package/docs/zh/intlayer_with_nextjs_page_router.md +8 -4
- package/docs/zh/intlayer_with_react_native+expo.md +8 -4
- package/docs/zh/intlayer_with_react_router_v7.md +9 -5
- package/docs/zh/intlayer_with_vite+solid.md +9 -5
- package/docs/zh/intlayer_with_vite+svelte.md +8 -4
- package/docs/zh/intlayer_with_vite+vue.md +9 -5
- package/docs/zh/live-sync.md +175 -0
- package/docs/zh/migration_from_i18next_to_intlayer.md +8 -4
- package/docs/zh/migration_from_next-i18next_to_intlayer.md +8 -4
- package/docs/zh/migration_from_next-intl_to_intlayer.md +9 -7
- package/docs/zh/migration_from_nuxtjs_i18n_to_intlayer.md +8 -4
- package/docs/zh/migration_from_react-i18next_to_intlayer.md +9 -7
- package/docs/zh/migration_from_vue-i18n_to_intlayer.md +8 -4
- package/docs/zh/releases/v9.md +101 -25
- package/docs/zh/self_hosting.md +350 -0
- package/docs/zh-TW/bundle_optimization.md +16 -0
- package/docs/zh-TW/intlayer_with_angular_21.md +8 -4
- package/package.json +10 -10
- package/src/generated/docs.entry.ts +60 -0
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_runtime = require('../_virtual/_rolldown/runtime.cjs');
|
|
3
2
|
let node_path = require("node:path");
|
|
4
3
|
let node_fs = require("node:fs");
|
|
5
4
|
let node_fs_promises = require("node:fs/promises");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"frequentQuestions.entry.cjs","names":[],"sources":["../../../src/generated/frequentQuestions.entry.ts"],"sourcesContent":["/* AUTO-GENERATED – DO NOT EDIT */\n/* REGENERATE USING `pnpm prepare` */\nimport { existsSync } from 'node:fs';\nimport { readFile } from 'node:fs/promises';\nimport { join, dirname as pathDirname } from 'node:path';\nimport { fileURLToPath } from 'node:url';\nimport { getPackageJsonPath, getProjectRequire } from '@intlayer/config/utils';\nimport type { LocalesValues } from '@intlayer/types/module_augmentation';\n\n// Robustly resolve the base directory of the @intlayer/docs package in both\n// bundled environments (Next.js) and standalone CLIs (MCP via npx).\nconst currentDir =\n typeof __dirname !== 'undefined'\n ? __dirname\n : pathDirname(fileURLToPath(import.meta.url));\n\nlet baseDir: string;\ntry {\n // Prefer resolving from the location of this file (works for CLIs).\n const projectRequire = getProjectRequire(currentDir);\n const docEntryPath = projectRequire.resolve('@intlayer/docs');\n baseDir = getPackageJsonPath(docEntryPath).baseDir;\n} catch {\n try {\n // Fallback: resolve from the consumer project (works for apps/bundlers).\n const projectRequire = getProjectRequire();\n const docEntryPath = projectRequire.resolve('@intlayer/docs');\n baseDir = getPackageJsonPath(docEntryPath).baseDir;\n } catch {\n // Last resort: walk up from currentDir (useful when executed inside @intlayer/docs).\n baseDir = getPackageJsonPath(currentDir).baseDir;\n }\n}\n\nconst readLocale = (\n relativeAfterLocale: string,\n locale: LocalesValues\n): Promise<string> => {\n const target1 = join(\n baseDir,\n `./frequent_questions/${locale}/${relativeAfterLocale}`\n );\n if (existsSync(target1)) {\n return readFile(target1, 'utf8');\n }\n const target2 = join(\n baseDir,\n `./frequent_questions/en/${relativeAfterLocale}`\n );\n if (existsSync(target2)) {\n return readFile(target2, 'utf8');\n }\n\n return Promise.reject(\n new Error(\n `[docs] File not found: ${relativeAfterLocale} - locale: ${locale} - path: ${target1} - path: ${target2}`\n )\n );\n};\n\nexport const frequentQuestionsEntry = {\n './frequent_questions/en/SSR_Next_no_[locale].md': {\n en: readLocale('SSR_Next_no_[locale].md', 'en'),\n ru: readLocale('SSR_Next_no_[locale].md', 'ru'),\n ja: readLocale('SSR_Next_no_[locale].md', 'ja'),\n fr: readLocale('SSR_Next_no_[locale].md', 'fr'),\n ko: readLocale('SSR_Next_no_[locale].md', 'ko'),\n zh: readLocale('SSR_Next_no_[locale].md', 'zh'),\n es: readLocale('SSR_Next_no_[locale].md', 'es'),\n de: readLocale('SSR_Next_no_[locale].md', 'de'),\n ar: readLocale('SSR_Next_no_[locale].md', 'ar'),\n it: readLocale('SSR_Next_no_[locale].md', 'it'),\n 'en-GB': readLocale('SSR_Next_no_[locale].md', 'en-GB'),\n pt: readLocale('SSR_Next_no_[locale].md', 'pt'),\n hi: readLocale('SSR_Next_no_[locale].md', 'hi'),\n tr: readLocale('SSR_Next_no_[locale].md', 'tr'),\n pl: readLocale('SSR_Next_no_[locale].md', 'pl'),\n id: readLocale('SSR_Next_no_[locale].md', 'id'),\n vi: readLocale('SSR_Next_no_[locale].md', 'vi'),\n uk: readLocale('SSR_Next_no_[locale].md', 'uk'),\n } as unknown as Record<LocalesValues, Promise<string>>,\n './frequent_questions/en/array_as_content_declaration.md': {\n en: readLocale('array_as_content_declaration.md', 'en'),\n ru: readLocale('array_as_content_declaration.md', 'ru'),\n ja: readLocale('array_as_content_declaration.md', 'ja'),\n fr: readLocale('array_as_content_declaration.md', 'fr'),\n ko: readLocale('array_as_content_declaration.md', 'ko'),\n zh: readLocale('array_as_content_declaration.md', 'zh'),\n es: readLocale('array_as_content_declaration.md', 'es'),\n de: readLocale('array_as_content_declaration.md', 'de'),\n ar: readLocale('array_as_content_declaration.md', 'ar'),\n it: readLocale('array_as_content_declaration.md', 'it'),\n 'en-GB': readLocale('array_as_content_declaration.md', 'en-GB'),\n pt: readLocale('array_as_content_declaration.md', 'pt'),\n hi: readLocale('array_as_content_declaration.md', 'hi'),\n tr: readLocale('array_as_content_declaration.md', 'tr'),\n pl: readLocale('array_as_content_declaration.md', 'pl'),\n id: readLocale('array_as_content_declaration.md', 'id'),\n vi: readLocale('array_as_content_declaration.md', 'vi'),\n uk: readLocale('array_as_content_declaration.md', 'uk'),\n } as unknown as Record<LocalesValues, Promise<string>>,\n './frequent_questions/en/build_dictionaries.md': {\n en: readLocale('build_dictionaries.md', 'en'),\n ru: readLocale('build_dictionaries.md', 'ru'),\n ja: readLocale('build_dictionaries.md', 'ja'),\n fr: readLocale('build_dictionaries.md', 'fr'),\n ko: readLocale('build_dictionaries.md', 'ko'),\n zh: readLocale('build_dictionaries.md', 'zh'),\n es: readLocale('build_dictionaries.md', 'es'),\n de: readLocale('build_dictionaries.md', 'de'),\n ar: readLocale('build_dictionaries.md', 'ar'),\n it: readLocale('build_dictionaries.md', 'it'),\n 'en-GB': readLocale('build_dictionaries.md', 'en-GB'),\n pt: readLocale('build_dictionaries.md', 'pt'),\n hi: readLocale('build_dictionaries.md', 'hi'),\n tr: readLocale('build_dictionaries.md', 'tr'),\n pl: readLocale('build_dictionaries.md', 'pl'),\n id: readLocale('build_dictionaries.md', 'id'),\n vi: readLocale('build_dictionaries.md', 'vi'),\n uk: readLocale('build_dictionaries.md', 'uk'),\n } as unknown as Record<LocalesValues, Promise<string>>,\n './frequent_questions/en/build_error_CI_CD.md': {\n en: readLocale('build_error_CI_CD.md', 'en'),\n ru: readLocale('build_error_CI_CD.md', 'ru'),\n ja: readLocale('build_error_CI_CD.md', 'ja'),\n fr: readLocale('build_error_CI_CD.md', 'fr'),\n ko: readLocale('build_error_CI_CD.md', 'ko'),\n zh: readLocale('build_error_CI_CD.md', 'zh'),\n es: readLocale('build_error_CI_CD.md', 'es'),\n de: readLocale('build_error_CI_CD.md', 'de'),\n ar: readLocale('build_error_CI_CD.md', 'ar'),\n it: readLocale('build_error_CI_CD.md', 'it'),\n 'en-GB': readLocale('build_error_CI_CD.md', 'en-GB'),\n pt: readLocale('build_error_CI_CD.md', 'pt'),\n hi: readLocale('build_error_CI_CD.md', 'hi'),\n tr: readLocale('build_error_CI_CD.md', 'tr'),\n pl: readLocale('build_error_CI_CD.md', 'pl'),\n id: readLocale('build_error_CI_CD.md', 'id'),\n vi: readLocale('build_error_CI_CD.md', 'vi'),\n uk: readLocale('build_error_CI_CD.md', 'uk'),\n } as unknown as Record<LocalesValues, Promise<string>>,\n './frequent_questions/en/bun_set_up.md': {\n en: readLocale('bun_set_up.md', 'en'),\n ru: readLocale('bun_set_up.md', 'ru'),\n ja: readLocale('bun_set_up.md', 'ja'),\n fr: readLocale('bun_set_up.md', 'fr'),\n ko: readLocale('bun_set_up.md', 'ko'),\n zh: readLocale('bun_set_up.md', 'zh'),\n es: readLocale('bun_set_up.md', 'es'),\n de: readLocale('bun_set_up.md', 'de'),\n ar: readLocale('bun_set_up.md', 'ar'),\n it: readLocale('bun_set_up.md', 'it'),\n 'en-GB': readLocale('bun_set_up.md', 'en-GB'),\n pt: readLocale('bun_set_up.md', 'pt'),\n hi: readLocale('bun_set_up.md', 'hi'),\n tr: readLocale('bun_set_up.md', 'tr'),\n pl: readLocale('bun_set_up.md', 'pl'),\n id: readLocale('bun_set_up.md', 'id'),\n vi: readLocale('bun_set_up.md', 'vi'),\n uk: readLocale('bun_set_up.md', 'uk'),\n } as unknown as Record<LocalesValues, Promise<string>>,\n './frequent_questions/en/customized_locale_list.md': {\n en: readLocale('customized_locale_list.md', 'en'),\n ru: readLocale('customized_locale_list.md', 'ru'),\n ja: readLocale('customized_locale_list.md', 'ja'),\n fr: readLocale('customized_locale_list.md', 'fr'),\n ko: readLocale('customized_locale_list.md', 'ko'),\n zh: readLocale('customized_locale_list.md', 'zh'),\n es: readLocale('customized_locale_list.md', 'es'),\n de: readLocale('customized_locale_list.md', 'de'),\n ar: readLocale('customized_locale_list.md', 'ar'),\n it: readLocale('customized_locale_list.md', 'it'),\n 'en-GB': readLocale('customized_locale_list.md', 'en-GB'),\n pt: readLocale('customized_locale_list.md', 'pt'),\n hi: readLocale('customized_locale_list.md', 'hi'),\n tr: readLocale('customized_locale_list.md', 'tr'),\n pl: readLocale('customized_locale_list.md', 'pl'),\n id: readLocale('customized_locale_list.md', 'id'),\n vi: readLocale('customized_locale_list.md', 'vi'),\n uk: readLocale('customized_locale_list.md', 'uk'),\n } as unknown as Record<LocalesValues, Promise<string>>,\n './frequent_questions/en/domain_routing.md': {\n en: readLocale('domain_routing.md', 'en'),\n ru: readLocale('domain_routing.md', 'ru'),\n ja: readLocale('domain_routing.md', 'ja'),\n fr: readLocale('domain_routing.md', 'fr'),\n ko: readLocale('domain_routing.md', 'ko'),\n zh: readLocale('domain_routing.md', 'zh'),\n es: readLocale('domain_routing.md', 'es'),\n de: readLocale('domain_routing.md', 'de'),\n ar: readLocale('domain_routing.md', 'ar'),\n it: readLocale('domain_routing.md', 'it'),\n 'en-GB': readLocale('domain_routing.md', 'en-GB'),\n pt: readLocale('domain_routing.md', 'pt'),\n hi: readLocale('domain_routing.md', 'hi'),\n tr: readLocale('domain_routing.md', 'tr'),\n pl: readLocale('domain_routing.md', 'pl'),\n id: readLocale('domain_routing.md', 'id'),\n vi: readLocale('domain_routing.md', 'vi'),\n uk: readLocale('domain_routing.md', 'uk'),\n } as unknown as Record<LocalesValues, Promise<string>>,\n './frequent_questions/en/error-vite-env-only.md': {\n en: readLocale('error-vite-env-only.md', 'en'),\n ru: readLocale('error-vite-env-only.md', 'ru'),\n ja: readLocale('error-vite-env-only.md', 'ja'),\n fr: readLocale('error-vite-env-only.md', 'fr'),\n ko: readLocale('error-vite-env-only.md', 'ko'),\n zh: readLocale('error-vite-env-only.md', 'zh'),\n es: readLocale('error-vite-env-only.md', 'es'),\n de: readLocale('error-vite-env-only.md', 'de'),\n ar: readLocale('error-vite-env-only.md', 'ar'),\n it: readLocale('error-vite-env-only.md', 'it'),\n 'en-GB': readLocale('error-vite-env-only.md', 'en-GB'),\n pt: readLocale('error-vite-env-only.md', 'pt'),\n hi: readLocale('error-vite-env-only.md', 'hi'),\n tr: readLocale('error-vite-env-only.md', 'tr'),\n pl: readLocale('error-vite-env-only.md', 'pl'),\n id: readLocale('error-vite-env-only.md', 'id'),\n vi: readLocale('error-vite-env-only.md', 'vi'),\n uk: readLocale('error-vite-env-only.md', 'uk'),\n } as unknown as Record<LocalesValues, Promise<string>>,\n './frequent_questions/en/esbuild_error.md': {\n en: readLocale('esbuild_error.md', 'en'),\n ru: readLocale('esbuild_error.md', 'ru'),\n ja: readLocale('esbuild_error.md', 'ja'),\n fr: readLocale('esbuild_error.md', 'fr'),\n ko: readLocale('esbuild_error.md', 'ko'),\n zh: readLocale('esbuild_error.md', 'zh'),\n es: readLocale('esbuild_error.md', 'es'),\n de: readLocale('esbuild_error.md', 'de'),\n ar: readLocale('esbuild_error.md', 'ar'),\n it: readLocale('esbuild_error.md', 'it'),\n 'en-GB': readLocale('esbuild_error.md', 'en-GB'),\n pt: readLocale('esbuild_error.md', 'pt'),\n hi: readLocale('esbuild_error.md', 'hi'),\n tr: readLocale('esbuild_error.md', 'tr'),\n pl: readLocale('esbuild_error.md', 'pl'),\n id: readLocale('esbuild_error.md', 'id'),\n vi: readLocale('esbuild_error.md', 'vi'),\n uk: readLocale('esbuild_error.md', 'uk'),\n } as unknown as Record<LocalesValues, Promise<string>>,\n './frequent_questions/en/get_locale_cookie.md': {\n en: readLocale('get_locale_cookie.md', 'en'),\n ru: readLocale('get_locale_cookie.md', 'ru'),\n ja: readLocale('get_locale_cookie.md', 'ja'),\n fr: readLocale('get_locale_cookie.md', 'fr'),\n ko: readLocale('get_locale_cookie.md', 'ko'),\n zh: readLocale('get_locale_cookie.md', 'zh'),\n es: readLocale('get_locale_cookie.md', 'es'),\n de: readLocale('get_locale_cookie.md', 'de'),\n ar: readLocale('get_locale_cookie.md', 'ar'),\n it: readLocale('get_locale_cookie.md', 'it'),\n 'en-GB': readLocale('get_locale_cookie.md', 'en-GB'),\n pt: readLocale('get_locale_cookie.md', 'pt'),\n hi: readLocale('get_locale_cookie.md', 'hi'),\n tr: readLocale('get_locale_cookie.md', 'tr'),\n pl: readLocale('get_locale_cookie.md', 'pl'),\n id: readLocale('get_locale_cookie.md', 'id'),\n vi: readLocale('get_locale_cookie.md', 'vi'),\n uk: readLocale('get_locale_cookie.md', 'uk'),\n } as unknown as Record<LocalesValues, Promise<string>>,\n './frequent_questions/en/intlayerNode.md': {\n en: readLocale('intlayerNode.md', 'en'),\n ru: readLocale('intlayerNode.md', 'ru'),\n ja: readLocale('intlayerNode.md', 'ja'),\n fr: readLocale('intlayerNode.md', 'fr'),\n ko: readLocale('intlayerNode.md', 'ko'),\n zh: readLocale('intlayerNode.md', 'zh'),\n es: readLocale('intlayerNode.md', 'es'),\n de: readLocale('intlayerNode.md', 'de'),\n ar: readLocale('intlayerNode.md', 'ar'),\n it: readLocale('intlayerNode.md', 'it'),\n 'en-GB': readLocale('intlayerNode.md', 'en-GB'),\n pt: readLocale('intlayerNode.md', 'pt'),\n hi: readLocale('intlayerNode.md', 'hi'),\n tr: readLocale('intlayerNode.md', 'tr'),\n pl: readLocale('intlayerNode.md', 'pl'),\n id: readLocale('intlayerNode.md', 'id'),\n vi: readLocale('intlayerNode.md', 'vi'),\n uk: readLocale('intlayerNode.md', 'uk'),\n } as unknown as Record<LocalesValues, Promise<string>>,\n './frequent_questions/en/intlayer_command_undefined.md': {\n en: readLocale('intlayer_command_undefined.md', 'en'),\n ru: readLocale('intlayer_command_undefined.md', 'ru'),\n ja: readLocale('intlayer_command_undefined.md', 'ja'),\n fr: readLocale('intlayer_command_undefined.md', 'fr'),\n ko: readLocale('intlayer_command_undefined.md', 'ko'),\n zh: readLocale('intlayer_command_undefined.md', 'zh'),\n es: readLocale('intlayer_command_undefined.md', 'es'),\n de: readLocale('intlayer_command_undefined.md', 'de'),\n ar: readLocale('intlayer_command_undefined.md', 'ar'),\n it: readLocale('intlayer_command_undefined.md', 'it'),\n 'en-GB': readLocale('intlayer_command_undefined.md', 'en-GB'),\n pt: readLocale('intlayer_command_undefined.md', 'pt'),\n hi: readLocale('intlayer_command_undefined.md', 'hi'),\n tr: readLocale('intlayer_command_undefined.md', 'tr'),\n pl: readLocale('intlayer_command_undefined.md', 'pl'),\n id: readLocale('intlayer_command_undefined.md', 'id'),\n vi: readLocale('intlayer_command_undefined.md', 'vi'),\n uk: readLocale('intlayer_command_undefined.md', 'uk'),\n } as unknown as Record<LocalesValues, Promise<string>>,\n './frequent_questions/en/locale_incorect_in_url.md': {\n en: readLocale('locale_incorect_in_url.md', 'en'),\n ru: readLocale('locale_incorect_in_url.md', 'ru'),\n ja: readLocale('locale_incorect_in_url.md', 'ja'),\n fr: readLocale('locale_incorect_in_url.md', 'fr'),\n ko: readLocale('locale_incorect_in_url.md', 'ko'),\n zh: readLocale('locale_incorect_in_url.md', 'zh'),\n es: readLocale('locale_incorect_in_url.md', 'es'),\n de: readLocale('locale_incorect_in_url.md', 'de'),\n ar: readLocale('locale_incorect_in_url.md', 'ar'),\n it: readLocale('locale_incorect_in_url.md', 'it'),\n 'en-GB': readLocale('locale_incorect_in_url.md', 'en-GB'),\n pt: readLocale('locale_incorect_in_url.md', 'pt'),\n hi: readLocale('locale_incorect_in_url.md', 'hi'),\n tr: readLocale('locale_incorect_in_url.md', 'tr'),\n pl: readLocale('locale_incorect_in_url.md', 'pl'),\n id: readLocale('locale_incorect_in_url.md', 'id'),\n vi: readLocale('locale_incorect_in_url.md', 'vi'),\n uk: readLocale('locale_incorect_in_url.md', 'uk'),\n } as unknown as Record<LocalesValues, Promise<string>>,\n './frequent_questions/en/package_version_error.md': {\n en: readLocale('package_version_error.md', 'en'),\n ru: readLocale('package_version_error.md', 'ru'),\n ja: readLocale('package_version_error.md', 'ja'),\n fr: readLocale('package_version_error.md', 'fr'),\n ko: readLocale('package_version_error.md', 'ko'),\n zh: readLocale('package_version_error.md', 'zh'),\n es: readLocale('package_version_error.md', 'es'),\n de: readLocale('package_version_error.md', 'de'),\n ar: readLocale('package_version_error.md', 'ar'),\n it: readLocale('package_version_error.md', 'it'),\n 'en-GB': readLocale('package_version_error.md', 'en-GB'),\n pt: readLocale('package_version_error.md', 'pt'),\n hi: readLocale('package_version_error.md', 'hi'),\n tr: readLocale('package_version_error.md', 'tr'),\n pl: readLocale('package_version_error.md', 'pl'),\n id: readLocale('package_version_error.md', 'id'),\n vi: readLocale('package_version_error.md', 'vi'),\n uk: readLocale('package_version_error.md', 'uk'),\n } as unknown as Record<LocalesValues, Promise<string>>,\n './frequent_questions/en/static_rendering.md': {\n en: readLocale('static_rendering.md', 'en'),\n ru: readLocale('static_rendering.md', 'ru'),\n ja: readLocale('static_rendering.md', 'ja'),\n fr: readLocale('static_rendering.md', 'fr'),\n ko: readLocale('static_rendering.md', 'ko'),\n zh: readLocale('static_rendering.md', 'zh'),\n es: readLocale('static_rendering.md', 'es'),\n de: readLocale('static_rendering.md', 'de'),\n ar: readLocale('static_rendering.md', 'ar'),\n it: readLocale('static_rendering.md', 'it'),\n 'en-GB': readLocale('static_rendering.md', 'en-GB'),\n pt: readLocale('static_rendering.md', 'pt'),\n hi: readLocale('static_rendering.md', 'hi'),\n tr: readLocale('static_rendering.md', 'tr'),\n pl: readLocale('static_rendering.md', 'pl'),\n id: readLocale('static_rendering.md', 'id'),\n vi: readLocale('static_rendering.md', 'vi'),\n uk: readLocale('static_rendering.md', 'uk'),\n } as unknown as Record<LocalesValues, Promise<string>>,\n './frequent_questions/en/translated_path_url.md': {\n en: readLocale('translated_path_url.md', 'en'),\n ru: readLocale('translated_path_url.md', 'ru'),\n ja: readLocale('translated_path_url.md', 'ja'),\n fr: readLocale('translated_path_url.md', 'fr'),\n ko: readLocale('translated_path_url.md', 'ko'),\n zh: readLocale('translated_path_url.md', 'zh'),\n es: readLocale('translated_path_url.md', 'es'),\n de: readLocale('translated_path_url.md', 'de'),\n ar: readLocale('translated_path_url.md', 'ar'),\n it: readLocale('translated_path_url.md', 'it'),\n 'en-GB': readLocale('translated_path_url.md', 'en-GB'),\n pt: readLocale('translated_path_url.md', 'pt'),\n hi: readLocale('translated_path_url.md', 'hi'),\n tr: readLocale('translated_path_url.md', 'tr'),\n pl: readLocale('translated_path_url.md', 'pl'),\n id: readLocale('translated_path_url.md', 'id'),\n vi: readLocale('translated_path_url.md', 'vi'),\n uk: readLocale('translated_path_url.md', 'uk'),\n } as unknown as Record<LocalesValues, Promise<string>>,\n './frequent_questions/en/unknown_command.md': {\n en: readLocale('unknown_command.md', 'en'),\n ru: readLocale('unknown_command.md', 'ru'),\n ja: readLocale('unknown_command.md', 'ja'),\n fr: readLocale('unknown_command.md', 'fr'),\n ko: readLocale('unknown_command.md', 'ko'),\n zh: readLocale('unknown_command.md', 'zh'),\n es: readLocale('unknown_command.md', 'es'),\n de: readLocale('unknown_command.md', 'de'),\n ar: readLocale('unknown_command.md', 'ar'),\n it: readLocale('unknown_command.md', 'it'),\n 'en-GB': readLocale('unknown_command.md', 'en-GB'),\n pt: readLocale('unknown_command.md', 'pt'),\n hi: readLocale('unknown_command.md', 'hi'),\n tr: readLocale('unknown_command.md', 'tr'),\n pl: readLocale('unknown_command.md', 'pl'),\n id: readLocale('unknown_command.md', 'id'),\n vi: readLocale('unknown_command.md', 'vi'),\n uk: readLocale('unknown_command.md', 'uk'),\n } as unknown as Record<LocalesValues, Promise<string>>,\n} as const;\n"],"mappings":";;;;;;;;;AAWA,MAAM,aACJ,OAAO,cAAc,cACjB,6GAC0C,CAAC;AAEjD,IAAI;AACJ,IAAI;AAIF,wGAFyC,WACN,CAAC,QAAQ,iBACH,CAAC,CAAC;QACrC;AACN,KAAI;AAIF,0GADmC,CAAC,QAAQ,iBACH,CAAC,CAAC;SACrC;AAEN,2DAA6B,WAAW,CAAC;;;AAI7C,MAAM,cACJ,qBACA,WACoB;CACpB,MAAM,8BACJ,SACA,wBAAwB,OAAO,GAAG,sBACnC;AACD,6BAAe,QAAQ,CACrB,uCAAgB,SA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,WAAW,0BAA0B,KAAK;EAC9C,IAAI,WAAW,0BAA0B,KAAK;EAC9C,IAAI,WAAW,0BAA0B,KAAK;EAC9C,IAAI,WAAW,0BAA0B,KAAK;EAC9C,IAAI,WAAW,0BAA0B,KAAK;EAC9C,IAAI,WAAW,0BAA0B,KAAK;EAC/C;CACD,8CAA8C;EAC5C,IAAI,WAAW,sBAAsB,KAAK;EAC1C,IAAI,WAAW,sBAAsB,KAAK;EAC1C,IAAI,WAAW,sBAAsB,KAAK;EAC1C,IAAI,WAAW,sBAAsB,KAAK;EAC1C,IAAI,WAAW,sBAAsB,KAAK;EAC1C,IAAI,WAAW,sBAAsB,KAAK;EAC1C,IAAI,WAAW,sBAAsB,KAAK;EAC1C,IAAI,WAAW,sBAAsB,KAAK;EAC1C,IAAI,WAAW,sBAAsB,KAAK;EAC1C,IAAI,WAAW,sBAAsB,KAAK;EAC1C,SAAS,WAAW,sBAAsB,QAAQ;EAClD,IAAI,WAAW,sBAAsB,KAAK;EAC1C,IAAI,WAAW,sBAAsB,KAAK;EAC1C,IAAI,WAAW,sBAAsB,KAAK;EAC1C,IAAI,WAAW,sBAAsB,KAAK;EAC1C,IAAI,WAAW,sBAAsB,KAAK;EAC1C,IAAI,WAAW,sBAAsB,KAAK;EAC1C,IAAI,WAAW,sBAAsB,KAAK;EAC3C;CACF"}
|
|
1
|
+
{"version":3,"file":"frequentQuestions.entry.cjs","names":[],"sources":["../../../src/generated/frequentQuestions.entry.ts"],"sourcesContent":["/* AUTO-GENERATED – DO NOT EDIT */\n/* REGENERATE USING `pnpm prepare` */\nimport { existsSync } from 'node:fs';\nimport { readFile } from 'node:fs/promises';\nimport { join, dirname as pathDirname } from 'node:path';\nimport { fileURLToPath } from 'node:url';\nimport { getPackageJsonPath, getProjectRequire } from '@intlayer/config/utils';\nimport type { LocalesValues } from '@intlayer/types/module_augmentation';\n\n// Robustly resolve the base directory of the @intlayer/docs package in both\n// bundled environments (Next.js) and standalone CLIs (MCP via npx).\nconst currentDir =\n typeof __dirname !== 'undefined'\n ? __dirname\n : pathDirname(fileURLToPath(import.meta.url));\n\nlet baseDir: string;\ntry {\n // Prefer resolving from the location of this file (works for CLIs).\n const projectRequire = getProjectRequire(currentDir);\n const docEntryPath = projectRequire.resolve('@intlayer/docs');\n baseDir = getPackageJsonPath(docEntryPath).baseDir;\n} catch {\n try {\n // Fallback: resolve from the consumer project (works for apps/bundlers).\n const projectRequire = getProjectRequire();\n const docEntryPath = projectRequire.resolve('@intlayer/docs');\n baseDir = getPackageJsonPath(docEntryPath).baseDir;\n } catch {\n // Last resort: walk up from currentDir (useful when executed inside @intlayer/docs).\n baseDir = getPackageJsonPath(currentDir).baseDir;\n }\n}\n\nconst readLocale = (\n relativeAfterLocale: string,\n locale: LocalesValues\n): Promise<string> => {\n const target1 = join(\n baseDir,\n `./frequent_questions/${locale}/${relativeAfterLocale}`\n );\n if (existsSync(target1)) {\n return readFile(target1, 'utf8');\n }\n const target2 = join(\n baseDir,\n `./frequent_questions/en/${relativeAfterLocale}`\n );\n if (existsSync(target2)) {\n return readFile(target2, 'utf8');\n }\n\n return Promise.reject(\n new Error(\n `[docs] File not found: ${relativeAfterLocale} - locale: ${locale} - path: ${target1} - path: ${target2}`\n )\n );\n};\n\nexport const frequentQuestionsEntry = {\n './frequent_questions/en/SSR_Next_no_[locale].md': {\n en: readLocale('SSR_Next_no_[locale].md', 'en'),\n ru: readLocale('SSR_Next_no_[locale].md', 'ru'),\n ja: readLocale('SSR_Next_no_[locale].md', 'ja'),\n fr: readLocale('SSR_Next_no_[locale].md', 'fr'),\n ko: readLocale('SSR_Next_no_[locale].md', 'ko'),\n zh: readLocale('SSR_Next_no_[locale].md', 'zh'),\n es: readLocale('SSR_Next_no_[locale].md', 'es'),\n de: readLocale('SSR_Next_no_[locale].md', 'de'),\n ar: readLocale('SSR_Next_no_[locale].md', 'ar'),\n it: readLocale('SSR_Next_no_[locale].md', 'it'),\n 'en-GB': readLocale('SSR_Next_no_[locale].md', 'en-GB'),\n pt: readLocale('SSR_Next_no_[locale].md', 'pt'),\n hi: readLocale('SSR_Next_no_[locale].md', 'hi'),\n tr: readLocale('SSR_Next_no_[locale].md', 'tr'),\n pl: readLocale('SSR_Next_no_[locale].md', 'pl'),\n id: readLocale('SSR_Next_no_[locale].md', 'id'),\n vi: readLocale('SSR_Next_no_[locale].md', 'vi'),\n uk: readLocale('SSR_Next_no_[locale].md', 'uk'),\n } as unknown as Record<LocalesValues, Promise<string>>,\n './frequent_questions/en/array_as_content_declaration.md': {\n en: readLocale('array_as_content_declaration.md', 'en'),\n ru: readLocale('array_as_content_declaration.md', 'ru'),\n ja: readLocale('array_as_content_declaration.md', 'ja'),\n fr: readLocale('array_as_content_declaration.md', 'fr'),\n ko: readLocale('array_as_content_declaration.md', 'ko'),\n zh: readLocale('array_as_content_declaration.md', 'zh'),\n es: readLocale('array_as_content_declaration.md', 'es'),\n de: readLocale('array_as_content_declaration.md', 'de'),\n ar: readLocale('array_as_content_declaration.md', 'ar'),\n it: readLocale('array_as_content_declaration.md', 'it'),\n 'en-GB': readLocale('array_as_content_declaration.md', 'en-GB'),\n pt: readLocale('array_as_content_declaration.md', 'pt'),\n hi: readLocale('array_as_content_declaration.md', 'hi'),\n tr: readLocale('array_as_content_declaration.md', 'tr'),\n pl: readLocale('array_as_content_declaration.md', 'pl'),\n id: readLocale('array_as_content_declaration.md', 'id'),\n vi: readLocale('array_as_content_declaration.md', 'vi'),\n uk: readLocale('array_as_content_declaration.md', 'uk'),\n } as unknown as Record<LocalesValues, Promise<string>>,\n './frequent_questions/en/build_dictionaries.md': {\n en: readLocale('build_dictionaries.md', 'en'),\n ru: readLocale('build_dictionaries.md', 'ru'),\n ja: readLocale('build_dictionaries.md', 'ja'),\n fr: readLocale('build_dictionaries.md', 'fr'),\n ko: readLocale('build_dictionaries.md', 'ko'),\n zh: readLocale('build_dictionaries.md', 'zh'),\n es: readLocale('build_dictionaries.md', 'es'),\n de: readLocale('build_dictionaries.md', 'de'),\n ar: readLocale('build_dictionaries.md', 'ar'),\n it: readLocale('build_dictionaries.md', 'it'),\n 'en-GB': readLocale('build_dictionaries.md', 'en-GB'),\n pt: readLocale('build_dictionaries.md', 'pt'),\n hi: readLocale('build_dictionaries.md', 'hi'),\n tr: readLocale('build_dictionaries.md', 'tr'),\n pl: readLocale('build_dictionaries.md', 'pl'),\n id: readLocale('build_dictionaries.md', 'id'),\n vi: readLocale('build_dictionaries.md', 'vi'),\n uk: readLocale('build_dictionaries.md', 'uk'),\n } as unknown as Record<LocalesValues, Promise<string>>,\n './frequent_questions/en/build_error_CI_CD.md': {\n en: readLocale('build_error_CI_CD.md', 'en'),\n ru: readLocale('build_error_CI_CD.md', 'ru'),\n ja: readLocale('build_error_CI_CD.md', 'ja'),\n fr: readLocale('build_error_CI_CD.md', 'fr'),\n ko: readLocale('build_error_CI_CD.md', 'ko'),\n zh: readLocale('build_error_CI_CD.md', 'zh'),\n es: readLocale('build_error_CI_CD.md', 'es'),\n de: readLocale('build_error_CI_CD.md', 'de'),\n ar: readLocale('build_error_CI_CD.md', 'ar'),\n it: readLocale('build_error_CI_CD.md', 'it'),\n 'en-GB': readLocale('build_error_CI_CD.md', 'en-GB'),\n pt: readLocale('build_error_CI_CD.md', 'pt'),\n hi: readLocale('build_error_CI_CD.md', 'hi'),\n tr: readLocale('build_error_CI_CD.md', 'tr'),\n pl: readLocale('build_error_CI_CD.md', 'pl'),\n id: readLocale('build_error_CI_CD.md', 'id'),\n vi: readLocale('build_error_CI_CD.md', 'vi'),\n uk: readLocale('build_error_CI_CD.md', 'uk'),\n } as unknown as Record<LocalesValues, Promise<string>>,\n './frequent_questions/en/bun_set_up.md': {\n en: readLocale('bun_set_up.md', 'en'),\n ru: readLocale('bun_set_up.md', 'ru'),\n ja: readLocale('bun_set_up.md', 'ja'),\n fr: readLocale('bun_set_up.md', 'fr'),\n ko: readLocale('bun_set_up.md', 'ko'),\n zh: readLocale('bun_set_up.md', 'zh'),\n es: readLocale('bun_set_up.md', 'es'),\n de: readLocale('bun_set_up.md', 'de'),\n ar: readLocale('bun_set_up.md', 'ar'),\n it: readLocale('bun_set_up.md', 'it'),\n 'en-GB': readLocale('bun_set_up.md', 'en-GB'),\n pt: readLocale('bun_set_up.md', 'pt'),\n hi: readLocale('bun_set_up.md', 'hi'),\n tr: readLocale('bun_set_up.md', 'tr'),\n pl: readLocale('bun_set_up.md', 'pl'),\n id: readLocale('bun_set_up.md', 'id'),\n vi: readLocale('bun_set_up.md', 'vi'),\n uk: readLocale('bun_set_up.md', 'uk'),\n } as unknown as Record<LocalesValues, Promise<string>>,\n './frequent_questions/en/customized_locale_list.md': {\n en: readLocale('customized_locale_list.md', 'en'),\n ru: readLocale('customized_locale_list.md', 'ru'),\n ja: readLocale('customized_locale_list.md', 'ja'),\n fr: readLocale('customized_locale_list.md', 'fr'),\n ko: readLocale('customized_locale_list.md', 'ko'),\n zh: readLocale('customized_locale_list.md', 'zh'),\n es: readLocale('customized_locale_list.md', 'es'),\n de: readLocale('customized_locale_list.md', 'de'),\n ar: readLocale('customized_locale_list.md', 'ar'),\n it: readLocale('customized_locale_list.md', 'it'),\n 'en-GB': readLocale('customized_locale_list.md', 'en-GB'),\n pt: readLocale('customized_locale_list.md', 'pt'),\n hi: readLocale('customized_locale_list.md', 'hi'),\n tr: readLocale('customized_locale_list.md', 'tr'),\n pl: readLocale('customized_locale_list.md', 'pl'),\n id: readLocale('customized_locale_list.md', 'id'),\n vi: readLocale('customized_locale_list.md', 'vi'),\n uk: readLocale('customized_locale_list.md', 'uk'),\n } as unknown as Record<LocalesValues, Promise<string>>,\n './frequent_questions/en/domain_routing.md': {\n en: readLocale('domain_routing.md', 'en'),\n ru: readLocale('domain_routing.md', 'ru'),\n ja: readLocale('domain_routing.md', 'ja'),\n fr: readLocale('domain_routing.md', 'fr'),\n ko: readLocale('domain_routing.md', 'ko'),\n zh: readLocale('domain_routing.md', 'zh'),\n es: readLocale('domain_routing.md', 'es'),\n de: readLocale('domain_routing.md', 'de'),\n ar: readLocale('domain_routing.md', 'ar'),\n it: readLocale('domain_routing.md', 'it'),\n 'en-GB': readLocale('domain_routing.md', 'en-GB'),\n pt: readLocale('domain_routing.md', 'pt'),\n hi: readLocale('domain_routing.md', 'hi'),\n tr: readLocale('domain_routing.md', 'tr'),\n pl: readLocale('domain_routing.md', 'pl'),\n id: readLocale('domain_routing.md', 'id'),\n vi: readLocale('domain_routing.md', 'vi'),\n uk: readLocale('domain_routing.md', 'uk'),\n } as unknown as Record<LocalesValues, Promise<string>>,\n './frequent_questions/en/error-vite-env-only.md': {\n en: readLocale('error-vite-env-only.md', 'en'),\n ru: readLocale('error-vite-env-only.md', 'ru'),\n ja: readLocale('error-vite-env-only.md', 'ja'),\n fr: readLocale('error-vite-env-only.md', 'fr'),\n ko: readLocale('error-vite-env-only.md', 'ko'),\n zh: readLocale('error-vite-env-only.md', 'zh'),\n es: readLocale('error-vite-env-only.md', 'es'),\n de: readLocale('error-vite-env-only.md', 'de'),\n ar: readLocale('error-vite-env-only.md', 'ar'),\n it: readLocale('error-vite-env-only.md', 'it'),\n 'en-GB': readLocale('error-vite-env-only.md', 'en-GB'),\n pt: readLocale('error-vite-env-only.md', 'pt'),\n hi: readLocale('error-vite-env-only.md', 'hi'),\n tr: readLocale('error-vite-env-only.md', 'tr'),\n pl: readLocale('error-vite-env-only.md', 'pl'),\n id: readLocale('error-vite-env-only.md', 'id'),\n vi: readLocale('error-vite-env-only.md', 'vi'),\n uk: readLocale('error-vite-env-only.md', 'uk'),\n } as unknown as Record<LocalesValues, Promise<string>>,\n './frequent_questions/en/esbuild_error.md': {\n en: readLocale('esbuild_error.md', 'en'),\n ru: readLocale('esbuild_error.md', 'ru'),\n ja: readLocale('esbuild_error.md', 'ja'),\n fr: readLocale('esbuild_error.md', 'fr'),\n ko: readLocale('esbuild_error.md', 'ko'),\n zh: readLocale('esbuild_error.md', 'zh'),\n es: readLocale('esbuild_error.md', 'es'),\n de: readLocale('esbuild_error.md', 'de'),\n ar: readLocale('esbuild_error.md', 'ar'),\n it: readLocale('esbuild_error.md', 'it'),\n 'en-GB': readLocale('esbuild_error.md', 'en-GB'),\n pt: readLocale('esbuild_error.md', 'pt'),\n hi: readLocale('esbuild_error.md', 'hi'),\n tr: readLocale('esbuild_error.md', 'tr'),\n pl: readLocale('esbuild_error.md', 'pl'),\n id: readLocale('esbuild_error.md', 'id'),\n vi: readLocale('esbuild_error.md', 'vi'),\n uk: readLocale('esbuild_error.md', 'uk'),\n } as unknown as Record<LocalesValues, Promise<string>>,\n './frequent_questions/en/get_locale_cookie.md': {\n en: readLocale('get_locale_cookie.md', 'en'),\n ru: readLocale('get_locale_cookie.md', 'ru'),\n ja: readLocale('get_locale_cookie.md', 'ja'),\n fr: readLocale('get_locale_cookie.md', 'fr'),\n ko: readLocale('get_locale_cookie.md', 'ko'),\n zh: readLocale('get_locale_cookie.md', 'zh'),\n es: readLocale('get_locale_cookie.md', 'es'),\n de: readLocale('get_locale_cookie.md', 'de'),\n ar: readLocale('get_locale_cookie.md', 'ar'),\n it: readLocale('get_locale_cookie.md', 'it'),\n 'en-GB': readLocale('get_locale_cookie.md', 'en-GB'),\n pt: readLocale('get_locale_cookie.md', 'pt'),\n hi: readLocale('get_locale_cookie.md', 'hi'),\n tr: readLocale('get_locale_cookie.md', 'tr'),\n pl: readLocale('get_locale_cookie.md', 'pl'),\n id: readLocale('get_locale_cookie.md', 'id'),\n vi: readLocale('get_locale_cookie.md', 'vi'),\n uk: readLocale('get_locale_cookie.md', 'uk'),\n } as unknown as Record<LocalesValues, Promise<string>>,\n './frequent_questions/en/intlayerNode.md': {\n en: readLocale('intlayerNode.md', 'en'),\n ru: readLocale('intlayerNode.md', 'ru'),\n ja: readLocale('intlayerNode.md', 'ja'),\n fr: readLocale('intlayerNode.md', 'fr'),\n ko: readLocale('intlayerNode.md', 'ko'),\n zh: readLocale('intlayerNode.md', 'zh'),\n es: readLocale('intlayerNode.md', 'es'),\n de: readLocale('intlayerNode.md', 'de'),\n ar: readLocale('intlayerNode.md', 'ar'),\n it: readLocale('intlayerNode.md', 'it'),\n 'en-GB': readLocale('intlayerNode.md', 'en-GB'),\n pt: readLocale('intlayerNode.md', 'pt'),\n hi: readLocale('intlayerNode.md', 'hi'),\n tr: readLocale('intlayerNode.md', 'tr'),\n pl: readLocale('intlayerNode.md', 'pl'),\n id: readLocale('intlayerNode.md', 'id'),\n vi: readLocale('intlayerNode.md', 'vi'),\n uk: readLocale('intlayerNode.md', 'uk'),\n } as unknown as Record<LocalesValues, Promise<string>>,\n './frequent_questions/en/intlayer_command_undefined.md': {\n en: readLocale('intlayer_command_undefined.md', 'en'),\n ru: readLocale('intlayer_command_undefined.md', 'ru'),\n ja: readLocale('intlayer_command_undefined.md', 'ja'),\n fr: readLocale('intlayer_command_undefined.md', 'fr'),\n ko: readLocale('intlayer_command_undefined.md', 'ko'),\n zh: readLocale('intlayer_command_undefined.md', 'zh'),\n es: readLocale('intlayer_command_undefined.md', 'es'),\n de: readLocale('intlayer_command_undefined.md', 'de'),\n ar: readLocale('intlayer_command_undefined.md', 'ar'),\n it: readLocale('intlayer_command_undefined.md', 'it'),\n 'en-GB': readLocale('intlayer_command_undefined.md', 'en-GB'),\n pt: readLocale('intlayer_command_undefined.md', 'pt'),\n hi: readLocale('intlayer_command_undefined.md', 'hi'),\n tr: readLocale('intlayer_command_undefined.md', 'tr'),\n pl: readLocale('intlayer_command_undefined.md', 'pl'),\n id: readLocale('intlayer_command_undefined.md', 'id'),\n vi: readLocale('intlayer_command_undefined.md', 'vi'),\n uk: readLocale('intlayer_command_undefined.md', 'uk'),\n } as unknown as Record<LocalesValues, Promise<string>>,\n './frequent_questions/en/locale_incorect_in_url.md': {\n en: readLocale('locale_incorect_in_url.md', 'en'),\n ru: readLocale('locale_incorect_in_url.md', 'ru'),\n ja: readLocale('locale_incorect_in_url.md', 'ja'),\n fr: readLocale('locale_incorect_in_url.md', 'fr'),\n ko: readLocale('locale_incorect_in_url.md', 'ko'),\n zh: readLocale('locale_incorect_in_url.md', 'zh'),\n es: readLocale('locale_incorect_in_url.md', 'es'),\n de: readLocale('locale_incorect_in_url.md', 'de'),\n ar: readLocale('locale_incorect_in_url.md', 'ar'),\n it: readLocale('locale_incorect_in_url.md', 'it'),\n 'en-GB': readLocale('locale_incorect_in_url.md', 'en-GB'),\n pt: readLocale('locale_incorect_in_url.md', 'pt'),\n hi: readLocale('locale_incorect_in_url.md', 'hi'),\n tr: readLocale('locale_incorect_in_url.md', 'tr'),\n pl: readLocale('locale_incorect_in_url.md', 'pl'),\n id: readLocale('locale_incorect_in_url.md', 'id'),\n vi: readLocale('locale_incorect_in_url.md', 'vi'),\n uk: readLocale('locale_incorect_in_url.md', 'uk'),\n } as unknown as Record<LocalesValues, Promise<string>>,\n './frequent_questions/en/package_version_error.md': {\n en: readLocale('package_version_error.md', 'en'),\n ru: readLocale('package_version_error.md', 'ru'),\n ja: readLocale('package_version_error.md', 'ja'),\n fr: readLocale('package_version_error.md', 'fr'),\n ko: readLocale('package_version_error.md', 'ko'),\n zh: readLocale('package_version_error.md', 'zh'),\n es: readLocale('package_version_error.md', 'es'),\n de: readLocale('package_version_error.md', 'de'),\n ar: readLocale('package_version_error.md', 'ar'),\n it: readLocale('package_version_error.md', 'it'),\n 'en-GB': readLocale('package_version_error.md', 'en-GB'),\n pt: readLocale('package_version_error.md', 'pt'),\n hi: readLocale('package_version_error.md', 'hi'),\n tr: readLocale('package_version_error.md', 'tr'),\n pl: readLocale('package_version_error.md', 'pl'),\n id: readLocale('package_version_error.md', 'id'),\n vi: readLocale('package_version_error.md', 'vi'),\n uk: readLocale('package_version_error.md', 'uk'),\n } as unknown as Record<LocalesValues, Promise<string>>,\n './frequent_questions/en/static_rendering.md': {\n en: readLocale('static_rendering.md', 'en'),\n ru: readLocale('static_rendering.md', 'ru'),\n ja: readLocale('static_rendering.md', 'ja'),\n fr: readLocale('static_rendering.md', 'fr'),\n ko: readLocale('static_rendering.md', 'ko'),\n zh: readLocale('static_rendering.md', 'zh'),\n es: readLocale('static_rendering.md', 'es'),\n de: readLocale('static_rendering.md', 'de'),\n ar: readLocale('static_rendering.md', 'ar'),\n it: readLocale('static_rendering.md', 'it'),\n 'en-GB': readLocale('static_rendering.md', 'en-GB'),\n pt: readLocale('static_rendering.md', 'pt'),\n hi: readLocale('static_rendering.md', 'hi'),\n tr: readLocale('static_rendering.md', 'tr'),\n pl: readLocale('static_rendering.md', 'pl'),\n id: readLocale('static_rendering.md', 'id'),\n vi: readLocale('static_rendering.md', 'vi'),\n uk: readLocale('static_rendering.md', 'uk'),\n } as unknown as Record<LocalesValues, Promise<string>>,\n './frequent_questions/en/translated_path_url.md': {\n en: readLocale('translated_path_url.md', 'en'),\n ru: readLocale('translated_path_url.md', 'ru'),\n ja: readLocale('translated_path_url.md', 'ja'),\n fr: readLocale('translated_path_url.md', 'fr'),\n ko: readLocale('translated_path_url.md', 'ko'),\n zh: readLocale('translated_path_url.md', 'zh'),\n es: readLocale('translated_path_url.md', 'es'),\n de: readLocale('translated_path_url.md', 'de'),\n ar: readLocale('translated_path_url.md', 'ar'),\n it: readLocale('translated_path_url.md', 'it'),\n 'en-GB': readLocale('translated_path_url.md', 'en-GB'),\n pt: readLocale('translated_path_url.md', 'pt'),\n hi: readLocale('translated_path_url.md', 'hi'),\n tr: readLocale('translated_path_url.md', 'tr'),\n pl: readLocale('translated_path_url.md', 'pl'),\n id: readLocale('translated_path_url.md', 'id'),\n vi: readLocale('translated_path_url.md', 'vi'),\n uk: readLocale('translated_path_url.md', 'uk'),\n } as unknown as Record<LocalesValues, Promise<string>>,\n './frequent_questions/en/unknown_command.md': {\n en: readLocale('unknown_command.md', 'en'),\n ru: readLocale('unknown_command.md', 'ru'),\n ja: readLocale('unknown_command.md', 'ja'),\n fr: readLocale('unknown_command.md', 'fr'),\n ko: readLocale('unknown_command.md', 'ko'),\n zh: readLocale('unknown_command.md', 'zh'),\n es: readLocale('unknown_command.md', 'es'),\n de: readLocale('unknown_command.md', 'de'),\n ar: readLocale('unknown_command.md', 'ar'),\n it: readLocale('unknown_command.md', 'it'),\n 'en-GB': readLocale('unknown_command.md', 'en-GB'),\n pt: readLocale('unknown_command.md', 'pt'),\n hi: readLocale('unknown_command.md', 'hi'),\n tr: readLocale('unknown_command.md', 'tr'),\n pl: readLocale('unknown_command.md', 'pl'),\n id: readLocale('unknown_command.md', 'id'),\n vi: readLocale('unknown_command.md', 'vi'),\n uk: readLocale('unknown_command.md', 'uk'),\n } as unknown as Record<LocalesValues, Promise<string>>,\n} as const;\n"],"mappings":";;;;;;;;AAWA,MAAM,aACJ,OAAO,cAAc,cACjB,4GACyC,CAAC;AAEhD,IAAI;AACJ,IAAI;CAIF,uGAFyC,UACP,CAAC,CAAC,QAAQ,gBACJ,CAAC,CAAC,CAAC;AAC7C,QAAQ;CACN,IAAI;EAIF,uGADkC,CAAC,CAAC,QAAQ,gBACJ,CAAC,CAAC,CAAC;CAC7C,QAAQ;EAEN,yDAA6B,UAAU,CAAC,CAAC;CAC3C;AACF;AAEA,MAAM,cACJ,qBACA,WACoB;CACpB,MAAM,8BACJ,SACA,wBAAwB,OAAO,GAAG,qBACpC;CACA,4BAAe,OAAO,GACpB,sCAAgB,SAAS,MAAM;CAEjC,MAAM,8BACJ,SACA,2BAA2B,qBAC7B;CACA,4BAAe,OAAO,GACpB,sCAAgB,SAAS,MAAM;CAGjC,OAAO,QAAQ,uBACb,IAAI,MACF,0BAA0B,oBAAoB,aAAa,OAAO,WAAW,QAAQ,WAAW,SAClG,CACF;AACF;AAEA,MAAa,yBAAyB;CACpC,mDAAmD;EACjD,IAAI,WAAW,2BAA2B,IAAI;EAC9C,IAAI,WAAW,2BAA2B,IAAI;EAC9C,IAAI,WAAW,2BAA2B,IAAI;EAC9C,IAAI,WAAW,2BAA2B,IAAI;EAC9C,IAAI,WAAW,2BAA2B,IAAI;EAC9C,IAAI,WAAW,2BAA2B,IAAI;EAC9C,IAAI,WAAW,2BAA2B,IAAI;EAC9C,IAAI,WAAW,2BAA2B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,sBAAsB,IAAI;EACzC,IAAI,WAAW,sBAAsB,IAAI;EACzC,SAAS,WAAW,sBAAsB,OAAO;EACjD,IAAI,WAAW,sBAAsB,IAAI;EACzC,IAAI,WAAW,sBAAsB,IAAI;EACzC,IAAI,WAAW,sBAAsB,IAAI;EACzC,IAAI,WAAW,sBAAsB,IAAI;EACzC,IAAI,WAAW,sBAAsB,IAAI;EACzC,IAAI,WAAW,sBAAsB,IAAI;EACzC,IAAI,WAAW,sBAAsB,IAAI;CAC3C;AACF"}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
const require_runtime = require('../_virtual/_rolldown/runtime.cjs');
|
|
3
2
|
let node_path = require("node:path");
|
|
4
3
|
let node_fs = require("node:fs");
|
|
5
4
|
let node_fs_promises = require("node:fs/promises");
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"legal.entry.cjs","names":[],"sources":["../../../src/generated/legal.entry.ts"],"sourcesContent":["/* AUTO-GENERATED – DO NOT EDIT */\n/* REGENERATE USING `pnpm prepare` */\nimport { existsSync } from 'node:fs';\nimport { readFile } from 'node:fs/promises';\nimport { join, dirname as pathDirname } from 'node:path';\nimport { fileURLToPath } from 'node:url';\nimport { getPackageJsonPath, getProjectRequire } from '@intlayer/config/utils';\nimport type { LocalesValues } from '@intlayer/types/module_augmentation';\n\n// Robustly resolve the base directory of the @intlayer/docs package in both\n// bundled environments (Next.js) and standalone CLIs (MCP via npx).\nconst currentDir =\n typeof __dirname !== 'undefined'\n ? __dirname\n : pathDirname(fileURLToPath(import.meta.url));\n\nlet baseDir: string;\ntry {\n // Prefer resolving from the location of this file (works for CLIs).\n const projectRequire = getProjectRequire(currentDir);\n const docEntryPath = projectRequire.resolve('@intlayer/docs');\n baseDir = getPackageJsonPath(docEntryPath).baseDir;\n} catch {\n try {\n // Fallback: resolve from the consumer project (works for apps/bundlers).\n const projectRequire = getProjectRequire();\n const docEntryPath = projectRequire.resolve('@intlayer/docs');\n baseDir = getPackageJsonPath(docEntryPath).baseDir;\n } catch {\n // Last resort: walk up from currentDir (useful when executed inside @intlayer/docs).\n baseDir = getPackageJsonPath(currentDir).baseDir;\n }\n}\n\nconst readLocale = (\n relativeAfterLocale: string,\n locale: LocalesValues\n): Promise<string> => {\n const target1 = join(baseDir, `./legal/${locale}/${relativeAfterLocale}`);\n if (existsSync(target1)) {\n return readFile(target1, 'utf8');\n }\n const target2 = join(baseDir, `./legal/en/${relativeAfterLocale}`);\n if (existsSync(target2)) {\n return readFile(target2, 'utf8');\n }\n\n return Promise.reject(\n new Error(\n `[docs] File not found: ${relativeAfterLocale} - locale: ${locale} - path: ${target1} - path: ${target2}`\n )\n );\n};\n\nexport const legalEntry = {\n './legal/en/privacy_notice.md': {\n en: readLocale('privacy_notice.md', 'en'),\n ru: readLocale('privacy_notice.md', 'ru'),\n ja: readLocale('privacy_notice.md', 'ja'),\n fr: readLocale('privacy_notice.md', 'fr'),\n ko: readLocale('privacy_notice.md', 'ko'),\n zh: readLocale('privacy_notice.md', 'zh'),\n es: readLocale('privacy_notice.md', 'es'),\n de: readLocale('privacy_notice.md', 'de'),\n ar: readLocale('privacy_notice.md', 'ar'),\n it: readLocale('privacy_notice.md', 'it'),\n 'en-GB': readLocale('privacy_notice.md', 'en-GB'),\n pt: readLocale('privacy_notice.md', 'pt'),\n hi: readLocale('privacy_notice.md', 'hi'),\n tr: readLocale('privacy_notice.md', 'tr'),\n pl: readLocale('privacy_notice.md', 'pl'),\n id: readLocale('privacy_notice.md', 'id'),\n vi: readLocale('privacy_notice.md', 'vi'),\n uk: readLocale('privacy_notice.md', 'uk'),\n } as unknown as Record<LocalesValues, Promise<string>>,\n './legal/en/terms_of_service.md': {\n en: readLocale('terms_of_service.md', 'en'),\n ru: readLocale('terms_of_service.md', 'ru'),\n ja: readLocale('terms_of_service.md', 'ja'),\n fr: readLocale('terms_of_service.md', 'fr'),\n ko: readLocale('terms_of_service.md', 'ko'),\n zh: readLocale('terms_of_service.md', 'zh'),\n es: readLocale('terms_of_service.md', 'es'),\n de: readLocale('terms_of_service.md', 'de'),\n ar: readLocale('terms_of_service.md', 'ar'),\n it: readLocale('terms_of_service.md', 'it'),\n 'en-GB': readLocale('terms_of_service.md', 'en-GB'),\n pt: readLocale('terms_of_service.md', 'pt'),\n hi: readLocale('terms_of_service.md', 'hi'),\n tr: readLocale('terms_of_service.md', 'tr'),\n pl: readLocale('terms_of_service.md', 'pl'),\n id: readLocale('terms_of_service.md', 'id'),\n vi: readLocale('terms_of_service.md', 'vi'),\n uk: readLocale('terms_of_service.md', 'uk'),\n } as unknown as Record<LocalesValues, Promise<string>>,\n} as const;\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"legal.entry.cjs","names":[],"sources":["../../../src/generated/legal.entry.ts"],"sourcesContent":["/* AUTO-GENERATED – DO NOT EDIT */\n/* REGENERATE USING `pnpm prepare` */\nimport { existsSync } from 'node:fs';\nimport { readFile } from 'node:fs/promises';\nimport { join, dirname as pathDirname } from 'node:path';\nimport { fileURLToPath } from 'node:url';\nimport { getPackageJsonPath, getProjectRequire } from '@intlayer/config/utils';\nimport type { LocalesValues } from '@intlayer/types/module_augmentation';\n\n// Robustly resolve the base directory of the @intlayer/docs package in both\n// bundled environments (Next.js) and standalone CLIs (MCP via npx).\nconst currentDir =\n typeof __dirname !== 'undefined'\n ? __dirname\n : pathDirname(fileURLToPath(import.meta.url));\n\nlet baseDir: string;\ntry {\n // Prefer resolving from the location of this file (works for CLIs).\n const projectRequire = getProjectRequire(currentDir);\n const docEntryPath = projectRequire.resolve('@intlayer/docs');\n baseDir = getPackageJsonPath(docEntryPath).baseDir;\n} catch {\n try {\n // Fallback: resolve from the consumer project (works for apps/bundlers).\n const projectRequire = getProjectRequire();\n const docEntryPath = projectRequire.resolve('@intlayer/docs');\n baseDir = getPackageJsonPath(docEntryPath).baseDir;\n } catch {\n // Last resort: walk up from currentDir (useful when executed inside @intlayer/docs).\n baseDir = getPackageJsonPath(currentDir).baseDir;\n }\n}\n\nconst readLocale = (\n relativeAfterLocale: string,\n locale: LocalesValues\n): Promise<string> => {\n const target1 = join(baseDir, `./legal/${locale}/${relativeAfterLocale}`);\n if (existsSync(target1)) {\n return readFile(target1, 'utf8');\n }\n const target2 = join(baseDir, `./legal/en/${relativeAfterLocale}`);\n if (existsSync(target2)) {\n return readFile(target2, 'utf8');\n }\n\n return Promise.reject(\n new Error(\n `[docs] File not found: ${relativeAfterLocale} - locale: ${locale} - path: ${target1} - path: ${target2}`\n )\n );\n};\n\nexport const legalEntry = {\n './legal/en/privacy_notice.md': {\n en: readLocale('privacy_notice.md', 'en'),\n ru: readLocale('privacy_notice.md', 'ru'),\n ja: readLocale('privacy_notice.md', 'ja'),\n fr: readLocale('privacy_notice.md', 'fr'),\n ko: readLocale('privacy_notice.md', 'ko'),\n zh: readLocale('privacy_notice.md', 'zh'),\n es: readLocale('privacy_notice.md', 'es'),\n de: readLocale('privacy_notice.md', 'de'),\n ar: readLocale('privacy_notice.md', 'ar'),\n it: readLocale('privacy_notice.md', 'it'),\n 'en-GB': readLocale('privacy_notice.md', 'en-GB'),\n pt: readLocale('privacy_notice.md', 'pt'),\n hi: readLocale('privacy_notice.md', 'hi'),\n tr: readLocale('privacy_notice.md', 'tr'),\n pl: readLocale('privacy_notice.md', 'pl'),\n id: readLocale('privacy_notice.md', 'id'),\n vi: readLocale('privacy_notice.md', 'vi'),\n uk: readLocale('privacy_notice.md', 'uk'),\n } as unknown as Record<LocalesValues, Promise<string>>,\n './legal/en/terms_of_service.md': {\n en: readLocale('terms_of_service.md', 'en'),\n ru: readLocale('terms_of_service.md', 'ru'),\n ja: readLocale('terms_of_service.md', 'ja'),\n fr: readLocale('terms_of_service.md', 'fr'),\n ko: readLocale('terms_of_service.md', 'ko'),\n zh: readLocale('terms_of_service.md', 'zh'),\n es: readLocale('terms_of_service.md', 'es'),\n de: readLocale('terms_of_service.md', 'de'),\n ar: readLocale('terms_of_service.md', 'ar'),\n it: readLocale('terms_of_service.md', 'it'),\n 'en-GB': readLocale('terms_of_service.md', 'en-GB'),\n pt: readLocale('terms_of_service.md', 'pt'),\n hi: readLocale('terms_of_service.md', 'hi'),\n tr: readLocale('terms_of_service.md', 'tr'),\n pl: readLocale('terms_of_service.md', 'pl'),\n id: readLocale('terms_of_service.md', 'id'),\n vi: readLocale('terms_of_service.md', 'vi'),\n uk: readLocale('terms_of_service.md', 'uk'),\n } as unknown as Record<LocalesValues, Promise<string>>,\n} as const;\n"],"mappings":";;;;;;;;AAWA,MAAM,aACJ,OAAO,cAAc,cACjB,4GACyC,CAAC;AAEhD,IAAI;AACJ,IAAI;CAIF,uGAFyC,UACP,CAAC,CAAC,QAAQ,gBACJ,CAAC,CAAC,CAAC;AAC7C,QAAQ;CACN,IAAI;EAIF,uGADkC,CAAC,CAAC,QAAQ,gBACJ,CAAC,CAAC,CAAC;CAC7C,QAAQ;EAEN,yDAA6B,UAAU,CAAC,CAAC;CAC3C;AACF;AAEA,MAAM,cACJ,qBACA,WACoB;CACpB,MAAM,8BAAe,SAAS,WAAW,OAAO,GAAG,qBAAqB;CACxE,4BAAe,OAAO,GACpB,sCAAgB,SAAS,MAAM;CAEjC,MAAM,8BAAe,SAAS,cAAc,qBAAqB;CACjE,4BAAe,OAAO,GACpB,sCAAgB,SAAS,MAAM;CAGjC,OAAO,QAAQ,uBACb,IAAI,MACF,0BAA0B,oBAAoB,aAAa,OAAO,WAAW,QAAQ,WAAW,SAClG,CACF;AACF;AAEA,MAAa,aAAa;CACxB,gCAAgC;EAC9B,IAAI,WAAW,qBAAqB,IAAI;EACxC,IAAI,WAAW,qBAAqB,IAAI;EACxC,IAAI,WAAW,qBAAqB,IAAI;EACxC,IAAI,WAAW,qBAAqB,IAAI;EACxC,IAAI,WAAW,qBAAqB,IAAI;EACxC,IAAI,WAAW,qBAAqB,IAAI;EACxC,IAAI,WAAW,qBAAqB,IAAI;EACxC,IAAI,WAAW,qBAAqB,IAAI;EACxC,IAAI,WAAW,qBAAqB,IAAI;EACxC,IAAI,WAAW,qBAAqB,IAAI;EACxC,SAAS,WAAW,qBAAqB,OAAO;EAChD,IAAI,WAAW,qBAAqB,IAAI;EACxC,IAAI,WAAW,qBAAqB,IAAI;EACxC,IAAI,WAAW,qBAAqB,IAAI;EACxC,IAAI,WAAW,qBAAqB,IAAI;EACxC,IAAI,WAAW,qBAAqB,IAAI;EACxC,IAAI,WAAW,qBAAqB,IAAI;EACxC,IAAI,WAAW,qBAAqB,IAAI;CAC1C;CACA,kCAAkC;EAChC,IAAI,WAAW,uBAAuB,IAAI;EAC1C,IAAI,WAAW,uBAAuB,IAAI;EAC1C,IAAI,WAAW,uBAAuB,IAAI;EAC1C,IAAI,WAAW,uBAAuB,IAAI;EAC1C,IAAI,WAAW,uBAAuB,IAAI;EAC1C,IAAI,WAAW,uBAAuB,IAAI;EAC1C,IAAI,WAAW,uBAAuB,IAAI;EAC1C,IAAI,WAAW,uBAAuB,IAAI;EAC1C,IAAI,WAAW,uBAAuB,IAAI;EAC1C,IAAI,WAAW,uBAAuB,IAAI;EAC1C,SAAS,WAAW,uBAAuB,OAAO;EAClD,IAAI,WAAW,uBAAuB,IAAI;EAC1C,IAAI,WAAW,uBAAuB,IAAI;EAC1C,IAAI,WAAW,uBAAuB,IAAI;EAC1C,IAAI,WAAW,uBAAuB,IAAI;EAC1C,IAAI,WAAW,uBAAuB,IAAI;EAC1C,IAAI,WAAW,uBAAuB,IAAI;EAC1C,IAAI,WAAW,uBAAuB,IAAI;CAC5C;AACF"}
|
package/dist/cjs/legal.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"legal.cjs","names":["getKeys","legalEntry","defaultLocale","getFiles","getFile","getFileMetadataRecord","getFileMetadata","getFileMetadataBySlug","getFileBySlug"],"sources":["../../src/legal.ts"],"sourcesContent":["import type {\n DeclaredLocales,\n LocalesValues,\n} from '@intlayer/types/module_augmentation';\nimport {\n defaultLocale,\n type FileMetadata,\n getFile,\n getFileBySlug,\n getFileMetadata,\n getFileMetadataBySlug,\n getFileMetadataRecord,\n getFiles,\n getKeys,\n} from './common';\nimport { legalEntry } from './generated/legal.entry';\n\nexport type LegalKey = keyof typeof legalEntry;\nexport type Legals = Record<LegalKey, Record<LocalesValues, Promise<string>>>;\nexport type LegalMetadata = FileMetadata;\n\nexport const getLegalsKeys = (): (keyof typeof legalEntry)[] =>\n getKeys(legalEntry);\n\nexport const getLegals = async <L extends LocalesValues = DeclaredLocales>(\n locale: L = defaultLocale as L\n): Promise<Record<LegalKey, string>> => getFiles(legalEntry, locale);\n\nexport const getLegal = async <L extends LocalesValues = DeclaredLocales>(\n docName: keyof typeof legalEntry,\n locale: L = defaultLocale as L\n): Promise<string> => getFile(legalEntry, docName, locale);\n\nexport const getLegalMetadataRecord = async <\n L extends LocalesValues = DeclaredLocales,\n>(\n locale: L = defaultLocale as L\n): Promise<Record<LegalKey, FileMetadata>> =>\n getFileMetadataRecord(legalEntry, locale);\n\nexport const getLegalMetadata = async <\n D extends LegalKey,\n L extends LocalesValues = DeclaredLocales,\n>(\n docName: D,\n locale: L = defaultLocale as L\n): Promise<FileMetadata> => getFileMetadata(legalEntry, docName, locale);\n\nexport const getLegalMetadataBySlug = async <\n L extends LocalesValues = DeclaredLocales,\n>(\n slugs: string | string[],\n locale: L = defaultLocale as L,\n strict = false\n): Promise<FileMetadata[]> =>\n await getFileMetadataBySlug(legalEntry, slugs, locale, strict);\n\nexport const getLegalBySlug = async <L extends LocalesValues = DeclaredLocales>(\n slugs: string | string[],\n locale: L = defaultLocale as L,\n strict = false\n): Promise<string[]> => await getFileBySlug(legalEntry, slugs, locale, strict);\n"],"mappings":";;;;;AAqBA,MAAa,sBACXA,uBAAQC,
|
|
1
|
+
{"version":3,"file":"legal.cjs","names":["getKeys","legalEntry","defaultLocale","getFiles","getFile","getFileMetadataRecord","getFileMetadata","getFileMetadataBySlug","getFileBySlug"],"sources":["../../src/legal.ts"],"sourcesContent":["import type {\n DeclaredLocales,\n LocalesValues,\n} from '@intlayer/types/module_augmentation';\nimport {\n defaultLocale,\n type FileMetadata,\n getFile,\n getFileBySlug,\n getFileMetadata,\n getFileMetadataBySlug,\n getFileMetadataRecord,\n getFiles,\n getKeys,\n} from './common';\nimport { legalEntry } from './generated/legal.entry';\n\nexport type LegalKey = keyof typeof legalEntry;\nexport type Legals = Record<LegalKey, Record<LocalesValues, Promise<string>>>;\nexport type LegalMetadata = FileMetadata;\n\nexport const getLegalsKeys = (): (keyof typeof legalEntry)[] =>\n getKeys(legalEntry);\n\nexport const getLegals = async <L extends LocalesValues = DeclaredLocales>(\n locale: L = defaultLocale as L\n): Promise<Record<LegalKey, string>> => getFiles(legalEntry, locale);\n\nexport const getLegal = async <L extends LocalesValues = DeclaredLocales>(\n docName: keyof typeof legalEntry,\n locale: L = defaultLocale as L\n): Promise<string> => getFile(legalEntry, docName, locale);\n\nexport const getLegalMetadataRecord = async <\n L extends LocalesValues = DeclaredLocales,\n>(\n locale: L = defaultLocale as L\n): Promise<Record<LegalKey, FileMetadata>> =>\n getFileMetadataRecord(legalEntry, locale);\n\nexport const getLegalMetadata = async <\n D extends LegalKey,\n L extends LocalesValues = DeclaredLocales,\n>(\n docName: D,\n locale: L = defaultLocale as L\n): Promise<FileMetadata> => getFileMetadata(legalEntry, docName, locale);\n\nexport const getLegalMetadataBySlug = async <\n L extends LocalesValues = DeclaredLocales,\n>(\n slugs: string | string[],\n locale: L = defaultLocale as L,\n strict = false\n): Promise<FileMetadata[]> =>\n await getFileMetadataBySlug(legalEntry, slugs, locale, strict);\n\nexport const getLegalBySlug = async <L extends LocalesValues = DeclaredLocales>(\n slugs: string | string[],\n locale: L = defaultLocale as L,\n strict = false\n): Promise<string[]> => await getFileBySlug(legalEntry, slugs, locale, strict);\n"],"mappings":";;;;;AAqBA,MAAa,sBACXA,uBAAQC,wCAAU;AAEpB,MAAa,YAAY,OACvB,SAAYC,iCAC0BC,wBAASF,0CAAY,MAAM;AAEnE,MAAa,WAAW,OACtB,SACA,SAAYC,iCACQE,uBAAQH,0CAAY,SAAS,MAAM;AAEzD,MAAa,yBAAyB,OAGpC,SAAYC,iCAEZG,qCAAsBJ,0CAAY,MAAM;AAE1C,MAAa,mBAAmB,OAI9B,SACA,SAAYC,iCACcI,+BAAgBL,0CAAY,SAAS,MAAM;AAEvE,MAAa,yBAAyB,OAGpC,OACA,SAAYC,8BACZ,SAAS,UAET,MAAMK,qCAAsBN,0CAAY,OAAO,QAAQ,MAAM;AAE/D,MAAa,iBAAiB,OAC5B,OACA,SAAYC,8BACZ,SAAS,UACa,MAAMM,6BAAcP,0CAAY,OAAO,QAAQ,MAAM"}
|
package/dist/esm/authors.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"authors.mjs","names":["authorsData"],"sources":["../../src/authors.ts"],"sourcesContent":["import authorsData from '../authors.json' with { type: 'json' };\n\n// ─── Types ────────────────────────────────────────────────────────────────────\n\nexport type AuthorProfile = {\n /** Full display name */\n name: string;\n /** Schema.org Person @id URI (optional) */\n id?: string;\n /** Professional title */\n title?: string;\n /** Canonical URL for this person */\n url?: string;\n /** Profile image URL */\n image?: string;\n /** List of equivalent profile URLs (LinkedIn, Twitter/X, GitHub…) */\n socialMedias?: string[];\n /** Areas of expertise */\n knowsAbout?: string[];\n /** GitHub username/handle */\n github?: string;\n};\n\nexport type Authors = Record<string, AuthorProfile>;\n\n// ─── Loader (lazy singleton) ──────────────────────────────────────────────────\n\nconst loadAuthors = (): Authors => authorsData as Authors;\n\n// ─── Public API ───────────────────────────────────────────────────────────────\n\n/**\n * Resolve a full author profile by GitHub handle.\n * Returns `undefined` if the handle is not found in `authors.json`.\n */\nexport const getAuthor = (github: string): AuthorProfile | undefined => {\n const profile = loadAuthors()[github];\n if (!profile) return undefined;\n return {\n ...profile,\n github,\n };\n};\n\nexport { loadAuthors as getAuthors };\n\n/**\n * Build a Schema.org Person node suitable for JSON-LD.\n * Undefined fields are omitted automatically by JSON.stringify.\n */\nexport const buildAuthorJsonLd = (\n profile?: AuthorProfile,\n fallbackName = 'Aymeric Pineau',\n fallbackUrl?: string\n) => ({\n '@type': 'Person' as const,\n '@id': profile?.id,\n name: profile?.name ?? fallbackName,\n url: profile?.url ?? fallbackUrl,\n jobTitle: profile?.title,\n image: profile?.image,\n sameAs: profile?.socialMedias?.length ? profile.socialMedias : undefined,\n knowsAbout: profile?.knowsAbout?.length ? profile.knowsAbout : undefined,\n});\n"],"mappings":";;;AA2BA,MAAM,oBAA6BA;;;;;AAQnC,MAAa,aAAa,WAA8C;CACtE,MAAM,UAAU,
|
|
1
|
+
{"version":3,"file":"authors.mjs","names":["authorsData"],"sources":["../../src/authors.ts"],"sourcesContent":["import authorsData from '../authors.json' with { type: 'json' };\n\n// ─── Types ────────────────────────────────────────────────────────────────────\n\nexport type AuthorProfile = {\n /** Full display name */\n name: string;\n /** Schema.org Person @id URI (optional) */\n id?: string;\n /** Professional title */\n title?: string;\n /** Canonical URL for this person */\n url?: string;\n /** Profile image URL */\n image?: string;\n /** List of equivalent profile URLs (LinkedIn, Twitter/X, GitHub…) */\n socialMedias?: string[];\n /** Areas of expertise */\n knowsAbout?: string[];\n /** GitHub username/handle */\n github?: string;\n};\n\nexport type Authors = Record<string, AuthorProfile>;\n\n// ─── Loader (lazy singleton) ──────────────────────────────────────────────────\n\nconst loadAuthors = (): Authors => authorsData as Authors;\n\n// ─── Public API ───────────────────────────────────────────────────────────────\n\n/**\n * Resolve a full author profile by GitHub handle.\n * Returns `undefined` if the handle is not found in `authors.json`.\n */\nexport const getAuthor = (github: string): AuthorProfile | undefined => {\n const profile = loadAuthors()[github];\n if (!profile) return undefined;\n return {\n ...profile,\n github,\n };\n};\n\nexport { loadAuthors as getAuthors };\n\n/**\n * Build a Schema.org Person node suitable for JSON-LD.\n * Undefined fields are omitted automatically by JSON.stringify.\n */\nexport const buildAuthorJsonLd = (\n profile?: AuthorProfile,\n fallbackName = 'Aymeric Pineau',\n fallbackUrl?: string\n) => ({\n '@type': 'Person' as const,\n '@id': profile?.id,\n name: profile?.name ?? fallbackName,\n url: profile?.url ?? fallbackUrl,\n jobTitle: profile?.title,\n image: profile?.image,\n sameAs: profile?.socialMedias?.length ? profile.socialMedias : undefined,\n knowsAbout: profile?.knowsAbout?.length ? profile.knowsAbout : undefined,\n});\n"],"mappings":";;;AA2BA,MAAM,oBAA6BA;;;;;AAQnC,MAAa,aAAa,WAA8C;CACtE,MAAM,UAAU,YAAY,CAAC,CAAC;CAC9B,IAAI,CAAC,SAAS,OAAO;CACrB,OAAO;EACL,GAAG;EACH;CACF;AACF;;;;;AAQA,MAAa,qBACX,SACA,eAAe,kBACf,iBACI;CACJ,SAAS;CACT,OAAO,SAAS;CAChB,MAAM,SAAS,QAAQ;CACvB,KAAK,SAAS,OAAO;CACrB,UAAU,SAAS;CACnB,OAAO,SAAS;CAChB,QAAQ,SAAS,cAAc,SAAS,QAAQ,eAAe;CAC/D,YAAY,SAAS,YAAY,SAAS,QAAQ,aAAa;AACjE"}
|
package/dist/esm/blog.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blog.mjs","names":[],"sources":["../../src/blog.ts"],"sourcesContent":["import type {\n DeclaredLocales,\n LocalesValues,\n} from '@intlayer/types/module_augmentation';\nimport {\n defaultLocale,\n type FileMetadata,\n getFile,\n getFileBySlug,\n getFileMetadata,\n getFileMetadataBySlug,\n getFileMetadataRecord,\n getFiles,\n getKeys,\n} from './common';\nimport { blogEntry } from './generated/blog.entry';\n\nexport type BlogKey = keyof typeof blogEntry;\nexport type Blogs = Record<BlogKey, Record<LocalesValues, Promise<string>>>;\nexport type BlogMetadata = FileMetadata;\n\nexport const getBlogsKeys = (): (keyof typeof blogEntry)[] =>\n getKeys(blogEntry);\n\nexport const getBlogs = async <L extends LocalesValues = DeclaredLocales>(\n locale: L = defaultLocale as L\n): Promise<Record<BlogKey, string>> => await getFiles(blogEntry, locale);\n\nexport const getBlog = async <L extends LocalesValues = DeclaredLocales>(\n docName: BlogKey,\n locale: L = defaultLocale as L\n): Promise<string> => await getFile(blogEntry, docName, locale);\n\nexport const getBlogMetadataRecord = async <\n L extends LocalesValues = DeclaredLocales,\n>(\n locale: L = defaultLocale as L\n): Promise<Record<BlogKey, FileMetadata>> =>\n await getFileMetadataRecord(blogEntry, locale);\n\nexport const getBlogMetadata = async <\n D extends BlogKey,\n L extends LocalesValues = DeclaredLocales,\n>(\n docName: D,\n locale: L = defaultLocale as L\n): Promise<FileMetadata> => await getFileMetadata(blogEntry, docName, locale);\n\nexport const getBlogMetadataBySlug = async <\n L extends LocalesValues = DeclaredLocales,\n>(\n slugs: string | string[],\n locale: L = defaultLocale as L,\n strict = false\n): Promise<FileMetadata[]> =>\n await getFileMetadataBySlug(blogEntry, slugs, locale, strict);\n\nexport const getBlogBySlug = async <L extends LocalesValues = DeclaredLocales>(\n slugs: string | string[],\n locale: L = defaultLocale as L,\n strict = false\n): Promise<string[]> => await getFileBySlug(blogEntry, slugs, locale, strict);\n"],"mappings":";;;;AAqBA,MAAa,qBACX,QAAQ,
|
|
1
|
+
{"version":3,"file":"blog.mjs","names":[],"sources":["../../src/blog.ts"],"sourcesContent":["import type {\n DeclaredLocales,\n LocalesValues,\n} from '@intlayer/types/module_augmentation';\nimport {\n defaultLocale,\n type FileMetadata,\n getFile,\n getFileBySlug,\n getFileMetadata,\n getFileMetadataBySlug,\n getFileMetadataRecord,\n getFiles,\n getKeys,\n} from './common';\nimport { blogEntry } from './generated/blog.entry';\n\nexport type BlogKey = keyof typeof blogEntry;\nexport type Blogs = Record<BlogKey, Record<LocalesValues, Promise<string>>>;\nexport type BlogMetadata = FileMetadata;\n\nexport const getBlogsKeys = (): (keyof typeof blogEntry)[] =>\n getKeys(blogEntry);\n\nexport const getBlogs = async <L extends LocalesValues = DeclaredLocales>(\n locale: L = defaultLocale as L\n): Promise<Record<BlogKey, string>> => await getFiles(blogEntry, locale);\n\nexport const getBlog = async <L extends LocalesValues = DeclaredLocales>(\n docName: BlogKey,\n locale: L = defaultLocale as L\n): Promise<string> => await getFile(blogEntry, docName, locale);\n\nexport const getBlogMetadataRecord = async <\n L extends LocalesValues = DeclaredLocales,\n>(\n locale: L = defaultLocale as L\n): Promise<Record<BlogKey, FileMetadata>> =>\n await getFileMetadataRecord(blogEntry, locale);\n\nexport const getBlogMetadata = async <\n D extends BlogKey,\n L extends LocalesValues = DeclaredLocales,\n>(\n docName: D,\n locale: L = defaultLocale as L\n): Promise<FileMetadata> => await getFileMetadata(blogEntry, docName, locale);\n\nexport const getBlogMetadataBySlug = async <\n L extends LocalesValues = DeclaredLocales,\n>(\n slugs: string | string[],\n locale: L = defaultLocale as L,\n strict = false\n): Promise<FileMetadata[]> =>\n await getFileMetadataBySlug(blogEntry, slugs, locale, strict);\n\nexport const getBlogBySlug = async <L extends LocalesValues = DeclaredLocales>(\n slugs: string | string[],\n locale: L = defaultLocale as L,\n strict = false\n): Promise<string[]> => await getFileBySlug(blogEntry, slugs, locale, strict);\n"],"mappings":";;;;AAqBA,MAAa,qBACX,QAAQ,SAAS;AAEnB,MAAa,WAAW,OACtB,SAAY,kBACyB,MAAM,SAAS,WAAW,MAAM;AAEvE,MAAa,UAAU,OACrB,SACA,SAAY,kBACQ,MAAM,QAAQ,WAAW,SAAS,MAAM;AAE9D,MAAa,wBAAwB,OAGnC,SAAY,kBAEZ,MAAM,sBAAsB,WAAW,MAAM;AAE/C,MAAa,kBAAkB,OAI7B,SACA,SAAY,kBACc,MAAM,gBAAgB,WAAW,SAAS,MAAM;AAE5E,MAAa,wBAAwB,OAGnC,OACA,SAAY,eACZ,SAAS,UAET,MAAM,sBAAsB,WAAW,OAAO,QAAQ,MAAM;AAE9D,MAAa,gBAAgB,OAC3B,OACA,SAAY,eACZ,SAAS,UACa,MAAM,cAAc,WAAW,OAAO,QAAQ,MAAM"}
|
package/dist/esm/common.mjs
CHANGED
|
@@ -42,7 +42,8 @@ const formatMetadata = (docKey, file, locale = defaultLocale) => {
|
|
|
42
42
|
};
|
|
43
43
|
};
|
|
44
44
|
const getFileMetadata = async (files, docKey, locale = defaultLocale) => {
|
|
45
|
-
|
|
45
|
+
const file = await getFile(files, docKey, locale);
|
|
46
|
+
return formatMetadata(docKey, file, locale);
|
|
46
47
|
};
|
|
47
48
|
const getFileMetadataRecord = async (files, locale = defaultLocale) => {
|
|
48
49
|
const filesEntries = (await Promise.allSettled(Object.entries(files).map(async ([key]) => {
|
package/dist/esm/common.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.mjs","names":[],"sources":["../../src/common.ts"],"sourcesContent":["import { join } from 'node:path';\nimport { getLocalizedUrl } from '@intlayer/core/localization';\nimport { getMarkdownMetadata } from '@intlayer/core/transpiler';\nimport * as Locales from '@intlayer/types/locales';\nimport type { LocalesValues } from '@intlayer/types/module_augmentation';\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 getKeys = <T extends Record<string, any>>(obj: T): (keyof T)[] =>\n Object.keys(obj) as (keyof T)[];\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 applicationShowcase?: string;\n history?: {\n version: string;\n date: string;\n changes: string;\n }[];\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\n const slugs = (metadata.slugs ?? []).map(String);\n const keywords = (metadata.keywords ?? []).map(String);\n\n const relativeUrl = join('/', ...slugs);\n\n const slicedDocKey = docKey.slice(1);\n\n // Normalise author: accept both a plain string handle (new format)\n // and a legacy object `{ github: '...' }` — always reduce to a plain string.\n const rawAuthor = metadata.author as\n | string\n | { name?: string; github?: string }\n | undefined;\n const author: string | undefined =\n typeof rawAuthor === 'string'\n ? rawAuthor || undefined\n : rawAuthor?.github || undefined;\n\n return {\n ...metadata,\n docKey,\n slugs,\n keywords,\n author,\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 const file = await getFile(files, docKey, locale);\n\n return formatMetadata(docKey as string, file, locale) as R;\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 results = await Promise.allSettled(\n Object.entries(files).map(async ([key]) => {\n const metadata = await getFileMetadata(files, key as keyof F, locale);\n return [key, metadata] as [string, FileMetadata];\n })\n );\n const filesEntries = results\n .filter(\n (r): r is PromiseFulfilledResult<[string, FileMetadata]> =>\n r.status === 'fulfilled'\n )\n .map((r) => r.value);\n const filesResult = Object.fromEntries(filesEntries);\n return filesResult as Record<keyof F, FileMetadata>;\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":";;;;;;AAMA,MAAa,gBAAgB,QAAQ;AAErC,MAAa,oBACX;AACF,MAAa,aAAa;AAE1B,MAAa,WAA0C,QACrD,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"common.mjs","names":[],"sources":["../../src/common.ts"],"sourcesContent":["import { join } from 'node:path';\nimport { getLocalizedUrl } from '@intlayer/core/localization';\nimport { getMarkdownMetadata } from '@intlayer/core/transpiler';\nimport * as Locales from '@intlayer/types/locales';\nimport type { LocalesValues } from '@intlayer/types/module_augmentation';\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 getKeys = <T extends Record<string, any>>(obj: T): (keyof T)[] =>\n Object.keys(obj) as (keyof T)[];\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 applicationShowcase?: string;\n history?: {\n version: string;\n date: string;\n changes: string;\n }[];\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\n const slugs = (metadata.slugs ?? []).map(String);\n const keywords = (metadata.keywords ?? []).map(String);\n\n const relativeUrl = join('/', ...slugs);\n\n const slicedDocKey = docKey.slice(1);\n\n // Normalise author: accept both a plain string handle (new format)\n // and a legacy object `{ github: '...' }` — always reduce to a plain string.\n const rawAuthor = metadata.author as\n | string\n | { name?: string; github?: string }\n | undefined;\n const author: string | undefined =\n typeof rawAuthor === 'string'\n ? rawAuthor || undefined\n : rawAuthor?.github || undefined;\n\n return {\n ...metadata,\n docKey,\n slugs,\n keywords,\n author,\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 const file = await getFile(files, docKey, locale);\n\n return formatMetadata(docKey as string, file, locale) as R;\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 results = await Promise.allSettled(\n Object.entries(files).map(async ([key]) => {\n const metadata = await getFileMetadata(files, key as keyof F, locale);\n return [key, metadata] as [string, FileMetadata];\n })\n );\n const filesEntries = results\n .filter(\n (r): r is PromiseFulfilledResult<[string, FileMetadata]> =>\n r.status === 'fulfilled'\n )\n .map((r) => r.value);\n const filesResult = Object.fromEntries(filesEntries);\n return filesResult as Record<keyof F, FileMetadata>;\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"],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oB,OAAO,OAAO,aAAa,CAAC,CAAC,QAAQ,iBAC3D,WAAW,OAAO,SAAS,aAAa,OAAO,SAAS,IAAI,CAAC,CAC/D;CAEA,IAAI,QACF,oBAAoB,kBAAkB,QACnC,iBAAiB,aAAa,MAAM,WAAW,WAAW,MAC7D;CAUF,OAAO,MAPgB,QAAQ,IAC7B,kBAAkB,IAAI,OAAO,iBAAiB;EAE5C,OAAO,MADY,QAAQ,OAAO,aAAa,QAAQ,MAAM;CAE/D,CAAC,CACH;AAGF"}
|
package/dist/esm/doc.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"doc.mjs","names":[],"sources":["../../src/doc.ts"],"sourcesContent":["import type {\n DeclaredLocales,\n LocalesValues,\n} from '@intlayer/types/module_augmentation';\nimport {\n defaultLocale,\n type FileMetadata,\n getFile,\n getFileBySlug,\n getFileMetadata,\n getFileMetadataBySlug,\n getFileMetadataRecord,\n getFiles,\n getKeys,\n} from './common';\nimport { docsEntry } from './generated/docs.entry';\n\nexport type DocKey = keyof typeof docsEntry;\nexport type Docs = Record<DocKey, Record<LocalesValues, Promise<string>>>;\nexport type DocMetadata = FileMetadata;\n\nexport const getDocsKeys = (): (keyof typeof docsEntry)[] => getKeys(docsEntry);\n\nexport const getDocs = async <L extends LocalesValues = DeclaredLocales>(\n locale: L = defaultLocale as L\n): Promise<Record<DocKey, string>> => await getFiles(docsEntry, locale);\n\nexport const getDoc = async <L extends LocalesValues = DeclaredLocales>(\n docName: keyof typeof docsEntry,\n locale: L = defaultLocale as L\n): Promise<string> => await getFile(docsEntry, docName, locale);\n\nexport const getDocMetadataRecord = async <\n L extends LocalesValues = DeclaredLocales,\n>(\n locale: L = defaultLocale as L\n): Promise<Record<DocKey, FileMetadata>> =>\n await getFileMetadataRecord(docsEntry, locale);\n\nexport const getDocMetadata = async <\n D extends DocKey,\n L extends LocalesValues = DeclaredLocales,\n>(\n docName: D,\n locale: L = defaultLocale as L\n): Promise<FileMetadata> => await getFileMetadata(docsEntry, docName, locale);\n\nexport const getDocMetadataBySlug = async <\n L extends LocalesValues = DeclaredLocales,\n>(\n slugs: string | string[],\n locale: L = defaultLocale as L,\n strict = false\n): Promise<FileMetadata[]> =>\n await getFileMetadataBySlug(docsEntry, slugs, locale, strict);\n\nexport const getDocBySlug = async <L extends LocalesValues = DeclaredLocales>(\n slugs: string | string[],\n locale: L = defaultLocale as L,\n strict = false\n): Promise<string[]> => await getFileBySlug(docsEntry, slugs, locale, strict);\n"],"mappings":";;;;AAqBA,MAAa,oBAAgD,QAAQ,
|
|
1
|
+
{"version":3,"file":"doc.mjs","names":[],"sources":["../../src/doc.ts"],"sourcesContent":["import type {\n DeclaredLocales,\n LocalesValues,\n} from '@intlayer/types/module_augmentation';\nimport {\n defaultLocale,\n type FileMetadata,\n getFile,\n getFileBySlug,\n getFileMetadata,\n getFileMetadataBySlug,\n getFileMetadataRecord,\n getFiles,\n getKeys,\n} from './common';\nimport { docsEntry } from './generated/docs.entry';\n\nexport type DocKey = keyof typeof docsEntry;\nexport type Docs = Record<DocKey, Record<LocalesValues, Promise<string>>>;\nexport type DocMetadata = FileMetadata;\n\nexport const getDocsKeys = (): (keyof typeof docsEntry)[] => getKeys(docsEntry);\n\nexport const getDocs = async <L extends LocalesValues = DeclaredLocales>(\n locale: L = defaultLocale as L\n): Promise<Record<DocKey, string>> => await getFiles(docsEntry, locale);\n\nexport const getDoc = async <L extends LocalesValues = DeclaredLocales>(\n docName: keyof typeof docsEntry,\n locale: L = defaultLocale as L\n): Promise<string> => await getFile(docsEntry, docName, locale);\n\nexport const getDocMetadataRecord = async <\n L extends LocalesValues = DeclaredLocales,\n>(\n locale: L = defaultLocale as L\n): Promise<Record<DocKey, FileMetadata>> =>\n await getFileMetadataRecord(docsEntry, locale);\n\nexport const getDocMetadata = async <\n D extends DocKey,\n L extends LocalesValues = DeclaredLocales,\n>(\n docName: D,\n locale: L = defaultLocale as L\n): Promise<FileMetadata> => await getFileMetadata(docsEntry, docName, locale);\n\nexport const getDocMetadataBySlug = async <\n L extends LocalesValues = DeclaredLocales,\n>(\n slugs: string | string[],\n locale: L = defaultLocale as L,\n strict = false\n): Promise<FileMetadata[]> =>\n await getFileMetadataBySlug(docsEntry, slugs, locale, strict);\n\nexport const getDocBySlug = async <L extends LocalesValues = DeclaredLocales>(\n slugs: string | string[],\n locale: L = defaultLocale as L,\n strict = false\n): Promise<string[]> => await getFileBySlug(docsEntry, slugs, locale, strict);\n"],"mappings":";;;;AAqBA,MAAa,oBAAgD,QAAQ,SAAS;AAE9E,MAAa,UAAU,OACrB,SAAY,kBACwB,MAAM,SAAS,WAAW,MAAM;AAEtE,MAAa,SAAS,OACpB,SACA,SAAY,kBACQ,MAAM,QAAQ,WAAW,SAAS,MAAM;AAE9D,MAAa,uBAAuB,OAGlC,SAAY,kBAEZ,MAAM,sBAAsB,WAAW,MAAM;AAE/C,MAAa,iBAAiB,OAI5B,SACA,SAAY,kBACc,MAAM,gBAAgB,WAAW,SAAS,MAAM;AAE5E,MAAa,uBAAuB,OAGlC,OACA,SAAY,eACZ,SAAS,UAET,MAAM,sBAAsB,WAAW,OAAO,QAAQ,MAAM;AAE9D,MAAa,eAAe,OAC1B,OACA,SAAY,eACZ,SAAS,UACa,MAAM,cAAc,WAAW,OAAO,QAAQ,MAAM"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"frequentQuestions.mjs","names":[],"sources":["../../src/frequentQuestions.ts"],"sourcesContent":["import type {\n DeclaredLocales,\n LocalesValues,\n} from '@intlayer/types/module_augmentation';\nimport {\n defaultLocale,\n type FileMetadata,\n getFile,\n getFileBySlug,\n getFileMetadata,\n getFileMetadataBySlug,\n getFileMetadataRecord,\n getFiles,\n getKeys,\n} from './common';\nimport { frequentQuestionsEntry } from './generated/frequentQuestions.entry';\n\nexport type FrequentQuestionKey = keyof typeof frequentQuestionsEntry;\nexport type FrequentQuestions = Record<\n FrequentQuestionKey,\n Record<LocalesValues, Promise<string>>\n>;\nexport type FrequentQuestionMetadata = FileMetadata;\n\nexport const getFrequentQuestionsKeys =\n (): (keyof typeof frequentQuestionsEntry)[] =>\n getKeys(frequentQuestionsEntry);\n\nexport const getFrequentQuestions = async <\n L extends LocalesValues = DeclaredLocales,\n>(\n locale: L = defaultLocale as L\n): Promise<Record<FrequentQuestionKey, string>> =>\n getFiles(frequentQuestionsEntry, locale);\n\nexport const getFrequentQuestion = async <\n L extends LocalesValues = DeclaredLocales,\n>(\n docName: FrequentQuestionKey,\n locale: L = defaultLocale as L\n): Promise<string> => getFile(frequentQuestionsEntry, docName, locale);\n\nexport const getFrequentQuestionMetadataRecord = async <\n L extends LocalesValues = DeclaredLocales,\n>(\n locale: L = defaultLocale as L\n): Promise<Record<FrequentQuestionKey, FileMetadata>> =>\n getFileMetadataRecord(frequentQuestionsEntry, locale);\n\nexport const getFrequentQuestionMetadata = async <\n D extends FrequentQuestionKey,\n L extends LocalesValues = DeclaredLocales,\n>(\n docName: D,\n locale: L = defaultLocale as L\n): Promise<FileMetadata> =>\n getFileMetadata(frequentQuestionsEntry, docName, locale);\n\nexport const getFrequentQuestionMetadataBySlug = async <\n L extends LocalesValues = DeclaredLocales,\n>(\n slugs: string | string[],\n locale: L = defaultLocale as L,\n strict = false\n): Promise<FileMetadata[]> =>\n await getFileMetadataBySlug(frequentQuestionsEntry, slugs, locale, strict);\n\nexport const getFrequentQuestionBySlug = async <\n L extends LocalesValues = DeclaredLocales,\n>(\n slugs: string | string[],\n locale: L = defaultLocale as L,\n strict = false\n): Promise<string[]> =>\n await getFileBySlug(frequentQuestionsEntry, slugs, locale, strict);\n"],"mappings":";;;;AAwBA,MAAa,iCAET,QAAQ,
|
|
1
|
+
{"version":3,"file":"frequentQuestions.mjs","names":[],"sources":["../../src/frequentQuestions.ts"],"sourcesContent":["import type {\n DeclaredLocales,\n LocalesValues,\n} from '@intlayer/types/module_augmentation';\nimport {\n defaultLocale,\n type FileMetadata,\n getFile,\n getFileBySlug,\n getFileMetadata,\n getFileMetadataBySlug,\n getFileMetadataRecord,\n getFiles,\n getKeys,\n} from './common';\nimport { frequentQuestionsEntry } from './generated/frequentQuestions.entry';\n\nexport type FrequentQuestionKey = keyof typeof frequentQuestionsEntry;\nexport type FrequentQuestions = Record<\n FrequentQuestionKey,\n Record<LocalesValues, Promise<string>>\n>;\nexport type FrequentQuestionMetadata = FileMetadata;\n\nexport const getFrequentQuestionsKeys =\n (): (keyof typeof frequentQuestionsEntry)[] =>\n getKeys(frequentQuestionsEntry);\n\nexport const getFrequentQuestions = async <\n L extends LocalesValues = DeclaredLocales,\n>(\n locale: L = defaultLocale as L\n): Promise<Record<FrequentQuestionKey, string>> =>\n getFiles(frequentQuestionsEntry, locale);\n\nexport const getFrequentQuestion = async <\n L extends LocalesValues = DeclaredLocales,\n>(\n docName: FrequentQuestionKey,\n locale: L = defaultLocale as L\n): Promise<string> => getFile(frequentQuestionsEntry, docName, locale);\n\nexport const getFrequentQuestionMetadataRecord = async <\n L extends LocalesValues = DeclaredLocales,\n>(\n locale: L = defaultLocale as L\n): Promise<Record<FrequentQuestionKey, FileMetadata>> =>\n getFileMetadataRecord(frequentQuestionsEntry, locale);\n\nexport const getFrequentQuestionMetadata = async <\n D extends FrequentQuestionKey,\n L extends LocalesValues = DeclaredLocales,\n>(\n docName: D,\n locale: L = defaultLocale as L\n): Promise<FileMetadata> =>\n getFileMetadata(frequentQuestionsEntry, docName, locale);\n\nexport const getFrequentQuestionMetadataBySlug = async <\n L extends LocalesValues = DeclaredLocales,\n>(\n slugs: string | string[],\n locale: L = defaultLocale as L,\n strict = false\n): Promise<FileMetadata[]> =>\n await getFileMetadataBySlug(frequentQuestionsEntry, slugs, locale, strict);\n\nexport const getFrequentQuestionBySlug = async <\n L extends LocalesValues = DeclaredLocales,\n>(\n slugs: string | string[],\n locale: L = defaultLocale as L,\n strict = false\n): Promise<string[]> =>\n await getFileBySlug(frequentQuestionsEntry, slugs, locale, strict);\n"],"mappings":";;;;AAwBA,MAAa,iCAET,QAAQ,sBAAsB;AAElC,MAAa,uBAAuB,OAGlC,SAAY,kBAEZ,SAAS,wBAAwB,MAAM;AAEzC,MAAa,sBAAsB,OAGjC,SACA,SAAY,kBACQ,QAAQ,wBAAwB,SAAS,MAAM;AAErE,MAAa,oCAAoC,OAG/C,SAAY,kBAEZ,sBAAsB,wBAAwB,MAAM;AAEtD,MAAa,8BAA8B,OAIzC,SACA,SAAY,kBAEZ,gBAAgB,wBAAwB,SAAS,MAAM;AAEzD,MAAa,oCAAoC,OAG/C,OACA,SAAY,eACZ,SAAS,UAET,MAAM,sBAAsB,wBAAwB,OAAO,QAAQ,MAAM;AAE3E,MAAa,4BAA4B,OAGvC,OACA,SAAY,eACZ,SAAS,UAET,MAAM,cAAc,wBAAwB,OAAO,QAAQ,MAAM"}
|