Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Docusaurus v2.4.1 #3778

Merged
merged 1 commit into from
Jul 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@
],
"scripts": {
"postinstall": "yarn update-lock",
"update-lock": "yarn-deduplicate"
"update-lock": "yarn-deduplicate",
"docusaurus": "yarn workspace react-native-website docusaurus",
"website:start": "yarn workspace react-native-website start",
"website:build": "yarn workspace react-native-website build",
"website:build:fast": "yarn workspace react-native-website build:fast",
"website:serve": "yarn workspace react-native-website serve"
},
"husky": {
"hooks": {
Expand Down
10 changes: 6 additions & 4 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@
"url": "https://github.com/facebook/react-native-website/issues"
},
"scripts": {
"docusaurus": "docusaurus",
"start": "docusaurus start",
"build": "docusaurus build && yarn run update-redirect ./build/_redirects ./versions.json",
"build:fast": "PREVIEW_DEPLOY=true yarn run build",
"swizzle": "docusaurus swizzle",
"deploy": "docusaurus deploy",
"serve": "docusaurus serve",
Expand Down Expand Up @@ -45,10 +47,10 @@
]
},
"dependencies": {
"@docusaurus/core": "^2.3.1",
"@docusaurus/core": "^2.4.1",
"@docusaurus/plugin-google-gtag": "^2.4.1",
"@docusaurus/plugin-pwa": "^2.3.1",
"@docusaurus/preset-classic": "^2.3.1",
"@docusaurus/plugin-pwa": "^2.4.1",
"@docusaurus/preset-classic": "^2.4.1",
"docusaurus-plugin-sass": "^0.2.2",
"esbuild-loader": "^2.19.0",
"react": "^18.2.0",
Expand All @@ -57,7 +59,7 @@
"sass": "^1.53.0"
},
"devDependencies": {
"@docusaurus/types": "^2.3.1",
"@docusaurus/types": "^2.4.1",
"@react-native-website/lint-examples": "0.0.0",
"@react-native-website/update-redirects": "0.0.0",
"alex": "^10.0.0",
Expand Down
Loading