Catalog npm
Back to packageRELEASE DETAILS

3.16.3

npm

@0x-lerna-fork/add

Add a dependency to matched packages

commandlerna
Published22 Jul 2019
Direct dependencies10
Transitive dependenciesNot calculated

README

Current package documentation

@0x-lerna-fork/add

Add a dependency to matched packages

Install lerna for access to the lerna CLI.

Usage

$ lerna add <package>[@version] [--dev] [--exact]

Add local or remote package as dependency to packages in the current Lerna repo. Note that only a single package can be added at a time compared to yarn add or npm install.

When run, this command will:

  1. Add package to each applicable package. Applicable are packages that are not package and are in scope
  2. Bootstrap packages with changes to their manifest file (package.json)

If no version specifier is provided, it defaults to the latest dist-tag, just like npm install.

Options

lerna add respects the --ignore, --scope and --include-filtered-dependencies flags (see Filter Flags).

--dev

Add the new package to devDependencies instead of dependencies.

--exact

$ lerna add --exact

Add the new package with an exact version (e.g., 1.0.1) rather than the default ^ semver range (e.g., ^1.0.1).

--registry <url>

Use a custom registry to install the targeted package.

--no-bootstrap

Skip the chained lerna bootstrap.

Examples

# Adds the module-1 package to the packages in the 'prefix-' prefixed folders
lerna add module-1 packages/prefix-*

# Install module-1 to module-2
lerna add module-1 --scope=module-2

# Install module-1 to module-2 in devDependencies
lerna add module-1 --scope=module-2 --dev

# Install module-1 in all modules except module-1
lerna add module-1

# Install babel-core in all modules
lerna add babel-core

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 10

Native requirements
10 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
@0x-lerna-fork/bootstrap
Environment
{
  "local_name": "@0x-lerna-fork/bootstrap",
  "alias": false,
  "peer_metadata": null
}
3.16.3runtime
@0x-lerna-fork/command
Environment
{
  "local_name": "@0x-lerna-fork/command",
  "alias": false,
  "peer_metadata": null
}
3.16.3runtime
@0x-lerna-fork/filter-options
Environment
{
  "local_name": "@0x-lerna-fork/filter-options",
  "alias": false,
  "peer_metadata": null
}
3.16.3runtime
@0x-lerna-fork/npm-conf
Environment
{
  "local_name": "@0x-lerna-fork/npm-conf",
  "alias": false,
  "peer_metadata": null
}
3.16.3runtime
@0x-lerna-fork/validation-error
Environment
{
  "local_name": "@0x-lerna-fork/validation-error",
  "alias": false,
  "peer_metadata": null
}
3.16.3runtime
@evocateur/pacote
Environment
{
  "local_name": "@evocateur/pacote",
  "alias": false,
  "peer_metadata": null
}
^9.6.3runtime
dedent
Environment
{
  "local_name": "dedent",
  "alias": false,
  "peer_metadata": null
}
^0.7.0runtime
npm-package-arg
Environment
{
  "local_name": "npm-package-arg",
  "alias": false,
  "peer_metadata": null
}
^6.1.0runtime
p-map
Environment
{
  "local_name": "p-map",
  "alias": false,
  "peer_metadata": null
}
^2.1.0runtime
semver
Environment
{
  "local_name": "semver",
  "alias": false,
  "peer_metadata": null
}
^6.2.0runtime

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "integrity": "sha512-0JYhYofJTPsrEsgfdg1DQrK2jFfTyVru0HUvDYvOuTmpdEu355qTH4OLbikzkKQCXjyYgj78wnCHSEXsI8bHFg==",
  "shasum": "f3f28fbc5f9b7f5a03ff85d5138c8668f41206a9",
  "tarball": "https://registry.npmjs.org/@0x-lerna-fork/add/-/add-3.16.3.tgz",
  "fileCount": 7,
  "unpackedSize": 28026,
  "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdNgPFCRA9TVsSAnZWagAAr/wP/33WyjSV0gnnmvJhzVeC\nh9qjGu51loptBatg0CC0jlHhC7HamslPGd8B0enKz19qlwHzCiXGeaRhDgO4\ntZo10K12WdLYzzLcHI6/1F3YR9fBrzzNjgYYmGoxmkFNLh/sLhdpZKxFFe0H\nJLdAN5KAUVs2NzCVRMEdDAobADiIzeIa/240udPAS/0rjHBan6lDjwr38I6g\nMLbE4ln+ut4PogcBt6m1KyogAg+ewlv/XY1540/SKd0IT/N3xJhMN8MXhcoH\nYQtcdUl+PcjWJ+1qZDX4NCwOxOqWFAgq5jj25TX9xoUokksFQEs9C5m50VwZ\nV26unf5qMuL47zAM0J2mvJPKvfkfqLMowsPWyyoz3mMa3zK8l4YxuwgNa06C\nC+IZvBYdDZ6yMtztmpIODWw1dhqVueVuT4zBiNHNTvdhiZgyfc17rMzbZVdV\nS80IHhD91C36mgVwWgb0RxaWufknie2dvtZJXFMuAm4dE8/FQzJxDrbQ04aq\nmEVVvd1Sb5QWb7wUHeEYGXFjATd1mK1ufl4ZYc2xA6cUtPNUmSWgVXjG04YK\ngvulhQ7GJ6qKJ4ypNITXvfbkORdo76z8Wd4qDB/J02El5yOt9S6nlPM/nu4j\nKx3TOe2SlGbsA7BJBCL41JUgEERPkEsv2JPvcUPkAQoBLnqrycfiAKhlmDGp\nVF6w\r\n=vq61\r\n-----END PGP SIGNATURE-----\r\n",
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEQCIHZ6Vvc/N+HCpEastYvHr73stRBCt1nRNYzCsw4eQy6dAiBDHltrKApt33VNOspIOYnXzoWzKyZvYIFM8LmBR3XzLg=="
    }
  ]
}

Repository

PENDING
lerna/lerna

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:17 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:d6f98faa2e1fabab3dbdbed3991003d9ec8a6391fd045196c8d53e860c6ea4a6

Other collected versions

3.16.222 Jul3.0.0-beta.2224 JulView all collected versions →