This repository was archived by the owner on Apr 11, 2025. It is now read-only.
Releases: mpetuska/npm-publish
Releases · mpetuska/npm-publish
v2.0.4
Versions
- Kotlin: 1.5.21
- Gradle: 7.1.1
- JDK: 11
Changes
- Updated versions
- Dynamic version ranges for increased compatibility
- Fixed a bug that always expected version to be a string
- Removed some duplicated code in sandbox
- New sandbox module to check that plugin can work with both, nodejs() and browser() flavours at the same time
- New
ts-consumer
module in the sandbox to showcase how to include packed K/JS modules into plain TS module
v2.0.3
v2.0.2
v2.0.1
v2.0.0
A major release migrating the plugin to new id dev.petuska.npm.publish
. This was needed for Maven Central publishing.
Version Upgrades
- Kotlin 1.5.10
- Gradle 7.0.2
- JVM 11+
Breaking Changes
- Plugin id changed from
lt.petuska.npm.publish
todev.petuska.npm.publish
- Root package changed to
dev.petuska.npm.publish
. To migrate, just raplacelt.
part todev.
in all imports you might have (tasks, DSL, etc...)
Improvements
- Publications now work as expected for nodejs targets (thanks to kotlin 1.5)
v1.1.4
v1.1.3
v1.1.2
Improved Kotlin/JS IR support, taking the fact that those now have all kotlin dependencies bundled in js output file already.
- bundleKotlinDependencies is now completely disabled for autogenerated IR binaries
- npm-shrinkwrap.json will now not be generated (even if explicitly enabled) if no bundled dependencies are resolved
- generated JS IR publications now can be imported normally into any yarn & npm project as any other npm dependency