Skip to content

Conversation

@kadel
Copy link
Member

@kadel kadel commented Jan 12, 2026

janus-idp/cli is being deprecated in favor of https://github.com/redhat-developer/rhdh-cli

export-dynamic script is no longer necessary, and it is encouraged not to modify plugins to adapt dynamic plugins.
Plugins can be exported as dynamic either by leveraging overlay repository or simply by executing npx @red-hat-developer-hub/cli

https://issues.redhat.com/browse/RHIDP-8531

  • A changeset describing the change and affected packages. (more info)
  • Added or Updated documentation
  • Tests for new functionality and regression tests for bug fixes
  • Screenshots attached (for UI changes)

@rhdh-gh-app
Copy link

rhdh-gh-app bot commented Jan 12, 2026

Changed Packages

Package Name Package Path Changeset Bump Current Version
@red-hat-developer-hub/backstage-plugin-orchestrator-backend workspaces/orchestrator/plugins/orchestrator-backend patch v8.5.1
@red-hat-developer-hub/backstage-plugin-orchestrator-form-widgets workspaces/orchestrator/plugins/orchestrator-form-widgets patch v1.6.0
@red-hat-developer-hub/backstage-plugin-orchestrator workspaces/orchestrator/plugins/orchestrator patch v5.3.1
@red-hat-developer-hub/backstage-plugin-scaffolder-backend-module-orchestrator workspaces/orchestrator/plugins/scaffolder-backend-module-orchestrator patch v1.3.1

kadel added 2 commits January 12, 2026 17:25
janus-idp/cli is being deprecated in favor of https://github.com/redhat-developer/rhdh-cli

export-dynamic script is no longer necessary, and it is encouraged not to modify plugins to adapt dynamic plugins.
Plugins can be exported as dynamic either by leveraging overlay repository or simply by executing npx @red-hat-developer-hub/cli

Signed-off-by: Tomas Kral <[email protected]>
@kadel kadel force-pushed the orchestartor-rhdh-cli branch from 1ccd6d7 to 60f0a22 Compare January 12, 2026 16:26
@kadel kadel marked this pull request as ready for review January 12, 2026 16:26
@kadel kadel requested a review from lholmquist January 12, 2026 16:27
@mareklibra
Copy link
Contributor

This will affect the PNC builds. Let's hope they will be no longer needed from the 1.9 on.

@kadel
Copy link
Member Author

kadel commented Jan 13, 2026

@mareklibra Is that because they are using export-dynamic script?
We can add it back, and just make it use rhdh-cli.

@kadel
Copy link
Member Author

kadel commented Jan 13, 2026

/hold

@mareklibra
Copy link
Contributor

@kadel

We can add it back, and just make it use rhdh-cli.

Yes, please.

@kadel
Copy link
Member Author

kadel commented Jan 14, 2026

Added back the export-dynamic scripts using @red-hat-developer-hub/cli instead of the deprecated @janus-idp/cli

Just note that there is still potential breaking change for frontend plugins.
Depending on how PNC build pipeline looks like

The new CLI does not use the --in-place flag as it is no longer needed. This means:

  • Old behavior: Frontend plugins built to dist-scalprum
  • New behavior: Frontend plugins build to dist-dynamic (same as backend plugins)

The plugin content itself remains the same, only the output directory has changed. This is the preferred method going forward.

For example if pipeline is pushing package to NPM registry now you need to push package that is generated in dist-dynamic for backend as well as for frontend plugin.

@sonarqubecloud
Copy link

Copy link
Contributor

@mareklibra mareklibra left a comment

Choose a reason for hiding this comment

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

Thank you for keeping the script.

Poor yarn.lock, it's growing and growing.

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.

3 participants