From 73636849509626d180c367657c2ec3a12beb9306 Mon Sep 17 00:00:00 2001 From: Simon Holthausen Date: Wed, 21 Jun 2023 17:11:52 +0200 Subject: [PATCH] monorepo note --- packages/migrate/migrations/svelte-4/index.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/migrate/migrations/svelte-4/index.js b/packages/migrate/migrations/svelte-4/index.js index d2c523485e5e..e1223153c8f9 100644 --- a/packages/migrate/migrations/svelte-4/index.js +++ b/packages/migrate/migrations/svelte-4/index.js @@ -10,7 +10,14 @@ export async function migrate() { bail('Please re-run this script in a directory with a package.json'); } - console.log(colors.bold().yellow('\nThis will update files in the current src/ directory\n')); + console.log( + colors + .bold() + .yellow( + '\nThis will update files in the current directory\n' + + "If you're inside a monorepo, don't run this in the root directory, rather run it in all projects independently.\n" + ) + ); const use_git = check_git();