Skip to content

Add a pnpm run check meta-script for all pre-push checks #2

Description

@kanweiwei

Currently contributors need to run 3 separate commands before pushing. A single pnpm run check would streamline the workflow.

What to do:

  1. Add to the root package.json scripts:
    "check": "pnpm -C web run typecheck && pnpm -C web run lint && pnpm -C web run test -- --run"
  2. Update CONTRIBUTING.md to mention the shortcut
  3. Optionally add a pre-push git hook suggestion

Skills needed: Basic npm/pnpm scripts knowledge

Estimated time: ~30 minutes

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions