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 () => ...@@ -21,7 +21,7 @@ const bundleManagedPluginsRunner: TaskRunner<BundeManagedOptions> = async () =>
process.chdir(`${MANAGED_PLUGINS_PATH}/${scope}/${plugin}`); process.chdir(`${MANAGED_PLUGINS_PATH}/${scope}/${plugin}`);
try { try {
console.log(`[${scope}]: ${plugin} building...`); console.log(`[${scope}]: ${plugin} building...`);
await execa('yarn', ['dev']); await execa('yarn', ['build']);
console.log(`[${scope}]: ${plugin} bundled`); console.log(`[${scope}]: ${plugin} bundled`);
} catch (e) { } catch (e) {
console.log(e.stdout); console.log(e.stdout);
......
...@@ -4,3 +4,6 @@ coverage ...@@ -4,3 +4,6 @@ coverage
# Ignore external git configs # Ignore external git configs
external 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 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", "name": "@grafana-plugins/input-datasource",
"version": "6.6.0-pre", "version": "7.0.0-pre.0",
"description": "Input Datasource", "description": "Input Datasource",
"private": true, "private": true,
"repository": { "repository": {
......
...@@ -4,6 +4,6 @@ ...@@ -4,6 +4,6 @@
"compilerOptions": { "compilerOptions": {
"rootDir": "./src", "rootDir": "./src",
"baseUrl": "./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