All Projects → TryGhost → SDK

TryGhost / SDK

Licence: MIT License
No description, website, or topics provided.

Programming Languages

javascript
184084 projects - #8 most used programming language
Handlebars
879 projects

Ghost SDK

A collection of tools for interacting with Ghost's APIs.

Develop

This is a mono repository, managed with lerna.

  1. git clone this repo & cd into it as usual
  2. yarn setup is mapped to lerna bootstrap
    • installs all external dependencies
    • links all internal dependencies

To add a new package to the repo:

  • install slimer
  • run slimer new <package name>

Run

  • yarn dev

Test

  • yarn lint run just eslint
  • yarn test run lint and tests

Publish

  • yarn ship is an alias for lerna 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/SDK and original repository is set to upstream.

Copyright & License

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].