Skip to content

Commit

Permalink
feat: update AsyncAPI toolkit to latest versions (#4446)
Browse files Browse the repository at this point in the history
Latest AsyncAPI toolkit provides rendering of AsyncAPI 2.x/3.x definitions.

Refs #4585
  • Loading branch information
char0n authored Mar 28, 2024
1 parent a458c35 commit 4b90270
Show file tree
Hide file tree
Showing 12 changed files with 197 additions and 363 deletions.
2 changes: 0 additions & 2 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ updates:
prefix: "chore"
include: "scope"
open-pull-requests-limit: 3
ignore:
- dependency-name: "@asyncapi/react-component"

- package-ecosystem: "docker"
# Look for a `Dockerfile` in the `root` directory
Expand Down
22 changes: 4 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ Install dependencies needed for webpack@5 to properly build SwaggerEditor.

```sh
$ npm i stream-browserify --save-dev
$ npm i process --save-dev
$ npm i https-browserify --save-dev
$ npm i stream-http --save-dev
$ npm i util --save-dev
Expand Down Expand Up @@ -120,6 +119,8 @@ module.exports = {
alias: {
// This alias make sure we don't pull two different versions of monaco-editor
'monaco-editor': '/node_modules/monaco-editor',
// This alias makes sure we're avoiding a runtime error related to this package
'@stoplight/ordered-object-literal$': '/node_modules/@stoplight/ordered-object-literal/src/index.mjs',
},
},
plugins: [
Expand Down Expand Up @@ -154,14 +155,6 @@ module.exports = {
loader: 'file-loader',
type: 'javascript/auto', // this disables webpacks default handling of wasm
},
{
test: /@apidevtools\/json-schema-ref-parser\/lib\/util\/url.js$/,
loader: 'imports-loader',
options: {
type: 'commonjs',
imports: ['single process/browser process'],
},
},
]
}
};
Expand All @@ -179,7 +172,6 @@ Install `copy-webpack-plugin` and other needed dependencies.
```sh
$ npm i copy-webpack-plugin --save-dev
$ npm i stream-browserify --save-dev
$ npm i process --save-dev
$ npm i https-browserify --save-dev
$ npm i stream-http --save-dev
$ npm i util --save-dev
Expand Down Expand Up @@ -214,6 +206,8 @@ module.exports = {
alias: {
// This alias make sure we don't pull two different versions of monaco-editor
'monaco-editor': '/node_modules/monaco-editor',
// This alias makes sure we're avoiding a runtime error related to this package
'@stoplight/ordered-object-literal$': '/node_modules/@stoplight/ordered-object-literal/src/index.mjs',
}
},
plugins: [
Expand All @@ -239,14 +233,6 @@ module.exports = {
test: /\.css$/,
use: ['style-loader', 'css-loader']
},
{
test: /@apidevtools\/json-schema-ref-parser\/lib\/util\/url.js$/,
loader: 'imports-loader',
options: {
type: 'commonjs',
imports: ['single process/browser process'],
},
},
]
}
};
Expand Down
Loading

0 comments on commit 4b90270

Please sign in to comment.