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

[PR #8885/38479ee9 backport][stable-9] npm: Add force flag #8893

Conversation

patchback[bot]
Copy link

@patchback patchback bot commented Sep 21, 2024

This is a backport of PR #8885 as merged into main (38479ee).

SUMMARY

Add --force flag for nmp module
Fixes #8678

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

nmp

ADDITIONAL INFORMATION

It seemed easy to implement without breaking backward compatibility

# Now this is possible
- name: Force Install "coffee-script" node.js package.
  community.general.npm:
    name: coffee-script
    force: true

* Add force flag for nmp module

* Add CHANGELOG fragment

* Add force to cmdrunner

* Update CHANGELOG

* Add comma

(cherry picked from commit 38479ee)
@patchback patchback bot mentioned this pull request Sep 21, 2024
@ansibullbot
Copy link
Collaborator

@ansibullbot ansibullbot added backport feature This issue/PR relates to a feature request module module new_contributor Help guide this first time contributor plugins plugin (any type) labels Sep 21, 2024
@felixfontein felixfontein merged commit eae0c4f into stable-9 Sep 21, 2024
146 checks passed
@felixfontein felixfontein deleted the patchback/backports/stable-9/38479ee9ff7060f497f4d99b661beca38e4e1693/pr-8885 branch September 21, 2024 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport feature This issue/PR relates to a feature request module module new_contributor Help guide this first time contributor plugins plugin (any type)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants