Skip to content

Commit

Permalink
Upgrade to Yarn 4 (#3)
Browse files Browse the repository at this point in the history
* Upgrade to Yarn 4

* Update scripts
  • Loading branch information
nwalters512 authored Jun 27, 2024
1 parent 953e36e commit 32306a7
Show file tree
Hide file tree
Showing 6 changed files with 6,524 additions and 3,687 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@ jobs:
# This invokes the `version` script in `package.json`, which will run
# `changeset version` and then `yarn`. We need to run `yarn` in order
# to update `yarn.lock`: https://github.com/changesets/action/issues/170
version: yarn version
version: yarn run version
# This invokes the `release` script in `package.json`, which will build
# the packages and then invoke `changeset publish`.
publish: yarn release
# the package and then invoke `changeset publish`.
publish: yarn run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# This token was generated by Nathan Walters on 2024-06-17.
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ dist
node_modules
*.tgz
.idea
.yarn/install-state.gz
894 changes: 894 additions & 0 deletions .yarn/releases/yarn-4.3.0.cjs

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.3.0.cjs
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@
"react": "18.3.1",
"react-dom": "18.3.1"
},
"packageManager": "yarn@1.22.21+sha1.1959a18351b811cdeedbd484a8f86c3cc3bbaf72"
"packageManager": "yarn@4.3.0"
}
Loading

0 comments on commit 32306a7

Please sign in to comment.