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
It seems that the pkg.dependencies and pkg.devDependencies are being replaced with new (sorted) versions. This also means that the deps and devDeps references no longer point to the same object, so the deletes don't affect the version that is written back to disk afterwards.
The text was updated successfully, but these errors were encountered:
Reproduction
Description
I just tried out the
npx warp-drive retrofit types@canary
as documented here and I noticed that the DT packages weren't actually being removed.I did some debugging and it seems there are multiple problems:
DefinitelyTyped
is an array of strings, so the array destructuring isn't needed there.data/packages/-warp-drive/src/-private/warp-drive/commands/retrofit.ts
Line 324 in 16c9ad9
The text was updated successfully, but these errors were encountered: