-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove unused codecs and dependencies #1084
base: master
Are you sure you want to change the base?
Conversation
Remove all codecs not listed in `codecList` in `src/index.ts` or depended upon by those in there.
Thanks for this @nokome. Great to catch up with you today. I will bring this up with the rest of the team today. |
This looks great. We have been getting some value from the cli in development. But we know the cli is over-engineered when we only support the conversion of JATS to JSON now. I've submitted a PR to introduce a lightweight cli option which will reduce the feedback loop for us when developing support for things that aren't currently handled in Encoda. I will merge in the above once green. I've tested the script on master and this feature branch and it works and gives the same output. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me. The yaml removal could be done as a followup?
Some remaining opportunities for removing dependencies:
@stencila/jesta
,get-stdin
and other dependenices can be removed@stencila/logga
with use ofconsole.warn
yaml
codec be removed (perhaps being used in tests)?