changelog icon indicating copy to clipboard operation
changelog copied to clipboard

less .json

Open jonathanong opened this issue 11 years ago • 5 comments

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.

jonathanong avatar May 14 '14 00:05 jonathanong

+1 Agreed.

My longterm hope is that a package manager understands history.md or something and just grabs the version from that on publish.

defunctzombie avatar May 14 '14 00:05 defunctzombie

If there is no version field in a json file then should it be ignored? (There might be json files that are unrelated to the package). I am skeptical about updating "all" json files tho I suppose if something ends up being mis-updated we can blacklist it. In practice I don't think this will be an issue. Maybe a whitelist is more appropriate.

defunctzombie avatar May 15 '14 18:05 defunctzombie

I would just add the version to all json files unless it's marked private

Also, whitelist

jonathanong avatar May 15 '14 19:05 jonathanong

which files to whitelist then?

package.json component.json

any others?

defunctzombie avatar May 15 '14 19:05 defunctzombie

I only know bower.json and composer.json

jonathanong avatar May 15 '14 19:05 jonathanong