forked from reduxjs/react-redux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert package management to Yarn v2 (reduxjs#1751)
- Loading branch information
1 parent
c8ee01e
commit 5a11915
Showing
13 changed files
with
18,311 additions
and
71,590 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
module.exports = { | ||
name: `@yarnpkg/plugin-compat`, | ||
factory: (require) => { | ||
// we are not using PNP and want to use `typescript@next` in CI without hassle | ||
// dummy implementation to override the built-in version of this plugin | ||
// can be dropped once we switch to yarn 3 | ||
return {} | ||
}, | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
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,9 @@ | ||
nodeLinker: node-modules | ||
|
||
plugins: | ||
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs | ||
spec: '@yarnpkg/plugin-workspace-tools' | ||
- path: .yarn/plugins/@yarnpkg/plugin-compat.cjs | ||
spec: '@yarnpkg/plugin-compat' | ||
|
||
yarnPath: .yarn/releases/yarn-berry.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 |
---|---|---|
@@ -1,15 +1,22 @@ | ||
[build] | ||
base = "website" | ||
publish = "website/build" | ||
command = "npm run build && cp _redirects ./build" | ||
command = "yarn build && cp _redirects ./build" | ||
ignore = "git diff --quiet HEAD^ HEAD -- ../docs/ ." | ||
|
||
[build.environment] | ||
NODE_VERSION = "14" | ||
NODE_OPTIONS = "--max_old_space_size=4096" | ||
NETLIFY_USE_YARN = "true" | ||
YARN_VERSION = "1.22.10" | ||
|
||
|
||
[[plugins]] | ||
package = "netlify-plugin-cache" | ||
[plugins.inputs] | ||
paths = [ | ||
"node_modules/.cache", | ||
"website/node_modules/.cache" | ||
"website/node_modules/.cache", | ||
".yarn/.cache" | ||
] | ||
|
Oops, something went wrong.