Coder Social home page Coder Social logo

changelog's People

Contributors

allbitsnbytes avatar defunctzombie avatar jonathanong 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

Watchers

 avatar  avatar  avatar

changelog's Issues

Offer an option to release current version

Sometimes you upgrade directly the package.json version (or some people with good intention make a PR with an updated version).

That would be nice to be able to make a release without specifying a version. Obviously if a tag with the version is already existing, you can throw an error OR you can create a patch release.
You can

  • if no version/keyword provided
    • read package.json version
    • if no tag fit the version, you create do your job from this version
    • if a tag already exist, you make bump as a patch
  • if version/keyword provided
    • do you job

the keyword idea is #3
I used this in the past using mversion. But I stopped using it because I found myself updating changelog.md with version number by hand before using a automatic bumper for package.json

This issue + #3 + #9 would make me use this tool like yesterday ! If you are open, I can give you a hand.

Anyway thanks for this.

less .json

right now it requires package.json. would be nice if .json files aren't required as well as update the version for all .json files present.

`changelog release foo` does the wrong thing

Due to a bug (feature?) in commander, if you type changelog release foo instead of changelog --release foo, it generates an invalid package.json (with the version field as an array). This appears to be because program.release is an array instead of string when you leave out the dashes.

You should either explicitly disallow that syntax or make it work. (Personally I prefer no dashes for this git-style CLI.)

git: annotated tags and custom tag name

@defunctzombie Awesome tool! Thanks for building and publishing it!

Are you planning support for annotated git tags and custom tag names?

Would be really cool if one could change the tag name from

git tag v<new version>

to an annotated version

git tag -a "<new version>" -m "<custom><new version>"

I prefer to omit the "v" prefix in front of my tags for example, like:

git tag -a "1.0.0" -m "Release 1.0.0"

Let me know what you think about that and if a PR is appreciated :)

consider prior art

In perl land, changelogs were once chaos. Now it is blasphemy not to adhere to https://metacpan.org/pod/CPAN::Changes::Spec . It would be nice to have something like this in Node.js, and it seems like your porject may be it. I haven't particularly read through your spec here, but thought you may be interested in reading into what CPAN::Changes did for perl (the main difference would be that I think we should use markdown in Node.js, though CPAN::Changes does not use markdown).

somehow commit + add to change log

you don't want all your commits to be added to the change log, but it would be nice to be able to optionally add it to the change log. not sure what the best way to do this is th

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.