diff --git a/workspaces/repo-tools/packages/cli/src/commands/plugin/migrate.ts b/workspaces/repo-tools/packages/cli/src/commands/plugin/migrate.ts index 6a04f01c0..090065eae 100644 --- a/workspaces/repo-tools/packages/cli/src/commands/plugin/migrate.ts +++ b/workspaces/repo-tools/packages/cli/src/commands/plugin/migrate.ts @@ -189,7 +189,7 @@ ${options.packages.map(p => `'${p}': patch`).join('\n')} --- ${options.message} -\n`; +`; await fs.writeFile(changesetFile, changesetContents.trim()); }; @@ -345,9 +345,10 @@ export default async (opts: OptionValues) => { }); console.log(chalk.yellow`Running yarn install in new repository`); - // run yarn install in the new workspace await exec('yarn', ['install'], { cwd: workspacePath }); - console.log(chalk.green`Done!`); + + console.log(chalk.yellow`Running prettier in new repository`); + await exec('yarn', ['prettier', '--write', '.'], { cwd: workspacePath }); // reset monorepo await exec('git', ['checkout', 'master'], { cwd: monorepoPath }); diff --git a/workspaces/todo/.changeset/migrate-1713263694895.md b/workspaces/todo/.changeset/migrate-1713265146447.md similarity index 86% rename from workspaces/todo/.changeset/migrate-1713263694895.md rename to workspaces/todo/.changeset/migrate-1713265146447.md index a7fc35682..c55108250 100644 --- a/workspaces/todo/.changeset/migrate-1713263694895.md +++ b/workspaces/todo/.changeset/migrate-1713265146447.md @@ -3,4 +3,4 @@ '@backstage-community/plugin-todo-backend': patch --- -Migrated from the [backstage/backstage](https://github.com/backstage/backstage) monorepo. \ No newline at end of file +Migrated from the [backstage/backstage](https://github.com/backstage/backstage) monorepo.