question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Should CLI version be bumped after API is?

See original GitHub issue

So whenever we bump the API should we also bump the CLI version? This is currently not the case as CLI has clean-css 4.x as dependency since API interface does not change. However not updating CLI leads to a problem when it has to be updated by reinstalling it, see https://github.com/jakubpawlowicz/clean-css-cli/issues/4

Bumping CLI also implies these:

  • Whenever there’s a bug in CLI it gets a patch version bump which will eventually lead to different API and CLI versions
  • Whenever API gets a minor version bump so does CLI

I just want to know what is the good practice here.

Thoughts?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
jakubpawlowiczcommented, Feb 7, 2017

Let’s do this.

0reactions
jakubpawlowiczcommented, Feb 7, 2017
Read more comments on GitHub >

github_iconTop Results From Across the Web

What Semantic Version increment to use for a filename change?
Since this is a backward incompatible API change, you should bump to 2.0.0. Changing the name of a command line app is backward...
Read more >
bump-cli - npm
The Bump CLI is used to interact with your API documentation hosted on Bump by using the API of developers.bump.sh. Latest version: 2.4.1, ......
Read more >
node.js - NPM: How to get bumped version in my CLI command?
TL;DR The answer is: Use version instead of preversion in npm-scripts. You can found more details here in explanation of scripts order.
Read more >
Semantic Versioning Sucks! Long Live Semantic Versioning
We run the cmp goal during CI and releases which will fail if there is a breaking change (or if a minor version...
Read more >
theogravity/version-bump - GitHub
the bump parameter of the cli strategy is set to minor , so the minor version will bump; after the strategy bumps minor,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found