Skip to content

Commit 0de444e

Browse files
authored
Upgrade dependencies (#265)
1 parent e222fec commit 0de444e

File tree

7 files changed

+884
-2704
lines changed

7 files changed

+884
-2704
lines changed

.changeset/unlucky-baboons-clap.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'docusaurus-plugin-redoc': patch
3+
'docusaurus-theme-redoc': patch
4+
---
5+
6+
Upgrade dependencies and fix type errors

package.json

+13-13
Original file line numberDiff line numberDiff line change
@@ -39,21 +39,21 @@
3939
"devDependencies": {
4040
"@changesets/changelog-github": "^0.4.8",
4141
"@changesets/cli": "^2.26.0",
42-
"@typescript-eslint/eslint-plugin": "^5.28.0",
43-
"@typescript-eslint/parser": "^5.28.0",
44-
"concurrently": "^7.2.1",
45-
"eslint": "^8.17.0",
42+
"@typescript-eslint/eslint-plugin": "^5.51.0",
43+
"@typescript-eslint/parser": "^5.51.0",
44+
"concurrently": "^7.6.0",
45+
"eslint": "^8.33.0",
4646
"eslint-config-airbnb-typescript": "^17.0.0",
47-
"eslint-config-prettier": "^8.5.0",
48-
"eslint-plugin-import": "^2.26.0",
49-
"eslint-plugin-jsx-a11y": "^6.5.1",
50-
"eslint-plugin-prettier": "^4.0.0",
51-
"eslint-plugin-react": "^7.30.0",
52-
"eslint-plugin-react-hooks": "^4.5.0",
53-
"husky": "^8.0.1",
54-
"lint-staged": "^13.0.1",
47+
"eslint-config-prettier": "^8.6.0",
48+
"eslint-plugin-import": "^2.27.5",
49+
"eslint-plugin-jsx-a11y": "^6.7.1",
50+
"eslint-plugin-prettier": "^4.2.1",
51+
"eslint-plugin-react": "^7.32.2",
52+
"eslint-plugin-react-hooks": "^4.6.0",
53+
"husky": "^8.0.3",
54+
"lint-staged": "^13.1.1",
5555
"prettier": "2.5.1",
56-
"typescript": "^4.6.4"
56+
"typescript": "^4.9.5"
5757
},
5858
"engines": {
5959
"node": ">=14"

packages/docusaurus-plugin-redoc/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
},
3030
"homepage": "https://github.com/rohit-gohri/redocusaurus/tree/main/packages/docusaurus-plugin-redoc#readme",
3131
"dependencies": {
32-
"@redocly/openapi-core": "1.0.0-beta.102",
32+
"@redocly/openapi-core": "1.0.0-beta.123",
3333
"redoc": "2.0.0"
3434
},
3535
"devDependencies": {

packages/docusaurus-plugin-redoc/src/index.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,9 @@ export default function redocPlugin(
7878

7979
if (config) {
8080
if (typeof config === 'string') {
81-
redoclyConfig = await loadConfig(config);
81+
redoclyConfig = await loadConfig({
82+
configPath: config,
83+
});
8284
} else {
8385
// eslint-disable-next-line @typescript-eslint/no-explicit-any
8486
redoclyConfig = new Config(config as any);

packages/docusaurus-theme-redoc/package.json

+5-6
Original file line numberDiff line numberDiff line change
@@ -32,12 +32,12 @@
3232
},
3333
"homepage": "https://github.com/rohit-gohri/redocusaurus/tree/main/packages/docusaurus-theme-redoc#readme",
3434
"dependencies": {
35-
"clsx": "^1.1.1",
35+
"clsx": "^1.2.1",
3636
"copyfiles": "^2.4.1",
3737
"lodash": "^4.17.21",
38-
"mobx": "^6.5.0",
38+
"mobx": "^6.8.0",
3939
"redoc": "2.0.0",
40-
"styled-components": "^5.3.5"
40+
"styled-components": "^5.3.6"
4141
},
4242
"devDependencies": {
4343
"@docusaurus/module-type-aliases": "^2.3.1",
@@ -47,10 +47,9 @@
4747
"@types/lodash": "^4.14.191",
4848
"@types/react-dom": "^17.0.18",
4949
"@types/react-router-dom": "^5.3.3",
50-
"@types/rtlcss": "^3.1.4",
5150
"@types/styled-components": "^5.1.26",
52-
"nodemon": "^2.0.16",
53-
"typescript": "^4.6.4"
51+
"nodemon": "^2.0.20",
52+
"typescript": "^4.9.5"
5453
},
5554
"peerDependencies": {
5655
"@docusaurus/theme-common": "^2.0.0"

website/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@
2424
"dependencies": {
2525
"@docusaurus/core": "^2.3.1",
2626
"@docusaurus/preset-classic": "^2.3.1",
27-
"clsx": "^1.1.1",
27+
"clsx": "^1.2.1",
2828
"react": "^17.0.2",
2929
"react-dom": "^17.0.2",
3030
"redocusaurus": "^1.4.0"
3131
},
3232
"devDependencies": {
33-
"@percy/cli": "^1.3.0",
33+
"@percy/cli": "^1.18.0",
3434
"@types/react": "^17.0.53"
3535
},
3636
"browserslist": {

0 commit comments

Comments
 (0)