Uploaded image for project: 'Red Hat Internal Developer Platform'
  1. Red Hat Internal Developer Platform
  2. RHIDP-4463

Remove react types from resolutions as its defined in devDependencies

    • 1
    • False
    • Hide

      None

      Show
      None
    • False

      We have identified that @types/react is listed both in the devDependencies and the resolutions section in janus-idp/backstage-showcase/packages/app/package.json. Since @types/react is already declared in devDependencies, we can safely remove it from resolutions because it should resolve without needing the resolutions entry.

       

      Steps:

      1. Remove the "@types/react": "18.3.7" entry from resolutions in package.json
      2. Run yarn install to update the lockfile.
      3. Test the app to ensure there are no dependency issues or conflicts.

      Acceptance Criteria and DoD:

      1. The @types/react entry is successfully removed from the resolutions section in package.json.
      2. yarn install runs successfully with no errors or version conflicts.
      3. The application builds and runs correctly, with all tests passing (if applicable).
      4. There are no warnings or errors related to @types/react when installing dependencies or running the app.
      5. The updated yarn.lock file is committed along with the package.json change.

              rh-ee-fndlovu Fortune Ndlovu
              rh-ee-fndlovu Fortune Ndlovu
              RHIDP - Cope
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: