struct Zap::Package::ZapConfig
- Zap::Package::ZapConfig
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- MessagePack::Serializable
- YAML::Serializable
Defined in:
package/package.crConstructors
- .new(hoist_patterns : Array(String) | Nil = nil, public_hoist_patterns : Array(String) | Nil = nil, strategy : Commands::Install::Config::InstallStrategy | Nil = nil, package_extensions : Hash(String, PackageExtension) = Hash(String, PackageExtension).new, check_peer_dependencies : Bool | Nil = nil)
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(pull : MessagePack::Unpacker)
Instance Method Summary
- #check_peer_dependencies : Bool | Nil
- #clone
- #copy_with(hoist_patterns _hoist_patterns = @hoist_patterns, public_hoist_patterns _public_hoist_patterns = @public_hoist_patterns, strategy _strategy = @strategy, package_extensions _package_extensions = @package_extensions, check_peer_dependencies _check_peer_dependencies = @check_peer_dependencies)
- #hoist_patterns : Array(String) | Nil
- #package_extensions : Hash(String, PackageExtension)
- #public_hoist_patterns : Array(String) | Nil
- #strategy : Commands::Install::Config::InstallStrategy | Nil
Constructor Detail
def self.new(hoist_patterns : Array(String) | Nil = nil, public_hoist_patterns : Array(String) | Nil = nil, strategy : Commands::Install::Config::InstallStrategy | Nil = nil, package_extensions : Hash(String, PackageExtension) = Hash(String, PackageExtension).new, check_peer_dependencies : Bool | Nil = nil)
#
Instance Method Detail
def copy_with(hoist_patterns _hoist_patterns = @hoist_patterns, public_hoist_patterns _public_hoist_patterns = @public_hoist_patterns, strategy _strategy = @strategy, package_extensions _package_extensions = @package_extensions, check_peer_dependencies _check_peer_dependencies = @check_peer_dependencies)
#