npm-publish icon indicating copy to clipboard operation
npm-publish copied to clipboard

package::packageJson::packageName finalised too early

Open mpetuska opened this issue 3 years ago • 0 comments

Slack thread

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.

mpetuska avatar Sep 12 '22 20:09 mpetuska