Skip to content

Commit

Permalink
Upgrade website to Docusaurus using webpack 5 (#11266)
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed May 1, 2021
1 parent 26cb29a commit 7ad8d06
Show file tree
Hide file tree
Showing 4 changed files with 1,133 additions and 2,379 deletions.
8 changes: 8 additions & 0 deletions netlify.toml
Expand Up @@ -16,3 +16,11 @@
[context.deploy-preview]
command = "yarn workspace jest-website netlify:ci:deployPreview"


[[plugins]]
package = "netlify-plugin-cache"
[plugins.inputs]
paths = [
"website/node_modules/.cache",
]

1 change: 1 addition & 0 deletions package.json
Expand Up @@ -63,6 +63,7 @@
"micromatch": "^4.0.4",
"mlh-tsd": "^0.14.1",
"mock-fs": "^4.4.1",
"netlify-plugin-cache": "^1.0.3",
"node-notifier": "^9.0.0",
"prettier": "^2.1.1",
"progress": "^2.0.0",
Expand Down
20 changes: 16 additions & 4 deletions website/package.json
Expand Up @@ -16,11 +16,23 @@
"netlify:prepare": "yarn fetchSupporters && yarn build:js",
"netlify:crowdin": "yarn write-translations && yarn crowdin:upload && yarn crowdin:download"
},
"browserslist": {
"production": [
">0.5%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"dependencies": {
"@docusaurus/core": "2.0.0-alpha.c32d8bd11",
"@docusaurus/plugin-client-redirects": "2.0.0-alpha.c32d8bd11",
"@docusaurus/plugin-pwa": "2.0.0-alpha.c32d8bd11",
"@docusaurus/preset-classic": "2.0.0-alpha.c32d8bd11",
"@docusaurus/core": "2.0.0-alpha.75",
"@docusaurus/plugin-client-redirects": "2.0.0-alpha.75",
"@docusaurus/plugin-pwa": "2.0.0-alpha.75",
"@docusaurus/preset-classic": "2.0.0-alpha.75",
"clsx": "^1.1.1",
"fs-extra": "^9.0.1",
"globby": "^11.0.1",
Expand Down

0 comments on commit 7ad8d06

Please sign in to comment.