* 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
* 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
* feat(testing): move jest config to .ts
move jest config and preset to ts files
ISSUES CLOSED: #8344
* fix(testing): update tests for jest.config.ts changes
update tests broken by renaming jest fils to ts files
* cleanup(misc): replace deprecated String.prototype.substr()
.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated
Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
* fix(js): fix slice change
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
* fix(js): add swc/helpers to js packages on converting to swc
* chore(js): update convert to swc unit test
* chore(js): format
Co-authored-by: Chau Tran <ctran@Chaus-MacBook-Pro.local>
* fix(js): mimic the behavior of tsc compilation for runTypeCheck
ISSUES CLOSED: #9203
* chore(js): add check for type defs files in e2e
Co-authored-by: Chau Tran <ctran@Chaus-MacBook-Pro.local>
Execute the postCompilationCallback regardless of the watch option value
ISSUES CLOSED: #9253
Co-authored-by: Hannes Schmid <hannes.schmid@solunio.com>
* fix(js): remove hardcoded source-maps and add default value to sourceMaps in swcrc
ISSUES CLOSED: #9187
* fix(js): rename .swcrc to .lib.swcrc (with migrations)
* fix(js): revert jest config js tmpl in jest generator and replace jest config manually in JS generator
* chore(js): update snapshot
Co-authored-by: Chau Tran <ctran@Chaus-MacBook-Pro.local>
* chore(js): rename GeneratorSchema to LibraryGeneratorSchema
* fix(js): add publishable to library generator schema
* feat(nest): use nrwl/js for library generator
* fix(js): update documentation about publishable
* chore(nest): fix depcheck for nrwl/js
* chore(nest): update test snapshot
* chore(nest): update nestjs/swagger version in node e2e
* chore(js): rename loadTsPlugins function
* fix(nest): default standaloneConfig for library generator to true
* feat(nest): rename tsPlugins to transformers and add tsPlugins to aliases
* chore(nest): fix e2e test on generate a new nest library
Co-authored-by: Chau Tran <ctran@Chaus-MacBook-Pro.local>
* fix(js): bump swc deps versions
* fix(js): change swc cli arguments to ensure it works in parity with tsc
* fix(js): add "dts" flag to swc executor
* fix(js): remove dts option as diff in perf is negligible
* fix(js): change logic around swc cli so that outputPath isn't computed
Co-authored-by: Chau Tran <ctran@Chaus-MacBook-Pro.local>
* fix(js): clean up swc
* fix(js): clean up swc
* fix(js): add incremental to TypeCheckOptions
* fix(js): use async iterator with tsc executor. remove rxjs deps
* chore(js): remove unnecessary test and commented out code
* fix(js): add else statement for readability
* fix(js): ensure error() and done() always set error and done fields
* chore(js): clean up create async iterable tests
* fix(js): ensure pushQueue is resolved first if there are still items to be resolved before done
Co-authored-by: Chau Tran <ctran@Chaus-MacBook-Pro.local>