frontend-maven-plugin icon indicating copy to clipboard operation
frontend-maven-plugin copied to clipboard

Support using installing node and yarn version matching the package.json engines property

Open sarod opened this issue 6 years ago • 2 comments

Do you want to request a feature or report a bug? feature

What is the current behavior? You have to specify the nodeVersion and yarnVersion

What is the expected behavior? The install-node-and-yarn should support using the version specified in package.json engines for node and yarn. https://yarnpkg.com/lang/en/docs/package-json/#toc-engines

That could be configured by using "engines" as value for nodeVersion and or yarnVersion. In such case frontend-maven plugin should install the most recent version matching the version expression in engines for yarn/node

sarod avatar Feb 21 '19 13:02 sarod

This is something that we'd love. We have a hard time keeping up with our frontend users when they bump versions, and this would really fix that problem. :)

Any plans for implementing this?

anton-johansson avatar Aug 22 '19 10:08 anton-johansson

I have added support for the node part in #999. Support for npm/yarn is still on my TODO.

tisoft avatar Sep 17 '21 19:09 tisoft