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

[feature] Ability to set installArgs on project-level #1712

Open
mwkcoding opened this issue Nov 7, 2024 · 0 comments
Open

[feature] Ability to set installArgs on project-level #1712

mwkcoding opened this issue Nov 7, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@mwkcoding
Copy link

Is your feature request related to a problem? Please describe.

We have a project that requires us to run npm install --ignore-scripts and since I'm currently setting up CI/CD for our monorep, it's frustrating to manually install dependencies in the workflow as the only thing.

Describe the solution you'd like

I'd like to be able to define installArgs on project-level like I can in .moon/toolchain.yml:

# in project's moon.yml
toolchain:
  node:
    npm:
      installArgs: '--ignore-scripts'
...

Describe alternatives you've considered

Adding it globally might work, but also might cause issues in other projects.

Additional context

It seems generally weird that the Node version is the only property you can define on project-level.

@mwkcoding mwkcoding added the enhancement New feature or request label Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Development

No branches or pull requests

1 participant