square / find-yarn-workspace-root

Algorithm for finding the root of a yarn workspace, extracted from yarnpkg.com
Apache License 2.0
49 stars 8 forks source link

chore: remove unnecessary fs-extra dependency #14

Closed ameliabradley closed 6 years ago

ameliabradley commented 6 years ago

Dependency was unnecessary. The methods fs.readFileSync, and fs.existsSync ship with Node since v0.1.8 and v0.1.21 respectively. JSON.parse is built into V8.

Related to RetireJS/retire.js/pull/253 and RetireJS/retire.js#241