Skip to content

Commit

Permalink
feat(deps): bump node to v18 and bump dependencies as well
Browse files Browse the repository at this point in the history
  • Loading branch information
amille44420 committed May 18, 2022
1 parent ebc4fd4 commit 2001ab0
Show file tree
Hide file tree
Showing 4 changed files with 862 additions and 814 deletions.
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2.1
executors:
node-standalone:
docker:
- image: cimg/node:16.14.2
- image: cimg/node:18.1.0

jobs:
deps-install:
Expand All @@ -12,14 +12,14 @@ jobs:
- checkout
- restore_cache:
keys:
- yarn-cache-node16-{{ checksum "package.json" }}-{{ checksum "yarn.lock" }}
- yarn-cache-node16-{{ checksum "package.json" }}
- yarn-cache-node16
- yarn-cache-node18-{{ checksum "package.json" }}-{{ checksum "yarn.lock" }}
- yarn-cache-node18-{{ checksum "package.json" }}
- yarn-cache-node18
- run:
name: Install depdencies
command: yarn install --frozen-lockfile --cache-folder ~/.cache/yarn
- save_cache:
key: yarn-cache-node16-{{ checksum "package.json" }}-{{ checksum "yarn.lock" }}
key: yarn-cache-node18-{{ checksum "package.json" }}-{{ checksum "yarn.lock" }}
paths:
- ~/.cache/yarn
- persist_to_workspace:
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16.14.2-bullseye-slim as build
FROM node:18.1.0-bullseye-slim as build

RUN apt-get update \
&& apt-get install -y --no-install-recommends curl \
Expand Down Expand Up @@ -27,7 +27,7 @@ RUN yarn install --frozen-lockfile --production
# install node prune
RUN curl -sf https://gobinaries.com/tj/node-prune | sh

FROM node:16.14.2-bullseye-slim
FROM node:18.1.0-bullseye-slim

RUN apt-get update \
&& apt-get install -y wget gnupg ca-certificates procps libxss1 \
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "html2pdf-service",
"version": "0.0.0-development",
"engines": {
"node": ">=16.2"
"node": ">=18.1"
},
"license": "MIT",
"scripts": {
Expand All @@ -12,13 +12,13 @@
"prepare": "husky install"
},
"devDependencies": {
"@commitlint/cli": "^16.2.3",
"@commitlint/config-conventional": "^16.2.1",
"@commitlint/cli": "^17.0.0",
"@commitlint/config-conventional": "^17.0.0",
"@octokit/rest": "^18.5.6",
"@types/express": "^4.17.12",
"@types/k6": "^0.34.1",
"@types/k6": "^0.37.0",
"@types/lodash": "^4.14.170",
"@types/node": "^16.0.1",
"@types/node": "^17.0.34",
"@types/puppeteer": "^5.4.3",
"@typescript-eslint/eslint-plugin": "^5.1.0",
"@typescript-eslint/parser": "^5.1.0",
Expand All @@ -35,9 +35,9 @@
"dependencies": {
"compression": "^1.7.4",
"express": "^4.17.1",
"husky": "^7.0.1",
"husky": "^8.0.1",
"lodash": "^4.17.21",
"morgan": "^1.10.0",
"puppeteer": "^13.5.1"
"puppeteer": "^14.1.0"
}
}
Loading

0 comments on commit 2001ab0

Please sign in to comment.