Jack Hsu
1b3abbd477
fix(bundling): fix exclude entries for .lib.swcrc file to exclude spe… ( #13319 )
2022-11-22 10:19:49 -05:00
Jack Hsu
23e4fc77c9
feat(react): add SSR support to React apps ( #13234 )
2022-11-21 14:22:05 -05:00
Juliano Custódio
4ae6bc5096
fix(bundling): wrong main entry path for cjs in ouput package.json ( #12569 )
2022-11-10 10:58:23 -05:00
janwiebedroid
2818f2e3a6
fix(js): call normalizePath on generated importPath ( #13037 )
2022-11-07 16:20:29 -05:00
Jack Hsu
58b51964ea
feat(bundling): add support only bundling in workspace libs, not npm packages ( #12852 )
2022-10-31 09:05:47 -04:00
Jack Hsu
2cddd68595
fix(js): correctly build library with workspace dependencies ( #12884 )
2022-10-28 19:11:14 +00:00
Jack Hsu
5f584eaf49
fix(js): only generate shallow dependencies when building with tsc and swc ( #12857 )
2022-10-27 20:07:55 +00:00
Jack Hsu
8944223022
fix(js): handle different exports field shapes ( #12613 )
2022-10-15 08:28:27 -04:00
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
Chau Tran
6b6995a81e
docs(js): library generator examples ( #12568 )
...
Co-authored-by: Chau Tran <chautran@10.0.0.9>
2022-10-13 22:50:19 +07:00
Juri Strumpflohner
66a4cc4428
feat(js): use shorter dependsOn syntax for project configuration ( #12564 )
2022-10-13 15:42:56 +07:00
Craigory Coppola
8ab7f85ca1
fix(core): swap default method for output capture ( #12535 )
2022-10-12 22:06:32 +00:00
Jack Hsu
136e1a81fe
fix(js): check if asset create/update event contains a file before copying ( #12551 )
2022-10-12 10:14:16 -04: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
b17893c358
fix(js): inlined buildable libraries original output should not be removed ( #12483 )
...
Co-authored-by: Chau Tran <chautran@Chaus-MacBook-Pro.local>
2022-10-11 23:43:56 +07:00
Calvin Lai
469a6d1462
fix(js): add outfile to swc compiler in non-watch mode. fixes #12344 ( #12345 )
2022-10-07 16:18:01 +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
Miroslav Jonaš
5e293eba4c
feat(core): map lock file data to external dependencies ( #12185 )
2022-10-05 20:58:28 -04:00
Jack Hsu
d904160426
fix(bundling): do not add types field in package.json for esbuild ( #12424 )
2022-10-05 16:24:25 +00:00
Jason Jean
9d06b3c084
fix(misc): remove remaining usages of @nrwl/workspace:run-commands executor ( #12299 )
2022-09-28 19:29:21 -04:00
Craigory Coppola
9b63ce167a
feat(core): don't generate workspace.json for v2 workspaces ( #12127 )
2022-09-27 23:16:22 +00:00
Jack Hsu
9a57940c6f
chore(bundling): cleanup esbuild setup ( #12260 )
2022-09-27 15:43:02 -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
0baae01e37
fix(js): update library generator for webpack and rollup bundler ( #12183 )
2022-09-22 14:50:17 +00:00
Jack Hsu
2d84bd3eb4
chore(bundling): clean up package.json update function ( #12152 )
2022-09-21 10:53:14 -04:00
Jack Hsu
75115e100a
fix(js): support both .cjs and .js file extensions when generating package.json file ( #12137 )
2022-09-21 00:49:46 +00:00
Jack Hsu
6c0a838a59
fix(js): install bundler nx plugin when needed ( #12131 )
2022-09-20 18:39:07 +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
Jack Hsu
f49769a34a
feat(webpack): add webpack plugin ( #11966 )
2022-09-12 21:19:50 +01: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
Jack Hsu
cd3352aaa2
fix(js): remove check for non-buildable libs being used when packaging. ( #11835 )
...
- unblocks custom server in next.js
- builds are guaranteed to happen if nx.json is configured correctly
- if a package isn't buildable it will be included in the package in the
near-future
2022-09-01 18:07:24 -04: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
Miroslav Jonaš
187f5200c0
fix(linter): add jest to root .eslintrc if selected as unit test runner ( #11555 )
2022-08-18 14:51:09 +02:00
Craigory Coppola
458fc36014
chore(misc): split create tree with empty workspace to remove parameter ( #10188 )
...
* feat(devkit): split create-empty-tree to different functions
* chore(repo): apply migration for createEmptyTree
* cleanup(misc): fix tests that migration misses
2022-08-11 19:24:04 -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
Jean-Philippe Bergeron
20996d6c40
fix(nx): Ignore the debugger attached message in node ( #11131 )
...
* fix(js): update compile-swc.ts
* fix(js): update packages/js/src/utils/swc/compile-swc.ts
Co-authored-by: Craigory Coppola <craigorycoppola@gmail.com>
* chore(js): format source code
Co-authored-by: Craigory Coppola <craigorycoppola@gmail.com>
2022-08-02 09:31:01 +07: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
Jack Hsu
3a63eeab21
chore(core): remove checks for built dependencies in executors since dependsOn guarantees that they are built ( #11227 )
2022-07-20 15:56:57 +00:00
Miroslav Jonaš
62bae5a120
feat(core): make npmScope optional ( #10018 )
2022-06-23 10:57:54 +02:00
Daniel Harvey
09baf958e8
fix(core): Add missing formatFiles to migrations
...
Fixes nrwl/nx#10665
2022-06-15 10:38:32 -04:00
Jason Jean
5b17335f4d
Revert "feat(core): support nested ignore files ( #10455 )"
...
This reverts commit 36d8ee26c430def7b68b123d1b87b792928411d2.
2022-06-13 13:16:05 -04:00
Gabriel Terwesten
36d8ee26c4
feat(core): support nested ignore files ( #10455 )
2022-06-10 14:05:41 -04:00
adriangroch
a42d681529
fix(js): check that project's package.json exists before attempting to read its contents ( #10650 )
2022-06-10 09:46:12 -04:00
Victor Savkin
029be8c868
Revert "fix(js): resolve shallow dependencies when building package.json ( #10600 )"
...
This reverts commit a0bf1f0b1218453ceaefb1e9c88e6a07deaeda3f.
2022-06-07 11:28:33 -04:00