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

baibulo-deploy

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

baibulo-deploy

Deployment utility for Baibulo family

1.0.6
latest
Source
npm
Version published
Weekly downloads
1
-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

Baibulo deploy - a deployment utility for Baibulo/Baibulo.NET projects

The Baibulo project family is a set of utilities that allow projects to leverage parallel frontend deployments on one environment, saving costs and speeding up development process.

Usage

Assuming your project uses one of the Baibulo backend solutions first install the baibulo-deploy package

$ npm install --save baibulo-deploy

Next create 2 scripts in your project.json file:

  "scripts": {
    "deploy": "baibulo deploy --dir dist --url http://server/assets",
    "release": "baibulo deploy --dir dist --version release --url http://server/assets"
  }

Please note

In the first case the branch name will be used to deploy files to server. However if the branch name is master then the deploy script is equal to release.

Command line options

The following command-line options are available:

usage: baibulo deploy [options]

  --dir dir          Directory with content to upload [./]
  --url context      * Root URL to deploy to (for example http://server/assets)
  --method method    Specify method to use to transfer the data (default: PUT)
  --version          Version (defaults to git branch - master==release)
  --ignored          Coma-separated list of file names that you want to skip
                     This list initially contains Web.config so there is no need
                     to specify it if all you need is to exclude Web.config files.
                     However if you use this option it acts as an override and you
                     do need to include it too

 * - required option

Technical details

The deployment utility uses HTTP PUT to upload content to server and the Version header to pass information about the version to upload. It is essentially the same as using cURL but on a tree of files instead of just one file at a time.

FAQs

Package last updated on 20 Oct 2018

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