Skip to content

Latest commit

 

History

History
37 lines (25 loc) · 713 Bytes

File metadata and controls

37 lines (25 loc) · 713 Bytes

Contributing to Contentlayer

Gitpod Ready-to-Code

Development setup

Contentlayer is developed as a mono-repo using Yarn.

Cloning & installing dependencies

git clone --recurse-submodules git://github.com/contentlayerdev/contentlayer.git
yarn install

Checkout submodules (after cloning)

git submodule update --init --recursive

Building the source

# One-time build
yarn build

# Build and watch files for changes
# ... or run `dev:ts` VSC task via `Tasks: Run Task`
yarn dev:ts

Run tests

yarn test