monodeploy-node
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

Monodeploy Node

This package exposes a Node API for Monodeploy. It provides an alternative to the CLI.

Installation

yarn add monodeploy-node

Usage

import type { MonodeployConfiguration }  from 'monodeploy-types'
import monodeploy from 'monodeploy-node'

try {
    const config: MonodeployConfiguration = {
        cwd: process.cwd(),
        dryRun: false,
        git: {
            baseBranch: 'master',
            commitSha: 'HEAD',
            remote: 'origin',
            push: true,
        },
        conventionalChangelogConfig: '@tophat/conventional-changelog-config',
        access: 'public',
    }
    const changeset = await monodeploy(config)
} catch (err) {
    console.error(err)
}

Readme

Keywords

none

Package Sidebar

Install

npm i monodeploy-node

Weekly Downloads

0

Version

0.1.1

License

Apache-2.0

Unpacked Size

28.2 kB

Total Files

10

Last publish

Collaborators

  • tophat_npm