mirror of
https://github.com/grafana/grafana.git
synced 2025-02-10 23:55:47 -06:00
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
This commit is contained in:
parent
88ec7e097f
commit
1e03bb2895
@ -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);
|
||||
|
3
plugins-bundled/.gitignore
vendored
3
plugins-bundled/.gitignore
vendored
@ -4,3 +4,6 @@ coverage
|
||||
|
||||
# Ignore external git configs
|
||||
external
|
||||
|
||||
# this file is added automatically
|
||||
.prettierrc.js
|
@ -1,3 +1,3 @@
|
||||
# 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.
|
||||
|
8
plugins-bundled/internal/input-datasource/jest.config.js
Normal file
8
plugins-bundled/internal/input-datasource/jest.config.js
Normal file
@ -0,0 +1,8 @@
|
||||
// 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();
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"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"]
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user