-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Just a thought, because implementing this might not be too easy.
There are package upgrades which are not picked up because at some point scopes were introduced at npmjs.org (i.e. babel-core was moved to @babel/core).
Unfortunately, my current knowledge about the javascript/nom/node ecosystem is rather limited -- so my ideas might be completely unrealistic.
- Do these renames usually follow a certain pattern? i.e. could a heuristic like in
babel-core->@babel/corebe applied? (But that would introduce guesswork and magic into dependency-time-machine. Not a big fan.) - Is there some "these packages were renamed from this to that"-database which could be used?
- The developer could create a local database about the package renames. dependency-time-machine would have to threat merge versions of those packages and handle the renaming at some point. The database could e.g. look like this:
babel-core, @babel/core"renames": {
"old": "babel-core", "new": "@babel/core",
"old": "babel-preset-env", "new": "@babel/preset-env",
}But maybe this issue is just a bad idea, because such a package rename might require manual adjustments in a lot of other files, too (and hence the --test-script would fail anyway). Feel free to close this issue in this case 😅
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels