Details
-
Task
-
Status: Closed (View Workflow)
-
TBD
-
Resolution: Won't Do
-
ERM Sprint 151, ERM Sprint 152
-
Bienenvolk
-
Not Scheduled
-
TBD
Description
Overview: @testing-library/react is incorrectly listed as a direct dependency in stripes-erm-components instead of as a dev-dependency.
Details: This causes @testing-library/react 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.