Skip to content

chore(linter): Migrate Redocly plugin to v2 and extract as separate package#106

Merged
maxedenharter0507 merged 4 commits intootto-de:mainfrom
maxedenharter0507:migrate-redocly-v2
Apr 20, 2026
Merged

chore(linter): Migrate Redocly plugin to v2 and extract as separate package#106
maxedenharter0507 merged 4 commits intootto-de:mainfrom
maxedenharter0507:migrate-redocly-v2

Conversation

@maxedenharter0507
Copy link
Copy Markdown
Contributor

  • Migrates the Redocly linting plugin from @redocly/openapi-core v1 to v2: plugin now exports a default PluginCreator function, config uses async createConfig(), and all deep imports replaced with the public API entry point
  • Extracts the plugin into a new, separately publishable npm package @otto-de/api-guidelines-redocly2-ruleset using npm workspaces, while keeping both packages in this repo
  • Both packages are always released at the same version via the shared release.yml workflow using a single git tag
  • Adds build:all, tsc:all, and test:all root scripts to operate across all workspaces and the root in one command; CI updated accordingly

Copy link
Copy Markdown
Contributor

@plemech23 plemech23 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@maxedenharter0507 maxedenharter0507 merged commit 897743a into otto-de:main Apr 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants