mirror of
https://github.com/LukeHagar/redocly-cli.git
synced 2025-12-06 04:21:09 +00:00
feat: add support for a plugin interface common with Realm (#1661)
This commit is contained in:
committed by
GitHub
parent
9ce88a33a5
commit
7a0e52f57e
6
.changeset/famous-socks-rule.md
Normal file
6
.changeset/famous-socks-rule.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"@redocly/openapi-core": minor
|
||||
"@redocly/cli": minor
|
||||
---
|
||||
|
||||
Added support for ESM plugins and importing of plugins directly from npm package: `@vendor/package/plugin.js` instead of `./node_modules/@vendor/package/plugin.js`.
|
||||
6
.changeset/tough-gifts-tell.md
Normal file
6
.changeset/tough-gifts-tell.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"@redocly/openapi-core": minor
|
||||
"@redocly/cli": minor
|
||||
---
|
||||
|
||||
Changed plugins format to export a function instead of an object for compatibility with other Redocly products. The backwards compatibility with an old format of plugins is maintained but will be removed in the future.
|
||||
Reference in New Issue
Block a user