-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace NPM commands and lockfiles with Yarn
- Loading branch information
1 parent
232b84a
commit e7635ee
Showing
10 changed files
with
21,158 additions
and
44,291 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
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,21 @@ | ||
[build] | ||
base = "website" | ||
publish = "website/build" | ||
command = "cd ../docs && npm i && cd ../website && npm run build && cp _redirects ./build" | ||
command = "cd ../docs && yarn && cd ../website && yarn build && cp _redirects ./build" | ||
ignore = "git diff --quiet HEAD^ HEAD -- ../docs/ ." | ||
environment = { NODE_VERSION = "16.14.0" } | ||
|
||
[build.environment] | ||
NODE_VERSION = "16.14.0" | ||
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.