Skip to content

Commit

Permalink
Chore: Update to Node 16 (#365)
Browse files Browse the repository at this point in the history
* Chore: Update dependencies

* Update lint-staged step

* Update to Node 16

* Update Node in CI config
  • Loading branch information
Clarity-89 authored Aug 30, 2022
1 parent 276d9dd commit b079d7b
Show file tree
Hide file tree
Showing 5 changed files with 1,104 additions and 1,015 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ aliases:
defaults: &defaults
working_directory: ~/grafana-image-renderer
docker:
- image: cimg/node:14.18.3
- image: cimg/node:16.17.0

commands:
install-grabpl:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:14-alpine AS base
FROM node:16-alpine AS base

ENV CHROME_BIN="/usr/bin/chromium-browser"
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD="true"
Expand Down
2 changes: 1 addition & 1 deletion debian.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:14-slim AS base
FROM node:16-slim AS base

ENV CHROME_BIN="google-chrome-unstable"
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD="true"
Expand Down
44 changes: 18 additions & 26 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,38 +43,33 @@
"multer": "^1.4.5-lts.1"
},
"devDependencies": {
"@grafana/eslint-config": "^2.5.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.3",
"@types/jsdom": "16.2.14",
"@typescript-eslint/eslint-plugin": "^4.32.0",
"@typescript-eslint/parser": "^4.32.0",
"@types/dompurify": "2.3.4",
"@types/jsdom": "20.0.0",
"@typescript-eslint/eslint-plugin": "5.16.0",
"@typescript-eslint/parser": "5.31.0",
"axios": "0.26.0",
"cross-env": "7.0.3",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-jsdoc": "^36.1.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.26.1",
"eslint-plugin-react-hooks": "^4.2.0",
"husky": "^4.3.8",
"lint-staged": "^11.2.0",
"pkg": "5.5.2",
"eslint": "8.22.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-jsdoc": "39.3.3",
"eslint-plugin-prettier": "4.2.1",
"eslint-plugin-react": "7.31.0",
"eslint-plugin-react-hooks": "4.6.0",
"husky": "4.3.8",
"lint-staged": "13.0.3",
"pkg": "5.8.0",
"prettier": "2.2.1",
"ts-node": "10.5.0",
"tsc-watch": "^4.2.3",
"typescript": "^4.3.2"
"tsc-watch": "5.0.3",
"typescript": "4.7.4"
},
"resolutions": {
"jpeg-js": "^0.4.4"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm run precommit"
}
},
"lint-staged": {
"*.ts": [
"prettier --write"
Expand All @@ -85,9 +80,6 @@
},
"bin": "build/app.js",
"engines": {
"node": ">=14 <=16"
},
"volta": {
"node": "14.16.1"
"node": ">= 16"
}
}
}
Loading

0 comments on commit b079d7b

Please sign in to comment.