Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support getting Node-related tooling versions from the frontend-gradle-plugin #8715

Open
sschuberth opened this issue May 29, 2024 · 1 comment
Labels
analyzer About the analyzer tool new feature Issues that are considered to be new features

Comments

@sschuberth
Copy link
Member

What is the feature you want to request?

For analyzing Gradle projects that use the frontend-gradle-plugin, it would be nice if any configured Node.js, npm, pnpm, Yarn version would be adhered to by the ORT analyzer automatically.

Describe the solution you would like

This should ideally work transparently for the user, i.e. respective tool version should be bootstrapped if not yet present.

Alternatives you have considered

The mentioned package manager analyzers could also learn to accept manually provided versions, configured as part of .ort.yml, but that requires to maintain the configured tool version in two places, and does not solve the problem of bootstrapping them.

Additional context

See the discussion at nordic-institute/X-Road#2172.

@sschuberth sschuberth added analyzer About the analyzer tool new feature Issues that are considered to be new features labels May 29, 2024
@sschuberth sschuberth changed the title Support getting Node-related tooling versions from the frontend-gradle-plugin Support getting Node-related tooling versions from the frontend-gradle-plugin May 29, 2024
@sschuberth
Copy link
Member Author

Maybe a way forward could be to leverage nvm-rust to install the correct Node version on-the-fly, and then use Corepack to install the right Node package manager version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analyzer About the analyzer tool new feature Issues that are considered to be new features
Projects
None yet
Development

No branches or pull requests

1 participant