grafana-image-renderer: 3.3.0 -> 3.4.0

ChangeLog: https://github.com/grafana/grafana-image-renderer/releases/tag/v3.4.0
This commit is contained in:
Maximilian Bosch 2022-02-18 17:41:59 +01:00
parent d6052a6898
commit 99a0019000
No known key found for this signature in database
GPG key ID: 091DBF4D1FC46B8E
4 changed files with 4857 additions and 4805 deletions

View file

@ -1,4 +1,6 @@
{ lib, mkYarnPackage, fetchFromGitHub, nodejs, runtimeShell }:
{ lib, mkYarnPackage, fetchFromGitHub, nodejs, runtimeShell
, nodePackages, python3, vips, glib, pkg-config
}:
# Notes for the upgrade:
# * Download the tarball of the new version to use.
@ -10,13 +12,13 @@
mkYarnPackage rec {
pname = "grafana-image-renderer";
version = "3.3.0";
version = "3.4.0";
src = fetchFromGitHub {
owner = "grafana";
repo = "grafana-image-renderer";
rev = "v${version}";
sha256 = "sha256-q4w40Do3e4vMluwAb1YwSGMVHO6QRZr8Fa5I+05uzLI=";
sha256 = "sha256-6yw+zp83T6VVa4A9KYX6rzMKG5GoyJ7M8Z+cEHE4uts=";
};
buildPhase = ''
@ -35,6 +37,14 @@ mkYarnPackage rec {
yarnNix = ./yarn.nix;
yarnLock = ./yarn.lock;
pkgConfig.sharp = {
nativeBuildInputs = [ nodePackages.node-gyp python3 pkg-config ];
buildInputs = [ glib vips ];
postInstall = ''
node-gyp rebuild
'';
};
distPhase = ''
runHook preDist

View file

@ -5,7 +5,7 @@
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/grafana/grafana-image-renderer.git"
"url": "http://github.com/grafana/grafana-image-renderer.git"
},
"scripts": {
"eslint": "eslint . --ext .ts",
@ -14,6 +14,7 @@
"prettier:write": "prettier --list-different \"**/*.ts\" --write",
"precommit": "npm run eslint & npm run typecheck",
"watch": "tsc-watch --onSuccess \"node build/app.js server --config=dev.json\"",
"watch:debug": "tsc-watch --onSuccess \"cross-env DEBUG=puppeteer-cluster:* node build/app.js server --config=dev.json\"",
"build": "tsc",
"start": "node build/app.js --config=dev.json"
},
@ -30,8 +31,10 @@
"morgan": "^1.9.0",
"on-finished": "^2.3.0",
"prom-client": "^11.5.3",
"puppeteer": "^10.0.0",
"puppeteer": "^13.1.3",
"puppeteer-cluster": "^0.22.0",
"poolpeteer": "^0.22.0",
"sharp": "0.29.3",
"unique-filename": "^1.1.0",
"winston": "^3.2.1"
},
@ -39,6 +42,7 @@
"@grafana/eslint-config": "^2.5.0",
"@types/express": "^4.11.1",
"@types/node": "^14.14.41",
"cross-env": "7.0.3",
"@typescript-eslint/eslint-plugin": "^4.32.0",
"@typescript-eslint/parser": "^4.32.0",
"eslint": "^7.32.0",
@ -49,7 +53,7 @@
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^4.3.8",
"lint-staged": "^11.2.0",
"pkg": "^5.4.1",
"pkg": "5.5.2",
"prettier": "2.2.1",
"tsc-watch": "^4.2.3",
"typescript": "^4.3.2"
@ -69,7 +73,7 @@
},
"bin": "build/app.js",
"engines": {
"node": ">=14 <15"
"node": ">=14 <=16"
},
"volta": {
"node": "14.16.1"

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff