Uploaded image for project: 'ERM Platform'
  1. ERM Platform
  2. ERM-2395

Remove @folio/stripes-testing as direct dependency of stripes-erm-components

    XMLWordPrintable

Details

    • ERM Sprint 151
    • Bienenvolk
    • Nolana (R3 2022)
    • TBD

    Description

      Overview: @folio/stripes-testing is incorrectly listed as a direct dependency in stripes-erm-components instead of as a dev-dependency.

      Details: This causes @folio/stripes-testing and all its dependencies to be pulled into the production bundle built at the platform-level. This causes bloat and build warnings:

      warning "@folio/plugin-eusage-reports > @folio/plugin-find-eresource > @folio/stripes-testing > cypress-testrail-simple > find-cypress-specs > ts-node@10.9.1" has unmet peer dependency "@types/node@*".
      warning "@folio/plugin-eusage-reports > @folio/plugin-find-eresource > @folio/stripes-testing > cypress-testrail-simple > find-cypress-specs > ts-node@10.9.1" has unmet peer dependency "typescript@>=2.7".
      

      Expected Results: Test-related deps are included only as dev-deps.
      Actual Results: @folio/stripes-testing is listed as a direct dep.

      TestRail: Results

        Attachments

          Issue Links

            Activity

              People

                zburke Zak_Burke
                zburke Zak_Burke
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  TestRail: Runs

                    TestRail: Cases