You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. I am just getting started with changesets. I have a monorepo managed by Turborepo. As i see the workflow now, if you make a commit in your feature branch and there are affected packages, you should run yarn changeset and pick them manually. I want the release to only happen when a pr is merged in main so i dont need the bot that makes prs with versions. So after the PR is merged, ci cd flow will trigger yarn changeset version && publish.
But how can we automate this? There are 2 problems:
I don't want to remind myself to changeset every time i open a PR. I also don't like the idea of a bot reminding me to changeset.
Is there a way to always changeset on affected packages? The only problem i can see here is how is it going to know if it's a major, minor or patch for each package? Could we somehow implement a hook?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello. I am just getting started with changesets. I have a monorepo managed by Turborepo. As i see the workflow now, if you make a commit in your feature branch and there are affected packages, you should run
yarn changeset
and pick them manually. I want the release to only happen when a pr is merged in main so i dont need the bot that makes prs with versions. So after the PR is merged, ci cd flow will triggeryarn changeset version && publish
.But how can we automate this? There are 2 problems:
changeset
every time i open a PR. I also don't like the idea of a bot reminding me tochangeset
.changeset
on affected packages? The only problem i can see here is how is it going to know if it's a major, minor or patch for each package? Could we somehow implement a hook?Beta Was this translation helpful? Give feedback.
All reactions