Skip to main content
Glama
lefthook.yml1.4 kB
pre-commit: parallel: true commands: biome-check: glob: "*.{js,ts,jsx,tsx,json,html}" exclude: "biome.json|biome.jsonc|@scripts/" run: node node_modules/@biomejs/biome/bin/biome check --write --diagnostic-level="error" --no-errors-on-unmatched --files-ignore-unknown=true {staged_files} stage_fixed: true typecheck-web-next: glob: "apps/web-next/**/*.{ts,tsx}" run: cd apps/web-next && pnpm typecheck typecheck-api-nest: glob: "apps/api-nest/**/*.{ts,tsx}" run: cd apps/api-nest && pnpm typecheck export-api-docs: glob: "packages/contracts/src/**/*.{ts,js}" run: pnpm --filter "@invention/contracts" build && pnpm --filter "@invention/contracts" docs:export-tsrest && pnpm --filter "@invention/contracts" docs:export-orpc stage_fixed: true validate-prisma-schema: glob: "packages/database/prisma/schema.prisma" run: pnpm --filter @repo/database validate commit-msg: commands: check-commit-message: run: | # Basic commit message validation # Ensures commit messages are not empty and have reasonable length msg=$(cat {1}) if [ -z "$msg" ]; then echo "Commit message cannot be empty" exit 1 fi if [ ${#msg} -lt 3 ]; then echo "Commit message too short (minimum 3 characters)" exit 1 fi

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/docleaai/doclea-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server