22 Commits

Author SHA1 Message Date
Leosvel Pérez Espinosa
b6cdf9d975
feat(js): add initial/experimental batch execution implementation for tsc executor (#17287) 2023-06-05 17:18:52 -04:00
Jason Jean
2d195007b0
feat(core): switch packages to use the @nx scope (#16069) 2023-04-14 19:56:37 -04:00
Colum Ferry
ed6524cbe5
cleanup(js): move assets to js package (#15955) 2023-04-03 10:24:14 -04:00
Victor Savkin
422c8c735a cleanup(core): clearly split nx.json config and projects config 2023-01-05 15:35:36 -05:00
Jonathan Cammisuli
8bfc0b5527
feat(js): use the daemon watcher instead of parcel/watcher (#13413) 2022-11-30 11:09:44 -05: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
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
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
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
Giora Guttsait
f44165d993
feat(js): infer tslib as a dependency when using importHelpers (#9350) 2022-03-16 12:47:39 -04: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
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
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