Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@wrhs/release-line

Package Overview
Dependencies
Maintainers
7
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@wrhs/release-line

Manage release lines for integrating robust dependent builds in warehouse/feedsme

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
7
Created
Source

@wrhs/release-line

Version npm License npm Downloads Build Status Dependencies

A thin wrapper around the release-line models in warehouse-models to enable properly compiling the release-line data structure.

Install

npm install @wrhs/release-line --save

Usage

The intended usage is for providing some higher level operations on top of the release-line related models in warehouse-models


const thenify = require('tinythen');
const Datastar = require('datastar');
const wrhsModels = require('warehouse-models');
const cassConfig = require('./config')
const ReleaseLine = require('@wrhs/release-line');

function async main() {
  const datastar = new Datastar(cassConfig);
  const models = wrhsModels(datastar);
  const release = new ReleaseLine({ models });

  await thenify(datastar, 'connect');

  await release.create({ version: '4.0.0', pkg: 'releaseline-test' });
}

main()

What is a release-line?

This concept is meant to encapsulate a root package and the packages that depend at specific versions that were built together in order to be able to consistently promote them as a group between environments. For the warehouse.ai system this is meant to ensure that your package and its dependents that were built in DEV at whatever versions will be correctly promoted through environments without mistakenly getting an updated version of a dependent package.

Test

Ensure you have cassandra running locally first. You can follow this guide to install it on OSX. It should be similar for other operating systems as well.

npm test

Keywords

FAQs

Package last updated on 06 Nov 2019

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