Skip to content

Commit 517db8b

Browse files
committed
chore: update docusaraus to v3
1 parent 1f6a507 commit 517db8b

File tree

10 files changed

+13327
-10377
lines changed

10 files changed

+13327
-10377
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- uses: actions/checkout@v2
2222
- uses: actions/setup-node@v3
2323
with:
24-
node-version: 16.x
24+
node-version: 18.x
2525
cache: npm
2626

2727
- name: Install dependencies
File renamed without changes.

docs/configuration/customizing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ sidebar_position: 80
44

55
# Customizing
66
Adding and changing functionality of Springwolf is easy.
7-
The [configuration](../configuration/configuration.md) page mentions the existing ones.
7+
The [configuration](../configuration/configuration.mdx) page mentions the existing ones.
88

99
When you feel that Springwolf is missing a feature, you are able to add it yourself.
1010
To learn more about how Springwolf works, look [behind the scenes](../behind-the-scenes.md).

docs/configuration/documenting-consumers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Optional. The headers describing the metadata of the payload.
7272
### Servers
7373

7474
Optional. Useful when an application is connect to multiple brokers and wants to indicate to which broker the channel belongs to.
75-
The server needs to exist in [configuration > Servers](configuration.md) as well.
75+
The server needs to exist in [configuration > Servers](configuration.mdx) as well.
7676

7777

7878
## Option 2: `ConsumerData` (deprecated)

docs/configuration/documenting-messages.md renamed to docs/configuration/documenting-messages.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Sometimes, the payload type is wrapped in other objects.
5151
Some wrappers are automatically unwrapped, including `Message<String>`, which becomes `String`.
5252

5353
:::note
54-
The [configuration property](configuration.md) to modify the defaults is currently in _beta_.
54+
The [configuration property](configuration.mdx) to modify the defaults is currently in _beta_.
5555
:::
5656

5757
Assuming a method signature of `sendMessage(Function<Void, String> msg)`, where the actual payload is located in parameter index 1 (String).

docs/configuration/documenting-producers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ Optional. The headers describing the metadata of the payload.
6969
### Servers
7070

7171
Optional. Useful when an application is connect to multiple brokers and wants to indicate to which broker the channel belongs to.
72-
The server needs to exist in [configuration > Servers](configuration.md) as well.
72+
The server needs to exist in [configuration > Servers](configuration.mdx) as well.
7373

7474

7575
## Option 2: `ProducerData` (deprecated)

docs/faq.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ If not, whether
5858
Publishing messages from the UI is disabled by default due to security concerns.
5959
Springwolf doesn't offer authentication nor authorization, anyone can publish messages to (production) channels.
6060
61-
Check the [configuration](configuration/configuration.md) to enable this feature.
62-
Be sure to enable fully qualified names ([`use-fqn`](configuration/configuration.md)) as well.
61+
Check the [configuration](configuration/configuration.mdx) to enable this feature.
62+
Be sure to enable fully qualified names ([`use-fqn`](configuration/configuration.mdx)) as well.
6363
6464
Spring Security allows to limit access to authorized users.
6565
@@ -70,7 +70,7 @@ This is expected, as there are use-cases where different payloads are sent via t
7070
7171
Springwolf uses on scanners to find all consumer and producers in your application.
7272
Most likely two scanners found your consumer/producer each.
73-
See [configuration](configuration/configuration.md) to disable scanners.
73+
See [configuration](configuration/configuration.mdx) to disable scanners.
7474
7575
### Only one of multiple classes with the same name (different package) is detected
7676
File renamed without changes.

package-lock.json

Lines changed: 13312 additions & 10362 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@
1414
"write-heading-ids": "docusaurus write-heading-ids"
1515
},
1616
"dependencies": {
17-
"@docusaurus/core": "^2.4.1",
18-
"@docusaurus/preset-classic": "^2.4.1",
19-
"@mdx-js/react": "^1.6.21",
17+
"@docusaurus/core": "^3.1.0",
18+
"@docusaurus/preset-classic": "^3.1.0",
19+
"@mdx-js/react": "^3.0.0",
2020
"@svgr/webpack": "^5.5.0",
21-
"clsx": "^1.1.1",
21+
"clsx": "^2.0.0",
2222
"file-loader": "^6.2.0",
23-
"prism-react-renderer": "^1.2.1",
23+
"prism-react-renderer": "^1.3.5",
2424
"raw-loader": "^4.0.2",
25-
"react": "^17.0.1",
26-
"react-dom": "^17.0.1",
25+
"react": "^18.0.0",
26+
"react-dom": "^18.0.0",
2727
"url-loader": "^4.1.1"
2828
},
2929
"browserslist": {

0 commit comments

Comments
 (0)