Skip to content

publish

Robert Gaggl edited this page Dec 2, 2012 · 1 revision

rp publish

rp publish [options]

Options

-f/--force Force publishing of a package

Description

rp publish allows you to publish a package in the registry. Publishing is a simple step:

  • Change into the directory containing your package
  • Type rp publish

rp publish will then check if the package.json file contains the required information, create a zipball of the directory contents and publish it in the registry.

Use the -f/--force flag to re-publish a package version. Note that you shouldn't do that if the package has been published for a while - in these cases it's probably better to create a new version since rp won't touch already installed packages if the version number doesn't change.

Clone this wiki locally