Back to Lexical

Team Data

packages/lexical-website/src/data/README.md

0.44.01.4 KB
Original Source

Team Data

This directory contains dynamically generated data for the Lexical team page.

team.json

The team.json file contains information about:

  • Core Team: Active maintainers with PR review access who have contributed in the last 12 months
  • Core Team Emeriti: Previous core team members who haven't been active recently but made significant contributions
  • Distinguished Contributors: Community members with substantial contributions (11+ total contributions)

Updating Team Data

The team data is automatically generated from GitHub contributor data using the generate-team-data.js script.

To update the team data:

bash
pnpm run update-team-data

This script:

  1. Fetches all contributors from the GitHub API
  2. Checks recent activity (last 12 months) for tracked team members
  3. Fetches user profile information (name, Twitter, company)
  4. Categorizes contributors based on:
    • Whether they have PR review access
    • Recent commit activity
    • Total contribution count
  5. Generates the team.json file with sorted team members

Configuration

The team categorization logic is configured in scripts/generate-team-data.mjs

When to Update

Update the team data:

  • Occasionally to reflect recent contributions
  • When adding new core team members
  • When team members change roles or organizations

Requirements

  • GitHub CLI (gh) must be installed and authenticated
  • Internet connection to access GitHub API
  • Node.js 18+