bahmutov / add-typescript-to-cypress

Quickly adds TypeScript spec support to Cypress
https://github.com/bahmutov/test-add-typescript-to-cypress
107 stars 6 forks source link

update add-plugin to use env.INIT_CWD for root #109

Open rjriel opened 4 years ago

rjriel commented 4 years ago

The purpose of this is to better handle when using environments that cache the node_modules folder by symlinking (ie. AWS CodeBuild cache). By using process.env.INIT_CWD we save the need to have to climb up the directory tree to try and get to the root folder. This would probably also help if this library was somehow used as a sub-module

rjriel commented 3 years ago

Clearing out old PR's, although this one seems useful. I'm going to give a bump here and another week before closing out as no interest