Skip to content

Commit

Permalink
build: Upgrade to Yarn 4. (#203)
Browse files Browse the repository at this point in the history
* Update yarn.

* Add to toolchain.

* Ignore yarn.
  • Loading branch information
milesj authored Feb 12, 2024
1 parent 8fd0f41 commit 2fd6078
Show file tree
Hide file tree
Showing 8 changed files with 7,127 additions and 7,186 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
env:
MOONBASE_SECRET_KEY: ${{ secrets.MOONBASE_SECRET_KEY }}
MOON_NODE_VERSION: ${{ matrix.node-version }}
YARN_IGNORE_NODE: 1
pack:
name: Pack
runs-on: ubuntu-latest
Expand All @@ -37,3 +38,4 @@ jobs:
- run: moon run :pack --color
env:
MOONBASE_SECRET_KEY: ${{ secrets.MOONBASE_SECRET_KEY }}
YARN_IGNORE_NODE: 1
2 changes: 1 addition & 1 deletion .moon/toolchain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ node:
version: '20.11.0'
packageManager: 'yarn'
yarn:
version: '3.7.0'
version: '4.1.0'
addEnginesConstraint: true
dedupeOnLockfileChange: true
syncProjectWorkspaceDependencies: false
77 changes: 0 additions & 77 deletions .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

This file was deleted.

875 changes: 0 additions & 875 deletions .yarn/releases/yarn-3.7.0.cjs

This file was deleted.

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

Large diffs are not rendered by default.

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

enableGlobalCache: true

enableTelemetry: false

nodeLinker: node-modules

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"

yarnPath: .yarn/releases/yarn-3.7.0.cjs
yarnPath: .yarn/releases/yarn-4.1.0.cjs
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"themes/*",
"website"
],
"packageManager": "yarn@3.7.0",
"packageManager": "yarn@4.1.0",
"resolutions": {
"ink-testing-library@^3.0.0": "patch:ink-testing-library@npm%3A3.0.0#./.yarn/patches/ink-testing-library-npm-3.0.0-c20aad0bd9.patch"
}
Expand Down
12,454 changes: 6,227 additions & 6,227 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 2fd6078

Please sign in to comment.