mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 03:44:29 +03:00
c85ec6aaa5
no issue - Jobs should not always be functions, one of the standard practices is having a job defined in a module as a self contained executable function - First parameter of `addJob` function now also handles path to modules which it imports and executes |
||
---|---|---|
.. | ||
lib | ||
test | ||
.eslintrc.js | ||
index.js | ||
LICENSE | ||
package.json | ||
README.md |
Job Manager
Install
npm install @tryghost/job-manager --save
or
yarn add @tryghost/job-manager
Usage
Develop
This is a mono repository, managed with lerna.
Follow the instructions for the top-level repo.
git clone
this repo &cd
into it as usual- Run
yarn
to install top-level dependencies.
Run
yarn dev
Test
yarn lint
run just eslintyarn test
run lint and tests
Copyright & License
Copyright (c) 2020 Ghost Foundation - Released under the MIT license.