Extend SwiftPM `PackageDescription` to introduce metadata

As a counterpoint, package.json, the manifest file for Node.js / NPM, is used by more than 1 million packages, making it the largest package ecosystem of any programming language. While there's plenty of criticism to go around about the limitations as a hand-edited format (and some clever workarounds), the decision to use JSON hasn't been a deal-breaker for JavaScript. While sometimes "inconvenient", I wouldn't go as far as to say that it's "inappropriate".

But if the lack of comments is indeed a dealbreaker, there are alternatives like JSONC and JSON5 that improve human edibility without straying too far from the JSON-LD target.

1 Like
Terms of Service

Privacy Policy

Cookie Policy