-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update v7 branch to use Yarn v2 and improve CI process (#1810)
- Loading branch information
1 parent
099e104
commit c16d3c1
Showing
15 changed files
with
17,752 additions
and
64,025 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"sandboxes": ["vanilla", "vanilla-ts"], | ||
"node": "14", | ||
"buildCommand": "build", | ||
"packages": ["."] | ||
} |
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.