Search Gradle plugins

dev.petuska.npm.publish

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.

https://npm-publish.petuska.dev

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

Version 2.0.0

Created 26 May 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.

Using the plugins DSL:

plugins {
  id("dev.petuska.npm.publish") version "2.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("dev.petuska:npm-publish:2.0.0")
  }
}

apply(plugin = "dev.petuska.npm.publish")

Using the plugins DSL:

plugins {
  id "dev.petuska.npm.publish" version "2.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "dev.petuska:npm-publish:2.0.0"
  }
}

apply plugin: "dev.petuska.npm.publish"

Learn how to apply plugins to subprojects