Skip to content

Commit

Permalink
chore: update docusaurus to 2.0.0-rc.1
Browse files Browse the repository at this point in the history
  • Loading branch information
utybo committed Jul 18, 2022
1 parent d211845 commit 41a4e67
Show file tree
Hide file tree
Showing 5 changed files with 1,871 additions and 729 deletions.
20 changes: 10 additions & 10 deletions docusaurus-search-local/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@easyops-cn/docusaurus-search-local",
"version": "0.29.0",
"version": "0.30.0",
"description": "An offline/local search plugin for Docusaurus v2",
"repository": "https://github.com/easyops-cn/docusaurus-search-local",
"homepage": "https://github.com/easyops-cn/docusaurus-search-local",
Expand All @@ -23,11 +23,11 @@
},
"license": "MIT",
"dependencies": {
"@docusaurus/plugin-content-docs": "^2.0.0-beta.20",
"@docusaurus/theme-translations": "^2.0.0-beta.20",
"@docusaurus/utils": "^2.0.0-beta.20",
"@docusaurus/utils-common": "^2.0.0-beta.20",
"@docusaurus/utils-validation": "^2.0.0-beta.20",
"@docusaurus/plugin-content-docs": "^2.0.0-rc.1",
"@docusaurus/theme-translations": "^2.0.0-rc.1",
"@docusaurus/utils": "^2.0.0-rc.1",
"@docusaurus/utils-common": "^2.0.0-rc.1",
"@docusaurus/utils-validation": "^2.0.0-rc.1",
"@easyops-cn/autocomplete.js": "^0.38.1",
"@node-rs/jieba": "^1.6.0",
"cheerio": "^1.0.0-rc.3",
Expand All @@ -41,9 +41,9 @@
"tslib": "^2.4.0"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "^2.0.0-beta.20",
"@docusaurus/theme-common": "^2.0.0-beta.20",
"@docusaurus/types": "^2.0.0-beta.20",
"@docusaurus/module-type-aliases": "^2.0.0-rc.1",
"@docusaurus/theme-common": "^2.0.0-rc.1",
"@docusaurus/types": "^2.0.0-rc.1",
"@tsconfig/docusaurus": "^1.0.2",
"@types/cheerio": "^0.22.31",
"@types/debug": "^4.1.5",
Expand All @@ -61,7 +61,7 @@
"typescript": "^4.7.4"
},
"peerDependencies": {
"@docusaurus/theme-common": "^2.0.0-beta.20",
"@docusaurus/theme-common": "^2.0.0-rc.1",
"react": "^16.14.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.14.0 || ^17.0.0 || ^18.0.0"
}
Expand Down
5 changes: 4 additions & 1 deletion docusaurus-search-local/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@
"esModuleInterop": true,
"importHelpers": true,
"jsx": "preserve",
"moduleResolution": "node",
// moduleResolution and module are required because Docusaurus uses 'exports' in its package.json
// See here for more information: https://github.com/microsoft/TypeScript/issues/33079#issuecomment-1169377037
"moduleResolution": "Node16",
"module": "Node16",
"outDir": "dist",
"resolveJsonModule": true,
"skipLibCheck": true,
Expand Down
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,10 @@
],
"packageManager": "[email protected]",
"resolutions": {
"@docusaurus/core": "2.0.0-beta.20",
"@docusaurus/preset-classic": "2.0.0-beta.20",
"@docusaurus/theme-classic": "2.0.0-beta.20",
"@docusaurus/theme-common": "2.0.0-beta.20"
"@docusaurus/core": "2.0.0-rc.1",
"@docusaurus/preset-classic": "2.0.0-rc.1",
"@docusaurus/theme-classic": "2.0.0-rc.1",
"@docusaurus/theme-common": "2.0.0-rc.1",
"@docusaurus/plugin-content-docs": "2.0.0-rc.1"
}
}
8 changes: 4 additions & 4 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
"serve": "docusaurus serve"
},
"dependencies": {
"@docusaurus/core": "^2.0.0-beta.20",
"@docusaurus/preset-classic": "^2.0.0-beta.20",
"@docusaurus/theme-classic": "^2.0.0-beta.20",
"@docusaurus/theme-common": "^2.0.0-beta.20",
"@docusaurus/core": "^2.0.0-rc.1",
"@docusaurus/preset-classic": "^2.0.0-rc.1",
"@docusaurus/theme-classic": "^2.0.0-rc.1",
"@docusaurus/theme-common": "^2.0.0-rc.1",
"@easyops-cn/docusaurus-search-local": "workspace:*",
"@mdx-js/react": "^1.6.22",
"clsx": "^1.1.1",
Expand Down
Loading

0 comments on commit 41a4e67

Please sign in to comment.