Skip to content

Commit

Permalink
Update engine to v2.2.1 (#23)
Browse files Browse the repository at this point in the history
* Bump engine to. v2.2.1

* Update config

* Trust semver publishing
  • Loading branch information
clementbiron authored Sep 12, 2024
1 parent a33be6d commit 9b05dc1
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 52 deletions.
82 changes: 40 additions & 42 deletions config/production.json
Original file line number Diff line number Diff line change
@@ -1,51 +1,49 @@
{
"name": "kenya",
"services": {
"repository": "https://github.com/OpenTermsArchive/kenya-declarations.git",
"declarationsPath": "./declarations"
},
"recorder": {
"versions": {
"storage": {
"git": {
"snapshotIdentiferTemplate": "https://github.com/OpenTermsArchive/kenya-snapshots/commit/%SNAPSHOT_ID",
"repository": "[email protected]:OpenTermsArchive/kenya-versions.git",
"path": "./data/versions"
"@opentermsarchive/engine": {
"recorder": {
"versions": {
"storage": {
"git": {
"snapshotIdentiferTemplate": "https://github.com/OpenTermsArchive/kenya-snapshots/commit/%SNAPSHOT_ID",
"repository": "[email protected]:OpenTermsArchive/kenya-versions.git",
"path": "./data/versions"
}
}
},
"snapshots": {
"storage": {
"git": {
"repository": "[email protected]:OpenTermsArchive/kenya-snapshots.git",
"path": "./data/snapshots"
}
}
}
},
"snapshots": {
"storage": {
"git": {
"repository": "[email protected]:OpenTermsArchive/kenya-snapshots.git",
"path": "./data/snapshots"
}
"fetcher": {
"language": "en"
},
"notifier": {
"sendInBlue": {
"updatesListId": 0,
"updateTemplateId": 0
}
}
},
"fetcher": {
"language": "en"
},
"notifier": {
"sendInBlue": {
"updatesListId": 0,
"updateTemplateId": 0
}
},
"reporter": {
"githubIssues": {
"repositories": {
"declarations": "OpenTermsArchive/kenya-declarations",
"versions": "OpenTermsArchive/kenya-versions",
"snapshots": "OpenTermsArchive/kenya-snapshots"
},
"reporter": {
"githubIssues": {
"repositories": {
"declarations": "OpenTermsArchive/kenya-declarations",
"versions": "OpenTermsArchive/kenya-versions",
"snapshots": "OpenTermsArchive/kenya-snapshots"
}
}
},
"dataset": {
"title": "kenya",
"versionsRepositoryURL": "https://github.com/OpenTermsArchive/kenya-versions"
},
"collection-api": {
"port": 3000,
"basePath": "/collection-api"
}
},
"dataset": {
"title": "kenya",
"versionsRepositoryURL": "https://github.com/OpenTermsArchive/kenya-versions"
},
"api": {
"port": 3000
}
}
29 changes: 21 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@
"test:schema": "ota validate --schema-only",
"test:modified": "ota validate --modified",
"start": "ota track",
"start:api": "ota serve",
"start:collection-api": "ota serve",
"start:schedule": "npm run start -- --schedule",
"start:modified": "git diff -z --name-only HEAD $(git merge-base HEAD origin/main) -- ./declarations/ | tr '\\0' '\\n' | grep -v .history | grep -v .filters | sed 's/declarations\\///g' | sed 's/.json//g' | sed 's/.*/\"&\"/' | xargs -r npm run start -- --services",
"dataset": "ota dataset",
"dataset:schedule": "npm run dataset -- --publish --remove-local-copy --schedule"
},
"dependencies": {
"@opentermsarchive/engine": "~2.0.1"
"@opentermsarchive/engine": "^2.2.1"
}
}

0 comments on commit 9b05dc1

Please sign in to comment.