Toolkit: Deprecate and replace toolkit:build with plain yarn scripts (#57620)

* Toolkit: Deprecate and replace toolkit:build with plain yarn scripts

* Remove "generated" from copied files in the script
This commit is contained in:
Esteban Beltran
2022-10-26 10:11:15 +02:00
committed by GitHub
parent cbe7fe3d8d
commit 987d4fd459
3 changed files with 44 additions and 2 deletions

View File

@ -58,8 +58,11 @@ export const run = (includeInternalScripts = false) => {
program
.command('toolkit:build')
.description('Prepares grafana/toolkit dist package')
.description('[Deprecated] Prepares grafana/toolkit dist package')
.action(async (cmd) => {
chalk.yellow.bold(
`⚠️ This command is deprecated and will be removed in v10. No further support will be provided. ⚠️`
);
await execTask(toolkitBuildTask)({});
});