-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrades from yarn 1.x to yarn berry (4.x) (#147)
* chore(yarn): deletes reference to `packages/*` directory This directory does not exist. * chore(yarn): completes migration steps Ref: https://yarnpkg.com/migration/guide * chore(web): replaces `setup` script with README instructions [`yarn global` is deprecated in Yarn 2.x](https://yarnpkg.com/migration/guide#use-yarn-dlx-instead-of-yarn-global), instead `yarn dlx` is recommended for temporary installs. * docs(firebase): adds setup instructions in README * chore(yarn): updates `.yarn` files * chore(web): fixes build error, originating in `@types/react` version mismatch The version was downgraded in a previous commit on master. * chore(husky): replaces `prepare` with `postinstall` script That's how `husky` is installed with yarn 2. Ref: https://typicode.github.io/husky/getting-started.html#automatic-recommended * chore(firebase): removes unused `husky` dependency `husky` is already a dependency at the top-level.
- Loading branch information
1 parent
57cb29e
commit fe2797d
Showing
8 changed files
with
13,819 additions
and
10,082 deletions.
There are no files selected for viewing
Binary file not shown.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
nodeLinker: node-modules | ||
|
||
yarnPath: .yarn/releases/yarn-4.0.2.cjs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,14 +8,12 @@ | |
"license": "Apache-2.0", | ||
"private": true, | ||
"workspaces": [ | ||
"apps/*", | ||
"packages/*" | ||
"apps/*" | ||
], | ||
"scripts": { | ||
"dev": "yarn --cwd apps/web dev", | ||
"lint": "yarn --cwd apps/web lint --fix && yarn --cwd apps/firebase lint --fix", | ||
"setup": "yarn global add vercel@latest", | ||
"prepare": "husky install", | ||
"postinstall": "husky install", | ||
"prettify": "yarn prettier --write \"apps/**/*.{ts,tsx}\" --ignore-path=./.gitignore" | ||
}, | ||
"devDependencies": { | ||
|
@@ -28,5 +26,6 @@ | |
}, | ||
"engines": { | ||
"node": "20" | ||
} | ||
}, | ||
"packageManager": "[email protected]" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
fe2797d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
faucet – ./
faucet-git-master-c-labs.vercel.app
faucet-c-labs.vercel.app
faucet-clabs.vercel.app
faucet.celo.org