Giter VIP home page Giter VIP logo

conventional-changelog-cli's People

Contributors

gitter-badger avatar marionebl avatar stevemao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

conventional-changelog-cli's Issues

--config does not work with recent version of angular/config.js and so on (and here is why)

Latest version of changelog-cli wants an exported object

if (flags.config) {
    config = require(resolve(process.cwd(), flags.config));
  } else {
    config = {};
  }
// [...]

var changelogStream = conventionalChangelog(options, templateContext, config.gitRawCommitsOpts, config.parserOpts, config.writerOpts)

while latest config version of conventional-changelog-angular exports a promise and other versions a callback.

That's why the conventional-changelog library works with these configuration files but not the CLI.

[Enhancement] Recommended workflow

In the following workflow people could combine 4 to 7 with a simple hook.
https://github.com/conventional-changelog-archived-repos/conventional-changelog-cli#recommended-workflow

With this hook people could simply use npm version

{
  "scripts": {
    "version": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md"
  }
}

If you combine with a proper .npmrcthe workflow could become:

  1. Make changes
  2. Commit those changes
  3. Make sure Travis turns green
  4. Bump version with npm version <patch|minor|major> command
  5. Push

1.1.1 and 1.0.1 change of behavior

I find it strange for a rather "simple" tool to change its general behavior between minor releases, e.g. switching from -w to -s and now requiring -p <preset> in order to be able to get an expected result when using conventional-changelog.

While I appreciate you all doing a great job in providing this tool, it would be nice of you for at least keep a reasonable default when breaking with existing behavior.

The most reasonable defaults would have been

  • aliasing -w with -s
  • using a default preset -p angular

TIA

Append top of the file

Currently is append on the bottom of the changelog file :(

First I do:

conventional-changelog --preset=angular -infile=CHANGELOG.md --same-file --release-count=0

later I release a new tag and:

conventional-changelog --preset=angular -infile=CHANGELOG.md -a -s

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.