@intlayer/docs 5.5.11 → 5.6.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/intlayer_with_next-intl.md +0 -1
- package/blog/ar/list_i18n_technologies/CMS/wordpress.md +1 -1
- package/blog/ar/list_i18n_technologies/frameworks/angular.md +1 -1
- package/blog/ar/list_i18n_technologies/frameworks/flutter.md +1 -1
- package/blog/ar/list_i18n_technologies/frameworks/react-native.md +1 -1
- package/blog/ar/list_i18n_technologies/frameworks/react.md +1 -1
- package/blog/ar/list_i18n_technologies/frameworks/svelte.md +1 -1
- package/blog/ar/list_i18n_technologies/frameworks/vue.md +1 -1
- package/blog/ar/what_is_internationalization.md +2 -2
- package/blog/de/intlayer_with_next-intl.md +0 -1
- package/blog/de/list_i18n_technologies/CMS/wordpress.md +1 -1
- package/blog/de/list_i18n_technologies/frameworks/angular.md +1 -1
- package/blog/de/list_i18n_technologies/frameworks/flutter.md +1 -1
- package/blog/de/list_i18n_technologies/frameworks/react-native.md +1 -1
- package/blog/de/list_i18n_technologies/frameworks/react.md +1 -1
- package/blog/de/list_i18n_technologies/frameworks/svelte.md +1 -1
- package/blog/de/list_i18n_technologies/frameworks/vue.md +1 -1
- package/blog/de/what_is_internationalization.md +2 -2
- package/blog/en/intlayer_with_next-intl.md +0 -1
- package/blog/en/list_i18n_technologies/CMS/wordpress.md +1 -1
- package/blog/en/list_i18n_technologies/frameworks/angular.md +1 -1
- package/blog/en/list_i18n_technologies/frameworks/flutter.md +1 -1
- package/blog/en/list_i18n_technologies/frameworks/react-native.md +1 -1
- package/blog/en/list_i18n_technologies/frameworks/react.md +1 -1
- package/blog/en/list_i18n_technologies/frameworks/svelte.md +1 -1
- package/blog/en/list_i18n_technologies/frameworks/vue.md +1 -1
- package/blog/en/what_is_internationalization.md +2 -2
- package/blog/en-GB/intlayer_with_next-intl.md +0 -1
- package/blog/en-GB/list_i18n_technologies/CMS/wordpress.md +1 -1
- package/blog/en-GB/list_i18n_technologies/frameworks/angular.md +1 -1
- package/blog/en-GB/list_i18n_technologies/frameworks/flutter.md +1 -1
- package/blog/en-GB/list_i18n_technologies/frameworks/react-native.md +1 -1
- package/blog/en-GB/list_i18n_technologies/frameworks/svelte.md +1 -1
- package/blog/en-GB/list_i18n_technologies/frameworks/vue.md +1 -1
- package/blog/en-GB/what_is_internationalization.md +2 -2
- package/blog/es/intlayer_with_next-intl.md +0 -1
- package/blog/es/list_i18n_technologies/CMS/wordpress.md +1 -1
- package/blog/es/list_i18n_technologies/frameworks/angular.md +1 -1
- package/blog/es/list_i18n_technologies/frameworks/flutter.md +1 -1
- package/blog/es/list_i18n_technologies/frameworks/react-native.md +1 -1
- package/blog/es/list_i18n_technologies/frameworks/react.md +1 -1
- package/blog/es/list_i18n_technologies/frameworks/svelte.md +1 -1
- package/blog/es/list_i18n_technologies/frameworks/vue.md +1 -1
- package/blog/es/what_is_internationalization.md +2 -2
- package/blog/fr/intlayer_with_next-intl.md +0 -1
- package/blog/fr/list_i18n_technologies/CMS/wordpress.md +1 -1
- package/blog/fr/list_i18n_technologies/frameworks/angular.md +1 -1
- package/blog/fr/list_i18n_technologies/frameworks/flutter.md +1 -1
- package/blog/fr/list_i18n_technologies/frameworks/react-native.md +1 -1
- package/blog/fr/list_i18n_technologies/frameworks/react.md +1 -1
- package/blog/fr/list_i18n_technologies/frameworks/svelte.md +1 -1
- package/blog/fr/list_i18n_technologies/frameworks/vue.md +1 -1
- package/blog/fr/what_is_internationalization.md +2 -2
- package/blog/hi/list_i18n_technologies/CMS/wordpress.md +1 -1
- package/blog/hi/list_i18n_technologies/frameworks/angular.md +1 -1
- package/blog/hi/list_i18n_technologies/frameworks/flutter.md +1 -1
- package/blog/hi/list_i18n_technologies/frameworks/react-native.md +1 -1
- package/blog/hi/list_i18n_technologies/frameworks/react.md +1 -1
- package/blog/hi/list_i18n_technologies/frameworks/svelte.md +1 -1
- package/blog/hi/list_i18n_technologies/frameworks/vue.md +1 -1
- package/blog/hi/what_is_internationalization.md +2 -2
- package/blog/it/intlayer_with_next-intl.md +0 -1
- package/blog/it/list_i18n_technologies/CMS/wordpress.md +1 -1
- package/blog/it/list_i18n_technologies/frameworks/angular.md +1 -1
- package/blog/it/list_i18n_technologies/frameworks/react-native.md +1 -1
- package/blog/it/list_i18n_technologies/frameworks/react.md +1 -1
- package/blog/it/list_i18n_technologies/frameworks/svelte.md +1 -1
- package/blog/it/list_i18n_technologies/frameworks/vue.md +1 -1
- package/blog/it/what_is_internationalization.md +2 -2
- package/blog/ja/intlayer_with_next-intl.md +0 -1
- package/blog/ja/list_i18n_technologies/CMS/wordpress.md +1 -1
- package/blog/ja/list_i18n_technologies/frameworks/angular.md +1 -1
- package/blog/ja/list_i18n_technologies/frameworks/flutter.md +1 -1
- package/blog/ja/list_i18n_technologies/frameworks/react-native.md +1 -1
- package/blog/ja/list_i18n_technologies/frameworks/react.md +1 -1
- package/blog/ja/list_i18n_technologies/frameworks/svelte.md +1 -1
- package/blog/ja/list_i18n_technologies/frameworks/vue.md +1 -1
- package/blog/ja/what_is_internationalization.md +2 -2
- package/blog/ko/intlayer_with_next-intl.md +0 -1
- package/blog/ko/list_i18n_technologies/CMS/wordpress.md +1 -1
- package/blog/ko/list_i18n_technologies/frameworks/angular.md +1 -1
- package/blog/ko/list_i18n_technologies/frameworks/react-native.md +1 -1
- package/blog/ko/list_i18n_technologies/frameworks/react.md +1 -1
- package/blog/ko/list_i18n_technologies/frameworks/vue.md +1 -1
- package/blog/pt/intlayer_with_next-intl.md +0 -1
- package/blog/pt/list_i18n_technologies/CMS/wordpress.md +1 -1
- package/blog/pt/list_i18n_technologies/frameworks/angular.md +1 -1
- package/blog/pt/list_i18n_technologies/frameworks/flutter.md +1 -1
- package/blog/pt/list_i18n_technologies/frameworks/react-native.md +1 -1
- package/blog/pt/list_i18n_technologies/frameworks/react.md +1 -1
- package/blog/pt/list_i18n_technologies/frameworks/svelte.md +1 -1
- package/blog/pt/list_i18n_technologies/frameworks/vue.md +1 -1
- package/blog/pt/what_is_internationalization.md +2 -2
- package/blog/ru/intlayer_with_next-intl.md +0 -1
- package/blog/ru/list_i18n_technologies/CMS/wordpress.md +1 -1
- package/blog/ru/list_i18n_technologies/frameworks/angular.md +1 -1
- package/blog/ru/list_i18n_technologies/frameworks/flutter.md +1 -1
- package/blog/ru/list_i18n_technologies/frameworks/react-native.md +1 -1
- package/blog/ru/list_i18n_technologies/frameworks/react.md +1 -1
- package/blog/ru/list_i18n_technologies/frameworks/svelte.md +1 -1
- package/blog/ru/list_i18n_technologies/frameworks/vue.md +1 -1
- package/blog/ru/what_is_internationalization.md +2 -2
- package/blog/zh/intlayer_with_next-intl.md +0 -1
- package/blog/zh/list_i18n_technologies/CMS/wordpress.md +1 -1
- package/blog/zh/list_i18n_technologies/frameworks/angular.md +1 -1
- package/blog/zh/list_i18n_technologies/frameworks/flutter.md +1 -1
- package/blog/zh/list_i18n_technologies/frameworks/react-native.md +1 -1
- package/blog/zh/list_i18n_technologies/frameworks/react.md +1 -1
- package/blog/zh/list_i18n_technologies/frameworks/svelte.md +1 -1
- package/blog/zh/list_i18n_technologies/frameworks/vue.md +1 -1
- package/blog/zh/what_is_internationalization.md +2 -2
- package/dist/cjs/blog.cjs +2 -2
- package/dist/cjs/blog.cjs.map +1 -1
- package/dist/cjs/common.cjs +17 -6
- package/dist/cjs/common.cjs.map +1 -1
- package/dist/cjs/doc.cjs +2 -2
- package/dist/cjs/doc.cjs.map +1 -1
- package/dist/cjs/frequentQuestions.cjs +2 -2
- package/dist/cjs/frequentQuestions.cjs.map +1 -1
- package/dist/cjs/generated/blog.entry.cjs +1152 -252
- package/dist/cjs/generated/blog.entry.cjs.map +1 -1
- package/dist/cjs/generated/docs.entry.cjs +3778 -1124
- package/dist/cjs/generated/docs.entry.cjs.map +1 -1
- package/dist/cjs/generated/frequentQuestions.entry.cjs +794 -161
- package/dist/cjs/generated/frequentQuestions.entry.cjs.map +1 -1
- package/dist/cjs/generated/legal.entry.cjs +32 -31
- package/dist/cjs/generated/legal.entry.cjs.map +1 -1
- package/dist/cjs/legal.cjs +2 -2
- package/dist/cjs/legal.cjs.map +1 -1
- package/dist/esm/blog.mjs +2 -2
- package/dist/esm/blog.mjs.map +1 -1
- package/dist/esm/common.mjs +17 -6
- package/dist/esm/common.mjs.map +1 -1
- package/dist/esm/doc.mjs +2 -2
- package/dist/esm/doc.mjs.map +1 -1
- package/dist/esm/frequentQuestions.mjs +2 -2
- package/dist/esm/frequentQuestions.mjs.map +1 -1
- package/dist/esm/generated/blog.entry.mjs +1151 -252
- package/dist/esm/generated/blog.entry.mjs.map +1 -1
- package/dist/esm/generated/docs.entry.mjs +3777 -1124
- package/dist/esm/generated/docs.entry.mjs.map +1 -1
- package/dist/esm/generated/frequentQuestions.entry.mjs +793 -161
- package/dist/esm/generated/frequentQuestions.entry.mjs.map +1 -1
- package/dist/esm/generated/legal.entry.mjs +31 -31
- package/dist/esm/generated/legal.entry.mjs.map +1 -1
- package/dist/esm/legal.mjs +2 -2
- package/dist/esm/legal.mjs.map +1 -1
- package/dist/types/blog.d.ts +2 -2
- package/dist/types/blog.d.ts.map +1 -1
- package/dist/types/common.d.ts +5 -2
- package/dist/types/common.d.ts.map +1 -1
- package/dist/types/doc.d.ts +2 -2
- package/dist/types/doc.d.ts.map +1 -1
- package/dist/types/frequentQuestions.d.ts +2 -2
- package/dist/types/frequentQuestions.d.ts.map +1 -1
- package/dist/types/generated/blog.entry.d.ts.map +1 -1
- package/dist/types/generated/docs.entry.d.ts.map +1 -1
- package/dist/types/generated/frequentQuestions.entry.d.ts +1 -0
- package/dist/types/generated/frequentQuestions.entry.d.ts.map +1 -1
- package/dist/types/generated/legal.entry.d.ts.map +1 -1
- package/dist/types/legal.d.ts +2 -2
- package/dist/types/legal.d.ts.map +1 -1
- package/docs/ar/intlayer_CMS.md +1 -0
- package/docs/ar/intlayer_cli.md +292 -177
- package/docs/ar/intlayer_visual_editor.md +1 -0
- package/docs/ar/intlayer_with_angular.md +1 -0
- package/docs/ar/intlayer_with_create_react_app.md +1 -0
- package/docs/ar/intlayer_with_lynx+react.md +1 -0
- package/docs/ar/intlayer_with_nextjs_14.md +1 -0
- package/docs/ar/intlayer_with_nextjs_15.md +3 -1
- package/docs/ar/intlayer_with_nuxt.md +1 -0
- package/docs/ar/intlayer_with_react_native+expo.md +1 -0
- package/docs/ar/intlayer_with_vite+preact.md +4 -3
- package/docs/ar/intlayer_with_vite+react.md +108 -112
- package/docs/ar/intlayer_with_vite+solid.md +4 -3
- package/docs/ar/intlayer_with_vite+svelte.md +4 -3
- package/docs/ar/intlayer_with_vite+vue.md +5 -4
- package/docs/ar/mcp_server.md +126 -92
- package/docs/de/intlayer_CMS.md +1 -0
- package/docs/de/intlayer_cli.md +291 -171
- package/docs/de/intlayer_visual_editor.md +1 -0
- package/docs/de/intlayer_with_angular.md +1 -0
- package/docs/de/intlayer_with_create_react_app.md +1 -0
- package/docs/de/intlayer_with_lynx+react.md +1 -0
- package/docs/de/intlayer_with_nextjs_14.md +1 -0
- package/docs/de/intlayer_with_nextjs_15.md +3 -1
- package/docs/de/intlayer_with_nuxt.md +1 -0
- package/docs/de/intlayer_with_react_native+expo.md +1 -0
- package/docs/de/intlayer_with_vite+preact.md +4 -3
- package/docs/de/intlayer_with_vite+react.md +128 -146
- package/docs/de/intlayer_with_vite+solid.md +4 -3
- package/docs/de/intlayer_with_vite+svelte.md +4 -3
- package/docs/de/intlayer_with_vite+vue.md +5 -4
- package/docs/de/mcp_server.md +116 -112
- package/docs/en/CI_CD.md +3 -1
- package/docs/en/autoFill.md +3 -1
- package/docs/en/configuration.md +7 -3
- package/docs/en/dictionary/condition.md +3 -1
- package/docs/en/dictionary/content_extention_customization.md +3 -1
- package/docs/en/dictionary/enumeration.md +3 -1
- package/docs/en/dictionary/file.md +3 -1
- package/docs/en/dictionary/function_fetching.md +3 -1
- package/docs/en/dictionary/get_started.md +3 -1
- package/docs/en/dictionary/insertion.md +3 -1
- package/docs/en/dictionary/markdown.md +3 -1
- package/docs/en/dictionary/nesting.md +3 -1
- package/docs/en/dictionary/translation.md +3 -1
- package/docs/en/how_works_intlayer.md +3 -1
- package/docs/en/index.md +3 -1
- package/docs/en/interest_of_intlayer.md +3 -1
- package/docs/en/intlayer_CMS.md +4 -1
- package/docs/en/intlayer_cli.md +246 -136
- package/docs/en/intlayer_visual_editor.md +4 -1
- package/docs/en/intlayer_with_angular.md +4 -1
- package/docs/en/intlayer_with_create_react_app.md +4 -1
- package/docs/en/intlayer_with_express.md +3 -1
- package/docs/en/intlayer_with_lynx+react.md +4 -1
- package/docs/en/intlayer_with_nextjs_14.md +7 -1
- package/docs/en/intlayer_with_nextjs_15.md +8 -2
- package/docs/en/intlayer_with_nextjs_page_router.md +5 -1
- package/docs/en/intlayer_with_nuxt.md +4 -1
- package/docs/en/intlayer_with_react_native+expo.md +4 -1
- package/docs/en/intlayer_with_vite+preact.md +9 -4
- package/docs/en/intlayer_with_vite+react.md +18 -10
- package/docs/en/intlayer_with_vite+solid.md +7 -4
- package/docs/en/intlayer_with_vite+svelte.md +7 -4
- package/docs/en/intlayer_with_vite+vue.md +10 -5
- package/docs/en/introduction.md +3 -1
- package/docs/en/mcp_server.md +114 -80
- package/docs/en/packages/@intlayer/api/index.md +3 -1
- package/docs/en/packages/@intlayer/chokidar/index.md +3 -1
- package/docs/en/packages/@intlayer/cli/index.md +3 -1
- package/docs/en/packages/@intlayer/config/index.md +3 -1
- package/docs/en/packages/@intlayer/core/index.md +3 -1
- package/docs/en/packages/@intlayer/design-system/index.md +3 -1
- package/docs/en/packages/@intlayer/dictionary-entry/index.md +3 -1
- package/docs/en/packages/@intlayer/editor/index.md +3 -1
- package/docs/en/packages/@intlayer/editor-react/index.md +3 -1
- package/docs/en/packages/@intlayer/webpack/index.md +3 -1
- package/docs/en/packages/angular-intlayer/index.md +3 -1
- package/docs/en/packages/express-intlayer/index.md +3 -1
- package/docs/en/packages/express-intlayer/t.md +3 -1
- package/docs/en/packages/intlayer/getConfiguration.md +3 -1
- package/docs/en/packages/intlayer/getEnumeration.md +3 -1
- package/docs/en/packages/intlayer/getHTMLTextDir.md +3 -1
- package/docs/en/packages/intlayer/getLocaleLang.md +3 -1
- package/docs/en/packages/intlayer/getLocaleName.md +3 -1
- package/docs/en/packages/intlayer/getLocalizedUrl.md +3 -1
- package/docs/en/packages/intlayer/getMultilingualUrls.md +3 -1
- package/docs/en/packages/intlayer/getPathWithoutLocale.md +3 -1
- package/docs/en/packages/intlayer/getTranslation.md +3 -1
- package/docs/en/packages/intlayer/getTranslationContent.md +3 -1
- package/docs/en/packages/intlayer/index.md +3 -1
- package/docs/en/packages/intlayer-cli/index.md +3 -1
- package/docs/en/packages/intlayer-editor/index.md +3 -1
- package/docs/en/packages/lynx-intlayer/index.md +3 -1
- package/docs/en/packages/next-intlayer/index.md +3 -1
- package/docs/en/packages/next-intlayer/t.md +3 -1
- package/docs/en/packages/next-intlayer/useDictionary.md +3 -1
- package/docs/en/packages/next-intlayer/useIntlayer.md +3 -1
- package/docs/en/packages/next-intlayer/useIntlayerAsync.md +3 -1
- package/docs/en/packages/next-intlayer/useLocale.md +3 -1
- package/docs/en/packages/nuxt-intlayer/index.md +3 -1
- package/docs/en/packages/preact-intlayer/index.md +3 -1
- package/docs/en/packages/react-intlayer/index.md +3 -1
- package/docs/en/packages/react-intlayer/t.md +3 -1
- package/docs/en/packages/react-intlayer/useDictionary.md +3 -1
- package/docs/en/packages/react-intlayer/useIntlayer.md +3 -1
- package/docs/en/packages/react-intlayer/useIntlayerAsync.md +3 -1
- package/docs/en/packages/react-intlayer/useLocale.md +3 -1
- package/docs/en/packages/react-native-intlayer/index.md +3 -1
- package/docs/en/packages/react-scripts-intlayer/index.md +3 -1
- package/docs/en/packages/solid-intlayer/index.md +3 -1
- package/docs/en/packages/svelte-intlayer/index.md +3 -1
- package/docs/en/packages/vite-intlayer/index.md +3 -1
- package/docs/en/packages/vue-intlayer/index.md +3 -1
- package/docs/en/per_locale_file.md +3 -1
- package/docs/en/roadmap.md +5 -2
- package/docs/en/vs_code_extension.md +3 -1
- package/docs/en-GB/intlayer_CMS.md +1 -0
- package/docs/en-GB/intlayer_cli.md +257 -138
- package/docs/en-GB/intlayer_visual_editor.md +1 -0
- package/docs/en-GB/intlayer_with_angular.md +1 -0
- package/docs/en-GB/intlayer_with_create_react_app.md +1 -0
- package/docs/en-GB/intlayer_with_lynx+react.md +1 -0
- package/docs/en-GB/intlayer_with_nextjs_14.md +1 -0
- package/docs/en-GB/intlayer_with_nextjs_15.md +3 -1
- package/docs/en-GB/intlayer_with_nuxt.md +1 -0
- package/docs/en-GB/intlayer_with_react_native+expo.md +1 -0
- package/docs/en-GB/intlayer_with_vite+preact.md +4 -3
- package/docs/en-GB/intlayer_with_vite+react.md +71 -87
- package/docs/en-GB/intlayer_with_vite+solid.md +4 -3
- package/docs/en-GB/intlayer_with_vite+svelte.md +4 -3
- package/docs/en-GB/intlayer_with_vite+vue.md +5 -4
- package/docs/en-GB/mcp_server.md +116 -82
- package/docs/es/intlayer_CMS.md +1 -0
- package/docs/es/intlayer_cli.md +283 -164
- package/docs/es/intlayer_visual_editor.md +1 -0
- package/docs/es/intlayer_with_angular.md +1 -0
- package/docs/es/intlayer_with_create_react_app.md +1 -0
- package/docs/es/intlayer_with_lynx+react.md +1 -0
- package/docs/es/intlayer_with_nextjs_14.md +1 -0
- package/docs/es/intlayer_with_nextjs_15.md +3 -1
- package/docs/es/intlayer_with_nuxt.md +1 -0
- package/docs/es/intlayer_with_react_native+expo.md +1 -0
- package/docs/es/intlayer_with_vite+preact.md +4 -3
- package/docs/es/intlayer_with_vite+react.md +98 -98
- package/docs/es/intlayer_with_vite+solid.md +4 -3
- package/docs/es/intlayer_with_vite+svelte.md +4 -3
- package/docs/es/intlayer_with_vite+vue.md +5 -4
- package/docs/es/mcp_server.md +120 -86
- package/docs/es/vs_code_extension.md +1 -0
- package/docs/fr/intlayer_CMS.md +1 -0
- package/docs/fr/intlayer_cli.md +280 -184
- package/docs/fr/intlayer_visual_editor.md +1 -0
- package/docs/fr/intlayer_with_angular.md +1 -0
- package/docs/fr/intlayer_with_create_react_app.md +1 -0
- package/docs/fr/intlayer_with_lynx+react.md +1 -0
- package/docs/fr/intlayer_with_nextjs_14.md +1 -0
- package/docs/fr/intlayer_with_nextjs_15.md +3 -1
- package/docs/fr/intlayer_with_nuxt.md +1 -0
- package/docs/fr/intlayer_with_react_native+expo.md +1 -0
- package/docs/fr/intlayer_with_vite+preact.md +5 -4
- package/docs/fr/intlayer_with_vite+react.md +80 -69
- package/docs/fr/intlayer_with_vite+solid.md +4 -3
- package/docs/fr/intlayer_with_vite+svelte.md +4 -3
- package/docs/fr/intlayer_with_vite+vue.md +5 -4
- package/docs/fr/mcp_server.md +121 -87
- package/docs/hi/intlayer_CMS.md +1 -0
- package/docs/hi/intlayer_cli.md +295 -174
- package/docs/hi/intlayer_visual_editor.md +1 -0
- package/docs/hi/intlayer_with_angular.md +1 -0
- package/docs/hi/intlayer_with_create_react_app.md +1 -0
- package/docs/hi/intlayer_with_lynx+react.md +1 -0
- package/docs/hi/intlayer_with_nextjs_14.md +1 -0
- package/docs/hi/intlayer_with_nextjs_15.md +3 -1
- package/docs/hi/intlayer_with_nuxt.md +1 -0
- package/docs/hi/intlayer_with_react_native+expo.md +1 -0
- package/docs/hi/intlayer_with_vite+preact.md +4 -3
- package/docs/hi/intlayer_with_vite+react.md +114 -111
- package/docs/hi/intlayer_with_vite+solid.md +4 -3
- package/docs/hi/intlayer_with_vite+svelte.md +4 -3
- package/docs/hi/intlayer_with_vite+vue.md +5 -4
- package/docs/hi/mcp_server.md +118 -84
- package/docs/it/intlayer_CMS.md +1 -0
- package/docs/it/intlayer_cli.md +282 -167
- package/docs/it/intlayer_visual_editor.md +1 -0
- package/docs/it/intlayer_with_angular.md +1 -0
- package/docs/it/intlayer_with_create_react_app.md +1 -0
- package/docs/it/intlayer_with_lynx+react.md +1 -0
- package/docs/it/intlayer_with_nextjs_14.md +1 -0
- package/docs/it/intlayer_with_nextjs_15.md +3 -1
- package/docs/it/intlayer_with_nuxt.md +1 -0
- package/docs/it/intlayer_with_react_native+expo.md +1 -0
- package/docs/it/intlayer_with_vite+preact.md +4 -3
- package/docs/it/intlayer_with_vite+react.md +163 -116
- package/docs/it/intlayer_with_vite+solid.md +4 -3
- package/docs/it/intlayer_with_vite+svelte.md +4 -3
- package/docs/it/intlayer_with_vite+vue.md +4 -4
- package/docs/it/mcp_server.md +120 -86
- package/docs/ja/intlayer_CMS.md +1 -0
- package/docs/ja/intlayer_cli.md +285 -168
- package/docs/ja/intlayer_visual_editor.md +1 -0
- package/docs/ja/intlayer_with_angular.md +1 -0
- package/docs/ja/intlayer_with_create_react_app.md +1 -0
- package/docs/ja/intlayer_with_lynx+react.md +1 -0
- package/docs/ja/intlayer_with_nextjs_14.md +1 -0
- package/docs/ja/intlayer_with_nextjs_15.md +3 -1
- package/docs/ja/intlayer_with_nuxt.md +1 -0
- package/docs/ja/intlayer_with_react_native+expo.md +1 -0
- package/docs/ja/intlayer_with_vite+preact.md +4 -3
- package/docs/ja/intlayer_with_vite+react.md +160 -222
- package/docs/ja/intlayer_with_vite+solid.md +4 -3
- package/docs/ja/intlayer_with_vite+svelte.md +4 -3
- package/docs/ja/intlayer_with_vite+vue.md +5 -4
- package/docs/ja/mcp_server.md +121 -85
- package/docs/ko/intlayer_CMS.md +1 -0
- package/docs/ko/intlayer_cli.md +291 -175
- package/docs/ko/intlayer_visual_editor.md +1 -0
- package/docs/ko/intlayer_with_angular.md +1 -0
- package/docs/ko/intlayer_with_create_react_app.md +1 -0
- package/docs/ko/intlayer_with_lynx+react.md +1 -0
- package/docs/ko/intlayer_with_nextjs_14.md +1 -0
- package/docs/ko/intlayer_with_nextjs_15.md +3 -1
- package/docs/ko/intlayer_with_nuxt.md +1 -0
- package/docs/ko/intlayer_with_react_native+expo.md +1 -0
- package/docs/ko/intlayer_with_vite+preact.md +4 -3
- package/docs/ko/intlayer_with_vite+react.md +123 -152
- package/docs/ko/intlayer_with_vite+solid.md +4 -3
- package/docs/ko/intlayer_with_vite+svelte.md +4 -3
- package/docs/ko/intlayer_with_vite+vue.md +5 -4
- package/docs/ko/mcp_server.md +117 -83
- package/docs/ko/packages/intlayer/getLocalizedUrl.md +1 -23
- package/docs/pt/intlayer_CMS.md +1 -0
- package/docs/pt/intlayer_cli.md +274 -154
- package/docs/pt/intlayer_visual_editor.md +1 -0
- package/docs/pt/intlayer_with_angular.md +1 -0
- package/docs/pt/intlayer_with_create_react_app.md +1 -0
- package/docs/pt/intlayer_with_lynx+react.md +1 -0
- package/docs/pt/intlayer_with_nextjs_14.md +1 -0
- package/docs/pt/intlayer_with_nextjs_15.md +3 -1
- package/docs/pt/intlayer_with_nuxt.md +1 -0
- package/docs/pt/intlayer_with_react_native+expo.md +1 -0
- package/docs/pt/intlayer_with_vite+preact.md +4 -3
- package/docs/pt/intlayer_with_vite+react.md +117 -136
- package/docs/pt/intlayer_with_vite+solid.md +4 -3
- package/docs/pt/intlayer_with_vite+svelte.md +4 -3
- package/docs/pt/intlayer_with_vite+vue.md +4 -4
- package/docs/pt/mcp_server.md +121 -87
- package/docs/ru/intlayer_CMS.md +1 -0
- package/docs/ru/intlayer_cli.md +287 -170
- package/docs/ru/intlayer_visual_editor.md +1 -0
- package/docs/ru/intlayer_with_angular.md +1 -0
- package/docs/ru/intlayer_with_create_react_app.md +1 -0
- package/docs/ru/intlayer_with_lynx+react.md +1 -0
- package/docs/ru/intlayer_with_nextjs_14.md +1 -0
- package/docs/ru/intlayer_with_nextjs_15.md +3 -1
- package/docs/ru/intlayer_with_nuxt.md +1 -0
- package/docs/ru/intlayer_with_react_native+expo.md +1 -0
- package/docs/ru/intlayer_with_vite+preact.md +4 -3
- package/docs/ru/intlayer_with_vite+react.md +105 -87
- package/docs/ru/intlayer_with_vite+solid.md +4 -3
- package/docs/ru/intlayer_with_vite+svelte.md +4 -3
- package/docs/ru/intlayer_with_vite+vue.md +5 -4
- package/docs/ru/mcp_server.md +119 -85
- package/docs/zh/intlayer_CMS.md +1 -0
- package/docs/zh/intlayer_cli.md +275 -155
- package/docs/zh/intlayer_visual_editor.md +1 -0
- package/docs/zh/intlayer_with_angular.md +1 -0
- package/docs/zh/intlayer_with_create_react_app.md +1 -0
- package/docs/zh/intlayer_with_lynx+react.md +1 -0
- package/docs/zh/intlayer_with_nextjs_14.md +1 -0
- package/docs/zh/intlayer_with_nextjs_15.md +3 -1
- package/docs/zh/intlayer_with_nuxt.md +1 -0
- package/docs/zh/intlayer_with_react_native+expo.md +1 -0
- package/docs/zh/intlayer_with_vite+preact.md +4 -3
- package/docs/zh/intlayer_with_vite+react.md +154 -188
- package/docs/zh/intlayer_with_vite+solid.md +4 -3
- package/docs/zh/intlayer_with_vite+svelte.md +4 -3
- package/docs/zh/intlayer_with_vite+vue.md +5 -4
- package/docs/zh/mcp_server.md +119 -86
- package/docs/zh/packages/intlayer/getLocalizedUrl.md +1 -23
- package/frequent_questions/ar/build_error_CI_CD.md +75 -0
- package/frequent_questions/de/build_error_CI_CD.md +75 -0
- package/frequent_questions/en/build_error_CI_CD.md +75 -0
- package/frequent_questions/en-GB/build_error_CI_CD.md +75 -0
- package/frequent_questions/es/build_error_CI_CD.md +75 -0
- package/frequent_questions/fr/build_error_CI_CD.md +75 -0
- package/frequent_questions/hi/build_error_CI_CD.md +75 -0
- package/frequent_questions/it/build_error_CI_CD.md +75 -0
- package/frequent_questions/ja/build_error_CI_CD.md +75 -0
- package/frequent_questions/ja/intlayer_command_undefined.md +3 -3
- package/frequent_questions/ko/build_error_CI_CD.md +75 -0
- package/frequent_questions/ko/intlayer_command_undefined.md +3 -3
- package/frequent_questions/pt/build_error_CI_CD.md +75 -0
- package/frequent_questions/ru/build_error_CI_CD.md +75 -0
- package/frequent_questions/zh/build_error_CI_CD.md +75 -0
- package/frequent_questions/zh/intlayer_command_undefined.md +3 -3
- package/legal/ar/privacy_notice.md +83 -0
- package/legal/ar/terms_of_service.md +55 -0
- package/legal/de/privacy_notice.md +83 -0
- package/legal/de/terms_of_service.md +55 -0
- package/legal/en/privacy_notice.md +83 -0
- package/legal/en/terms_of_service.md +55 -0
- package/legal/en-GB/privacy_notice.md +83 -0
- package/legal/en-GB/terms_of_service.md +55 -0
- package/legal/es/privacy_notice.md +83 -0
- package/legal/es/terms_of_service.md +55 -0
- package/legal/fr/privacy_notice.md +83 -0
- package/legal/fr/terms_of_service.md +55 -0
- package/legal/hi/privacy_notice.md +83 -0
- package/legal/hi/terms_of_service.md +55 -0
- package/legal/it/privacy_notice.md +83 -0
- package/legal/it/terms_of_service.md +55 -0
- package/legal/ja/privacy_notice.md +83 -0
- package/legal/ja/terms_of_service.md +55 -0
- package/legal/ko/privacy_notice.md +83 -0
- package/legal/ko/terms_of_service.md +55 -0
- package/legal/pt/privacy_notice.md +83 -0
- package/legal/pt/terms_of_service.md +55 -0
- package/legal/ru/privacy_notice.md +83 -0
- package/legal/ru/terms_of_service.md +55 -0
- package/legal/zh/privacy_notice.md +83 -0
- package/legal/zh/terms_of_service.md +55 -0
- package/package.json +12 -11
- package/src/blog.ts +6 -4
- package/src/common.ts +25 -7
- package/src/doc.ts +6 -4
- package/src/frequentQuestions.ts +6 -4
- package/src/generated/blog.entry.ts +1177 -280
- package/src/generated/docs.entry.ts +3868 -1217
- package/src/generated/frequentQuestions.entry.ts +808 -178
- package/src/generated/legal.entry.ts +34 -36
- package/src/legal.ts +6 -4
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
---
|
|
2
|
+
createdAt: 2025-05-20
|
|
3
|
+
updatedAt: 2025-06-29
|
|
4
|
+
title: Build Error in CI/CD
|
|
5
|
+
description: Learn how to fix build errors that occur in CI/CD environments.
|
|
6
|
+
keywords:
|
|
7
|
+
- build
|
|
8
|
+
- error
|
|
9
|
+
- ci
|
|
10
|
+
- cd
|
|
11
|
+
- pipeline
|
|
12
|
+
- intlayer
|
|
13
|
+
- dictionaries
|
|
14
|
+
- next.js
|
|
15
|
+
- prebuild
|
|
16
|
+
- automation
|
|
17
|
+
slugs:
|
|
18
|
+
- doc
|
|
19
|
+
- faq
|
|
20
|
+
- build-error-ci-cd
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
# Error on build on CI/CD
|
|
24
|
+
|
|
25
|
+
If you get an error like this on Next.js:
|
|
26
|
+
|
|
27
|
+
```text
|
|
28
|
+
Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Here are some solutions:
|
|
32
|
+
|
|
33
|
+
## 1. Missing dictionaries
|
|
34
|
+
|
|
35
|
+
Ensure that the dictionaries are built at the stage of the build.
|
|
36
|
+
|
|
37
|
+
It's frequent that the build works locally but not on CI/CD. The reason is that locally, the `.intlayer` directory is present, but on CI/CD, it is not as it is excluded from the build.
|
|
38
|
+
|
|
39
|
+
You can fix this by adding a prebuild script in the `package.json` of your project.
|
|
40
|
+
|
|
41
|
+
```json5 fileName=package.json
|
|
42
|
+
{
|
|
43
|
+
// ...
|
|
44
|
+
"scripts": {
|
|
45
|
+
"prebuild": "npx intlayer dictionaries build", // Will run before the build
|
|
46
|
+
"build": "next build",
|
|
47
|
+
},
|
|
48
|
+
}
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
> Note that if you use the `withIntlayer` function, or the equivalent bundler plugin for your framework, the prebuild script will be run before the build.
|
|
52
|
+
|
|
53
|
+
## 2. Missing environment variables at build / run time
|
|
54
|
+
|
|
55
|
+
In a container, or auto-deployed platform, it is recommended to exclude the `.env` file from the build.
|
|
56
|
+
|
|
57
|
+
```text fileName=".gitignore or .dockerignore"
|
|
58
|
+
# Environment variables
|
|
59
|
+
.env
|
|
60
|
+
**/.env
|
|
61
|
+
.env.*
|
|
62
|
+
**/.env.*
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
If your environment variables are not available at build time, an error will be thrown.
|
|
66
|
+
|
|
67
|
+
```ts
|
|
68
|
+
import { Metadata } from "next";
|
|
69
|
+
|
|
70
|
+
export const generateMetadata = async ({ params }): Promise<Metadata> => ({
|
|
71
|
+
metadataBase: new URL(process.env.NEXT_PUBLIC_URL),
|
|
72
|
+
});
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
It is probably not related to Intlayer. Therefore, check your environment variables at build time on your CI/CD platform.
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
---
|
|
2
|
+
createdAt: 2025-05-20
|
|
3
|
+
updatedAt: 2025-06-29
|
|
4
|
+
title: Error de compilación en CI/CD
|
|
5
|
+
description: Aprende cómo solucionar errores de compilación que ocurren en entornos CI/CD.
|
|
6
|
+
keywords:
|
|
7
|
+
- compilación
|
|
8
|
+
- error
|
|
9
|
+
- ci
|
|
10
|
+
- cd
|
|
11
|
+
- pipeline
|
|
12
|
+
- intlayer
|
|
13
|
+
- diccionarios
|
|
14
|
+
- next.js
|
|
15
|
+
- prebuild
|
|
16
|
+
- automatización
|
|
17
|
+
slugs:
|
|
18
|
+
- doc
|
|
19
|
+
- faq
|
|
20
|
+
- build-error-ci-cd
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
# Error en la compilación en CI/CD
|
|
24
|
+
|
|
25
|
+
Si obtienes un error como este en Next.js:
|
|
26
|
+
|
|
27
|
+
```text
|
|
28
|
+
Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Aquí algunas soluciones:
|
|
32
|
+
|
|
33
|
+
## 1. Diccionarios faltantes
|
|
34
|
+
|
|
35
|
+
Asegúrate de que los diccionarios se construyan en la etapa de compilación.
|
|
36
|
+
|
|
37
|
+
Es frecuente que la compilación funcione localmente pero no en CI/CD. La razón es que localmente, el directorio `.intlayer` está presente, pero en CI/CD no, ya que está excluido de la compilación.
|
|
38
|
+
|
|
39
|
+
Puedes solucionarlo agregando un script de precompilación en el `package.json` de tu proyecto.
|
|
40
|
+
|
|
41
|
+
```json5 fileName=package.json
|
|
42
|
+
{
|
|
43
|
+
// ...
|
|
44
|
+
"scripts": {
|
|
45
|
+
"prebuild": "npx intlayer dictionaries build", // Se ejecutará antes de la compilación
|
|
46
|
+
"build": "next build",
|
|
47
|
+
},
|
|
48
|
+
}
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
> Ten en cuenta que si usas la función `withIntlayer`, o el plugin equivalente para el empaquetador de tu framework, el script de precompilación se ejecutará antes de la compilación.
|
|
52
|
+
|
|
53
|
+
## 2. Variables de entorno faltantes en tiempo de compilación / ejecución
|
|
54
|
+
|
|
55
|
+
En un contenedor, o plataforma de despliegue automático, se recomienda excluir el archivo `.env` de la compilación.
|
|
56
|
+
|
|
57
|
+
```text fileName=".gitignore or .dockerignore"
|
|
58
|
+
# Variables de entorno
|
|
59
|
+
.env
|
|
60
|
+
**/.env
|
|
61
|
+
.env.*
|
|
62
|
+
**/.env.*
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Si tus variables de entorno no están disponibles en tiempo de compilación, se generará un error.
|
|
66
|
+
|
|
67
|
+
```ts
|
|
68
|
+
import { Metadata } from "next";
|
|
69
|
+
|
|
70
|
+
export const generateMetadata = async ({ params }): Promise<Metadata> => ({
|
|
71
|
+
metadataBase: new URL(process.env.NEXT_PUBLIC_URL),
|
|
72
|
+
});
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
Probablemente no esté relacionado con Intlayer. Así que verifica tus variables de entorno en tiempo de compilación en tu plataforma CI/CD.
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
---
|
|
2
|
+
createdAt: 2025-05-20
|
|
3
|
+
updatedAt: 2025-06-29
|
|
4
|
+
title: Erreur de build en CI/CD
|
|
5
|
+
description: Apprenez comment corriger les erreurs de build qui surviennent dans les environnements CI/CD.
|
|
6
|
+
keywords:
|
|
7
|
+
- build
|
|
8
|
+
- erreur
|
|
9
|
+
- ci
|
|
10
|
+
- cd
|
|
11
|
+
- pipeline
|
|
12
|
+
- intlayer
|
|
13
|
+
- dictionnaires
|
|
14
|
+
- next.js
|
|
15
|
+
- prébuild
|
|
16
|
+
- automatisation
|
|
17
|
+
slugs:
|
|
18
|
+
- doc
|
|
19
|
+
- faq
|
|
20
|
+
- build-error-ci-cd
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
# Erreur lors du build en CI/CD
|
|
24
|
+
|
|
25
|
+
Si vous obtenez une erreur comme celle-ci sur Next.js :
|
|
26
|
+
|
|
27
|
+
```text
|
|
28
|
+
Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Voici quelques solutions :
|
|
32
|
+
|
|
33
|
+
## 1. Dictionnaires manquants
|
|
34
|
+
|
|
35
|
+
Assurez-vous que les dictionnaires sont construits lors de l'étape de build.
|
|
36
|
+
|
|
37
|
+
Il est fréquent que le build fonctionne localement mais pas en CI/CD. La raison est qu'en local, le répertoire `.intlayer` est présent, mais en CI/CD, il ne l'est pas car il est exclu du build.
|
|
38
|
+
|
|
39
|
+
Vous pouvez corriger cela en ajoutant un script de prébuild dans le `package.json` de votre projet.
|
|
40
|
+
|
|
41
|
+
```json5 fileName=package.json
|
|
42
|
+
{
|
|
43
|
+
// ...
|
|
44
|
+
"scripts": {
|
|
45
|
+
"prebuild": "npx intlayer dictionaries build", // S'exécutera avant le build
|
|
46
|
+
"build": "next build",
|
|
47
|
+
},
|
|
48
|
+
}
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
> Notez que si vous utilisez la fonction `withIntlayer`, ou le plugin bundler équivalent pour votre framework, le script de prébuild sera exécuté avant le build.
|
|
52
|
+
|
|
53
|
+
## 2. Variables d'environnement manquantes au moment du build / de l'exécution
|
|
54
|
+
|
|
55
|
+
Dans un conteneur, ou une plateforme à déploiement automatique, il est recommandé d'exclure le fichier `.env` du build.
|
|
56
|
+
|
|
57
|
+
```text fileName=".gitignore or .dockerignore"
|
|
58
|
+
# Variables d'environnement
|
|
59
|
+
.env
|
|
60
|
+
**/.env
|
|
61
|
+
.env.*
|
|
62
|
+
**/.env.*
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Si vos variables d'environnement ne sont pas disponibles au moment du build, une erreur sera levée.
|
|
66
|
+
|
|
67
|
+
```ts
|
|
68
|
+
import { Metadata } from "next";
|
|
69
|
+
|
|
70
|
+
export const generateMetadata = async ({ params }): Promise<Metadata> => ({
|
|
71
|
+
metadataBase: new URL(process.env.NEXT_PUBLIC_URL),
|
|
72
|
+
});
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
Cela n'est probablement pas lié à Intlayer. Vérifiez donc vos variables d'environnement au moment du build sur votre plateforme CI/CD.
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
---
|
|
2
|
+
createdAt: 2025-05-20
|
|
3
|
+
updatedAt: 2025-06-29
|
|
4
|
+
title: CI/CD में बिल्ड त्रुटि
|
|
5
|
+
description: जानें कि CI/CD वातावरण में होने वाली बिल्ड त्रुटियों को कैसे ठीक करें।
|
|
6
|
+
keywords:
|
|
7
|
+
- build
|
|
8
|
+
- error
|
|
9
|
+
- ci
|
|
10
|
+
- cd
|
|
11
|
+
- pipeline
|
|
12
|
+
- intlayer
|
|
13
|
+
- dictionaries
|
|
14
|
+
- next.js
|
|
15
|
+
- prebuild
|
|
16
|
+
- automation
|
|
17
|
+
slugs:
|
|
18
|
+
- doc
|
|
19
|
+
- faq
|
|
20
|
+
- build-error-ci-cd
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
# CI/CD में बिल्ड पर त्रुटि
|
|
24
|
+
|
|
25
|
+
यदि आपको Next.js में इस प्रकार की त्रुटि मिलती है:
|
|
26
|
+
|
|
27
|
+
```text
|
|
28
|
+
Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
यहाँ कुछ समाधान दिए गए हैं:
|
|
32
|
+
|
|
33
|
+
## 1. डिक्शनरी गायब हैं
|
|
34
|
+
|
|
35
|
+
सुनिश्चित करें कि डिक्शनरी बिल्ड के चरण में बनाई गई हैं।
|
|
36
|
+
|
|
37
|
+
यह सामान्य है कि बिल्ड स्थानीय रूप से काम करता है लेकिन CI/CD पर नहीं। इसका कारण यह है कि स्थानीय रूप से, `.intlayer` निर्देशिका मौजूद होती है, लेकिन CI/CD पर यह बिल्ड से बाहर रखी जाती है।
|
|
38
|
+
|
|
39
|
+
आप इसे अपने प्रोजेक्ट के `package.json` में एक प्रीबिल्ड स्क्रिप्ट जोड़कर ठीक कर सकते हैं।
|
|
40
|
+
|
|
41
|
+
```json5 fileName=package.json
|
|
42
|
+
{
|
|
43
|
+
// ...
|
|
44
|
+
"scripts": {
|
|
45
|
+
"prebuild": "npx intlayer dictionaries build", // बिल्ड से पहले चलेगा
|
|
46
|
+
"build": "next build",
|
|
47
|
+
},
|
|
48
|
+
}
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
> ध्यान दें कि यदि आप `withIntlayer` फ़ंक्शन का उपयोग करते हैं, या अपने फ्रेमवर्क के लिए समकक्ष बंडलर प्लगइन, तो प्रीबिल्ड स्क्रिप्ट बिल्ड से पहले चलेगा।
|
|
52
|
+
|
|
53
|
+
## 2. बिल्ड / रन टाइम पर पर्यावरण चर गायब हैं
|
|
54
|
+
|
|
55
|
+
कंटेनर या ऑटो-डिप्लॉयड प्लेटफ़ॉर्म में, यह अनुशंसित है कि `.env` फ़ाइल को बिल्ड से बाहर रखा जाए।
|
|
56
|
+
|
|
57
|
+
```text fileName=".gitignore or .dockerignore"
|
|
58
|
+
# पर्यावरण चर
|
|
59
|
+
.env
|
|
60
|
+
**/.env
|
|
61
|
+
.env.*
|
|
62
|
+
**/.env.*
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
यदि आपके पर्यावरण चर बिल्ड समय पर उपलब्ध नहीं हैं, तो एक त्रुटि उत्पन्न होगी।
|
|
66
|
+
|
|
67
|
+
```ts
|
|
68
|
+
import { Metadata } from "next";
|
|
69
|
+
|
|
70
|
+
export const generateMetadata = async ({ params }): Promise<Metadata> => ({
|
|
71
|
+
metadataBase: new URL(process.env.NEXT_PUBLIC_URL),
|
|
72
|
+
});
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
यह संभवतः Intlayer से संबंधित नहीं है। इसलिए अपने CI/CD प्लेटफ़ॉर्म पर बिल्ड समय पर अपने पर्यावरण चर की जांच करें।
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
---
|
|
2
|
+
createdAt: 2025-05-20
|
|
3
|
+
updatedAt: 2025-06-29
|
|
4
|
+
title: Errore di build in CI/CD
|
|
5
|
+
description: Scopri come risolvere gli errori di build che si verificano negli ambienti CI/CD.
|
|
6
|
+
keywords:
|
|
7
|
+
- build
|
|
8
|
+
- errore
|
|
9
|
+
- ci
|
|
10
|
+
- cd
|
|
11
|
+
- pipeline
|
|
12
|
+
- intlayer
|
|
13
|
+
- dizionari
|
|
14
|
+
- next.js
|
|
15
|
+
- prebuild
|
|
16
|
+
- automazione
|
|
17
|
+
slugs:
|
|
18
|
+
- doc
|
|
19
|
+
- faq
|
|
20
|
+
- build-error-ci-cd
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
# Errore di build in CI/CD
|
|
24
|
+
|
|
25
|
+
Se ricevi un errore come questo su Next.js:
|
|
26
|
+
|
|
27
|
+
```text
|
|
28
|
+
Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Ecco alcune soluzioni:
|
|
32
|
+
|
|
33
|
+
## 1. Dizionari mancanti
|
|
34
|
+
|
|
35
|
+
Assicurati che i dizionari siano costruiti nella fase di build.
|
|
36
|
+
|
|
37
|
+
È frequente che la build funzioni localmente ma non su CI/CD. Il motivo è che localmente la directory `.intlayer` è presente, mentre su CI/CD non lo è perché è esclusa dalla build.
|
|
38
|
+
|
|
39
|
+
Puoi risolvere aggiungendo uno script di prebuild nel `package.json` del tuo progetto.
|
|
40
|
+
|
|
41
|
+
```json5 fileName=package.json
|
|
42
|
+
{
|
|
43
|
+
// ...
|
|
44
|
+
"scripts": {
|
|
45
|
+
"prebuild": "npx intlayer dictionaries build", // Verrà eseguito prima della build
|
|
46
|
+
"build": "next build",
|
|
47
|
+
},
|
|
48
|
+
}
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
> Nota che se usi la funzione `withIntlayer`, o il plugin bundler equivalente per il tuo framework, lo script di prebuild verrà eseguito prima della build.
|
|
52
|
+
|
|
53
|
+
## 2. Variabili d'ambiente mancanti al momento della build o dell'esecuzione
|
|
54
|
+
|
|
55
|
+
In un container, o su una piattaforma con deploy automatico, è consigliato escludere il file `.env` dalla build.
|
|
56
|
+
|
|
57
|
+
```text fileName=".gitignore or .dockerignore"
|
|
58
|
+
# Variabili d'ambiente
|
|
59
|
+
.env
|
|
60
|
+
**/.env
|
|
61
|
+
.env.*
|
|
62
|
+
**/.env.*
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Se le tue variabili d'ambiente non sono disponibili al momento della build, verrà generato un errore.
|
|
66
|
+
|
|
67
|
+
```ts
|
|
68
|
+
import { Metadata } from "next";
|
|
69
|
+
|
|
70
|
+
export const generateMetadata = async ({ params }): Promise<Metadata> => ({
|
|
71
|
+
metadataBase: new URL(process.env.NEXT_PUBLIC_URL),
|
|
72
|
+
});
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
Probabilmente non è correlato a Intlayer. Quindi verifica le tue variabili d'ambiente al momento della build sulla tua piattaforma CI/CD.
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
---
|
|
2
|
+
createdAt: 2025-05-20
|
|
3
|
+
updatedAt: 2025-06-29
|
|
4
|
+
title: CI/CDでのビルドエラー
|
|
5
|
+
description: CI/CD環境で発生するビルドエラーの修正方法を学びます。
|
|
6
|
+
keywords:
|
|
7
|
+
- ビルド
|
|
8
|
+
- エラー
|
|
9
|
+
- ci
|
|
10
|
+
- cd
|
|
11
|
+
- パイプライン
|
|
12
|
+
- intlayer
|
|
13
|
+
- 辞書
|
|
14
|
+
- next.js
|
|
15
|
+
- プレビルド
|
|
16
|
+
- 自動化
|
|
17
|
+
slugs:
|
|
18
|
+
- doc
|
|
19
|
+
- faq
|
|
20
|
+
- build-error-ci-cd
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
# CI/CDでのビルドエラー
|
|
24
|
+
|
|
25
|
+
Next.jsで以下のようなエラーが発生した場合:
|
|
26
|
+
|
|
27
|
+
```text
|
|
28
|
+
Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
いくつかの解決策を紹介します:
|
|
32
|
+
|
|
33
|
+
## 1. 辞書が不足している
|
|
34
|
+
|
|
35
|
+
ビルドの段階で辞書がビルドされていることを確認してください。
|
|
36
|
+
|
|
37
|
+
ローカルではビルドが成功するのに、CI/CDでは失敗することがよくあります。その理由は、ローカル環境では `.intlayer` ディレクトリが存在しますが、CI/CDではビルドから除外されているためです。
|
|
38
|
+
|
|
39
|
+
これを修正するには、プロジェクトの `package.json` にプリビルドスクリプトを追加してください。
|
|
40
|
+
|
|
41
|
+
```json5 fileName=package.json
|
|
42
|
+
{
|
|
43
|
+
// ...
|
|
44
|
+
"scripts": {
|
|
45
|
+
"prebuild": "npx intlayer dictionaries build", // ビルドの前に実行されます
|
|
46
|
+
"build": "next build",
|
|
47
|
+
},
|
|
48
|
+
}
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
> `withIntlayer` 関数や、フレームワーク用の同等のバンドラープラグインを使用している場合は、プリビルドスクリプトがビルド前に自動的に実行されます。
|
|
52
|
+
|
|
53
|
+
## 2. ビルド時/実行時の環境変数が不足している
|
|
54
|
+
|
|
55
|
+
コンテナや自動デプロイプラットフォームでは、`.env` ファイルをビルドから除外することが推奨されます。
|
|
56
|
+
|
|
57
|
+
```text fileName=".gitignore or .dockerignore"
|
|
58
|
+
# 環境変数
|
|
59
|
+
.env
|
|
60
|
+
**/.env
|
|
61
|
+
.env.*
|
|
62
|
+
**/.env.*
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
ビルド時に環境変数が利用できない場合、エラーが発生します。
|
|
66
|
+
|
|
67
|
+
```ts
|
|
68
|
+
import { Metadata } from "next";
|
|
69
|
+
|
|
70
|
+
export const generateMetadata = async ({ params }): Promise<Metadata> => ({
|
|
71
|
+
metadataBase: new URL(process.env.NEXT_PUBLIC_URL),
|
|
72
|
+
});
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
これはおそらく Intlayer に関連する問題ではありません。CI/CD プラットフォーム上のビルド時に環境変数を確認してください。
|
|
@@ -144,7 +144,7 @@ npm --version
|
|
|
144
144
|
11. **権限の問題を確認する**
|
|
145
145
|
権限エラーが発生している場合は、以下を試してください:
|
|
146
146
|
|
|
147
|
-
|
|
147
|
+
```bash
|
|
148
148
|
# Unix系システムの場合
|
|
149
149
|
sudo npm install -g intlayer
|
|
150
150
|
|
|
@@ -152,5 +152,5 @@ sudo npm install -g intlayer
|
|
|
152
152
|
mkdir ~/.npm-global
|
|
153
153
|
npm config set prefix '~/.npm-global'
|
|
154
154
|
# ~/.profile または ~/.bashrc に以下を追加:
|
|
155
|
-
export PATH=~/.npm-global/bin:$PATH
|
|
156
|
-
|
|
155
|
+
export PATH=~/.npm-global/bin:$PATH
|
|
156
|
+
```
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
---
|
|
2
|
+
createdAt: 2025-05-20
|
|
3
|
+
updatedAt: 2025-06-29
|
|
4
|
+
title: CI/CD에서 빌드 오류
|
|
5
|
+
description: CI/CD 환경에서 발생하는 빌드 오류를 해결하는 방법을 알아보세요.
|
|
6
|
+
keywords:
|
|
7
|
+
- 빌드
|
|
8
|
+
- 오류
|
|
9
|
+
- ci
|
|
10
|
+
- cd
|
|
11
|
+
- 파이프라인
|
|
12
|
+
- intlayer
|
|
13
|
+
- 사전
|
|
14
|
+
- next.js
|
|
15
|
+
- 사전빌드
|
|
16
|
+
- 자동화
|
|
17
|
+
slugs:
|
|
18
|
+
- doc
|
|
19
|
+
- faq
|
|
20
|
+
- build-error-ci-cd
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
# CI/CD에서 빌드 오류
|
|
24
|
+
|
|
25
|
+
Next.js에서 다음과 같은 오류가 발생한다면:
|
|
26
|
+
|
|
27
|
+
```text
|
|
28
|
+
Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
몇 가지 해결책은 다음과 같습니다:
|
|
32
|
+
|
|
33
|
+
## 1. 사전 누락
|
|
34
|
+
|
|
35
|
+
빌드 단계에서 사전이 빌드되었는지 확인하세요.
|
|
36
|
+
|
|
37
|
+
로컬에서는 빌드가 잘 되지만 CI/CD에서는 작동하지 않는 경우가 자주 있습니다. 그 이유는 로컬에서는 `.intlayer` 디렉토리가 존재하지만, CI/CD에서는 빌드에서 제외되기 때문입니다.
|
|
38
|
+
|
|
39
|
+
프로젝트의 `package.json`에 사전 빌드(prebuild) 스크립트를 추가하여 이를 해결할 수 있습니다.
|
|
40
|
+
|
|
41
|
+
```json5 fileName=package.json
|
|
42
|
+
{
|
|
43
|
+
// ...
|
|
44
|
+
"scripts": {
|
|
45
|
+
"prebuild": "npx intlayer dictionaries build", // 빌드 전에 실행됩니다
|
|
46
|
+
"build": "next build",
|
|
47
|
+
},
|
|
48
|
+
}
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
> `withIntlayer` 함수나 프레임워크에 맞는 번들러 플러그인을 사용하는 경우, 사전 빌드 스크립트가 빌드 전에 자동으로 실행됩니다.
|
|
52
|
+
|
|
53
|
+
## 2. 빌드/실행 시 환경 변수 누락
|
|
54
|
+
|
|
55
|
+
컨테이너나 자동 배포 플랫폼에서는 `.env` 파일을 빌드에서 제외하는 것이 권장됩니다.
|
|
56
|
+
|
|
57
|
+
```text fileName=".gitignore or .dockerignore"
|
|
58
|
+
# 환경 변수
|
|
59
|
+
.env
|
|
60
|
+
**/.env
|
|
61
|
+
.env.*
|
|
62
|
+
**/.env.*
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
빌드 시 환경 변수가 사용 불가능하면 오류가 발생합니다.
|
|
66
|
+
|
|
67
|
+
```ts
|
|
68
|
+
import { Metadata } from "next";
|
|
69
|
+
|
|
70
|
+
export const generateMetadata = async ({ params }): Promise<Metadata> => ({
|
|
71
|
+
metadataBase: new URL(process.env.NEXT_PUBLIC_URL), // 환경 변수에서 URL을 가져옵니다
|
|
72
|
+
});
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
이는 아마도 Intlayer와 관련이 없을 것입니다. 따라서 CI/CD 플랫폼에서 빌드 시 환경 변수를 확인하세요.
|
|
@@ -144,7 +144,7 @@ npm --version
|
|
|
144
144
|
11. **권한 문제 확인하기**
|
|
145
145
|
권한 오류가 발생하는 경우:
|
|
146
146
|
|
|
147
|
-
|
|
147
|
+
```bash
|
|
148
148
|
# 유닉스 기반 시스템용
|
|
149
149
|
sudo npm install -g intlayer
|
|
150
150
|
|
|
@@ -152,5 +152,5 @@ sudo npm install -g intlayer
|
|
|
152
152
|
mkdir ~/.npm-global
|
|
153
153
|
npm config set prefix '~/.npm-global'
|
|
154
154
|
# ~/.profile 또는 ~/.bashrc에 다음을 추가하세요:
|
|
155
|
-
export PATH=~/.npm-global/bin:$PATH
|
|
156
|
-
|
|
155
|
+
export PATH=~/.npm-global/bin:$PATH
|
|
156
|
+
```
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
---
|
|
2
|
+
createdAt: 2025-05-20
|
|
3
|
+
updatedAt: 2025-06-29
|
|
4
|
+
title: Erro de Build em CI/CD
|
|
5
|
+
description: Aprenda como corrigir erros de build que ocorrem em ambientes CI/CD.
|
|
6
|
+
keywords:
|
|
7
|
+
- build
|
|
8
|
+
- erro
|
|
9
|
+
- ci
|
|
10
|
+
- cd
|
|
11
|
+
- pipeline
|
|
12
|
+
- intlayer
|
|
13
|
+
- dicionários
|
|
14
|
+
- next.js
|
|
15
|
+
- prebuild
|
|
16
|
+
- automação
|
|
17
|
+
slugs:
|
|
18
|
+
- doc
|
|
19
|
+
- faq
|
|
20
|
+
- erro-build-ci-cd
|
|
21
|
+
---
|
|
22
|
+
|
|
23
|
+
# Erro no build em CI/CD
|
|
24
|
+
|
|
25
|
+
Se você receber um erro como este no Next.js:
|
|
26
|
+
|
|
27
|
+
```text
|
|
28
|
+
Error: An error occurred in the Server Components render. The specific message is omitted in production builds to avoid leaking sensitive details. A digest property is included on this error instance which may provide additional details about the nature of the error
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
Aqui estão algumas soluções:
|
|
32
|
+
|
|
33
|
+
## 1. Dicionários ausentes
|
|
34
|
+
|
|
35
|
+
Certifique-se de que os dicionários sejam construídos na etapa de build.
|
|
36
|
+
|
|
37
|
+
É frequente que o build funcione localmente, mas não no CI/CD. A razão é que localmente o diretório `.intlayer` está presente, mas no CI/CD não está, pois é excluído do build.
|
|
38
|
+
|
|
39
|
+
Você pode corrigir isso adicionando um script de prebuild no `package.json` do seu projeto.
|
|
40
|
+
|
|
41
|
+
```json5 fileName=package.json
|
|
42
|
+
{
|
|
43
|
+
// ...
|
|
44
|
+
"scripts": {
|
|
45
|
+
"prebuild": "npx intlayer dictionaries build", // Será executado antes do build
|
|
46
|
+
"build": "next build",
|
|
47
|
+
},
|
|
48
|
+
}
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
> Note que se você usar a função `withIntlayer`, ou o plugin bundler equivalente para seu framework, o script de prebuild será executado antes do build.
|
|
52
|
+
|
|
53
|
+
## 2. Variáveis de ambiente ausentes no momento do build / execução
|
|
54
|
+
|
|
55
|
+
Em um container, ou plataforma de implantação automática, é recomendado excluir o arquivo `.env` do build.
|
|
56
|
+
|
|
57
|
+
```text fileName=".gitignore or .dockerignore"
|
|
58
|
+
# Variáveis de ambiente
|
|
59
|
+
.env
|
|
60
|
+
**/.env
|
|
61
|
+
.env.*
|
|
62
|
+
**/.env.*
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Se suas variáveis de ambiente não estiverem disponíveis no momento do build, um erro será lançado.
|
|
66
|
+
|
|
67
|
+
```ts
|
|
68
|
+
import { Metadata } from "next";
|
|
69
|
+
|
|
70
|
+
export const generateMetadata = async ({ params }): Promise<Metadata> => ({
|
|
71
|
+
metadataBase: new URL(process.env.NEXT_PUBLIC_URL),
|
|
72
|
+
});
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
Provavelmente não está relacionado ao Intlayer. Então, verifique suas variáveis de ambiente no momento do build na sua plataforma CI/CD.
|