0.0.8 • Published 6 years ago

makeup-private-npm-server v0.0.8

Weekly downloads
-
License
MIT
Repository
-
Last release
6 years ago

makeup-private-npm-server

makeup-private-npm-server is a library that installs all dependent packages required by the project on the verdaccio private NPM server.

Install

verdaccio is installed in global location when is this package install.

npm i -g makeup-private-npm-server

verdaccio configuration

What is Verdaccio? / verdaccio configuration

Required configuration

# package storage
storage: ./storage
...

# download server
uplinks:
  npmjs:
    url: https://registry.npmjs.org

# set proxy
packages:
  '@*/*':
	...
    proxy: http://127.0.0.1:4873
  '**':
    ...
    proxy: http://127.0.0.1:4873
...

# server host and port
listen:
	- 127.0.0.1:4873

Use with node.js

const MPNS = require('makeup-private-npm-server');

new MPNS({config: 'path/to/config.yaml', force: false}).start();

Use with CLI

mpns --config /Users/sgjeon/.config/verdaccio/config.yaml

CLI Arguments

usage: mpns [-h] [-v] [-c CONFIG] [-f FORCE]

MPNS CLI

Optional arguments:
  ...
  -c CONFIG, --config CONFIG
                        verdaccio configuration file path
  -f FORCE, --force FORCE
                        Force the installation of the package.
0.0.8

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago

0.0.0

6 years ago