breautek commented on issue #221: URL: https://github.com/apache/cordova-common/issues/221#issuecomment-2614018637
> I think then the best solution (if we really cannot wait for the release here) is to build the package manually from the masterbranch and use that state until the release is there I guess? Because `cordova-common` is a dependency of user-facing packages like [cordova-cli](https://github.com/apache/cordova-cli/blob/master/package.json), it will be a bit more tricky, but you can try using [NPM overrides](https://docs.npmjs.com/cli/v9/configuring-npm/package-json#overrides)... not something I've ever tested or used before, but I think it allows you to override a dependency to use an alternate version without having to change the dependent package itself. This alternate version could be a manually `npm pack` version. Could probably point to the github url at a specific commit too (e.g. `<https git clone url>#<commit-hash>`) I'm not sure how well this works for global installed packages, so you might have to use a local cordova install to make this work (e.g. use `npx cordova ...` with `cordova` installed as a local dependency of your project). There are several user-facing cordova packages that does import cordova-common so they might be a few overrides needed. Likely in the CLI and the platform packages (e.g. `cordova-android`, `cordova-ios`, etc...) I also have to say that using versions that hasn't been released isn't recommended and should only be reserved for testing purposes, not for production use. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org