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

Introduce dependencies.json for npm and remove hardcoded dependency #998

Open
Tracked by #726
jan-vcapgemini opened this issue Jan 30, 2025 · 1 comment
Open
Tracked by #726
Assignees

Comments

@jan-vcapgemini
Copy link
Contributor

jan-vcapgemini commented Jan 30, 2025

Introduce #998 dependencies.json for npm and remove hardcoded dependency:

@Override
protected void installDependencies() {
// TODO create npm/npm/dependencies.json file in ide-urls and delete this method
getCommandlet(Node.class).install();
}

@github-project-automation github-project-automation bot moved this to 🆕 New in IDEasy board Jan 30, 2025
@jan-vcapgemini jan-vcapgemini changed the title Introduce dependencies.json for npm and remove hardcoded dependency: IDEasy/cli/src/main/java/com/devonfw/tools/ide/tool/npm/Npm.java Lines 28 to 33 in 4f2e37b @Override protected void installDependencies() { // TODO create npm/npm/dependencies.json file in ide-urls and delete this method getCommandlet(Node.class).install(); } Introduce dependencies.json for npm and remove hardcoded dependency Jan 30, 2025
@jan-vcapgemini jan-vcapgemini moved this from 🆕 New to 🏗 In progress in IDEasy board Jan 30, 2025
@yurii-yu
Copy link
Contributor

Hello. What should I do if there are more than 1 options for the dependent software?
for example:

for NPM 9.9.4

Requirements

One of the following versions of Node.js must be installed to run npm:
14.x.x >= 14.17.0
16.x.x >= 16.13.0
18.0.0 or higher

as far as I know, currently our json file support only one option. is that right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🏗 In progress
Development

No branches or pull requests

2 participants