Currently contributors need to run 3 separate commands before pushing. A single pnpm run check would streamline the workflow.
What to do:
- Add to the root
package.json scripts:
"check": "pnpm -C web run typecheck && pnpm -C web run lint && pnpm -C web run test -- --run"
- Update
CONTRIBUTING.md to mention the shortcut
- Optionally add a
pre-push git hook suggestion
Skills needed: Basic npm/pnpm scripts knowledge
Estimated time: ~30 minutes
Currently contributors need to run 3 separate commands before pushing. A single
pnpm run checkwould streamline the workflow.What to do:
package.jsonscripts:CONTRIBUTING.mdto mention the shortcutpre-pushgit hook suggestionSkills needed: Basic npm/pnpm scripts knowledge
Estimated time: ~30 minutes