mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
[PR #11055/a9a4f890 backport][stable-12] remove required=false from docs (#11065)
remove required=false from docs (#11055)
(cherry picked from commit a9a4f89033)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
@@ -29,26 +29,21 @@ options:
|
||||
- The name of a Node.js library to install.
|
||||
- All packages in C(package.json) are installed if not provided.
|
||||
type: str
|
||||
required: false
|
||||
alias:
|
||||
description:
|
||||
- Alias of the Node.js library.
|
||||
type: str
|
||||
required: false
|
||||
path:
|
||||
description:
|
||||
- The base path to install the Node.js libraries.
|
||||
type: path
|
||||
required: false
|
||||
version:
|
||||
description:
|
||||
- The version of the library to be installed, in semver format.
|
||||
type: str
|
||||
required: false
|
||||
global:
|
||||
description:
|
||||
- Install the Node.js library globally.
|
||||
required: false
|
||||
default: false
|
||||
type: bool
|
||||
executable:
|
||||
@@ -56,37 +51,31 @@ options:
|
||||
- The executable location for pnpm.
|
||||
- The default location it searches for is E(PATH), fails if not set.
|
||||
type: path
|
||||
required: false
|
||||
ignore_scripts:
|
||||
description:
|
||||
- Use the C(--ignore-scripts) flag when installing.
|
||||
required: false
|
||||
type: bool
|
||||
default: false
|
||||
no_optional:
|
||||
description:
|
||||
- Do not install optional packages, equivalent to C(--no-optional).
|
||||
required: false
|
||||
type: bool
|
||||
default: false
|
||||
production:
|
||||
description:
|
||||
- Install dependencies in production mode.
|
||||
- Pnpm ignores any dependencies under C(devDependencies) in package.json.
|
||||
required: false
|
||||
type: bool
|
||||
default: false
|
||||
dev:
|
||||
description:
|
||||
- Install dependencies in development mode.
|
||||
- Pnpm ignores any regular dependencies in C(package.json).
|
||||
required: false
|
||||
default: false
|
||||
type: bool
|
||||
optional:
|
||||
description:
|
||||
- Install dependencies in optional mode.
|
||||
required: false
|
||||
default: false
|
||||
type: bool
|
||||
state:
|
||||
@@ -94,7 +83,6 @@ options:
|
||||
- Installation state of the named Node.js library.
|
||||
- If V(absent) is selected, a name option must be provided.
|
||||
type: str
|
||||
required: false
|
||||
default: present
|
||||
choices: ["present", "absent", "latest"]
|
||||
requirements:
|
||||
|
||||
Reference in New Issue
Block a user