A collection of tools for interacting with Ghost's APIs.
This is a mono repository, managed with lerna.
git clone
this repo &cd
into it as usualyarn setup
is mapped tolerna bootstrap
- installs all external dependencies
- links all internal dependencies
To add a new package to the repo:
- install slimer
- run
slimer new <package name>
yarn dev
yarn lint
run just eslintyarn test
run lint and tests
yarn ship
is an alias forlerna publish
- Publishes all packages which have changed
- Also updates any packages which depend on changed packages
NOTE: use yarn ship --git-remote upstream
to correctly update tags and version commits, when your remote origin
is set up to a fork of TryGhost/Ghost-SDK and original repository is set to upstream
.
Copyright (c) 2018-2020 Ghost Foundation - Released under the MIT license.