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 3.4.3 (latest)

3.4.3

Created 19 June 2024.

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 "3.4.3"
}

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Learn how to apply plugins to subprojects