Search Gradle plugins

lt.petuska.npm.publish

Integrates with kotlin JS/MPP plugins to setup publishing to NPM repositories for all JS targets. Also allows for arbitrary non-kotlin publications

https://github.com/mpetuska/npm-publish

Sources: https://gitlab.com/lt.petuska/npm-publish

Version 1.1.1

1.1.1

Created 01 February 2021.

A maven-publish alternative for NPM package publishing. Integrates with kotlin JS/MPP plugins (if applied) to automatically setup publishing to NPM repositories for all JS targets.

Add this plugin to your build using the plugins DSL:

plugins {
  id("lt.petuska.npm.publish") version "1.1.1"
}

See also:

  • The legacy method of plugin application.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("lt.petuska:npm-publish:1.1.1")
      }
    }
    
    apply(plugin = "lt.petuska.npm.publish")
  • Applying plugins to all subprojects .