Plugins: do not publish bundled plugins to npm (#23401)

This commit is contained in:
Ryan McKinley 2020-04-07 08:01:06 -07:00 committed by GitHub
parent 7425f9b400
commit 67e45a1d43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -20,6 +20,7 @@ const bundleManagedPluginsRunner: TaskRunner<BundeManagedOptions> = async () =>
for (const plugin of plugins) {
process.chdir(`${MANAGED_PLUGINS_PATH}/${scope}/${plugin}`);
try {
console.log(`[${scope}]: ${plugin} building...`);
await execa('yarn', ['dev']);
console.log(`[${scope}]: ${plugin} bundled`);
} catch (e) {

View File

@ -2,6 +2,7 @@
"name": "@grafana-plugins/input-datasource",
"version": "6.6.0-pre",
"description": "Input Datasource",
"private": true,
"repository": {
"type": "git",
"url": "http://github.com/grafana/grafana.git"
@ -15,8 +16,8 @@
"author": "Grafana Labs",
"license": "Apache-2.0",
"devDependencies": {
"@grafana/data": "^6.6.0-pre",
"@grafana/ui": "^6.6.0-pre",
"@grafana/toolkit": "^6.6.0-pre"
"@grafana/data": "^7.0.0-pre",
"@grafana/ui": "^7.0.0-pre",
"@grafana/toolkit": "^7.0.0-pre"
}
}