Chau Tran
bee29dd505
docs(js): executors examples ( #12565 )
...
Co-authored-by: Chau Tran <chautran@10.0.0.9>
2022-10-14 11:50:55 +00:00
Craigory Coppola
8ab7f85ca1
fix(core): swap default method for output capture ( #12535 )
2022-10-12 22:06:32 +00:00
Denis Frenademetz
f1a24d7498
fix(js): close typescript watch program on SIGINT/SIGTERM ( #11722 )
...
Close typescript watch program and complete iterator to ensure program can exit.
2022-10-11 23:44:52 +07:00
Chau Tran
142ed2eead
feat(js): inline non-buildable libs for tsc and swc ( #12280 )
...
Co-authored-by: Chau Tran <chautran@10.0.0.10>
2022-10-07 09:46:43 +07:00
Jack Hsu
dda9ea1f87
feat(bundling): remove deprecated UMD format support for rollup ( #12426 )
2022-10-05 22:44:06 -04:00
Victor Savkin
e778644323
Revert "chore(js): inline non-buildbale ( #12170 )"
...
This reverts commit 24cb3cd57442229e81f8a85452c56818d26194a6.
2022-09-27 10:29:55 -04:00
Chau Tran
24cb3cd574
chore(js): inline non-buildbale ( #12170 )
...
Co-authored-by: Chau Tran <chautran@Chaus-MacBook-Pro.local>
2022-09-27 11:23:09 +00:00
Jack Hsu
ed7db7c114
feat(bundling): add esbuild plugin ( #12053 )
2022-09-20 12:05:58 -04:00
Xie Jay
b3e69e2591
feat(js): add rootDir option ( #11678 )
...
close #11601 , close #9410 , close #10707
Co-authored-by: xiejay97 <xiejay97gmail.com>
2022-09-13 00:13:58 +00:00
Chau Tran
2508cb04a6
Revert "feat(js): add srcRootForCompilationRoot option to tsc executor ( #10707 )" ( #11977 )
...
This reverts commit aa01b7bd2d30bc4b16f831189d153eca618ec27b.
Co-authored-by: Chau Tran <chautran@Chaus-MacBook-Pro.local>
2022-09-12 13:31:45 +00:00
Nozomu Miyamoto
aa01b7bd2d
feat(js): add srcRootForCompilationRoot option to tsc executor ( #10707 )
...
* feat(js): add `srcRootForCompilationRoot` option to tsc executor
ISSUES CLOSED : #9410
* docs(js): add description for `srcRootForCompilationRoot` option
2022-09-12 20:14:23 +07:00
Jonathan Cammisuli
e7ec91b9e0
feat(core): add file completion types for the nx language server ( #11669 )
2022-08-26 10:34:33 -04:00
Craigory Coppola
6948ffdcff
fix(core): project graph should be read from executor context
...
These changes lower the risk of reading the cache during a write operation when multiple
processes are actively writing / reading the cache.
2022-08-19 12:50:07 -04:00
Jack Hsu
d1af72dde0
fix(js): update SIGINT and SIGTERM handling for tsc/swc executors ( #11492 )
2022-08-08 02:07:27 +00:00
Jack Hsu
e45c2f24ba
feat(nextjs): improve support for custom server ( #11325 )
...
- Add new generator for custom server
- Add @nrwl/js:node executor for serving custom server
- Deprecate @nrwl/node:node in favor of the above
2022-08-02 18:37:23 +00:00
Jack Hsu
7fd7af3195
feat(js): add --clean/--no-clean option to tsc and swc executors ( #11311 )
2022-07-27 15:04:22 +00:00
Chau Tran
36010c1c0e
feat(js): implement a smarter compiler (tsc, swc) helper dependency d… ( #10297 )
...
* feat(js): implement a smarter compiler (tsc, swc) helper dependency detection
ISSUES CLOSED : #10270
* chore(js): add test to check for swc/helpers upon build lib
2022-05-20 14:14:30 -05:00
Daniel Grant
63006b791a
fix(js): .swcrc path option should follow existing conventions ( #10127 )
...
Co-authored-by: Craigory Coppola <craigorycoppola@gmail.com>
2022-05-06 13:46:13 -04:00
Daniel Grant
a68120a35b
fix(js): .swcrc path should be customizable ( #10118 )
...
Co-authored-by: Craigory Coppola <craigorycoppola@gmail.com>
2022-05-03 13:41:52 -04:00
Benjamin Cabanes
6dae32cc3a
docs(nxdev): support packages schemas metadata & discoverability ( #9383 )
2022-03-24 12:00:06 -04:00
Giora Guttsait
f44165d993
feat(js): infer tslib as a dependency when using importHelpers ( #9350 )
2022-03-16 12:47:39 -04:00
Chau Tran
71bd3e13ad
fix(js): default swcCwd to '.' to prevent ENOENT error when invoking swc cli ( #9256 )
...
Co-authored-by: Chau Tran <ctran@Chaus-MacBook-Pro.local>
2022-03-13 22:07:09 -05:00
Chau Tran
7d5988b5c8
fix(js): adjust .swcrc so that it works with swc/jest and no temp .swcrc needed (with migrations) ( #9198 )
...
* 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>
2022-03-07 09:14:31 -06:00
Jason Gerbes
4287d59a2a
fix(js): update dependencies in package.json ( #9073 )
...
Co-authored-by: Jason Gerbes <jason.gerbes@vista.co>
2022-02-24 16:01:43 -06:00
Jack Hsu
95f5a085fa
feat(node): consolidate js and node plugins ( #9086 )
...
* chore(node): update docs after consolidating js and node plugins
* feat(node): consolidate js and node plugins
2022-02-23 16:59:03 -05:00
Chau Tran
55277243e4
fix(js): adjust destination directory for swc executor ( #9072 )
...
* 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>
2022-02-23 12:18:00 -06:00
Chau Tran
7da9fbbe88
fix(js): migrate swc executor off of rxjs ( #8728 )
...
* 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>
2022-02-15 14:16:30 -06:00
Jack Hsu
2b376be209
feat(js): use same asset handler for both tsc and swc ( #8615 )
2022-01-20 15:04:39 +00:00
Jack Hsu
4070eaec15
feat(js): improve watch mode support for tsc and swc builds ( #8502 )
2022-01-19 11:37:04 -05:00
Jack Merrill
931ba3a115
fix(js): fix npm module resolving ( #8316 ) ( #8352 )
...
* fix(js): fix npm module resolving (#8316 )
* fix(js): add secondary npm module check
(nrwl#8316)
2022-01-14 10:33:33 -06:00
Chau Tran
22c6ddb73d
fix(js): adjust how to pass information down to swc cli ( #8298 )
2022-01-05 20:28:49 -05:00
Chau Tran
592d0e9aba
fix(js): ensure copy assets and packageJson is executed for swc executor
2021-12-22 18:09:08 -05:00
Chau Tran
1139c616e1
feat(js): add nrwl/js:node executor to serve node apps
2021-12-22 10:33:02 -05:00
Chau Tran
726877d103
feat(js): add SWC support ( #7956 )
...
* feat(js): add SWC support
chore(js): remove comment
fix(js): clean up typecheck after merge
fix(js): add tests to swc
* fix(js): adjust typecheck
* feat(js): add skipTypeCheck to library generator
* fix(js): use Promise.all()
* fix(js): pass in correct tsconfig path
* cleanup(js): remove comment code
* fix(js): use logger from devkit instead of console log
* fix(js): remove unintended exit log
* feat(js): add convert-to-swc generator to convert lib w/ tsc to swc
* fix(js): reexport print diagnostics
2021-12-15 12:23:50 -05:00
Craigory Coppola
d28f571874
feat(js): create @nrwl/js package and move @nrwl/workspace:tsc to it ( #7604 )
2021-11-12 16:41:30 -06:00