Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] yarn npm publish should propose the next version #6628

Open
2 tasks
Ayc0 opened this issue Dec 9, 2024 · 0 comments
Open
2 tasks

[Feature] yarn npm publish should propose the next version #6628

Ayc0 opened this issue Dec 9, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Ayc0
Copy link
Contributor

Ayc0 commented Dec 9, 2024

  • I'd be willing to implement this feature (contributing guide)
  • This feature is important to have in this repository; a contrib plugin wouldn't do

Describe the user story

In the v1, when running yarn publish, yarn was automatically:

  • proposing the new version to use,
  • adding a tag matching this version on git,
  • updating the package.json + creating a commit

I loved doing this as it abstracted a lot of work.

Describe the solution you'd like

Either introduce this as a breaking change, or behind a new flag like --interactive. It could even ask for the npm tag to use (latest or other)

Describe the drawbacks of your solution

N/A

Describe alternatives you've considered

This could be a plugin indeed, but it used to be part of yarn's core so :/

@Ayc0 Ayc0 added the enhancement New feature or request label Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant