@grafana/create-plugin 4.16.2 → 4.16.3-canary.971.eae73b6.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/README.md +1 -1
- package/dist/constants.js +1 -1
- package/package.json +2 -2
- package/src/constants.ts +1 -1
- package/templates/common/.config/_eslintrc +1 -1
- package/templates/common/.config/jest-setup.js +1 -1
- package/templates/common/.config/jest.config.js +1 -1
- package/templates/common/.config/tsconfig.json +1 -1
- package/templates/common/.config/webpack/webpack.config.ts +1 -1
- package/templates/common/_package.json +7 -7
- package/templates/common/docker-compose.yaml +1 -1
package/README.md
CHANGED
|
@@ -97,7 +97,7 @@ For more information see [here](https://grafana.com/developers/plugin-tools/migr
|
|
|
97
97
|
|
|
98
98
|
## Customizing or extending the basic configs
|
|
99
99
|
|
|
100
|
-
You can read more about customizing or extending the basic configuration in our [documentation](https://grafana.com/developers/plugin-tools/
|
|
100
|
+
You can read more about customizing or extending the basic configuration in our [documentation](https://grafana.com/developers/plugin-tools/get-started/set-up-development-environment#extend-configurations).
|
|
101
101
|
|
|
102
102
|
## Add provisioning to your existing plugin
|
|
103
103
|
|
package/dist/constants.js
CHANGED
|
@@ -94,7 +94,7 @@ export const TEXT = {
|
|
|
94
94
|
* Run \`yarn build\` and observe the output for any errors.
|
|
95
95
|
* Test your plugin in grafana and make sure everything works as expected.
|
|
96
96
|
|
|
97
|
-
See instructions on how to customize your configuration here https://grafana.com/developers/plugin-tools/
|
|
97
|
+
See instructions on how to customize your configuration here https://grafana.com/developers/plugin-tools/get-started/set-up-development-environment#extend-configurations
|
|
98
98
|
`,
|
|
99
99
|
updateCommandWarning: '**⚠️ Warning!**\nThis is going to update files under the `.config/` folder.\nMake sure to commit your changes before running this script.',
|
|
100
100
|
updateCommandSuccess: '**Done.**\nIf you have any questions please open an issue/discussion in https://github.com/grafana/plugin-tools.',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grafana/create-plugin",
|
|
3
|
-
"version": "4.16.
|
|
3
|
+
"version": "4.16.3-canary.971.eae73b6.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": "eae73b6283557045a8b5c7cee4e3bf251755f3cb"
|
|
91
91
|
}
|
package/src/constants.ts
CHANGED
|
@@ -129,7 +129,7 @@ export const TEXT = {
|
|
|
129
129
|
* Run \`yarn build\` and observe the output for any errors.
|
|
130
130
|
* Test your plugin in grafana and make sure everything works as expected.
|
|
131
131
|
|
|
132
|
-
See instructions on how to customize your configuration here https://grafana.com/developers/plugin-tools/
|
|
132
|
+
See instructions on how to customize your configuration here https://grafana.com/developers/plugin-tools/get-started/set-up-development-environment#extend-configurations
|
|
133
133
|
`,
|
|
134
134
|
|
|
135
135
|
updateCommandWarning: '**⚠️ Warning!**\nThis is going to update files under the `.config/` folder.\nMake sure to commit your changes before running this script.',
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* ⚠️⚠️⚠️ THIS FILE WAS SCAFFOLDED BY `@grafana/create-plugin`. DO NOT EDIT THIS FILE DIRECTLY. ⚠️⚠️⚠️
|
|
3
3
|
*
|
|
4
4
|
* In order to extend the configuration follow the steps in
|
|
5
|
-
* https://grafana.com/developers/plugin-tools/
|
|
5
|
+
* https://grafana.com/developers/plugin-tools/get-started/set-up-development-environment#extend-the-eslint-config
|
|
6
6
|
*/
|
|
7
7
|
{
|
|
8
8
|
"extends": ["@grafana/eslint-config"],
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* ⚠️⚠️⚠️ THIS FILE WAS SCAFFOLDED BY `@grafana/create-plugin`. DO NOT EDIT THIS FILE DIRECTLY. ⚠️⚠️⚠️
|
|
3
3
|
*
|
|
4
4
|
* In order to extend the configuration follow the steps in
|
|
5
|
-
* https://grafana.com/developers/plugin-tools/
|
|
5
|
+
* https://grafana.com/developers/plugin-tools/get-started/set-up-development-environment#extend-the-jest-config
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import '@testing-library/jest-dom';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* ⚠️⚠️⚠️ THIS FILE WAS SCAFFOLDED BY `@grafana/create-plugin`. DO NOT EDIT THIS FILE DIRECTLY. ⚠️⚠️⚠️
|
|
3
3
|
*
|
|
4
4
|
* In order to extend the configuration follow the steps in
|
|
5
|
-
* https://grafana.com/developers/plugin-tools/
|
|
5
|
+
* https://grafana.com/developers/plugin-tools/get-started/set-up-development-environment#extend-the-jest-config
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
const path = require('path');
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* ⚠️⚠️⚠️ THIS FILE WAS SCAFFOLDED BY `@grafana/create-plugin`. DO NOT EDIT THIS FILE DIRECTLY. ⚠️⚠️⚠️
|
|
3
3
|
*
|
|
4
4
|
* In order to extend the configuration follow the steps in
|
|
5
|
-
* https://grafana.com/developers/plugin-tools/
|
|
5
|
+
* https://grafana.com/developers/plugin-tools/get-started/set-up-development-environment#extend-the-typescript-config
|
|
6
6
|
*/
|
|
7
7
|
{
|
|
8
8
|
"compilerOptions": {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* ⚠️⚠️⚠️ THIS FILE WAS SCAFFOLDED BY `@grafana/create-plugin`. DO NOT EDIT THIS FILE DIRECTLY. ⚠️⚠️⚠️
|
|
3
3
|
*
|
|
4
4
|
* In order to extend the configuration follow the steps in
|
|
5
|
-
* https://grafana.com/developers/plugin-tools/
|
|
5
|
+
* https://grafana.com/developers/plugin-tools/get-started/set-up-development-environment#extend-the-webpack-config
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import CopyWebpackPlugin from 'copy-webpack-plugin';
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"license": "Apache-2.0",
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@babel/core": "^7.21.4",{{#if useCypress}}
|
|
23
|
-
"@grafana/e2e": "^
|
|
24
|
-
"@grafana/e2e-selectors": "^
|
|
23
|
+
"@grafana/e2e": "^11.0.1",
|
|
24
|
+
"@grafana/e2e-selectors": "^11.1.0",{{/if}}
|
|
25
25
|
"@grafana/eslint-config": "^7.0.0",{{#if usePlaywright}}
|
|
26
|
-
"@grafana/plugin-e2e": "^1.
|
|
26
|
+
"@grafana/plugin-e2e": "^1.6.1",{{/if}}
|
|
27
27
|
"@grafana/tsconfig": "^1.2.0-rc1",{{#if usePlaywright}}
|
|
28
28
|
"@playwright/test": "^1.41.2",{{/if}}
|
|
29
29
|
"@swc/core": "^1.3.90",
|
|
@@ -64,11 +64,11 @@
|
|
|
64
64
|
},
|
|
65
65
|
"dependencies": {
|
|
66
66
|
"@emotion/css": "11.10.6",
|
|
67
|
-
"@grafana/data": "^
|
|
68
|
-
"@grafana/runtime": "^
|
|
69
|
-
"@grafana/ui": "^
|
|
67
|
+
"@grafana/data": "^11.1.0",
|
|
68
|
+
"@grafana/runtime": "^11.1.0",
|
|
69
|
+
"@grafana/ui": "^11.1.0",
|
|
70
70
|
"@grafana/schema": "^10.4.0",{{#if_eq pluginType "scenesapp"}}
|
|
71
|
-
"@grafana/scenes": "^
|
|
71
|
+
"@grafana/scenes": "^5.4.0",{{/if_eq}}
|
|
72
72
|
"react": "18.2.0",
|
|
73
73
|
"react-dom": "18.2.0",{{#if isAppType}}
|
|
74
74
|
"react-router-dom": "^{{ reactRouterVersion }}",
|