Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • cokoapps/server
  • jgutix/server
2 results
Show changes
Commits on Source (2)
...@@ -2,6 +2,13 @@ ...@@ -2,6 +2,13 @@
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
## [1.11.0](https://gitlab.coko.foundation/cokoapps/server/compare/v1.10.0...v1.11.0) (2021-03-18)
### Features
* **server:** export db from db-manager ([6524687](https://gitlab.coko.foundation/cokoapps/server/commit/652468782a52c5940807598a4eef75a59d4d135c))
## [1.10.0](https://gitlab.coko.foundation/cokoapps/server/compare/v1.9.1...v1.10.0) (2021-03-18) ## [1.10.0](https://gitlab.coko.foundation/cokoapps/server/compare/v1.9.1...v1.10.0) (2021-03-18)
......
{ {
"name": "@coko/server", "name": "@coko/server",
"version": "1.10.0", "version": "1.11.0",
"description": "A tweaked version of pubsweet-server for use by Coko's projects", "description": "A tweaked version of pubsweet-server for use by Coko's projects",
"main": "src/index.js", "main": "src/index.js",
"scripts": { "scripts": {
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
}, },
"dependencies": { "dependencies": {
"@pubsweet/base-model": "^4.0.8", "@pubsweet/base-model": "^4.0.8",
"@pubsweet/db-manager": "^3.1.19",
"@pubsweet/errors": "^2.0.44", "@pubsweet/errors": "^2.0.44",
"@pubsweet/logger": "^0.2.54", "@pubsweet/logger": "^0.2.54",
"@pubsweet/models": "^0.3.19", "@pubsweet/models": "^0.3.19",
......
...@@ -4,6 +4,7 @@ const BaseModel = require('@pubsweet/base-model') ...@@ -4,6 +4,7 @@ const BaseModel = require('@pubsweet/base-model')
const authentication = require('pubsweet-server/src/authentication') const authentication = require('pubsweet-server/src/authentication')
const { pubsubManager, startServer } = require('pubsweet-server') const { pubsubManager, startServer } = require('pubsweet-server')
const logger = require('@pubsweet/logger') const logger = require('@pubsweet/logger')
const { db } = require('@pubsweet/db-manager')
const app = require('./app') const app = require('./app')
const { boss, connectToJobQueue } = require('./pgboss') const { boss, connectToJobQueue } = require('./pgboss')
...@@ -13,10 +14,12 @@ const createJWT = authentication.token.create ...@@ -13,10 +14,12 @@ const createJWT = authentication.token.create
module.exports = { module.exports = {
app, app,
createJWT, createJWT,
logger,
pubsubManager, pubsubManager,
startServer, startServer,
BaseModel, BaseModel,
logger,
db,
cron, cron,
......