Skip to content
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

Draft
wants to merge 17 commits into
base: master
Choose a base branch
from
Draft

Conversation

nokome
Copy link
Member

@nokome nokome commented Oct 16, 2024

Some remaining opportunities for removing dependencies:

  • if CLI is not being used. i.e only being used by calling a function then @stencila/jesta, get-stdin and other dependenices can be removed
  • replace @stencila/logga with use of console.warn
  • can the the yaml codec be removed (perhaps being used in tests)?

@nlisgo
Copy link
Collaborator

nlisgo commented Oct 16, 2024

Thanks for this @nokome. Great to catch up with you today. I will bring this up with the rest of the team today.

@nlisgo
Copy link
Collaborator

nlisgo commented Oct 17, 2024

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.

#1085

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.

@nlisgo nlisgo self-requested a review October 17, 2024 09:06
Copy link
Collaborator

@nlisgo nlisgo left a 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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants