New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

alle-publish

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alle-publish

An approximation of Lerna publish in alle

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
increased by500%
Maintainers
1
Weekly downloads
 
Created
Source

alle-publish

Build Status npm version License

An approximation of Lerna publish using alle

  1. Walk through a packages dir
  2. Collect package dependencies through static analysis
  3. Merge top-level package.json metadata
  4. 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).

{
  // optional scoped package support
  scope: '@myorg',
  // package.json template extended into parent package
  template: {
    main: 'index.js',
    // supports private registries
    publishConfig: {
      registry: 'http://example.com'
    }
  },
  // pull these properties from the parent package.json
  extends: [
    'repository',
    'keywords',
    'bugs',
    'homepage',
    'license',
    'author'
  ],
  // optionally transform resolved dependencies during static analysis
  transformers: {
    // npm package/a package in node_modules
    // option or list of options passed to the transformer
    'allo-replace-transformer': {
      pattern: '/foo/',
      replacement: 'bar'
    }
  }
}

Author

© 2016 Tom Vincent git@tlvince.com (https://tlvince.com)

License

Released under the MIT license.

Keywords

FAQs

Package last updated on 14 Nov 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc