Skip to content

Commit

Permalink
Merge pull request #1079 from stencila/remove-non-elife-codecs
Browse files Browse the repository at this point in the history
Remove non elife codecs
  • Loading branch information
soggy-mushroom authored Aug 20, 2024
2 parents b991e24 + ea3fc08 commit b5c0e91
Show file tree
Hide file tree
Showing 390 changed files with 3,172 additions and 205,175 deletions.
23 changes: 0 additions & 23 deletions .editorconfig

This file was deleted.

7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
on:
push:
branches: ['master']
pull_request:
branches: [ 'master' ]

env:
NODE_VERSION: '20.x'
Expand All @@ -20,12 +22,15 @@ jobs:
- name: Install dependencies
run: npm ci

- name: Lint
run: npm run lint

# Run tests with
# - Run in band because appears to run more smoothly (avoids memory issues when running in parallel?)
# - Fifteen (!) minute test timeout
# - Force exit to prevent hanging
- name: Run tests
run: npx jest jats --runInBand --testTimeout=900000 --forceExit
run: npx jest --runInBand --testTimeout=900000 --forceExit
env:
# Tell Node.js how much un-garbage-collected-memory it can
# allow for to prevent it running out (in Mb)
Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ dist
docs
node_modules
src/codecs/**/README.md
README.md
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Encoda

## Announcement

For some time our main focus has been a rewrite of [our Stencila platform](https://github.com/stencila/stencila) (`v2`). We are porting over codecs and other functionality from this repo to the `v2` of our Stencila platform.

This means that we are unable to be so active with contributions to this project. eLife have volunteered to continue development on this repository until such a time as the `v2` of Stencila can meet their needs. They only have need of the codecs to convert from JATS to JSON.

From `v2.0.0` of this project we will only continue to support the conversion from JATS to JSON. If you want to use any other formats then please see if they are available in Stencila or use the [v1.0.3](https://github.com/stencila/encoda/releases/tag/v1.0.3) release.

We have chosen at this time to leave the rest of the README.md as it was before the removal of much of the code. This does mean that the README.md is out of date. We may prioritise updating it in future.

##### Codecs for structured, semantic, composable, and executable documents

[![Build status](https://dev.azure.com/stencila/stencila/_apis/build/status/stencila.encoda?branchName=master)](https://dev.azure.com/stencila/stencila/_build/latest?definitionId=1&branchName=master)
Expand Down
6 changes: 0 additions & 6 deletions install.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,3 @@ async function load(modulePath) {
return require(modulePath)
}
}

;(async () => {
// Install Pandoc binary
const pandoc = await load('./dist/codecs/pandoc/binary')
await pandoc.install()
})()
Loading

0 comments on commit b5c0e91

Please sign in to comment.