Review halstack-react library dependencies and compatibilities #1664
-
Halstack has been stacked in npm <= 6 and Node 14 for a while. Our dependencies keep giving problems to projects and users with newer versions of those technologies. This is a big issue since Halstack relies on not too many dependencies (mainly react and styled-components) to operate and should be straightforward. We need to review our whole package.json file to have a more logical distribution of our dependencies as a library of react components:
Some additional links for further knowledge and clarification: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I totally agree. I would left only the essential ones in With the current configuration we have, if we install node 15 (that includes npm 7) we obtain an error due to incompatibilities in our dependencies: We should fix this since, as @GomezIvann said, it should be straightforward to use our Halstack library, and we could be interested on upgrade our npm version to 7 since it automatically installs the peerDependencies. |
Beta Was this translation helpful? Give feedback.
Let's target Node 16 and npm 7 and upgrade our package files and workflows. During the process, let's also review the dependencies of the Library and double-check if they're needed.