UNPKG

1.6 kBMarkdownView Raw
1# `@lerna/create`
2
3> Create a new lerna-managed package
4
5## Usage
6
7```
8lerna create <name> [loc]
9
10Create a new lerna-managed package
11
12Positionals:
13 name The package name (including scope), which must be locally unique _and_
14 publicly available [string] [required]
15 loc A custom package location, defaulting to the first configured package
16 location [string]
17
18Command Options:
19 --access When using a scope, set publishConfig.access value
20 [choices: "public", "restricted"] [default: public]
21 --bin Package has an executable. Customize with --bin
22 <executableName> [default: <name>]
23 --description Package description [string]
24 --dependencies A list of package dependencies [array]
25 --es-module Initialize a transpiled ES Module
26 --homepage The package homepage, defaulting to a subpath of the root
27 pkg.homepage [string]
28 --keywords A list of package keywords [array]
29 --license The desired package license (SPDX identifier) [default: ISC]
30 --private Make the new package private, never published
31 --registry Configure the package's publishConfig.registry [string]
32 --tag Configure the package's publishConfig.tag [string]
33 --yes Skip all prompts, accepting default values
34```