lerna
- Version 10.0.1
- Published
- 608 kB
- 49 dependencies
- MIT license
Install
npm i lernayarn add lernapnpm add lernaOverview
Lerna is a fast, modern build system for managing and publishing multiple JavaScript/TypeScript packages from the same repository
Index
Functions
function colorize
colorize: typeof colorize;Apply terminal color/style formatting to text. Wraps util.styleText with a programmatic kill switch for tests, since test runner workers set FORCE_COLOR=1 which overrides NO_COLOR.
function exec
exec: ( command: string, args: string[], opts?: LernaOptions) => Promise<LernaReturnValue>;Execute a command asynchronously, piping stdio by default.
Parameter command
Parameter args
Parameter opts
Returns
function execSync
execSync: (command: string, args: string[], opts?: any) => string;Execute a command synchronously.
Parameter command
Parameter args
Parameter opts
function getChildProcessCount
getChildProcessCount: () => number;function getExitCode
getExitCode: ( result: execa.ExecaError<string> & { code?: string | number }) => number | undefined;Parameter result
Returns
function spawn
spawn: ( command: string, args: string[], opts?: LernaOptions) => Promise<LernaReturnValue>;Spawn a command asynchronously, _always_ inheriting stdio.
Parameter command
Parameter args
Parameter opts
function spawnStreaming
spawnStreaming: ( command: string, args: string[], opts?: LernaOptions, prefix?: string) => Promise<LernaReturnValue>;Spawn a command asynchronously, streaming stdio with optional prefix.
Parameter command
Parameter args
Parameter opts
Parameter prefix
Type Aliases
type LernaChildProcess
type LernaChildProcess = withPkg<execa.ExecaChildProcess<string>>;type LernaOptions
type LernaOptions = withPkg<execa.Options>;type LernaReturnValue
type LernaReturnValue = withPkg<execa.ExecaReturnValue<string>>;type StyleFormat
type StyleFormat = Parameters<typeof styleText>[0];Namespaces
Package Files (2)
Dependencies (49)
- @npmcli/arborist
- @npmcli/package-json
- @npmcli/run-script
- @nx/devkit
- @octokit/plugin-enterprise-rest
- @octokit/rest
- ci-info
- cmd-shim
- columnify
- conventional-changelog
- conventional-changelog-angular
- conventional-commits-filter
- conventional-commits-parser
- conventional-recommended-bump
- cosmiconfig
- dedent
- envinfo
- execa
- fs-extra
- git-url-parse
- handlebars
- import-local
- ini
- init-package-json
- inquirer
- js-yaml
- libnpmaccess
- libnpmpublish
- load-json-file
- make-fetch-happen
- minimatch
- npm-package-arg
- npm-packlist
- npm-registry-fetch
- nx
- p-map
- p-queue
- pacote
- read-cmd-shim
- semver
- signal-exit
- ssri
- string-width
- tar
- tinyglobby
- validate-npm-package-license
- validate-npm-package-name
- write-file-atomic
- yargs
Dev Dependencies (0)
No dev dependencies.
Peer Dependencies (0)
No peer dependencies.
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/lerna.
- Markdown[](https://www.jsdocs.io/package/lerna)
- HTML<a href="https://www.jsdocs.io/package/lerna"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 4245 ms. - Missing or incorrect documentation? Open an issue for this package.
