mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-05 04:12:53 +02:00
chore: update @svgr/webpack to version 6 (#5958)
* chore: update @svgr/webpack to version 6 * svgr changelog https://github.com/gregberge/svgr/releases * SVGO 2 changelog https://github.com/svg/svgo/releases/tag/v2.0.0 * depend on maintained svgo version * although svgr 6 is in alpha, it fixes a few issues with webpack 5 (1a8cc98
) and React (3700aba
) * see also https://github.com/facebook/docusaurus/pull/5703 * Fix config * fix e2e test * Fix again * Update to stable Co-authored-by: Josh-Cena <sidachen2003@gmail.com>
This commit is contained in:
parent
0e6ec24aa3
commit
5678911555
9 changed files with 154 additions and 203 deletions
|
@ -47,6 +47,10 @@ npx --no-install lerna publish --exact --yes --no-verify-access --no-git-reset -
|
|||
# Revert version changes
|
||||
git diff --name-only -- '*.json' | sed 's, ,\\&,g' | xargs git checkout --
|
||||
|
||||
|
||||
# The website is generated outside the repo to minimize chances of yarn resolving the wrong version
|
||||
cd ..
|
||||
|
||||
# Build skeleton website with new version
|
||||
npm_config_registry="$CUSTOM_REGISTRY_URL" npm init docusaurus@"$NEW_VERSION" test-website classic $EXTRA_OPTS
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue