potiuk commented on PR #25167:
URL: https://github.com/apache/airflow/pull/25167#issuecomment-1190775008

   I thin this one is better. In VAST majority of  cases running 
'generate-api-types' will produce the same file. 
   
   Unfortunately - unlike in Python, pre-commit does not reuse node 
environments, so the less of them, the better for time/cache restore and 
creation etc:
   
   ```
   ⌁ [jarek:~/.cache/pre-commit] % echo */*/lib/node_modules | xargs du -h -s
    21M repocw333njc/node_env-18.6.0/lib/node_modules
    48M repoltxx29sq/node_env-18.6.0/lib/node_modules
    19M repowd9np_qb/node_env-18.6.0/lib/node_modules
    20M repoy6z0rp4o/node_env-16.15.1/lib/node_modules
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to