Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cli): extend --ignore-version-check #2616

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gashcrumb
Copy link
Member

This change updates the cli's --ignore-version-check flag to also ignore the check performed on a embedded transitive dependencies that are moved to peer dependencies, when it is known that the mismatch is runtime compatible.

Fixes RHIDP-4505

@04kash @schultzp2020 FYI

@gashcrumb gashcrumb requested review from davidfestal, jesuino, kadel and a team as code owners January 14, 2025 13:03
Copy link

changeset-bot bot commented Jan 14, 2025

🦋 Changeset detected

Latest commit: 0d78d92

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

This PR includes changesets to release 1 package
Name Type
@janus-idp/cli Patch

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

This change updates the cli's --ignore-version-check flag to also ignore
the check performed on a embedded transitive dependencies that are moved
to peer dependencies, when it is known that the mismatch is runtime
compatible.

Signed-off-by: Stan Lewis <gashcrumb@gmail.com>
@04kash
Copy link
Member

04kash commented Jan 17, 2025

Tested these changes locally against the 1.34 Backstage Update PR and the export-dynamic command ran without errors for all wrappers. Had to make these changes:

  1. Updated @janus-idp/cli to 1.19.1
  2. Added the --ignore-version-check flag to the export-dynamic command for the following wrappers:
  • backstage-plugin-catalog-backend-module-gitlab-org-dynamic: --ignore-version-check @backstage/backend-defaults
  • backstage-plugin-techdocs-backend-dynamic: --ignore-version-check @backstage/backend-plugin-api
  • roadiehq-backstage-plugin-argo-cd-backend-dynamic: --ignore-version-check @backstage/backend-common
  • roadiehq-scaffolder-backend-argocd-dynamic: --ignore-version-check @backstage/backend-common --ignore-version-check @backstage/backend-plugin-api

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