Given this configuration:
// nx.json
{
"targetDefaults": {
"fun": {
"executor": "nx:run-commands"
}
}
}
// project.json
{
"targets": {
"fun": {
"options": {
"command": "rimraf /"
}
}
}
}
Knip reports rimraf
as unused:
Unused devDependencies
rimraf package.json
Because it requires an explicit executor:
I would propose just dropping .filter
. I understand that it makes the heuristic more loose, but in reality, even when there's overlap with non-nx:run-commands
executors, it's still semantically close enough. The only overlap in official executors I found is in @nx/remix:serve
, and it would actually be good to consider it too.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too