@grafana/create-plugin 4.14.0 → 4.14.1-canary.990.ef60ecd.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.ef60ecd.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": "ef60ecd978d451f49cf5cb06a4ea18901931b7f6"
|
|
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.',
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
ARG TARGETARCH
|
|
1
2
|
ARG grafana_version=latest
|
|
2
3
|
ARG grafana_image=grafana-enterprise
|
|
3
4
|
|
|
@@ -7,7 +8,6 @@ ARG development=false
|
|
|
7
8
|
|
|
8
9
|
{{#if hasBackend}}
|
|
9
10
|
ARG GO_VERSION=1.21.6
|
|
10
|
-
ARG GO_ARCH=amd64
|
|
11
11
|
{{/if}}
|
|
12
12
|
|
|
13
13
|
ENV DEV "${development}"
|
|
@@ -49,11 +49,11 @@ COPY supervisord/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
|
|
|
49
49
|
{{#if hasBackend}}
|
|
50
50
|
# Installing Go
|
|
51
51
|
RUN if [ "${development}" = "true" ]; then \
|
|
52
|
-
curl -O -L https://golang.org/dl/go${GO_VERSION}.linux-${
|
|
52
|
+
curl -O -L https://golang.org/dl/go${GO_VERSION}.linux-${TARGETARCH}.tar.gz && \
|
|
53
53
|
rm -rf /usr/local/go && \
|
|
54
|
-
tar -C /usr/local -xzf go${GO_VERSION}.linux-${
|
|
54
|
+
tar -C /usr/local -xzf go${GO_VERSION}.linux-${TARGETARCH}.tar.gz && \
|
|
55
55
|
echo "export PATH=$PATH:/usr/local/go/bin:~/go/bin" >> ~/.bashrc && \
|
|
56
|
-
rm -f go${GO_VERSION}.linux-${
|
|
56
|
+
rm -f go${GO_VERSION}.linux-${TARGETARCH}.tar.gz; \
|
|
57
57
|
fi
|
|
58
58
|
|
|
59
59
|
# Installing delve for debugging
|