You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vaadin chose to use pnpm over npm mostly because of 2 reasons:
performance, but this doesn't hold any more, see details in #9835
to lock the versions. This hasn't been verified yet. But with 9952, this might be doable.
We should find tickets related to version pin tickets to make sure we don't introduce regressions (search by error messages like dom-module, fsevents etc).
Let's timebox the investigation to 3 days, after which the findings should be documented. This is the prerequisite for other tasks in Epic 9986
The text was updated successfully, but these errors were encountered:
Primary challenge with npm is how to pin the versions of components and mixins. The following options are on the table:
Do nothing and keep working as now in npm mode. Apps that worked with pnpm may break if they rely on add-ons that depend on a fixed version rather than a compatible range. Flow could detect if multiple versions of a platform package or a dependency that must be resolved uniquely (e.g. @polymer/polymer) are installed and throw an error.
Parse and update package-lock.json to pin the versions of all platform packages in the transitive dependencies (essentially doing the pnpm readPackage hook’s job from Java).
Vaadin chose to use
pnpm
overnpm
mostly because of 2 reasons:We should find tickets related to version pin tickets to make sure we don't introduce regressions (search by error messages like
dom-module
,fsevents
etc).Let's timebox the investigation to 3 days, after which the findings should be documented. This is the prerequisite for other tasks in Epic 9986
The text was updated successfully, but these errors were encountered: