Closed NullVoxPopuli closed 2 years ago
Hey, we by no means want to bring in any node_modules that we don't have to. Let's work on fixing this.
For parcel and jest, we depend on pieces of them, not the whole thing.
Where are you seeing them brought in? Could you please provide more information like you provided for eslint
please?
Unfortunately, typescript
is tightly integrated for the code analysis that Nx does so I'm not sure if it's easy to remove that one.
I can take a look at moving eslint
to a peer dependency first.
I've fixed the issue with eslint
being installed https://github.com/nrwl/nx/pull/8552. Please open a new issue for jest
with more information. As I said, I think the dependency on typescript
is necessary.
This issue has been closed for more than 30 days. If this issue is still occuring, please open a new issue with more recent context.
Current Behavior
after installing
@nrwl/cli
,@nrwl/tao
, and@nrwl/workspace
, may linting and type checking tasks started failing (just running with normaleslint
andtsc
bins.Why does
@nrwl/workspace
install so much stuff I don't need?In my lockfile:
I don't need:
eslint@8
, which broke my defaulteslint
command, and might be why all my lint stuff is failing right now.If there is a way to block dependencies from being installed, I think that could help :thinking: but it feels hacky.
Expected Behavior
I only want task runners. I delegate linting by package
Steps to Reproduce
Environment