Skip to content

Conversation

@newhouse
Copy link
Contributor

@newhouse newhouse commented Aug 19, 2020

Description of the change

yarn version

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklists

Development

  • The code changed/added as part of this pull request has been covered with tests
  • All tests related to the changed code pass in development
  • No previous tests unrelated to the changed code fail in development

Code review

  • This pull request has a descriptive title and information useful to a reviewer. There may be a screenshot or screencast attached.
  • At least one reviewer has been requested
  • Changes have been reviewed by at least one other engineer
  • The relevant project board has been selected in Projects to auto-link to this pull request

@newhouse newhouse requested a review from benogle August 19, 2020 20:10
@newhouse
Copy link
Contributor Author

Also @benogle can you or @ralbayaty invite/add me to our Org on npm.js? Username is newhouse...but the e-mail is my personal one.

@benogle
Copy link
Contributor

benogle commented Aug 19, 2020

You have been invited

@newhouse
Copy link
Contributor Author

Thanks @benogle I'm in!. If you think this looks good, plz approve and I will merge and publish on npm

@ralbayaty
Copy link
Contributor

ralbayaty commented Aug 20, 2020

The changelog in here seems to squash out the v2.0.0. Not sure if this has anything to do with having not done yarn publish in awhile in here (last published package seems to be v1.0.2).Suppose it isn't the end of the world.

@newhouse
Copy link
Contributor Author

newhouse commented Aug 20, 2020

The changelog in here seems to squash out the v2.0.0. Not sure if this has anything to do with having not done yarn publish in awhile in here (last published package seems to be v1.0.2).Suppose it isn't the end of the world.

Are the changes still in the repo @ralbayaty ? I'm not a fan of this version autocreate thing...

If they're in there, I may just go along with things how they are...nbd.

@ralbayaty
Copy link
Contributor

ralbayaty commented Aug 20, 2020

Are the changes still in the repo @ralbayaty ? I'm not a fan of this version autocreate thing...

Yeah looks like it only squashed the versions together in the changelog but the commits are still in there.

The changelog autocreate stuff was a swift thing I put in to help devs see what has changed without adding any overhead to us.

yarn version is meant to be run inline during a yarn publish (or npm publish, I forget which one we use here) off of master, and not in a PR directly. So basically in master branch we yarn publish which bumps the version, updates the changelog, then pushes the package to the registry. This is how lerna publish works in (without the changelog) a monorepo we have.

If they're in there, I may just go along with things how they are...nbd.

I think we should do this all off master and nix this PR. If things don't work as intended we can change the flow to whatever you think is easier from a dev standpoint and document it better (this should have already been done to avoid confusion).

@newhouse
Copy link
Contributor Author

I think we should do this all off master and nix this PR. If things don't work as intended we can change the flow to whatever you think is easier from a dev standpoint and document it better (this should have already been done to avoid confusion).

I tried to do it off of master, but could not. Git(hub) complained when pushing that a reviewer needed to approve it, or that I can't push straight to master or something...

@ralbayaty
Copy link
Contributor

I tried to do it off of master, but could not. Git(hub) complained when pushing that a reviewer needed to approve it, or that I can't push straight to master or something...

No bueno. In that case, go ahead with whatever gets your stuff in and feel free to change whatever you need to make this easiest. It would be great to have a low/no maintenance CHANGELOG, but if not currently feasible we can nix it for time being.

@newhouse newhouse merged commit b79bd3f into master Aug 20, 2020
@newhouse newhouse deleted the newhouse/v2_1_0 branch August 20, 2020 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants