Package com.artipie.npm
Interface Publish
- All Known Implementing Classes:
CliPublish
public interface Publish
The NPM publish front. Publish new packages in different ways
(e.g. using `npm publish` or using `curl PUT`).
- Since:
- 0.9
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionPublish a new version of a npm package.publishWithInfo
(Key prefix, Key artifact) Publish a new version of a npm package and returned published package info.
-
Method Details
-
publishWithInfo
Publish a new version of a npm package and returned published package info.- Parameters:
prefix
- Path prefix for archives and meta information storageartifact
- Where uploaded json file is stored- Returns:
- Completion with new package information or error signal.
-
publish
Publish a new version of a npm package.- Parameters:
prefix
- Path prefix for archives and meta information storageartifact
- Where uploaded json file is stored- Returns:
- Completion with new package information or error signal.
-