redocly-cli icon indicating copy to clipboard operation
redocly-cli copied to clipboard

feat: implement extends bundling and support for array in plugins

Open RomanHotsiy opened this issue 7 months ago • 10 comments

What/Why/How?

Implemented extends bundling and support for array in plugins:

  • All extends will be resolved in correspondent rules.
  • Nested plugins collected and propagated to the root level plugins list.

Reference

Testing

Screenshots (optional)

Check yourself

  • [ ] Code changed? - Tested with redoc (internal)
  • [x] All new/updated code is covered with tests
  • [ ] New package installed? - Tested in different environments (browser/node)

Security

  • [x] Security impact of change has been considered
  • [x] Code follows company security practices and guidelines

RomanHotsiy avatar Jun 03 '25 10:06 RomanHotsiy

🦋 Changeset detected

Latest commit: ced6b2638c81e3776d618a802c947f064e8c851f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@redocly/openapi-core Major
@redocly/cli Major
@redocly/respect-core Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

changeset-bot[bot] avatar Jun 03 '25 10:06 changeset-bot[bot]

Command Mean [ms] Min [ms] Max [ms] Relative
redocly lint packages/core/src/benchmark/benches/rebilly.yaml 941.7 ± 13.8 920.7 961.3 1.00
redocly-next lint packages/core/src/benchmark/benches/rebilly.yaml 1067.3 ± 35.2 1033.0 1160.8 1.13 ± 0.04

github-actions[bot] avatar Jun 03 '25 10:06 github-actions[bot]

📦 A new experimental 🧪 version v0.0.0-snapshot.1749546763 of Redocly CLI has been published for testing.

Install with NPM:

npm install @redocly/[email protected]
# or
npm install @redocly/[email protected]
# or
npm install @redocly/[email protected]

⚠️ Note: This is a development build and may contain unstable features.

github-actions[bot] avatar Jun 10 '25 09:06 github-actions[bot]

📦 A new experimental 🧪 version v0.0.0-snapshot.1749824162 of Redocly CLI has been published for testing.

Install with NPM:

npm install @redocly/[email protected]
# or
npm install @redocly/[email protected]
# or
npm install @redocly/[email protected]

⚠️ Note: This is a development build and may contain unstable features.

github-actions[bot] avatar Jun 13 '25 14:06 github-actions[bot]

📦 A new experimental 🧪 version v0.0.0-snapshot.1750150141 of Redocly CLI has been published for testing.

Install with NPM:

npm install @redocly/[email protected]
# or
npm install @redocly/[email protected]
# or
npm install @redocly/[email protected]

⚠️ Note: This is a development build and may contain unstable features.

github-actions[bot] avatar Jun 17 '25 08:06 github-actions[bot]

📦 A new experimental 🧪 version v0.0.0-snapshot.1750158152 of Redocly CLI has been published for testing.

Install with NPM:

npm install @redocly/[email protected]
# or
npm install @redocly/[email protected]
# or
npm install @redocly/[email protected]

⚠️ Note: This is a development build and may contain unstable features.

github-actions[bot] avatar Jun 17 '25 11:06 github-actions[bot]

📦 A new experimental 🧪 version v0.0.0-snapshot.1750158152 of Redocly CLI has been published for testing.

Install with NPM:

npm install @redocly/[email protected]
# or
npm install @redocly/[email protected]
# or
npm install @redocly/[email protected]

⚠️ Note: This is a development build and may contain unstable features.

github-actions[bot] avatar Jun 17 '25 11:06 github-actions[bot]

📦 A new experimental 🧪 version v0.0.0-snapshot.1750178129 of Redocly CLI has been published for testing.

Install with NPM:

npm install @redocly/[email protected]
# or
npm install @redocly/[email protected]
# or
npm install @redocly/[email protected]

⚠️ Note: This is a development build and may contain unstable features.

github-actions[bot] avatar Jun 17 '25 16:06 github-actions[bot]

📦 A new experimental 🧪 version v0.0.0-snapshot.1750261968 of Redocly CLI has been published for testing.

Install with NPM:

npm install @redocly/[email protected]
# or
npm install @redocly/[email protected]
# or
npm install @redocly/[email protected]

⚠️ Note: This is a development build and may contain unstable features.

github-actions[bot] avatar Jun 18 '25 15:06 github-actions[bot]

📦 A new experimental 🧪 version v0.0.0-snapshot.1750342295 of Redocly CLI has been published for testing.

Install with NPM:

npm install @redocly/[email protected]
# or
npm install @redocly/[email protected]
# or
npm install @redocly/[email protected]

⚠️ Note: This is a development build and may contain unstable features.

github-actions[bot] avatar Jun 19 '25 14:06 github-actions[bot]

📦 A new experimental 🧪 version v0.0.0-snapshot.1750854988 of Redocly CLI has been published for testing.

Install with NPM:

npm install @redocly/[email protected]
# or
npm install @redocly/[email protected]
# or
npm install @redocly/[email protected]

⚠️ Note: This is a development build and may contain unstable features.

github-actions[bot] avatar Jun 25 '25 12:06 github-actions[bot]

📦 A new experimental 🧪 version v0.0.0-snapshot.1750940951 of Redocly CLI has been published for testing.

Install with NPM:

npm install @redocly/[email protected]
# or
npm install @redocly/[email protected]
# or
npm install @redocly/[email protected]

⚠️ Note: This is a development build and may contain unstable features.

github-actions[bot] avatar Jun 26 '25 12:06 github-actions[bot]

📦 A new experimental 🧪 version v0.0.0-snapshot.1750973737 of Redocly CLI has been published for testing.

Install with NPM:

npm install @redocly/[email protected]
# or
npm install @redocly/[email protected]
# or
npm install @redocly/[email protected]

⚠️ Note: This is a development build and may contain unstable features.

github-actions[bot] avatar Jun 26 '25 21:06 github-actions[bot]

📦 A new experimental 🧪 version v0.0.0-snapshot.1750977760 of Redocly CLI has been published for testing.

Install with NPM:

npm install @redocly/[email protected]
# or
npm install @redocly/[email protected]
# or
npm install @redocly/[email protected]

⚠️ Note: This is a development build and may contain unstable features.

github-actions[bot] avatar Jun 26 '25 22:06 github-actions[bot]

📦 A new experimental 🧪 version v0.0.0-snapshot.1751613005 of Redocly CLI has been published for testing.

Install with NPM:

npm install @redocly/[email protected]
# or
npm install @redocly/[email protected]
# or
npm install @redocly/[email protected]

⚠️ Note: This is a development build and may contain unstable features.

github-actions[bot] avatar Jul 04 '25 07:07 github-actions[bot]

📦 A new experimental 🧪 version v0.0.0-snapshot.1751873956 of Redocly CLI has been published for testing.

Install with NPM:

npm install @redocly/[email protected]
# or
npm install @redocly/[email protected]
# or
npm install @redocly/[email protected]

⚠️ Note: This is a development build and may contain unstable features.

github-actions[bot] avatar Jul 07 '25 07:07 github-actions[bot]

📦 A new experimental 🧪 version v0.0.0-snapshot.1751980724 of Redocly CLI has been published for testing.

Install with NPM:

npm install @redocly/[email protected]
# or
npm install @redocly/[email protected]
# or
npm install @redocly/[email protected]

⚠️ Note: This is a development build and may contain unstable features.

github-actions[bot] avatar Jul 08 '25 13:07 github-actions[bot]