We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
localDir
At the moment localDir defaults to process.cwd(). This does not work when the current directory is not the package root.
process.cwd()
Should we instead default to pkgDir() or pkgDir.sync() or (if none was found) process.cwd()?
pkgDir()
pkgDir.sync()
The text was updated successfully, but these errors were encountered:
My bad, I realize npm-run-path actually does this by adding node_modules/.bin on all parent directories instead.
npm-run-path
node_modules/.bin
Sorry, something went wrong.
No branches or pull requests
At the moment
localDir
defaults toprocess.cwd()
. This does not work when the current directory is not the package root.Should we instead default to
pkgDir()
orpkgDir.sync()
or (if none was found)process.cwd()
?The text was updated successfully, but these errors were encountered: