开发者社区> 镜像站> NPM> polyrepo-update
polyrepo-update
Bulk update packages
Last updated 5 years ago by yoshuawuyts .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install polyrepo-update 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.1.0                                ...           latest (5 years ago)

1 Versions

  • 0.1.0                                ...           5 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (8)
Dev Dependencies (3)
Dependents (2)