0.3.3 • Published 8 months ago

@lg-tools/create v0.3.3

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
8 months ago

@lg-tools/create

Creates a new LeafyGreen package

Usage

Use from @lg-tools/cli:

lg create <package-name>

Options

Scope

-s, --scope

The npm scope of the new package. Valid scopes are defined in the package.json "lg.scopes" property.

Defaults to the first entry in lg.scopes.

The directory is determined by the mapping defined in lg.scopes

# Create a new package in the @lg-charts scope
lg create my-package --scope @lg-charts

Directory

-d, --directory

The directory to write the new package. Defaults to mapped directory of --scope.

# Create a new package in ./components
lg create my-package --directory './components'

Parent

-p, --parent

Identifies the parent component of the new component. Creates a sub-component to the provided parent.

# Creates a new subcomponent of '@lg-charts/core'
lg create my-package --parent '@lg-charts/core'

Dry

-d, --dry

Run without making any changes to the filesystem (default: false)

Verbose

-v, --verbose

Prints additional information to the console (default: false)

0.2.14

11 months ago

0.2.13

1 year ago

0.2.12

1 year ago

0.2.11

1 year ago

0.2.10

1 year ago

0.3.0

10 months ago

0.2.9

1 year ago

0.3.2

9 months ago

0.3.1

10 months ago

0.3.3

8 months ago

0.2.8

2 years ago

0.2.7

2 years ago

0.2.6

2 years ago

0.2.5

2 years ago

0.2.4

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.3

2 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago