Skip to content

Commit

Permalink
[repo] Migrate Yarn to Yarn2
Browse files Browse the repository at this point in the history
Following https://yarnpkg.com/getting-started/migration and not using
zero-installs.
  • Loading branch information
andrewnicols committed Dec 2, 2022
1 parent a0791da commit e18d8bd
Show file tree
Hide file tree
Showing 7 changed files with 20,747 additions and 14,450 deletions.
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,12 @@ yarn-error.log*
.github/styles/write-good
.eslintcache
/.idea/

# https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.14.0
18
801 changes: 801 additions & 0 deletions .yarn/releases/yarn-3.2.4.cjs

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
yarnPath: .yarn/releases/yarn-3.2.4.cjs
nodeLinker: node-modules
4 changes: 2 additions & 2 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[build.environment]
NETLIFY_USE_YARN = "true"
YARN_VERSION = "1.22.5"
NODE_VERSION = "16"
YARN_VERSION = "3.2.4"
NODE_VERSION = "18"

[[plugins]]
package = "netlify-plugin-cache"
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,5 +102,6 @@
"typescript": "^4.6.3",
"unist-util-inspect": "6.0.0",
"winston": "^3.7.2"
}
},
"packageManager": "[email protected]"
}
34,376 changes: 19,930 additions & 14,446 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit e18d8bd

Please sign in to comment.