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
  • Method Details

    • publishWithInfo

      CompletableFuture<Publish.PackageInfo> publishWithInfo(Key prefix, Key artifact)
      Publish a new version of a npm package and returned published package info.
      Parameters:
      prefix - Path prefix for archives and meta information storage
      artifact - Where uploaded json file is stored
      Returns:
      Completion with new package information or error signal.
    • publish

      CompletableFuture<Void> publish(Key prefix, Key artifact)
      Publish a new version of a npm package.
      Parameters:
      prefix - Path prefix for archives and meta information storage
      artifact - Where uploaded json file is stored
      Returns:
      Completion with new package information or error signal.