The package should come with a single dependency to yargs, which would only be used for the CLI usage. All the remaining dependencies should be bundled in (yes, that also includes TypeScript).
Reason: Using a different version of TypeScript may break the declaration generation. When bundling we ensure that the declaration bundling works as tested.
The package should come with a single dependency to
yargs
, which would only be used for the CLI usage. All the remaining dependencies should be bundled in (yes, that also includes TypeScript).Reason: Using a different version of TypeScript may break the declaration generation. When bundling we ensure that the declaration bundling works as tested.