Skip to content

Commit

Permalink
Upgrade dependencies (#265)
Browse files Browse the repository at this point in the history
  • Loading branch information
rohit-gohri committed Feb 10, 2023
1 parent e222fec commit 0de444e
Show file tree
Hide file tree
Showing 7 changed files with 884 additions and 2,704 deletions.
6 changes: 6 additions & 0 deletions .changeset/unlucky-baboons-clap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'docusaurus-plugin-redoc': patch
'docusaurus-theme-redoc': patch
---

Upgrade dependencies and fix type errors
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,21 +39,21 @@
"devDependencies": {
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.26.0",
"@typescript-eslint/eslint-plugin": "^5.28.0",
"@typescript-eslint/parser": "^5.28.0",
"concurrently": "^7.2.1",
"eslint": "^8.17.0",
"@typescript-eslint/eslint-plugin": "^5.51.0",
"@typescript-eslint/parser": "^5.51.0",
"concurrently": "^7.6.0",
"eslint": "^8.33.0",
"eslint-config-airbnb-typescript": "^17.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.30.0",
"eslint-plugin-react-hooks": "^4.5.0",
"husky": "^8.0.1",
"lint-staged": "^13.0.1",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^8.0.3",
"lint-staged": "^13.1.1",
"prettier": "2.5.1",
"typescript": "^4.6.4"
"typescript": "^4.9.5"
},
"engines": {
"node": ">=14"
Expand Down
2 changes: 1 addition & 1 deletion packages/docusaurus-plugin-redoc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
},
"homepage": "https://github.com/rohit-gohri/redocusaurus/tree/main/packages/docusaurus-plugin-redoc#readme",
"dependencies": {
"@redocly/openapi-core": "1.0.0-beta.102",
"@redocly/openapi-core": "1.0.0-beta.123",
"redoc": "2.0.0"
},
"devDependencies": {
Expand Down
4 changes: 3 additions & 1 deletion packages/docusaurus-plugin-redoc/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ export default function redocPlugin(

if (config) {
if (typeof config === 'string') {
redoclyConfig = await loadConfig(config);
redoclyConfig = await loadConfig({
configPath: config,
});
} else {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
redoclyConfig = new Config(config as any);
Expand Down
11 changes: 5 additions & 6 deletions packages/docusaurus-theme-redoc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@
},
"homepage": "https://github.com/rohit-gohri/redocusaurus/tree/main/packages/docusaurus-theme-redoc#readme",
"dependencies": {
"clsx": "^1.1.1",
"clsx": "^1.2.1",
"copyfiles": "^2.4.1",
"lodash": "^4.17.21",
"mobx": "^6.5.0",
"mobx": "^6.8.0",
"redoc": "2.0.0",
"styled-components": "^5.3.5"
"styled-components": "^5.3.6"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "^2.3.1",
Expand All @@ -47,10 +47,9 @@
"@types/lodash": "^4.14.191",
"@types/react-dom": "^17.0.18",
"@types/react-router-dom": "^5.3.3",
"@types/rtlcss": "^3.1.4",
"@types/styled-components": "^5.1.26",
"nodemon": "^2.0.16",
"typescript": "^4.6.4"
"nodemon": "^2.0.20",
"typescript": "^4.9.5"
},
"peerDependencies": {
"@docusaurus/theme-common": "^2.0.0"
Expand Down
4 changes: 2 additions & 2 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@
"dependencies": {
"@docusaurus/core": "^2.3.1",
"@docusaurus/preset-classic": "^2.3.1",
"clsx": "^1.1.1",
"clsx": "^1.2.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"redocusaurus": "^1.4.0"
},
"devDependencies": {
"@percy/cli": "^1.3.0",
"@percy/cli": "^1.18.0",
"@types/react": "^17.0.53"
},
"browserslist": {
Expand Down
Loading

1 comment on commit 0de444e

@vercel
Copy link

@vercel vercel bot commented on 0de444e Feb 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.