Skip to content

Make glob a real dependency #47

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

Merged
merged 1 commit into from
Apr 2, 2025
Merged

Make glob a real dependency #47

merged 1 commit into from
Apr 2, 2025

Conversation

robyoder
Copy link
Collaborator

@robyoder robyoder commented Apr 2, 2025

We use glob in extract-strings, which is exported for use by consumers, so it should be an actual dependency, not a dev dependency. It could be a peer dependency, but there's no specific reason to require it to be synced with whatever version of glob a consumer may be using since it's just a dev tool.

While doing this I realized that npm install will change package-lock.json to use the same indentation style as package.json. I missed this when setting up Prettier before, so telling Prettier to ignore package-lock.json doesn't actually help. I could send package.json back to using spaces, but tabs are preferred for accessibility.

I've also run npm pkg fix here to address some warnings logged when publishing.

We use glob in extract-strings, which is exported for use by consumers, so it should be an actual dependency, not a dev dependency. It could be a peer dependency, but there's no specific reason to require it to be synced with whatever version of `glob` a consumer may be using since it's just a dev tool.

While doing this I realized that `npm install` will change `package-lock.json` to use the same indentation style as `package.json`. I missed this when setting up Prettier before, so telling Prettier to ignore `package-lock.json` doesn't actually help. I could send `package.json` back to using spaces, but tabs are preferred for accessibility.

I've also run `npm pkg fix` here to address some warnings logged when publishing.
@robyoder robyoder merged commit d404e80 into master Apr 2, 2025
1 check passed
@robyoder robyoder deleted the ry/glob branch April 2, 2025 23:48
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.

1 participant