-
-
Notifications
You must be signed in to change notification settings - Fork 753
Description
I just tracked down a weird bug to the codeceptjs-webdriverio package.
It seems to depend on * (any version) of its two components (see package.json):
"dependencies": {
"codeceptjs": "*",
"webdriverio": "*"
},
Is this intentional? It means if you upgrade your codeceptjs-webdriverio dependency, and then run npm install or yarn, it may not actually upgrade either of the sub-dependencies, because * covers anything, and it will just follow your lockfile. In my case this means installing codecept-webdriverio@1.1.0 gets me very old versions of both codecept and webdriverio.
I'm not clear on the benefit of these meta-packages in general. I initially assumed they contained some kind of compatibility layer between codecept and the driver, but it seems they don't do anything besides pull in other packages. I can't see any advantage of npm install codeceptjs-webdriverio over npm install codeceptjs webdriverio.