verify
द्वारा facebook
React योगदानों के लिए प्री-कमिट सत्यापन, समानांतर प्रकार जांच और परीक्षण के साथ। फ़ॉर्मेटिंग और लिंटिंग को क्रमिक रूप से चलाता है, पहली विफलता पर रुकता है ताकि समस्याओं को जल्दी पकड़ा जा सके। दक्षता के लिए उप-एजेंटों का उपयोग करके प्रकार जांच और दोहरे परीक्षण सूट (स्रोत और www) को समानांतर में निष्पादित करता है। कौन से परीक्षण चलाने हैं, इसे फ़िल्टर करने के लिए वैकल्पिक परीक्षण पैटर्न तर्क स्वीकार करता है। किसी भी चरण
npx skills add https://github.com/facebook/react --skill verifyVerification
Run all verification steps.
Arguments:
- $ARGUMENTS: Test pattern for the test step
Instructions
Run these first in sequence:
- Run
yarn prettier- format code (stop if fails) - Run
yarn linc- lint changed files (stop if fails)
Then run these with subagents in parallel:
- Use
/flowto type check (stop if fails) - Use
/testto test changes in source (stop if fails) - Use
/test wwwto test changes in www (stop if fails)
If all pass, show success summary. On failure, stop immediately and report the issue with suggested fixes.