Skip to content

polyrepo/polyrepo-update

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

polyrepo-update experimental

NPM version build status Test coverage Downloads js-standard-style

Bulk update packages. Currently only lists which packages are out of date.

Installation

$ npm install polyrepo-update

Usage

From the CLI:

Usage: polyrepo-update [options]

Options:
  -h, --help        Output usage information
  -v, --version     Output version number

Examples:
  $ polyrepo-update          # update repos in current dir
  $ ls . | polyrepo-update   # update a list of repos

Docs: https://github.com/polyrepo/polyrepo-update
Bugs: https://github.com/polyrepo/polyrepo-update/issues

From Node:

const update = require('polyrepo-update')
const json = require('JSONStream')

// takes a list of directories
process.stdin
  .pipe(update())
  .pipe(json.stringify())
  .pipe(process.stdout)

API

transformStream = polyrepoUpdate()

Take a list of directories and check if the dependencies in its package.json are up to date. Outputs an object, make sure to stringify it before passing it to process.stdout.

Contributors

License

MIT

Releases

No releases published

Packages

No packages published