Skip to content

luisvieiragmr/syncpack

 
 

Repository files navigation

syncpack

NPM version NPM downloads Dependency Status Gitter Chat for syncpack Donate via PayPal Analytics Follow JamieMason on GitHub Follow fold_left on Twitter

Manage multiple package.json files, such as packages/*/package.json in Lerna Monorepos.

Installation

npm install --global syncpack

Usage

Usage: syncpack [options] [command]

  Options:

    -V, --version      output the version number
    -h, --help         output usage information

  Commands:

    fix-mismatches     set dependencies used with different versions to the same version
    format             sort and shorten properties according to a convention
    list               list every dependency used in your packages
    list-mismatches    list every dependency used with different versions in your packages
    set-semver-ranges  set semver ranges to the given format
    help [cmd]         display help for [cmd]

fix-mismatches

Set dependencies used with different versions to the same version.

Usage: syncpack fix-mismatches [options]

Options:

  -s, --source [pattern]  glob pattern for package.json files to read from
  -h, --help              output usage information

format

Sort and shorten properties according to a convention.

Usage: syncpack format [options]

Options:

  -s, --source [pattern]  glob pattern for package.json files to read from
  -h, --help              output usage information

list

List every dependency used in your packages.

Usage: syncpack list [options]

Options:

  -s, --source [pattern]  glob pattern for package.json files to read from
  -h, --help              output usage information

list-mismatches

List every dependency used with different versions in your packages.

Usage: syncpack list-mismatches [options]

Options:

  -s, --source [pattern]  glob pattern for package.json files to read from
  -h, --help              output usage information

set-semver-ranges

Set semver ranges to the given format.

Usage: syncpack set-semver-ranges [options]

Options:

  -r, --semver-range <range>  <, <=, "", ~, ^, >=, >, or *. defaults to ""
  -s, --source [pattern]      glob pattern for package.json files to read from
  -h, --help                  output usage information

About

Manage multiple package.json files in Lerna Monorepos

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 88.5%
  • JavaScript 11.5%