Skip to content

Commit

Permalink
chore: migrate to Yarn 2 (#2504)
Browse files Browse the repository at this point in the history
* chore: migrate to Yarn 2

* invoke yarn 2 from yarn 1
  • Loading branch information
JLHwung authored Apr 21, 2021
1 parent c41d5fb commit 1e2d775
Show file tree
Hide file tree
Showing 7 changed files with 16,150 additions and 15,376 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,6 @@ website/translated_docs

package-lock.json
/.idea
/.yarn/install-state.gz
/.yarn/cache
/.yarn/build-state.yml
55 changes: 55 additions & 0 deletions .yarn/releases/yarn-2.4.1.cjs

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions .yarnrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Use Yarn 2
# This path should always match the one in .yarnrc.yml
yarn-path ".yarn/releases/yarn-2.4.1.cjs"
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-2.4.1.cjs
nodeLinker: node-modules
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@
"semver": "^5.4.1",
"unfetch": "^4.2.0"
},
"workspaces": [
"./website"
],
"lint-staged": {
"js/**/*.js": [
"eslint --format=codeframe --fix",
Expand Down
6,975 changes: 0 additions & 6,975 deletions website/yarn.lock

This file was deleted.

24,485 changes: 16,084 additions & 8,401 deletions yarn.lock

Large diffs are not rendered by default.

0 comments on commit 1e2d775

Please sign in to comment.