* 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(devkit): feat(devkit): don't replace begining undescore when creating file
Underscore is a character usually used for sorting purposes and is absolutely legit. There is no
reason to replace it.
ISSUES CLOSED: #8875
* fix(linter): generator creating .eslintrc.json at the root path even when .eslintrc.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
When executing parallel targets using e.g. run-commands missing entries in .gitignore
may lead to
temp files being passed to "git hash-object"
which when git executes have been deleted
resulting in
mismatch between number of files requested and hashes returned.
git reports the error and this PR
will make sure that report is passed
in the error thrown.
This will make problem resolution a lot
faster.
ISSUES CLOSED: #9946
* fix(core): Skip dependencies already added (avoid circular)
The project utility method `collectDependentProjectNodesNames()`
produces a stack overflow (e.g. producing project dependencies for
`tailwind.config.js` when circular dependencies exist.
Fix by adding loop detection for "already add" dependencies.
* cleanup(core): Correct formating
* chore(core): add test for circular dependencies in getSourceDirOfDependentProjects
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
* fix(js): fix(js): adding missing babelrc for tsc compiled libraries
ISSUES CLOSED: #8600, #8793
ISSUES CLOSED: #8600, #8793
* feat(js): adds the --skipBabelConfig flag to prevent .babelrc file generation
ISSUES CLOSED: #8600, #8793
ISSUES CLOSED: #8600, #8793
* feat(js): adds the --includeBabelRc flag to the library generator
adds the --includeBabelRc flag to the library generator, and a mechanism to automatically detect the
nrwl/web plugin, which requires auto-generation of the babelrc even when not explicitly set by the
user
ISSUES CLOSED: #8600, #8793