antfu-collective / package-manager-detector

Package manager detector
MIT License
36 stars 4 forks source link

chore: setup changesets #28

Closed benmccann closed 7 hours ago

benmccann commented 22 hours ago

Description

Shows what a setup with changesets looks like to do automated publishing with provenance. A repository admin will need to install the changesets app and set the NPM_TOKEN

Linked Issues

https://github.com/antfu-collective/package-manager-detector/issues/24

Additional context

provenance can only be created by building on the CI, so we need some sort of automated system if we want to support that

antfu commented 14 hours ago

Thank you but I am personally against using changesets, it's too much work and verbose to maintain the changes - especially for such a small package. If provenance is a strong need, we could just change the release CI to publish that trigger by git tag. If you want I can set it up

benmccann commented 7 hours ago

No worries at all. I'll take you up in your offer to have you setup provenance as I don't have any experience doing it that way