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

Question: how should this be used? #4

Open
jgoz opened this issue Jan 24, 2019 · 2 comments
Open

Question: how should this be used? #4

jgoz opened this issue Jan 24, 2019 · 2 comments
Labels
question Further information is requested

Comments

@jgoz
Copy link

jgoz commented Jan 24, 2019

In your comment, you asked for people to be early adopters and I would be happy to be one of them.

How do you envision this package should be used? Ideally, for my own use case, normalized-fs could be set up to replace graceful-fs without much hassle. I see you have a replace-gfs folder in this project - could that be used in other projects?

Perhaps by adding normalized-fs as a (dev) dependency and setting up a resolution for graceful-fs like you have done, it would avoid pulling graceful-fs altogether.

@mekwall
Copy link
Owner

mekwall commented Jan 25, 2019

The replace-gfs package is only used internally atm but I am thinking about moving it out to it's own package that can be used in the way you describe. Would that help?

But yeah, you should be able to override graceful-fs by setting up resolutions to use normalized-fs instead.

@mekwall mekwall added the question Further information is requested label Jan 25, 2019
@jgoz
Copy link
Author

jgoz commented Jan 25, 2019

Yeah, that could certainly help. Ideally, major projects (like Jest) would drop graceful-fs altogether, but I'm thinking pessimistically — it will take time before it starts disappearing from dependency graphs, so having a standard way of overriding it would be nice for the near term.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants