rittenhop-ghost/versions/5.94.2/node_modules/@tryghost/mongo-knex
2024-09-23 19:05:38 -04:00
..
lib adding local files for running this....locally 2024-09-23 19:05:38 -04:00
test adding local files for running this....locally 2024-09-23 19:05:38 -04:00
.editorconfig adding local files for running this....locally 2024-09-23 19:05:38 -04:00
.eslintrc.js adding local files for running this....locally 2024-09-23 19:05:38 -04:00
index.js adding local files for running this....locally 2024-09-23 19:05:38 -04:00
LICENSE adding local files for running this....locally 2024-09-23 19:05:38 -04:00
package.json adding local files for running this....locally 2024-09-23 19:05:38 -04:00
README.md adding local files for running this....locally 2024-09-23 19:05:38 -04:00

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 & License

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