Skip to content

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

@sarod

Description

@sarod

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions