alle-publish
An approximation of Lerna publish using alle
- Walk through a packages dir
- Collect package dependencies through static analysis
- Merge top-level
package.json
metadata - Publish packages
Installation
npm install --save-dev alle-publish
Usage
Have something bump the version
of the parent package, then call
alle-publish
.
Options
Looks for the nearest .allerc
in JSON format (example shown here in JS for
comments).
{
scope: '@myorg',
template: {
main: 'index.js',
publishConfig: {
registry: 'http://example.com'
}
},
extends: [
'repository',
'keywords',
'bugs',
'homepage',
'license',
'author'
],
transformers: {
'allo-replace-transformer': {
pattern: '/foo/',
replacement: 'bar'
}
}
}
Author
© 2016 Tom Vincent git@tlvince.com (https://tlvince.com)
License
Released under the MIT license.