From b4e96449eafffbf7c2448b6710bd1622720098f0 Mon Sep 17 00:00:00 2001 From: joostdecock Date: Sun, 22 Oct 2023 11:23:30 +0200 Subject: [PATCH] chore: Add yarn buildall to kickstart --- package.json | 2 +- scripts/add-software.mjs | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/package.json b/package.json index 74e32fb3baf..bbedc1491d1 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "strapi:translate": "node scripts/strapi-en-to-other.mjs", "fixdocs": "remark markdown --quiet --frail --output", "wbuildall": "lerna run wbuildall", - "prepare": "husky install" + "prepare": "husky install && yarn buildall" }, "repository": { "type": "git", diff --git a/scripts/add-software.mjs b/scripts/add-software.mjs index f95b82f2f52..18ca1e8b035 100644 --- a/scripts/add-software.mjs +++ b/scripts/add-software.mjs @@ -100,14 +100,6 @@ 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('≡≡≡≡≡≡≡≡≡≡≡≡≡≡')}