* 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>