Class: Ansible::Ruby::Modules::Yarn
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Yarn
- Defined in:
- lib/ansible/ruby/modules/generated/packaging/language/yarn.rb
Overview
Manage node.js packages with the Yarn package manager (yarnpkg.com/)
Instance Method Summary collapse
-
#executable ⇒ Object?
The executable location for yarn.
-
#global ⇒ Symbol?
Install the node.js library globally.
-
#ignore_scripts ⇒ Symbol?
Use the –ignore-scripts flag when installing.
-
#name ⇒ String?
The name of a node.js library to install,If omitted all packages in package.json are installed.
-
#path ⇒ String?
The base path where Node.js libraries will be installed.,This is where the node_modules folder lives.
-
#production ⇒ Symbol?
Install dependencies in production mode.,Yarn will ignore any dependencies under devDependencies in package.json.
-
#registry ⇒ String?
The registry to install modules from.
-
#state ⇒ :present, ...
Installation state of the named node.js library,If absent is selected, a name option must be provided.
-
#version ⇒ String?
The version of the library to be installed.,Must be in semver format.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#executable ⇒ Object?
Returns The executable location for yarn.
28 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/yarn.rb', line 28 attribute :executable |
#global ⇒ Symbol?
Returns Install the node.js library globally.
24 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/yarn.rb', line 24 attribute :global |
#ignore_scripts ⇒ Symbol?
Returns Use the –ignore-scripts flag when installing.
31 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/yarn.rb', line 31 attribute :ignore_scripts |
#name ⇒ String?
Returns The name of a node.js library to install,If omitted all packages in package.json are installed.
12 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/yarn.rb', line 12 attribute :name |
#path ⇒ String?
Returns The base path where Node.js libraries will be installed.,This is where the node_modules folder lives.
16 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/yarn.rb', line 16 attribute :path |
#production ⇒ Symbol?
Returns Install dependencies in production mode.,Yarn will ignore any dependencies under devDependencies in package.json.
35 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/yarn.rb', line 35 attribute :production |
#registry ⇒ String?
Returns The registry to install modules from.
39 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/yarn.rb', line 39 attribute :registry |
#state ⇒ :present, ...
Returns Installation state of the named node.js library,If absent is selected, a name option must be provided.
43 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/yarn.rb', line 43 attribute :state |
#version ⇒ String?
Returns The version of the library to be installed.,Must be in semver format. If “latest” is desired, use “state” arg instead.
20 |
# File 'lib/ansible/ruby/modules/generated/packaging/language/yarn.rb', line 20 attribute :version |