npm.io
0.10.1 • Published 1 month ago

@tryghost/mongo-knex

Licence
MIT
Version
0.10.1
Deps
2
Size
182 kB
Vulns
0
Weekly
0
Stars
7

Mongo Knex

Installation

  1. Make sure that gstenv is green. See Dev Environment for docs.
  2. git clone this repo & cd into it as usual
  3. Run yarn to install top-level dependencies.

Run

Test

  • yarn lint run just eslint
  • yarn test run lint && tests
  • NODE_ENV=testing-mysql yarn test
    • Manual database creation is currently required.

Debug

DEBUG=mongo-knex:* DEBUG=mongo-knex:converter DEBUG=mongo-knex:converter-extended

Config

config.[env].json

Copyright (c) 2013-2026 Ghost Foundation - Released under the MIT license.