Contentlayer is developed as a mono-repo using Yarn.
git clone --recurse-submodules git://github.com/contentlayerdev/contentlayer.git
git submodule update --init --recursive
yarn install
# One-time build
yarn build
# Build and watch files for changes
# ... or run `dev:ts` VSC task via `Tasks: Run Task`
yarn dev:ts
yarn test