sharedGlobals contains root level files that should invalidate the cache for all projects. Note that tsconfig.base.json and the package.json lock files are handled behind the scenes by Nx so that when you modify the specific properties that affect your project, the cache is invalidated. https://nx.dev/concepts/more-concepts/customizing-inputs
Based on this I assume a dependency update should invalidate the cache.
The update of @ngrx/eslint-plugin
from 16.0.1 to 16.1.0 breaks the linting but this is hidden by the cached linting result:
npm run lint:withoutCache
-> succeedsnpm run lint
-> succeedsnpm run upgrade
-> upgrades@ngrx/eslint-plugin
to broken 16.1.0npm run lint
-> succeeds by cache -> should failnpm run lint:withoutCache
-> fails