@grafana/create-plugin 4.9.2 → 4.10.0-canary.871.60a4cf1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grafana/create-plugin",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.10.0-canary.871.60a4cf1.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"directory": "packages/create-plugin",
|
|
6
6
|
"url": "https://github.com/grafana/plugin-tools"
|
|
@@ -87,5 +87,5 @@
|
|
|
87
87
|
"engines": {
|
|
88
88
|
"node": ">=20"
|
|
89
89
|
},
|
|
90
|
-
"gitHead": "
|
|
90
|
+
"gitHead": "60a4cf1ac686f85cb31a13a1c216afe10e6cfa2e"
|
|
91
91
|
}
|
|
@@ -12,6 +12,7 @@ import LiveReloadPlugin from 'webpack-livereload-plugin';
|
|
|
12
12
|
import path from 'path';
|
|
13
13
|
import ReplaceInFileWebpackPlugin from 'replace-in-file-webpack-plugin';
|
|
14
14
|
import { Configuration } from 'webpack';
|
|
15
|
+
import { GrafanaPluginMetaExtractor } from '@grafana/plugin-meta-extractor';
|
|
15
16
|
|
|
16
17
|
import { getPackageJson, getPluginJson, hasReadme, getEntries, isWSL } from './utils';
|
|
17
18
|
import { SOURCE_DIR, DIST_DIR } from './constants';
|
|
@@ -142,6 +143,7 @@ const config = async (env): Promise<Configuration> => {
|
|
|
142
143
|
},
|
|
143
144
|
|
|
144
145
|
plugins: [
|
|
146
|
+
new GrafanaPluginMetaExtractor(),
|
|
145
147
|
new CopyWebpackPlugin({
|
|
146
148
|
patterns: [
|
|
147
149
|
// If src/README.md exists use it; otherwise the root README
|
|
@@ -23,7 +23,8 @@
|
|
|
23
23
|
"@grafana/e2e-selectors": "{{ grafanaVersion }}",{{/unless}}
|
|
24
24
|
"@grafana/eslint-config": "^7.0.0",{{#if usePlaywright}}
|
|
25
25
|
"@grafana/plugin-e2e": "^1.0.1",{{/if}}
|
|
26
|
-
"@grafana/tsconfig": "^1.2.0-rc1",
|
|
26
|
+
"@grafana/tsconfig": "^1.2.0-rc1",
|
|
27
|
+
"@grafana/plugin-meta-extractor": "^0.0.1",{{#if usePlaywright}}
|
|
27
28
|
"@playwright/test": "^1.41.2",{{/if}}
|
|
28
29
|
"@swc/core": "^1.3.90",
|
|
29
30
|
"@swc/helpers": "^0.5.0",
|