@grafana/create-plugin 4.10.3 → 4.10.4-canary.910.3aa3ecd.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.
|
@@ -14,10 +14,7 @@ export function printGenerateSuccessMessage(answers) {
|
|
|
14
14
|
'- `mage -v build:linux` to build the plugin backend code. Rerun this command every time you edit your backend files.',
|
|
15
15
|
]
|
|
16
16
|
: []),
|
|
17
|
-
'- `docker-compose up` to start a grafana development server.
|
|
18
|
-
(answers.hasBackend
|
|
19
|
-
? 'The plugin backend will be reloaded on every code change and a debugger can be attached on port `2345`.'
|
|
20
|
-
: ''),
|
|
17
|
+
'- `docker-compose up` to start a grafana development server.',
|
|
21
18
|
'- Open http://localhost:3000 in your browser to create a dashboard to begin developing your plugin.',
|
|
22
19
|
];
|
|
23
20
|
const msg = `\n# Congratulations on scaffolding a Grafana ${answers.pluginType} plugin! 🚀
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grafana/create-plugin",
|
|
3
|
-
"version": "4.10.
|
|
3
|
+
"version": "4.10.4-canary.910.3aa3ecd.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": "3aa3ecd462b1426bcad980730d9cd6574aeaf296"
|
|
91
91
|
}
|
|
@@ -16,10 +16,7 @@ export function printGenerateSuccessMessage(answers: TemplateData) {
|
|
|
16
16
|
'- `mage -v build:linux` to build the plugin backend code. Rerun this command every time you edit your backend files.',
|
|
17
17
|
]
|
|
18
18
|
: []),
|
|
19
|
-
'- `docker-compose up` to start a grafana development server.
|
|
20
|
-
(answers.hasBackend
|
|
21
|
-
? 'The plugin backend will be reloaded on every code change and a debugger can be attached on port `2345`.'
|
|
22
|
-
: ''),
|
|
19
|
+
'- `docker-compose up` to start a grafana development server.',
|
|
23
20
|
'- Open http://localhost:3000 in your browser to create a dashboard to begin developing your plugin.',
|
|
24
21
|
];
|
|
25
22
|
|
|
@@ -11,6 +11,23 @@
|
|
|
11
11
|
"args": [
|
|
12
12
|
"-standalone"
|
|
13
13
|
]
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "Attach to plugin backend in docker",
|
|
17
|
+
"type": "go",
|
|
18
|
+
"request": "attach",
|
|
19
|
+
"mode": "remote",
|
|
20
|
+
"port": 2345,
|
|
21
|
+
"host": "127.0.0.1",
|
|
22
|
+
"showLog": true,
|
|
23
|
+
"trace": "log",
|
|
24
|
+
"logOutput": "rpc",
|
|
25
|
+
"substitutePath": [
|
|
26
|
+
{
|
|
27
|
+
"from": "${workspaceFolder}",
|
|
28
|
+
"to": "/root/{{ pluginId }}"
|
|
29
|
+
}
|
|
30
|
+
]
|
|
14
31
|
}
|
|
15
32
|
]
|
|
16
|
-
}
|
|
33
|
+
}
|
|
@@ -11,6 +11,23 @@
|
|
|
11
11
|
"args": [
|
|
12
12
|
"-standalone"
|
|
13
13
|
]
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"name": "Attach to plugin backend in docker",
|
|
17
|
+
"type": "go",
|
|
18
|
+
"request": "attach",
|
|
19
|
+
"mode": "remote",
|
|
20
|
+
"port": 2345,
|
|
21
|
+
"host": "127.0.0.1",
|
|
22
|
+
"showLog": true,
|
|
23
|
+
"trace": "log",
|
|
24
|
+
"logOutput": "rpc",
|
|
25
|
+
"substitutePath": [
|
|
26
|
+
{
|
|
27
|
+
"from": "${workspaceFolder}",
|
|
28
|
+
"to": "/root/{{ pluginId }}"
|
|
29
|
+
}
|
|
30
|
+
]
|
|
14
31
|
}
|
|
15
32
|
]
|
|
16
|
-
}
|
|
33
|
+
}
|