Skip to content

Commit

Permalink
Upgrade Node and Yarn requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
tassoevan committed Jan 4, 2024
1 parent f52f80b commit c1e1d88
Show file tree
Hide file tree
Showing 13 changed files with 16,191 additions and 16,515 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ jobs:
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup Node 14.21.3
- name: Setup Node 20.10.0
uses: actions/setup-node@v3
with:
node-version: '14.21.3'
node-version: '20.10.0'
- name: Setup node_modules cache
uses: actions/cache@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/validate-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
run: git config --global core.autocrlf false
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node 14.21.3
- name: Setup Node 20.10.0
uses: actions/setup-node@v3
with:
node-version: '14.21.3'
node-version: '20.10.0'
- name: Setup node_modules cache
uses: actions/cache@v3
with:
Expand Down
541 changes: 0 additions & 541 deletions .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

This file was deleted.

9 changes: 0 additions & 9 deletions .yarn/plugins/@yarnpkg/plugin-typescript.cjs

This file was deleted.

28 changes: 0 additions & 28 deletions .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

This file was deleted.

783 changes: 0 additions & 783 deletions .yarn/releases/yarn-3.2.2.cjs

This file was deleted.

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

Large diffs are not rendered by default.

16 changes: 6 additions & 10 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
defaultSemverRangePrefix: "~"
compressionLevel: mixed

nodeLinker: node-modules
defaultSemverRangePrefix: ~

enableGlobalCache: false

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: "@yarnpkg/plugin-workspace-tools"
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"
- path: .yarn/plugins/@yarnpkg/plugin-typescript.cjs
spec: "@yarnpkg/plugin-typescript"
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-3.2.2.cjs
yarnPath: .yarn/releases/yarn-4.0.2.cjs
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
".:lint:tsc": "tsc --noEmit",
"lint-fix": "run-s .:lint-fix:eslint .:lint:tsc",
".:lint-fix:eslint": "eslint --fix .",
"workspaces:build": "yarn workspaces foreach -t run build",
"workspaces:build": "yarn workspaces foreach -At run build",
"build-get-cloud-info": "ts-node -O \"{\\\"module\\\":\\\"commonjs\\\"}\" src/servers/supportedVersions/downloadFromCloud.ts"
},
"dependencies": {
Expand Down Expand Up @@ -144,19 +144,19 @@
"fsevents": "2.3.3"
},
"engines": {
"node": ">=12.8.x"
"node": ">=20.10.0"
},
"devEngines": {
"node": ">=12.8.x",
"yarn": ">=1.22.x"
"node": ">=20.10.0",
"yarn": ">=4.0.2"
},
"resolutions": {
"@fiahfy/icns-convert/sharp": "0.29.3",
"@fiahfy/ico-convert/sharp": "0.29.3"
},
"volta": {
"node": "14.21.3",
"yarn": "1.22.18"
"node": "20.10.0",
"yarn": "4.0.2"
},
"packageManager": "yarn@3.2.2"
"packageManager": "yarn@4.0.2"
}
20,784 changes: 10,474 additions & 10,310 deletions workspaces/desktop-release-action/dist/index.js

Large diffs are not rendered by default.

9 changes: 6 additions & 3 deletions workspaces/desktop-release-action/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@
"devDependencies": {
"@rocket.chat/eslint-config": "~0.6.0",
"@rocket.chat/prettier-config": "~0.31.25",
"@types/node": "12.20.55",
"@types/node": "~16.0.3",
"@typescript-eslint/eslint-plugin": "~5.60.1",
"@typescript-eslint/parser": "~5.60.1",
"@vercel/ncc": "^0.28.6",
"cross-env": "^7.0.3",
"@vercel/ncc": "~0.38.1",
"eslint": "~8.53.0",
"eslint-config-prettier": "~9.0.0",
"eslint-import-resolver-typescript": "~3.6.1",
Expand All @@ -32,5 +31,9 @@
"@octokit/webhooks-types": "^3.77.1",
"fast-glob": "^3.2.5",
"semver": "^7.3.5"
},
"volta": {
"node": "20.10.0",
"yarn": "4.0.2"
}
}
3 changes: 2 additions & 1 deletion workspaces/desktop-release-action/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"noUnusedParameters": true,
"esModuleInterop": true,
"resolveJsonModule": true,
"importsNotUsedAsValues": "error"
"importsNotUsedAsValues": "error",
"skipLibCheck": true
},
}
Loading

0 comments on commit c1e1d88

Please sign in to comment.