npm-publish
npm-publish copied to clipboard
package::packageJson::packageName finalised too early
Given
npmPublish {
packages {
named("js") {
packageJson {
packageName.set("some-library")
}
}
}
}
Produces this error
The value for property 'packageName' is final and cannot be changed any further.