1
0
Fork 0

chore: Add node about buildall to new software script

This commit is contained in:
joostdecock 2023-10-22 10:06:27 +02:00
parent 1e0741c72b
commit 00e1e601ae
2 changed files with 9 additions and 18 deletions

View file

@ -100,10 +100,18 @@ async function addDesign() {
If you change any of these, run ${chalk.blue('yarn reconfigure')} to update the package(s). 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.bold.yellow('👷 Get to work')}
${chalk.gray('≡≡≡≡≡≡≡≡≡≡≡≡≡≡')} ${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/')} 📖 Documentation is available at ${chalk.green('https://freesewing.dev/')}
🤓 Happy hacking 🤓 Happy hacking

View file

@ -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()