bevry / cson

CoffeeScript-Object-Notation. Same as JSON but for CoffeeScript objects.
Other
1.34k stars 55 forks source link

'editions' is an undeclared required dependency, resulting in fatal failure when running CSON CLI without previously-installed (globally or locally) 'editions' package #132

Closed danielweck closed 4 years ago

danielweck commented 4 years ago

https://github.com/bevry/cson/blob/1e48f2184d27664dadbb7b790d0cf2dd03fcfea1/package.json#L105-L111

https://github.com/bevry/cson/blob/1e48f2184d27664dadbb7b790d0cf2dd03fcfea1/bin/cson2json#L4

My current workaround is to explicitly npm install editions --save-dev, which modifies my project's own package.json. This workaround should not be needed, as in practice editions really is a required dependency of the CSON package itself (and therefore a transitive dependency for my project, not a direct one).

balupton commented 4 years ago

Thanks, will fix in the next 24 hours

danielweck commented 4 years ago

Thanks :)

balupton commented 4 years ago

Fixed in v6.9.0 which is being published now