When a library (often an implicit dependency one) does not have `sourceRoot`,
`getSourceDirOfDependentProjects` returns an array with the problematic library path as `[undefined,
libs/some-other-lib]` which causes `createGlobPatternsForDependencies` to throw an error and
ultimately returns an empty `[]` instead of `[libs/some-other-lib]`.
This PR ensures
`getSourceDirOfDependentProjects` filters out `undefined` (`sourceRoot`) as well as logs a warning
to let the users know that they have libraries that are missing `sourceRoot` and Nx cannot calculate
their glob patterns
ISSUES CLOSED: #10871
move generator now copies over all projects in the parserOptions of the .eslintrc.json rather than
just overriding with the base tsconfigs
ISSUES CLOSED: #10774
* fix(core): require.resolve(m/package.json) is not guarunteed to work for modern module format
* chore(repo): update usage of new readModulePackageJson function
* fix(testing): jest.preset.ts => jest.preset.js
* fix(testing): update to export default
* fix(testing): migration for moving to export default
* fix(testing): add eslint ignore comments for jest config properties
fixes: #10021
* fix(testing): update tsconfig.spec.json for next apps with project parserOptions
fixes: #9982
* fix(testing): prevent renaming root jest preset
fixes: #9973
* fix(testing): update snapshots for export default
* fix(testing): bump migration version to run
* fix(testing): make sure default jest tests pass for various projects
* fix(js): generate correct jest config for --compiler=swc --js
* feat(core): add nx.json, workspace.json, and project.json JSON schemas
ISSUES CLOSED: #8574, #2299
* fix(core): add ajv to test generated config files based on JSON schema
* fix(core): only add $schema to project.json if it is standalone and in create mode
* feat(core): add migration to add json schema to config files for 14.2.0
* fix(core): adjust schemas
* chore(core): adjust tests across repo to adhere to JSON schema if generated
* fix(core): construct the json schema object instead of using a boolean flag
* chore(core): add ajv tests for workspacejson and nxjson
* chore(core): remove unnecessary standalone check