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

feat: add support for bumping version # in bower.json #148

Merged
merged 4 commits into from
Nov 27, 2016
Merged

feat: add support for bumping version # in bower.json #148

merged 4 commits into from
Nov 27, 2016

Conversation

bcoe
Copy link
Member

@bcoe bcoe commented Nov 26, 2016

working from @lexich's foundation, this pull adds support for bumping version # in multiple config files in a generic way.

@coveralls
Copy link

coveralls commented Nov 27, 2016

Coverage Status

Coverage remained the same at 100.0% when pulling 4036c83 on bower into 5c543a1 on master.

@coveralls
Copy link

coveralls commented Nov 27, 2016

Coverage Status

Coverage remained the same at 100.0% when pulling 02ffec8 on bower into 5c543a1 on master.

@coveralls
Copy link

coveralls commented Nov 27, 2016

Coverage Status

Coverage remained the same at 100.0% when pulling 9cff789 on bower into 70b20c8 on master.

@bcoe bcoe merged commit b788c5f into master Nov 27, 2016
@bcoe bcoe deleted the bower branch November 27, 2016 00:36
@bcoe
Copy link
Member Author

bcoe commented Nov 27, 2016

@lexich I've released support for bower.json in the upcoming release of standard-version; I would love the extra set of eyes/help testing:

npm cache clear; npm i standard-version@next

@lexich
Copy link
Contributor

lexich commented Nov 27, 2016

@bcoe nice. I think that the next step should be to adding support pluggins for different file formats.

configsToUpdate[configPath] = true
}
} catch (err) {
if (err.code !== 'ENOENT') console.warn(err.message)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bcoe This PR is so cool, thanks for getting back into the project so strongly, I've been AWOL due to increased pressure at our startup but am trying to catch up too.

I'm slightly concerned about the fact that any write errors will be ignored, e.g. if you have a bower.json you would presumably want to have it updated too. If the write fails, you'll just get a error but the git commits etc. will go through!

I haven't yet settled on an opinion on how this should be handled, but I think it's part of a bigger problem related to rolling back changes if an error occurs during the whole run..

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rolling back changes will be a awesome feature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

5 participants