Since #1083, Lefthook is no longer managed as a pnpm dependency, which means the lefthook entry under onlyBuiltDependencies in pnpm-workspace.yaml is now obsolete.
After further inspection, esbuild also does not appear anywhere in the project's dependencies. If that is confirmed, the entire onlyBuiltDependencies section becomes unnecessary.
For context, the packages: [.] setting in the same file was added in #849 solely as a workaround for a Dependabot issue (#848) where Dependabot fails when pnpm-workspace.yaml exists but the packages field is absent. Without any other meaningful content in the file, the need for pnpm-workspace.yaml itself should be reconsidered.
Since #1083, Lefthook is no longer managed as a pnpm dependency, which means the
lefthookentry underonlyBuiltDependenciesinpnpm-workspace.yamlis now obsolete.After further inspection,
esbuildalso does not appear anywhere in the project's dependencies. If that is confirmed, the entireonlyBuiltDependenciessection becomes unnecessary.For context, the
packages: [.]setting in the same file was added in #849 solely as a workaround for a Dependabot issue (#848) where Dependabot fails whenpnpm-workspace.yamlexists but thepackagesfield is absent. Without any other meaningful content in the file, the need forpnpm-workspace.yamlitself should be reconsidered.