Contentlayer is developed as a mono-repo using Yarn.
git clone --recurse-submodules git://github.com/timlrx/contentlayer2.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