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

feat: find config in parent directory #8

Merged
merged 4 commits into from Mar 4, 2024

Conversation

aleclarson
Copy link

@aleclarson aleclarson commented Apr 17, 2023

Description

Use escalade (already in the lockfile) to find the nearest bump.config file, since c12 doesn't support it.

The lockfile wasn't compatible with the latest PNPM, so that's been regenerated too.

Linked Issues

Closes #7

// Stop at the repository root.
if (foundRepositoryRoot) {
// eslint-disable-next-line no-throw-literal
throw null
Copy link
Author

Choose a reason for hiding this comment

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

Throw to stop the escalade loop from loading more directories.

@antfu antfu merged commit 032bd7a into antfu-collective:main Mar 4, 2024
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.

Look in parent directories for config file
2 participants