open-wc / custom-elements-manifest

Custom Elements Manifest is a file format that describes custom elements in your project.
https://custom-elements-manifest.open-wc.org/
227 stars 37 forks source link

Add a CLI/config entry to prevent CEM/A from writing to a package.json file #121

Closed Westbrook closed 2 years ago

Westbrook commented 2 years ago

Expected behavior Running the analyzer will only write to my package.json when I want it to.

**CLI/config entry options*** So as not to make this change breaking, we likely want a negation style flag here. Some options for review:

cem analyze --no-package-json
cem analyze --no-linking
cem analyze --create-only
cem analyze --packagejson=false // defaulting to true
... more?
... better?

With my naive though that these kabob case flags would move to camel case in a config file.

Thoughts?

thepassle commented 2 years ago

this should be fixed in #142