code-research-object icon indicating copy to clipboard operation
code-research-object copied to clipboard

Read information from language-specific package description files

Open hubgit opened this issue 10 years ago • 4 comments

See the wiki for a summary of the main package description formats.

If a package description file already exists in the repository, read information from there.

Examples: package.json (node), bower.json (web), composer.json (PHP), META.json (Perl), DESCRIPTION (R), etc…

hubgit avatar Mar 06 '14 17:03 hubgit

Sounds like a good idea. Would also be good to create a universal format for anyone working in a non-standard language. That could simply be the common subset of essential fields from all those formats listed in your link. At best, it would encourage uniformity across languages and allow new developers to learn about one package description format that would apply to any language they ended up using.

robldavidson avatar Mar 19 '14 04:03 robldavidson

https://xkcd.com/927/

hubgit avatar Mar 19 '14 08:03 hubgit

Ha. Point well made.

robldavidson avatar Mar 20 '14 04:03 robldavidson

There's a related thread in the json-ld.js issue tracker about adding JSON-LD context file to a package.json file.

hubgit avatar Apr 17 '14 16:04 hubgit