Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Yarn to v4 #2219

Merged
merged 3 commits into from
Oct 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node-version: [16.x, 18.x, 20.x]
node-version: [18.x, 18.x, 20.x]
include:
- os: macos-latest
node-version: 18.x
# TODO : add Windows build
#- os: windows-latest
# node-version: 16.x
# node-version: 18.x

runs-on: ${{ matrix.os }}

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

This file was deleted.

874 changes: 0 additions & 874 deletions .yarn/releases/yarn-3.6.4.cjs

This file was deleted.

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

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,5 @@ nodeLinker: node-modules
plugins:
- path: .yarn/plugins/@yarnpkg/plugin-outdated.cjs
spec: "https://github.com/mskelton/yarn-plugin-outdated/raw/v3.2.4/bundles/@yarnpkg/plugin-outdated.js"
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: "@yarnpkg/plugin-workspace-tools"

yarnPath: .yarn/releases/yarn-3.6.4.cjs
yarnPath: .yarn/releases/yarn-4.0.0.cjs
2 changes: 1 addition & 1 deletion package-forks/assets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"sinon": "16.1.3"
},
"engines": {
"node": ">=16"
"node": ">=18"
},
"private": true
}
2 changes: 1 addition & 1 deletion package-forks/color-fns/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@swissquote/color-fns",
"version": "1.23.0",
"engines": {
"node": ">=16"
"node": ">=18"
},
"scripts": {
"lint": "node ../../packages/crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node '*.js'"
Expand Down
2 changes: 1 addition & 1 deletion package-forks/gulp-newer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@
},
"private": true,
"engines": {
"node": ">=16"
"node": ">=18"
}
}
2 changes: 1 addition & 1 deletion package-forks/gulp-plumber/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"through": "2.3.8"
},
"engines": {
"node": ">=16"
"node": ">=18"
},
"license": "MIT",
"private": true
Expand Down
2 changes: 1 addition & 1 deletion package-forks/postcss-assets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"postcss": "^8.0.0"
},
"engines": {
"node": ">=16"
"node": ">=18"
},
"private": true
}
2 changes: 1 addition & 1 deletion package-forks/postcss-atroot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"author": "OEvgeny",
"license": "MIT",
"engines": {
"node": ">=16"
"node": ">=18"
},
"devDependencies": {
"ava": "5.3.1",
Expand Down
2 changes: 1 addition & 1 deletion package-forks/postcss-color-gray/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"test:ci": "c8 --clean --reporter=text --reporter=lcov --reporter=html --include=index.js ava"
},
"engines": {
"node": ">=16"
"node": ">=18"
},
"dependencies": {
"postcss-values-parser": "6.0.2"
Expand Down
2 changes: 1 addition & 1 deletion package-forks/postcss-color-hwb/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"postcss": "^8.0.0"
},
"engines": {
"node": ">=16"
"node": ">=18"
},
"scripts": {
"lint": "node ../../packages/crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node '*.js'",
Expand Down
2 changes: 1 addition & 1 deletion package-forks/postcss-color-mod-function/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"test:ci": "c8 --clean --reporter=text --reporter=lcov --reporter=html --include=src ava"
},
"engines": {
"node": ">=16"
"node": ">=18"
},
"dependencies": {
"@swissquote/color-fns": "1.23.0",
Expand Down
2 changes: 1 addition & 1 deletion package-forks/postcss-custom-properties/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"test:ci": "c8 --clean --reporter=text --reporter=lcov --reporter=html --include=src ava"
},
"engines": {
"node": ">=16"
"node": ">=18"
},
"dependencies": {
"postcss-values-parser": "6.0.2"
Expand Down
2 changes: 1 addition & 1 deletion package-forks/postcss-image-set-polyfill/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"author": "SuperOl3g <oleglykasov@gmail.com>",
"license": "MIT",
"engines": {
"node": ">=16"
"node": ">=18"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion package-forks/postcss-selector-matches/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"src"
],
"engines": {
"node": ">=16"
"node": ">=18"
},
"peerDependencies": {
"postcss": "^8.0.0"
Expand Down
2 changes: 1 addition & 1 deletion package-forks/undertaker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"repository": "gulpjs/undertaker",
"license": "MIT",
"engines": {
"node": ">=16"
"node": ">=18"
},
"main": "index.js",
"files": [
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"scripts": {
"lint:ci": "yarn lint:code:ci && yarn lint:docs",
"lint:code:ci": "yarn workspaces foreach -vp run lint",
"lint:code:ci": "yarn workspaces foreach --all -vp run lint",
"lint:code": "./run_all.sh lint --fix",
"lint:docs": "./lint_docs.sh",
"clean": "lerna clean --yes && rm -rf experiment/node_modules",
Expand All @@ -37,12 +37,12 @@
"write-good": "1.0.8"
},
"engines": {
"node": ">=16"
"node": ">=18"
},
"resolutions": {
"@types/eslint": "^8.0.0",
"postcss-loader@7.3.3": "patch:postcss-loader@npm%3A7.3.3#./.yarn/patches/postcss-loader-npm-7.3.3-df90db4d0c.patch",
"gulp-postcss@9.0.1": "patch:gulp-postcss@npm%3A9.0.1#./.yarn/patches/gulp-postcss-npm-9.0.1-bb3337d1e9.patch"
},
"packageManager": "yarn@3.6.4"
"packageManager": "yarn@4.0.0"
}
2 changes: 1 addition & 1 deletion packages/babel-preset-swissquote/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@
"babel-preset-jest": "29.6.3"
},
"engines": {
"node": ">=16"
"node": ">=18"
}
}
2 changes: 1 addition & 1 deletion packages/crafty-commons-gulp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
"plugin-error": "2.0.1"
},
"engines": {
"node": ">=16"
"node": ">=18"
}
}
2 changes: 1 addition & 1 deletion packages/crafty-commons-swc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
"swc-loader": "0.2.3"
},
"engines": {
"node": ">=16"
"node": ">=18"
}
}
2 changes: 1 addition & 1 deletion packages/crafty-commons-webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
"uri-js": "4.4.1"
},
"engines": {
"node": ">=16"
"node": ">=18"
}
}
2 changes: 1 addition & 1 deletion packages/crafty-commons/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
"tmp": "0.2.1"
},
"engines": {
"node": ">=16"
"node": ">=18"
}
}
2 changes: 1 addition & 1 deletion packages/crafty-preset-babel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@
"gulp-terser": "2.1.0"
},
"engines": {
"node": ">=16"
"node": ">=18"
}
}
2 changes: 1 addition & 1 deletion packages/crafty-preset-eslint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
"@swissquote/crafty-preset-eslint": "1.23.0"
},
"engines": {
"node": ">=16"
"node": ">=18"
}
}
2 changes: 1 addition & 1 deletion packages/crafty-preset-images-simple/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
"lint": "node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node '*.js'"
},
"engines": {
"node": ">=16"
"node": ">=18"
}
}
2 changes: 1 addition & 1 deletion packages/crafty-preset-images/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@
"gulp-svgmin": "4.1.0"
},
"engines": {
"node": ">=16"
"node": ">=18"
}
}
2 changes: 1 addition & 1 deletion packages/crafty-preset-jest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
"jest-environment-jsdom": "29.7.0"
},
"engines": {
"node": ">=16"
"node": ">=18"
}
}
2 changes: 1 addition & 1 deletion packages/crafty-preset-lightningcss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@
"style-loader": "3.3.3"
},
"engines": {
"node": ">=16"
"node": ">=18"
}
}
2 changes: 1 addition & 1 deletion packages/crafty-preset-maven/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"fast-xml-parser": "4.3.2"
},
"engines": {
"node": ">=16"
"node": ">=18"
}
}
2 changes: 1 addition & 1 deletion packages/crafty-preset-postcss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@
"style-loader": "3.3.3"
},
"engines": {
"node": ">=16"
"node": ">=18"
}
}
2 changes: 1 addition & 1 deletion packages/crafty-preset-prettier/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
"lint": "node ../crafty-preset-eslint/src/commands/jsLint.js --preset recommended --preset node src"
},
"engines": {
"node": ">=16"
"node": ">=18"
}
}
2 changes: 1 addition & 1 deletion packages/crafty-preset-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
"react-refresh": "0.14.0"
},
"engines": {
"node": ">=16"
"node": ">=18"
}
}
2 changes: 1 addition & 1 deletion packages/crafty-preset-stylelint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@
"stylelint": "15.10.0"
},
"engines": {
"node": ">=16"
"node": ">=18"
}
}
2 changes: 1 addition & 1 deletion packages/crafty-preset-swc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
"@swissquote/crafty-preset-terser": "1.23.0"
},
"engines": {
"node": ">=16"
"node": ">=18"
}
}
2 changes: 1 addition & 1 deletion packages/crafty-preset-terser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"terser": "5.22.0"
},
"engines": {
"node": ">=16"
"node": ">=18"
}
}
2 changes: 1 addition & 1 deletion packages/crafty-preset-typescript/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
"@swissquote/crafty-runner-webpack": "1.23.0"
},
"engines": {
"node": ">=16"
"node": ">=18"
}
}
2 changes: 1 addition & 1 deletion packages/crafty-runner-gulp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
"vinyl-fs": "4.0.0"
},
"engines": {
"node": ">=16"
"node": ">=18"
}
}
2 changes: 1 addition & 1 deletion packages/crafty-runner-webpack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@
"webpack-merge": "5.10.0"
},
"engines": {
"node": ">=16"
"node": ">=18"
}
}
2 changes: 1 addition & 1 deletion packages/crafty/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@
"yargs-parser": "21.1.1"
},
"engines": {
"node": ">=16"
"node": ">=18"
}
}
2 changes: 1 addition & 1 deletion packages/eslint-plugin-swissquote/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,6 @@
"prettier1": "npm:prettier@1.19.1"
},
"engines": {
"node": ">=16"
"node": ">=18"
}
}
2 changes: 1 addition & 1 deletion packages/integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
"node-fetch": "3.3.2"
},
"engines": {
"node": ">=16"
"node": ">=18"
}
}
2 changes: 1 addition & 1 deletion packages/postcss-swissquote-preset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@
"postcss-url": "10.1.3"
},
"engines": {
"node": ">=16"
"node": ">=18"
}
}
2 changes: 1 addition & 1 deletion packages/stylelint-config-swissquote/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@
"test:ci": "c8 --clean --reporter=text --reporter=lcov --reporter=html --include=src --include=packages --include='*.js' ava"
},
"engines": {
"node": ">=16"
"node": ">=18"
}
}
Loading