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

build: upgrade yarn to 4.0.1 #642

Merged
merged 2 commits into from
Oct 30, 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
2 changes: 1 addition & 1 deletion .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ jobs:
strategy:
fail-fast: false
matrix:
node: ['18', '20']
java: ['11', '17']
node: ['16', '18']
runtime: ['springboot', 'quarkus']
browser: ['firefox'] # 'chrome' tests are unstable: https://github.com/hawtio/hawtio-next/issues/478
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ jobs:
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 16
- name: Enable Yarn v3
node-version: 18
- name: Enable Yarn v4
run: |
corepack enable
yarn -v
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ jobs:
strategy:
fail-fast: false
matrix:
node: ['16', '18']
node: ['18', '20']
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Enable yarn v3
- name: Enable yarn v4
run: |
corepack enable
yarn -v
Expand Down
28 changes: 0 additions & 28 deletions .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

This file was deleted.

873 changes: 0 additions & 873 deletions .yarn/releases/yarn-3.4.1.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.

10 changes: 5 additions & 5 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
nodeLinker: node-modules
compressionLevel: mixed

enableGlobalCache: false

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

yarnPath: .yarn/releases/yarn-3.4.1.cjs
yarnPath: .yarn/releases/yarn-4.0.1.cjs
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
"start": "concurrently -n hawtio,app \"yarn build:hawtio:watch\" \"yarn start:app\"",
"start:app": "yarn workspace app start",
"build": "yarn build:hawtio",
"build:all": "yarn workspaces foreach -v -i -pt --exclude @hawtio/next-root run build",
"build:all": "yarn workspaces foreach -v -Aipt --exclude @hawtio/next-root run build",
"build:app": "yarn workspace app build",
"build:hawtio": "yarn workspace @hawtio/react build",
"build:hawtio:watch": "yarn workspace @hawtio/react build:watch",
"test": "yarn test:hawtio",
"test:all": "yarn workspaces foreach -v -i -pt --exclude @hawtio/next-root run test",
"test:all": "yarn workspaces foreach -v -Aipt --exclude @hawtio/next-root run test",
"test:hawtio": "yarn workspace @hawtio/react test",
"test:hawtio:watch": "yarn workspace @hawtio/react test:watch",
"lint": "yarn eslint packages/hawtio/src/ packages/hawtio/scripts/ app/src/",
Expand All @@ -48,8 +48,8 @@
"path": "cz-conventional-changelog"
}
},
"packageManager": "yarn@3.4.1",
"packageManager": "yarn@4.0.1",
"engines": {
"yarn": ">=3.4.1"
"yarn": ">=4"
}
}
Loading
Loading