diff --git a/package.json b/package.json index 1ab20922175..004b9e3eb20 100644 --- a/package.json +++ b/package.json @@ -46,7 +46,7 @@ "storybook:build": "yarn workspace @grafana/ui storybook:build", "themes:generate": "ts-node --transpile-only --project ./scripts/cli/tsconfig.json ./scripts/cli/generateSassVariableFiles.ts", "typecheck": "tsc --noEmit && yarn run packages:typecheck", - "plugins:build-bundled": "grafana-toolkit plugin:bundle-managed", + "plugins:build-bundled": "find plugins-bundled -name package.json -not -path '*/node_modules/*' -execdir yarn build \\;", "watch": "yarn start -d watch,start core:start --watchTheme", "ci:test-frontend": "yarn run test:ci", "postinstall": "husky install", diff --git a/packages/grafana-toolkit/src/cli/index.ts b/packages/grafana-toolkit/src/cli/index.ts index 556febb2219..82e6c8eb20a 100644 --- a/packages/grafana-toolkit/src/cli/index.ts +++ b/packages/grafana-toolkit/src/cli/index.ts @@ -223,6 +223,9 @@ export const run = (includeInternalScripts = false) => { .command('plugin:bundle-managed') .description('Builds managed plugins') .action(async (cmd) => { + chalk.yellow.bold( + `⚠️ This command is deprecated and will be removed in v10. No further support will be provided. ⚠️` + ); await execTask(bundleManagedTask)({}); });