This pins the clsx dependency to use ^1.1.1 version instead of latest. Both latest and 1.1.1 currently point to the same thing, and 1.1.1 is considered production ready, and so no reason not to be explicit, and avoid any unexpected BC breaks if a 2.0.0 were released.
This also will fix the warning:
Pattern ["clsx@latest"] is trying to unpack in the same destination "/home/mpeveler/.cache/yarn/v6/npm-clsx-1.1.1-98b3134f9abbdf23b2663491ace13c5c03a73188-integrity/node_modules/clsx" as pattern ["clsx@^1.0.4","clsx@^1.0.4","clsx@^1.0.4","clsx@^1.0.2","clsx@^1.0.2"]. This could result in non-deterministic behavior, skipping.
when doing yarn install (experienced both on WSL and macOS).
This pins the
clsx
dependency to use^1.1.1
version instead oflatest
. Bothlatest
and1.1.1
currently point to the same thing, and1.1.1
is considered production ready, and so no reason not to be explicit, and avoid any unexpected BC breaks if a2.0.0
were released.This also will fix the warning:
when doing
yarn install
(experienced both on WSL and macOS).