class Zap::Installer::PnP
Overview
See: https://yarnpkg.com/advanced/pnp-spec
Defined in:
installer/pnp/pnp.crConstructors
Instance Method Summary
- #install : Nil
- #on_install(dependency : Package, install_folder : Path, *, state : Commands::Install::State)
-
#prune_orphan_modules
Prune unused dependencies from the filesystem
Instance methods inherited from class Zap::Installer::Base
install : Nil
install,
installed_packages_with_hooks : Array({Zap::Package, Path})
installed_packages_with_hooks,
main_package : Package
main_package,
prune_orphan_modules
prune_orphan_modules,
remove(dependencies : Set(Tuple(String, String | Package::Alias, String))) : Nil
remove,
state : Commands::Install::State
state
Constructor methods inherited from class Zap::Installer::Base
new(state : Commands::Install::State)
new
Instance methods inherited from class Object
or(other : T) : T | self forall T
or,
pipe(&)
pipe
Constructor Detail
Instance Method Detail
def prune_orphan_modules
#
Description copied from class Zap::Installer::Base
Prune unused dependencies from the filesystem