http icon indicating copy to clipboard operation
http copied to clipboard

chore(): Add 'clib.json' for clib@^1.9.0

Open jwerle opened this issue 6 years ago • 2 comments

jwerle avatar Aug 07 '19 14:08 jwerle

Hi @jwerle, sorry for the late reply, thank you for contributing!

It's been a while that I'm not programming in C and I think I missed some updates from clib. I haven't found anything in the docs, so I'm asking it to you:

  • what is clib.json and what are the differences from the old package.json?
  • (related to the first question) do we need both clib.json and package.json? If yes, why?
  • why do we need nodejs scripts? I'd like to avoid node as a system dependency.

daddinuz avatar Nov 02 '19 12:11 daddinuz

@daddinuz club.json is intended to replace the package.json file. It is supported in master of clib. The package.json file is not necessary anymore not are the scripts. This PR allows both to exists for those have not upgraded while the node scripts are used for convenience to ensure the versions Between clib.json ans package.json are the same. However, everything will be okay with just the clib.json file

jwerle avatar Nov 02 '19 12:11 jwerle