Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
pnpm lint-staged
# lint-staged only runs when a root package.json exists (e.g. on
# version branches that ship a JS/TS toolchain). After the v1..v4
# reorg, main has no root package.json, so we skip the JS lint pass.
if [ -f package.json ] && command -v pnpm >/dev/null 2>&1; then
pnpm lint-staged
fi

# Rust checks (only if v3/ files are staged)
if git diff --cached --name-only | grep -q '^v3/'; then
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Sindri

[![License](https://img.shields.io/github/license/pacphi/sindri)](LICENSE)
[![CI v2](https://github.com/pacphi/sindri/actions/workflows/ci-v2.yml/badge.svg?branch=v2)](https://github.com/pacphi/sindri/actions/workflows/ci-v2.yml)
[![CI v3](https://github.com/pacphi/sindri/actions/workflows/ci-v3.yml/badge.svg?branch=v3)](https://github.com/pacphi/sindri/actions/workflows/ci-v3.yml)
[![CI v4](https://github.com/pacphi/sindri/actions/workflows/ci-v4.yml/badge.svg?branch=v4)](https://github.com/pacphi/sindri/actions/workflows/ci-v4.yml)
[![CI v2](https://github.com/pacphi/sindri/actions/workflows/ci.yml/badge.svg?branch=v2)](https://github.com/pacphi/sindri/actions/workflows/ci.yml?query=branch%3Av2)
[![CI v3](https://github.com/pacphi/sindri/actions/workflows/ci.yml/badge.svg?branch=v3)](https://github.com/pacphi/sindri/actions/workflows/ci.yml?query=branch%3Av3)
[![CI v4](https://github.com/pacphi/sindri/actions/workflows/ci.yml/badge.svg?branch=v4)](https://github.com/pacphi/sindri/actions/workflows/ci.yml?query=branch%3Av4)
[![FAQ](https://img.shields.io/badge/FAQ-on%20fly.dev-blue)](https://sindri-faq.fly.dev)
[![GHCR](https://img.shields.io/badge/GHCR-container%20registry-blue)](https://github.com/pacphi/sindri/pkgs/container/sindri)

Expand Down
Loading