onom
A monorepo manager
Last updated a year ago by pshrmn .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install onom 
SYNC missed versions from official npm registry.

Onom

Monorepo management for JavaScript packages.

npm install onom

Configuration

Packages are broken into two categories: primary and secondary.

Primary packages are the core packages for a monorepo. Anything that will be published to NPM is a primary package.

Secondary packages are packages that depend on primary packages, but are not publisehd to NPM. Examples of secondary packages are demo packages and a documentation website (that makes use of primary packages).

The configuration for both the primary and secondary packages are done through an array of globs.

{
  "primary": ["packages/*"],
  "secondary": ["examples/*", "docs"]
}

Usage

const onom = require("onom");

const config = {
  primary: ["packages/*"],
  secondary: ["examples/*", "docs"]
}

const manager = await onom(config);

// create symlinks of primary packages
manager.link();

// return an object showing which packages
// depend on which other packages in the monorepo
manager.list();

Current Tags

  • 1.0.0-alpha.0                                ...           latest (a year ago)

1 Versions

  • 1.0.0-alpha.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dependencies (4)
Dev Dependencies (12)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |