diff --git a/.node-version b/.node-version index 07c142f..cb406c6 100644 --- a/.node-version +++ b/.node-version @@ -1 +1 @@ -16.13.1 +16.20.2 diff --git a/Dockerfile b/Dockerfile index e8627be..1744e04 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Install dependencies only when needed -FROM node:16.13.1-alpine AS deps +FROM node:16.20.2-alpine AS deps WORKDIR /app RUN apk add --no-cache libc6-compat COPY package.json yarn.lock .yarnrc.yml . @@ -11,14 +11,14 @@ COPY packages/web/package.json ./packages/web/package.json RUN yarn --immutable # Rebuild the source code only when needed -FROM node:16.13.1-alpine AS builder +FROM node:16.20.2-alpine AS builder WORKDIR /app COPY . . COPY --from=deps /app/node_modules ./node_modules RUN yarn build && yarn workspaces focus --all --production # Production image -FROM node:16.13.1-alpine AS runner +FROM node:16.20.2-alpine AS runner WORKDIR /app ENV NODE_ENV production diff --git a/packages/api/package.json b/packages/api/package.json index 92515cf..9ea8095 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -49,7 +49,7 @@ "@types/bunyan-format": "0.2.4", "@types/jest": "27.4.0", "@types/jsonwebtoken": "8.5.8", - "@types/node": "16.11.17", + "@types/node": "16.18.54", "jest": "27.4.5", "nock": "13.2.4", "ts-jest": "27.1.4", diff --git a/packages/shared/package.json b/packages/shared/package.json index 3e64744..197643a 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -11,7 +11,7 @@ }, "devDependencies": { "@acot/tsconfig": "0.1.0", - "@types/node": "16.11.17", + "@types/node": "16.18.54", "npm-run-all": "4.1.5", "ts-node": "10.4.0", "typescript": "4.5.4", diff --git a/packages/types/package.json b/packages/types/package.json index dbd68b6..0ef4cf6 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -32,7 +32,7 @@ "devDependencies": { "@acot/tsconfig": "0.1.0", "@acot/types": "0.0.16", - "@types/node": "16.11.17", + "@types/node": "16.18.54", "npm-run-all": "4.1.5", "ts-node": "10.4.0", "typescript": "4.5.4", diff --git a/packages/web/package.json b/packages/web/package.json index 32646d0..fb5c848 100644 --- a/packages/web/package.json +++ b/packages/web/package.json @@ -35,7 +35,7 @@ "@storybook/addon-essentials": "6.4.22", "@storybook/addon-links": "6.4.22", "@storybook/react": "6.4.22", - "@types/node": "16.11.17", + "@types/node": "16.18.54", "@types/react": "17.0.38", "@types/react-dom": "17.0.11", "@vitejs/plugin-react": "1.3.2", diff --git a/yarn.lock b/yarn.lock index f1abe70..d27f472 100644 --- a/yarn.lock +++ b/yarn.lock @@ -29,7 +29,7 @@ __metadata: resolution: "@acot/gh-app-shared@workspace:packages/shared" dependencies: "@acot/tsconfig": 0.1.0 - "@types/node": 16.11.17 + "@types/node": 16.18.54 npm-run-all: 4.1.5 ts-node: 10.4.0 typescript: 4.5.4 @@ -43,7 +43,7 @@ __metadata: dependencies: "@acot/tsconfig": 0.1.0 "@acot/types": 0.0.16 - "@types/node": 16.11.17 + "@types/node": 16.18.54 npm-run-all: 4.1.5 ts-node: 10.4.0 typescript: 4.5.4 @@ -6824,10 +6824,10 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:16.11.17, @types/node@npm:^16.9.2": - version: 16.11.17 - resolution: "@types/node@npm:16.11.17" - checksum: 86ed84f79450f6aba1a6ef09f8407c10076966c3cc7cc4eb3d35b8ae4f47817e525641396ef0a667fa0a88fcdf484f6182812c074601403083bdf3b5e1ac0313 +"@types/node@npm:16.18.54": + version: 16.18.54 + resolution: "@types/node@npm:16.18.54" + checksum: 208e8fc64f605e9cd55ab5e620a0fd019d8fe5629e3e3c5de869a149b731ab0fac5720c516dccc0ecc834ac27df754723dfe6554551663f016ba5096ea8851df languageName: node linkType: hard @@ -6838,6 +6838,13 @@ __metadata: languageName: node linkType: hard +"@types/node@npm:^16.9.2": + version: 16.11.17 + resolution: "@types/node@npm:16.11.17" + checksum: 86ed84f79450f6aba1a6ef09f8407c10076966c3cc7cc4eb3d35b8ae4f47817e525641396ef0a667fa0a88fcdf484f6182812c074601403083bdf3b5e1ac0313 + languageName: node + linkType: hard + "@types/normalize-package-data@npm:^2.4.0": version: 2.4.1 resolution: "@types/normalize-package-data@npm:2.4.1" @@ -7891,7 +7898,7 @@ __metadata: "@types/bunyan-format": 0.2.4 "@types/jest": 27.4.0 "@types/jsonwebtoken": 8.5.8 - "@types/node": 16.11.17 + "@types/node": 16.18.54 "@types/safe-json-stringify": 1.1.2 bunyan: 1.8.15 bunyan-format: 0.2.1 @@ -23965,7 +23972,7 @@ typescript@~4.4.4: "@testing-library/react": 12.1.5 "@testing-library/react-hooks": 7.0.2 "@testing-library/user-event": 13.5.0 - "@types/node": 16.11.17 + "@types/node": 16.18.54 "@types/react": 17.0.38 "@types/react-dom": 17.0.11 "@vitejs/plugin-react": 1.3.2