Skip to content
New issue

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

Switch to esm and require node 12 #14

Merged
merged 1 commit into from
Oct 2, 2021

Conversation

jimmywarting
Copy link
Contributor

❤️ that you try and push everything to ESM, hope this helps

@param cwd - Directory to start from. Default: `process.cwd()`.
@returns The project root path or `undefined` if it couldn't be found.
*/
export function pkgDirSync(cwd: any): string;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure why you changed it to any here.

@sindresorhus
Copy link
Owner

While I appreciate the pull request, it's actually faster for me to do this myself instead of having to review a pull request.

@sindresorhus sindresorhus merged commit 198c9fe into sindresorhus:main Oct 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants