@lg-tools/install
TypeScript icon, indicating that this package has built-in type declarations

0.2.1 • Public • Published

@lg-tools/install

Install LeafyGreen packages

Usage

Use from @lg-tools/cli.

Install all @leafygreen-ui packages

> lg install

Install select packages by listing them:

> lg install lib palette

Installation Options

You can also use flags to install specific subsets of packages:

Essential Packages

Install only the essential packages (Essential packages includes only @leafygreen-ui/leafygreen-provider, @leafygreen-ui/emotion, and @leafygreen-ui/lib)

> lg install --essentials

Basic Packages

Install basic components. Includes essentials plus commonly used components. (See ./src/getPackagesToInstall.ts for the latest list of "basic" packages)

> lg install --basic

Scope-based Installation

Install only packages from specific scopes:

> lg install --core    # Only installs @leafygreen-ui/* packages
> lg install --charts  # Only installs @lg-charts/* packages
> lg install --chat    # Only installs @lg-chat/* packages

Flags can be combined to install multiple scopes:

> lg install --core --charts  # Install both UI and chart packages
> lg install --basic --chat # Install the basic packages and all chat packages

Other Options

> lg install --dry      # Dry run - shows what would be installed without making changes
> lg install --verbose  # Shows detailed information during installation

Readme

Keywords

none

Package Sidebar

Install

npm i @lg-tools/install

Weekly Downloads

12

Version

0.2.1

License

Apache-2.0

Unpacked Size

80.3 kB

Total Files

39

Last publish

Collaborators

  • shaneeza
  • brookescarlett
  • thesonofthomp
  • _tsck
  • stephl3