ACTTA GuideACTTA Studio Sanity Starter

Start here

  • Getting started
  • Commands
  • FAQ

Sanity

  • Project setup
  • Dataset migration
  • Studio structure

Features

  • Page builder
  • Articles
  • Contact forms
  • Media & Mux
  • SEO & sitemap
  • Basic Auth
  • Presentation & preview
  • Redirects
  • Code generation
  • Spam prevention
  • View transitions
  • Umami tracking
  • Git hooks

Deploy

  • Vercel

Architecture

  • Content architecture
ACTTA GuideACTTA Studio Sanity Starter

Start here

  • Getting started
  • Commands
  • FAQ

Sanity

  • Project setup
  • Dataset migration
  • Studio structure

Features

  • Page builder
  • Articles
  • Contact forms
  • Media & Mux
  • SEO & sitemap
  • Basic Auth
  • Presentation & preview
  • Redirects
  • Code generation
  • Spam prevention
  • View transitions
  • Umami tracking
  • Git hooks

Deploy

  • Vercel

Architecture

  • Content architecture

Guide

Git hooks

Pre-commit hooks run via Lefthook.

Setup

Hooks install automatically when you run:

pnpm install

The root package.json "prepare" script runs lefthook install. If hooks aren't running after cloning, install manually:

pnpm exec lefthook install

What runs on commit

HookCommand
BiomeLint + format check on staged files
Typespnpm run check:types

Config: lefthook.yml

Skip hooks (emergency only)

LEFTHOOK=0 git commit -m "message"
PreviousUmami tracking
NextVercel

On this page

  • Setup
  • What runs on commit
  • Skip hooks (emergency only)