Merge pull request #228104 from r-ryantm/auto-update/grafana-image-renderer
grafana-image-renderer: 3.6.4 -> 3.7.0
This commit is contained in:
commit
f602fe8419
4 changed files with 1003 additions and 1640 deletions
|
@ -1,24 +1,19 @@
|
||||||
{ lib, mkYarnPackage, fetchFromGitHub, nodejs, runtimeShell
|
{ lib, mkYarnPackage, fetchFromGitHub, nodejs, runtimeShell }:
|
||||||
, nodePackages, python3, vips, glib, pkg-config
|
|
||||||
}:
|
|
||||||
|
|
||||||
# Notes for the upgrade:
|
# Notes for the upgrade:
|
||||||
# * Download the tarball of the new version to use.
|
# * Download the tarball of the new version to use.
|
||||||
# * Remove the `resolutions`-section from upstream `package.json`
|
|
||||||
# as this breaks with `yarn2nix`.
|
|
||||||
# * Regenerate `yarn.lock` and `yarn2nix --no-patch`.
|
|
||||||
# * Replace new `package.json`, `yarn.nix`, `yarn.lock` here.
|
# * Replace new `package.json`, `yarn.nix`, `yarn.lock` here.
|
||||||
# * Update `version`+`hash` and rebuild.
|
# * Update `version`+`hash` and rebuild.
|
||||||
|
|
||||||
mkYarnPackage rec {
|
mkYarnPackage rec {
|
||||||
pname = "grafana-image-renderer";
|
pname = "grafana-image-renderer";
|
||||||
version = "3.6.4";
|
version = "3.7.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "grafana";
|
owner = "grafana";
|
||||||
repo = "grafana-image-renderer";
|
repo = "grafana-image-renderer";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-CWA2xmVWvPeKCvssQAMHMYJ3CxJ7sIC7GX3qb3QFLuA=";
|
sha256 = "sha256-kbL6I2aFHyCmBiB1x02e3H7wIO4TE8ty6vHJEu/T8fI=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
|
@ -37,14 +32,6 @@ mkYarnPackage rec {
|
||||||
yarnNix = ./yarn.nix;
|
yarnNix = ./yarn.nix;
|
||||||
yarnLock = ./yarn.lock;
|
yarnLock = ./yarn.lock;
|
||||||
|
|
||||||
pkgConfig.sharp = {
|
|
||||||
nativeBuildInputs = [ nodePackages.node-gyp python3 pkg-config ];
|
|
||||||
buildInputs = [ glib vips ];
|
|
||||||
postInstall = ''
|
|
||||||
node-gyp rebuild
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
distPhase = ''
|
distPhase = ''
|
||||||
runHook preDist
|
runHook preDist
|
||||||
|
|
||||||
|
|
|
@ -20,52 +20,55 @@
|
||||||
"create-gcom-plugin-json": "ts-node scripts/createGcomPluginJson.ts ./scripts/tmp"
|
"create-gcom-plugin-json": "ts-node scripts/createGcomPluginJson.ts ./scripts/tmp"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@grpc/grpc-js": "^1.0",
|
"@grpc/grpc-js": "^1.7.0",
|
||||||
"@grpc/proto-loader": "^0.5.4",
|
"@grpc/proto-loader": "^0.7.2",
|
||||||
"@hapi/boom": "^9.1.0",
|
"@hapi/boom": "^10.0.0",
|
||||||
"chokidar": "^3.5.2",
|
"chokidar": "^3.5.2",
|
||||||
|
"dompurify": "^2.4.0",
|
||||||
"express": "^4.16.3",
|
"express": "^4.16.3",
|
||||||
"express-prom-bundle": "^5.1.5",
|
"express-prom-bundle": "^6.5.0",
|
||||||
"google-protobuf": "3.5.0",
|
"google-protobuf": "3.21.0",
|
||||||
"jimp": "0.16.1",
|
"jimp": "^0.16.13",
|
||||||
|
"jsdom": "20.0.0",
|
||||||
"lodash": "^4.17.21",
|
"lodash": "^4.17.21",
|
||||||
"minimist": "^1.2.6",
|
"minimist": "^1.2.6",
|
||||||
"morgan": "^1.9.0",
|
"morgan": "^1.9.0",
|
||||||
|
"multer": "^1.4.5-lts.1",
|
||||||
"on-finished": "^2.3.0",
|
"on-finished": "^2.3.0",
|
||||||
"poolpeteer": "^0.23.0",
|
"poolpeteer": "^0.23.0",
|
||||||
"prom-client": "^11.5.3",
|
"prom-client": "^14.1.0",
|
||||||
"puppeteer": "^13.1.3",
|
"puppeteer": "^17.1.3",
|
||||||
"puppeteer-cluster": "^0.23.0",
|
"puppeteer-cluster": "^0.23.0",
|
||||||
"unique-filename": "^1.1.0",
|
"unique-filename": "^2.0.1",
|
||||||
"winston": "^3.2.1",
|
"winston": "^3.8.2"
|
||||||
"jsdom": "19.0.0",
|
|
||||||
"dompurify": "^2.3.8",
|
|
||||||
"multer": "^1.4.5-lts.1"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@grafana/eslint-config": "5.0.0",
|
"@grafana/eslint-config": "5.0.0",
|
||||||
"@types/multer": "1.4.7",
|
|
||||||
"@types/express": "^4.11.1",
|
|
||||||
"@types/node": "^14.14.41",
|
|
||||||
"@types/dompurify": "2.3.4",
|
"@types/dompurify": "2.3.4",
|
||||||
|
"@types/express": "^4.17.14",
|
||||||
"@types/jsdom": "20.0.0",
|
"@types/jsdom": "20.0.0",
|
||||||
"@typescript-eslint/eslint-plugin": "5.16.0",
|
"@types/multer": "1.4.7",
|
||||||
"@typescript-eslint/parser": "5.31.0",
|
"@types/node": "^18.7.18",
|
||||||
"axios": "0.26.0",
|
"@typescript-eslint/eslint-plugin": "5.37.0",
|
||||||
|
"@typescript-eslint/parser": "5.37.0",
|
||||||
|
"axios": "0.27.2",
|
||||||
"cross-env": "7.0.3",
|
"cross-env": "7.0.3",
|
||||||
"eslint": "8.22.0",
|
"eslint": "8.23.1",
|
||||||
"eslint-config-prettier": "8.5.0",
|
"eslint-config-prettier": "8.5.0",
|
||||||
"eslint-plugin-jsdoc": "39.3.3",
|
"eslint-plugin-jsdoc": "39.3.6",
|
||||||
"eslint-plugin-prettier": "4.2.1",
|
"eslint-plugin-prettier": "4.2.1",
|
||||||
"eslint-plugin-react": "7.31.0",
|
"eslint-plugin-react": "7.31.8",
|
||||||
"eslint-plugin-react-hooks": "4.6.0",
|
"eslint-plugin-react-hooks": "4.6.0",
|
||||||
"husky": "4.3.8",
|
"husky": "8.0.1",
|
||||||
"lint-staged": "13.0.3",
|
"lint-staged": "13.0.3",
|
||||||
"pkg": "5.8.0",
|
"pkg": "5.8.1",
|
||||||
"prettier": "2.2.1",
|
"prettier": "2.7.1",
|
||||||
"ts-node": "10.5.0",
|
"ts-node": "10.9.1",
|
||||||
"tsc-watch": "5.0.3",
|
"tsc-watch": "5.0.3",
|
||||||
"typescript": "4.7.4"
|
"typescript": "4.8.3"
|
||||||
|
},
|
||||||
|
"resolutions": {
|
||||||
|
"jpeg-js": "^0.4.4"
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"*.ts": [
|
"*.ts": [
|
||||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue