Ghost editor, based on the Lexical framework.
This is a mono repository, managed with lerna.
To get started in this repo:
git clonethis repo &cdinto it as usual- run
yarn setupfrom the top-level:- installs all external dependencies
- links all internal dependencies
- runs an initial build of all projects
To add a new package to the repo:
- install Slimer
- run
slimer new <package name>
yarn dev runs the koenig-lexical package in development mode. Please refer to its README for more information.
yarn lintrun just eslintyarn testrun lint and tests
Ghost core team only.
- run
yarn shipin the top-level Koenig directory — this runs tests, prompts for version bumps, and pushes the version commit tomain - CI automatically publishes the updated packages to npm via the
publish.ymlworkflow - bump the Koenig dependencies in Ghost. Either:
- wait for Renovate to create a bump PR (example) and merge it (recommended option)
- or, do it manually, by adding the new Koenig package versions to the
package.jsonfiles inGhost/coreandGhost/admin
Copyright (c) 2013-2026 Ghost Foundation - Released under the MIT license.