Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

138
Views
jscodeshift ignorando archivos al azar

Estoy tratando de usar jscodeshift pero cuando digo directorio a /src no se recurre correctamente. Por ejemplo:

Al intentar ./src obtengo 4 archivos:

 (.venv) ./client$ jscodeshift -t ./scripts/flow-stats/coverage-transform.js --dry --ignore-pattern="**/__generated__/**" --parser="flow" ./src Processing 4 files... Spawning 4 workers... All done. Results: 0 errors 0 unmodified 0 skipped 4 ok Time elapsed: 0.721seconds

Si intento ./src/* obtengo 9 archivos:

 (.venv) ./client$ jscodeshift -t ./scripts/flow-stats/coverage-transform.js --dry --ignore-pattern="**/__generated__/**" --parser="flow" ./src/* Processing 9 files... Spawning 9 workers... All done. Results: 0 errors 0 unmodified 0 skipped 9 ok Time elapsed: 0.820seconds

Cuando soy más específico ./src/components/**/* Obtengo 64 archivos?

 (.venv) ./client$ jscodeshift -t ./scripts/flow-stats/coverage-transform.js --dry --ignore-pattern="**/__generated__/**" --parser="flow" ./src/components/**/* Processing 64 files... Spawning 35 workers... All done. Results: 0 errors 0 unmodified 0 skipped 64 ok Time elapsed: 1.958seconds
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

Jscodeshift probablemente esté usando patrones glob , que se usan comúnmente en herramientas como jest, por ejemplo. Pruebe ./src/**/* y debería obtener todos los archivos.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!