Skip to content

Commit

Permalink
chore: upgrade to Node 20 and Yarn 4
Browse files Browse the repository at this point in the history
  • Loading branch information
matmut7 committed Nov 8, 2023
1 parent a78fbc4 commit 18d83aa
Show file tree
Hide file tree
Showing 7 changed files with 3,804 additions and 3,778 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v16
v20
873 changes: 0 additions & 873 deletions .yarn/releases/yarn-3.5.0.cjs

This file was deleted.

893 changes: 893 additions & 0 deletions .yarn/releases/yarn-4.0.1.cjs

Large diffs are not rendered by default.

8 changes: 7 additions & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
compressionLevel: mixed

enableGlobalCache: false

nodeLinker: node-modules

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-fetch.cjs
spec: "https://raw.githubusercontent.com/devthejo/yarn-plugin-fetch/master/bundles/@yarnpkg/plugin-fetch.js"
yarnPath: .yarn/releases/yarn-3.5.0.cjs

yarnPath: .yarn/releases/yarn-4.0.1.cjs
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ ENV NEXT_TELEMETRY_DISABLED 1

# install deps
COPY yarn.lock .yarnrc.yml ./
COPY .yarn ./.yarn
RUN yarn fetch
COPY .yarn .yarn
RUN yarn fetch --immutable

# build
COPY . .
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "secretariat",
"version": "1.56.11",
"engines": {
"node": "16"
"node": "20"
},
"private": true,
"homepage": "https://github.com/SocialGouv/secretariat",
Expand Down Expand Up @@ -84,5 +84,5 @@
"typescript": "4.9.5",
"whatwg-fetch": "3.6.2"
},
"packageManager": "yarn@3.5.0"
"packageManager": "yarn@4.0.1"
}
Loading

0 comments on commit 18d83aa

Please sign in to comment.