Commit 1e03bb28 by Ryan McKinley Committed by GitHub

Bundled Plugins: fix build issues with DirectInput (#23640)

* pass query error

* and the root

* not optional

* building bundled plugin

* missing file

* remove other branch

* fix prettier
parent 88ec7e09
......@@ -21,7 +21,7 @@ const bundleManagedPluginsRunner: TaskRunner<BundeManagedOptions> = async () =>
process.chdir(`${MANAGED_PLUGINS_PATH}/${scope}/${plugin}`);
try {
console.log(`[${scope}]: ${plugin} building...`);
await execa('yarn', ['dev']);
await execa('yarn', ['build']);
console.log(`[${scope}]: ${plugin} bundled`);
} catch (e) {
console.log(e.stdout);
......
......@@ -4,3 +4,6 @@ coverage
# Ignore external git configs
external
# this file is added automatically
.prettierrc.js
\ No newline at end of file
# Direct Input Data Source - Native Plugin
# Direct Input Data Source - Bundled Plugin
This data source lets you define results directly in CSV. The values are stored either in a shared data source, or directly in panels.
// This file is needed because it is used by vscode and other tools that
// call `jest` directly. However, unless you are doing anything special
// do not edit this file
const standard = require('@grafana/toolkit/src/config/jest.plugin.config');
// This process will use the same config that `yarn test` is using
module.exports = standard.jestConfig();
{
"name": "@grafana-plugins/input-datasource",
"version": "6.6.0-pre",
"version": "7.0.0-pre.0",
"description": "Input Datasource",
"private": true,
"repository": {
......
......@@ -4,6 +4,6 @@
"compilerOptions": {
"rootDir": "./src",
"baseUrl": "./src",
"typeRoots": ["./node_modules/@types"]
"typeRoots": ["./node_modules/@types", "../../../node_modules/@types"]
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment