SAP / ui5-webcomponents-react

A wrapper implementation for React of the UI5 Web Components that are compliant with the SAP Fiori User Experience
https://sap.github.io/ui5-webcomponents-react/
Apache License 2.0
435 stars 97 forks source link

Eslint import resolver cannot recognise the @ui5/webcomponents-cypress-commands import #5049

Closed Aanchal1103 closed 1 year ago

Aanchal1103 commented 1 year ago

Describe the bug

According to an open issue on eslint-plugin-import, the eslint-plugin-import cannot recognise the exports definition in package.json and therefore reports the @ui5/webcomponents-cypress-commands import as unresolved.

We encountered this problem while trying to integrate @ui5/webcomponents-cypress-commands with pex-client.

Expected Behaviour

The eslint-plugin-import should be able to recognise the @ui5/webcomponents-cypress-commands import.

Potential solution: Add a main in package.json for backwards compatibility. https://github.com/SAP/ui5-webcomponents-react/blob/main/packages/cypress-commands/package.json

Screenshots or Videos

Screenshot 2023-09-07 at 15 11 16

UI5 Web Components for React Version

1.18.0

UI5 Web Components Version

1.16.0

Operating System

MacOS

Declaration

github-actions[bot] commented 11 months ago

:tada: This issue has been resolved in version v1.20.0 :tada:

The release is available on v1.20.0

Your semantic-release bot :package::rocket: