Utilities for using NQL
This is a mono repository, managed with lerna.
git clonethis repo &cdinto it as usualyarn setupis 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 lintrun just eslintyarn testrun lint and tests
yarn shipis an alias forlerna version- Bumps the version of all packages which have changed, also updating any packages which depend on them
- Commits the new versions ("Published new versions"), tags the releases, and pushes to the remote (set
GHOST_UPSTREAMto push to a remote other thanorigin) - Publishing to npm happens in CI: the Publish workflow picks up the version commit on
mainand publishes any package versions missing from the registry via OIDC trusted publishing - If a publish fails, re-run the Publish workflow from the Actions tab (with dry-run disabled) — it only publishes versions not yet on the registry, so it is safe to retry
Copyright (c) 2013-2026 Ghost Foundation - Released under the MIT license.