@grafana/create-plugin 4.14.0 → 4.14.1-canary.990.e4ea168.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.
|
@@ -11,7 +11,7 @@ export function printGenerateSuccessMessage(answers) {
|
|
|
11
11
|
`- \`${packageManagerName} run dev\` to build (and watch) the plugin frontend code.`,
|
|
12
12
|
...(answers.hasBackend
|
|
13
13
|
? [
|
|
14
|
-
'- `mage -v build:
|
|
14
|
+
'- `mage -v build:backend` to build the plugin backend code. Rerun this command every time you edit your backend files.',
|
|
15
15
|
]
|
|
16
16
|
: []),
|
|
17
17
|
'- `docker-compose up` to start a grafana development server.',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@grafana/create-plugin",
|
|
3
|
-
"version": "4.14.0",
|
|
3
|
+
"version": "4.14.1-canary.990.e4ea168.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": "e4ea168404dc3b13b656f280ed29b4bead3ed64b"
|
|
91
91
|
}
|
|
@@ -13,7 +13,7 @@ export function printGenerateSuccessMessage(answers: TemplateData) {
|
|
|
13
13
|
`- \`${packageManagerName} run dev\` to build (and watch) the plugin frontend code.`,
|
|
14
14
|
...(answers.hasBackend
|
|
15
15
|
? [
|
|
16
|
-
'- `mage -v build:
|
|
16
|
+
'- `mage -v build:backend` to build the plugin backend code. Rerun this command every time you edit your backend files.',
|
|
17
17
|
]
|
|
18
18
|
: []),
|
|
19
19
|
'- `docker-compose up` to start a grafana development server.',
|
|
@@ -4,10 +4,11 @@ ARG grafana_image=grafana-enterprise
|
|
|
4
4
|
FROM grafana/${grafana_image}:${grafana_version}
|
|
5
5
|
|
|
6
6
|
ARG development=false
|
|
7
|
+
ARG TARGETARCH
|
|
7
8
|
|
|
8
9
|
{{#if hasBackend}}
|
|
9
10
|
ARG GO_VERSION=1.21.6
|
|
10
|
-
ARG GO_ARCH
|
|
11
|
+
ARG GO_ARCH=${TARGETARCH:-amd64}
|
|
11
12
|
{{/if}}
|
|
12
13
|
|
|
13
14
|
ENV DEV "${development}"
|