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 non elife codecs #1079

Merged
merged 66 commits into from
Aug 20, 2024
Merged

Remove non elife codecs #1079

merged 66 commits into from
Aug 20, 2024

Conversation

soggy-mushroom
Copy link
Collaborator

@soggy-mushroom soggy-mushroom commented Jul 31, 2024

Cleaning up the repo, so that EPP team is comfortable making further progress on encoda tickets.

scottaubrey and others added 30 commits July 22, 2024 15:40
Removed unnecessary asset build steps from the 'build:dist' command in package.json. Now only the 'build:tex-assets' step is included.
Remove 'build:tex-assets' from 'build:dist' command.
nlisgo and others added 21 commits July 24, 2024 19:57
Changed the name of the third parameter in toInvert function from 'name' to 'fileName' for better readability and understanding.
Removed newline at the end of files in the crossref codec, specifically in
file snapshots and fixtures files.
Updated the decode function and error log in person/index.ts to improve readability and code consistency.
Added JsonLdDocument type from jsonld to JSON parsing in decode function. This allows for better type checking and error handling. Also, expanded the JSON stringify parameters in the encode function.
Added JsonLdDocument type from jsonld to JSON parsing in decode function. This allows for better type checking and error handling. Also, expanded the JSON stringify parameters in the encode function.
Reorganized the encodeCsl, encodeArticle, and encodeCreativeWork functions in the csl codec. The functions are now more logically ordered, making the code easier to follow and maintain. No changes in functionality.
Reorder encodePerson, encodeOrganization, and encodeAuthor methods
in src/codecs/csl/index.ts for improved readability and code structure.
Added methods to encode and decode Stencila `Date`, `Organization`, `CreativeWork` and `Person` nodes as `Csl.Date`, `string`, `Csl.Data` and `Csl.Person` objects respectively. Also moved some methods within the file for better organization.
This commit updates the code to include trailing commas in function
arguments across multiple test files. It also adds two files to
.prettierignore.
Added a trigger for pull requests targeting the master branch in the CI
workflow. Also, removed 'kitchen-sink-xml--before.json' from
.prettierignore.
Copy link
Member

@nokome nokome left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this @soggy-mushroom @scottaubrey @will-byrne @nlisgo.

This looks fine to me. As mentioned elsewhere we should update the README to note this significant change in the scope of the project and look to reduce and update dependencies. But happy to merge this if you see fit.

Add announcement section explaining the shift in project focus to the development of the Stencila platform `v2`. Specify that from `v2.0.0` onwards, only the conversion from JATS to JSON will be supported. Also, remove references to unsupported codecs from the Codecs section.
README.md Show resolved Hide resolved
nlisgo and others added 4 commits August 19, 2024 14:23
Added a list of multiple codecs to the README.md. Also, added a note
indicating that the README.md is currently outdated even though a
significant amount of code has been removed. Future updates to
README.md are suggested.
@soggy-mushroom soggy-mushroom merged commit b5c0e91 into master Aug 20, 2024
1 check passed
@nlisgo nlisgo deleted the remove-non-elife-codecs branch August 28, 2024 14:49
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.

5 participants