enhance yarn configuration