diff --git a/scripts/add-software.mjs b/scripts/add-software.mjs index 9cc73c920cc..f95b82f2f52 100644 --- a/scripts/add-software.mjs +++ b/scripts/add-software.mjs @@ -100,10 +100,18 @@ async function addDesign() { If you change any of these, run ${chalk.blue('yarn reconfigure')} to update the package(s). + ${chalk.bold.yellow('⚒️ Build packages at least once')} + ${chalk.gray('≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡')} + + ⚠️ You need to run ${chalk.blue('yarn buildall')} at least once before you run the steps below. + ${chalk.gray(`If you have never built the packages (for example, you have just cloned this repo), + do this now. You only need to re-run this step when you make changes to core plugins`)} + + ${chalk.bold.yellow('👷 Get to work')} ${chalk.gray('≡≡≡≡≡≡≡≡≡≡≡≡≡≡')} - 🛠️ You can now start the development environment with ${chalk.blue('yarn lab')} + 🚀 You can now start the development environment with ${chalk.blue('yarn lab')} 📖 Documentation is available at ${chalk.green('https://freesewing.dev/')} 🤓 Happy hacking diff --git a/sites/shared/ssr-i18n.mjs b/sites/shared/ssr-i18n.mjs deleted file mode 100644 index 10c27bbe169..00000000000 --- a/sites/shared/ssr-i18n.mjs +++ /dev/null @@ -1,17 +0,0 @@ -import { serverSideTranslations } from 'next-i18next/serverSideTranslations' -import { siteConfig } from 'site/site.config.mjs' - -/* - * We're being lazy and loading all namespaces here - * See https://github.com/freesewing/freesewing/issues/5230 - */ -const ssrI18n = async () => { - const i18n = {} - for (const locale of siteConfig.languages) { - i18n[locale] = await serverSideTranslations(locale) - } - - return i18n -} - -export const i18n = await ssrI18n()