Uploaded image for project: 'ui-calendar'
  1. ui-calendar
  2. UICAL-139

prefer @folio/stripes exports to private paths when importing components

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: TBD
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 7.0.0
    • Labels:
      None
    • Template:
    • Sprint:
      EPAM-Veg Sprint 117
    • Story Points:
      0.5
    • Development Team:
      Vega

      Description

      Overview: component imports should happen through the @folio/stripes/${repo} namespace rather than directly via the repo's private path. e.g. prefer

      import LocationSelection from '@folio/stripes/smart-components/LocationSelection';
      

      instead of

      import LocationSelection from '@folio/stripes-smart-components/lib/LocationSelection';
      

      The following files contain incorrect imports:

      ./ui-calendar/src/settings/OpeningPeriodForm/OpeningPeriodFormWrapper.js:8:import { IfPermission } from '@folio/stripes-core';
      ./ui-calendar/src/settings/ServicePointDetails.js:16:import { IfPermission } from '@folio/stripes-core';
      ./ui-calendar/src/settings/OpenExceptionalForm/ExceptionWrapper.js:19:import { IfPermission } from '@folio/stripes-core';
      

      Attn: Dmitriy Litvinenko

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Dmitriy Litvinenko Dmitriy Litvinenko
                Reporter:
                zburke Zak_Burke
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases