Skip to content

Commit 297d6a2

Browse files
committed
Release v2.0.0
1 parent d90118d commit 297d6a2

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

Makefile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,25 @@ DOCKER=docker run \
77
-w "/src" \
88
-u $(shell id -u) \
99
-e "GRAFANA_API_KEY=$(GRAFANA_API_KEY)"
10+
NODEVERSION=16
1011

1112
build:
12-
$(DOCKER) --name $(PLUGINNAME)-build node:latest bash -c "yarn install && yarn run build"
13+
$(DOCKER) --name $(PLUGINNAME)-build node:$(NODEVERSION) bash -c "yarn install && yarn run build"
1314

1415
buildwatch:
15-
$(DOCKER) -i --name $(PLUGINNAME)-buildwatch node:16 bash -c "yarn install && yarn run watch"
16+
$(DOCKER) -i --name $(PLUGINNAME)-buildwatch node:$(NODEVERSION) bash -c "yarn install && yarn run watch"
1617

1718
buildupgrade:
18-
$(DOCKER) --name $(PLUGINNAME)-buildupgrade node:latest bash -c "yarn install && yarn upgrade"
19+
$(DOCKER) --name $(PLUGINNAME)-buildupgrade node:$(NODEVERSION) bash -c "yarn install && yarn upgrade"
1920

2021
buildsign:
21-
$(DOCKER) --name $(PLUGINNAME)-buildsign node:latest npx --legacy-peer-deps @grafana/toolkit plugin:sign
22+
$(DOCKER) --name $(PLUGINNAME)-buildsign node:$(NODEVERSION) npx --legacy-peer-deps @grafana/toolkit plugin:sign
2223

2324
prettier:
2425
$(DOCKER) --name $(PLUGINNAME)-buildsign node:$(NODEVERSION) npx prettier --write --ignore-unknown src/
2526

2627
buildshell:
27-
$(DOCKER) -i --name $(PLUGINNAME)-buildshell node:latest bash
28+
$(DOCKER) -i --name $(PLUGINNAME)-buildshell node:$(NODEVERSION) bash
2829

2930
grafanadev:
3031
docker run --rm -it -v $(shell pwd)/dist:/var/lib/grafana/plugins/$(PLUGINNAME) \

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "grafana-pnp-datasource",
3-
"version": "1.1.0",
3+
"version": "2.0.0",
44
"description": "grafana datasource for pnp4nagios",
55
"author": "Sven Nierlein",
66
"license": "MIT",

0 commit comments

Comments
 (0)