0.2.2 • Published 6 months ago

@lg-tools/install v0.2.2

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
6 months ago

@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
0.1.10

11 months ago

0.1.11

11 months ago

0.1.12

11 months ago

0.1.13

10 months ago

0.1.14

9 months ago

0.1.15

8 months ago

0.2.1

7 months ago

0.2.0

8 months ago

0.2.2

6 months ago

0.1.9

1 year ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago