54 Commits

Author SHA1 Message Date
Katerina Skroumpelou
16ad3086be
fix(js): libraries should be buildable by default (#15533) 2023-03-09 14:20:19 -05:00
Katerina Skroumpelou
b84125f9dd
fix(js): integrate buildable bundler and compiler options (#15376) 2023-03-03 09:56:57 -05:00
Miroslav Jonaš
9a014c792c
fix(core): plugin should not override existing external nodes (#15219) 2023-03-02 17:53:20 -05:00
Chau Tran
c981ac2e0d
fix(js): handle swcrc path mappings if specified (#15328) 2023-03-01 10:05:56 -07:00
Jason Jean
92610fe4b6
chore(repo): update nx to 15.8.0-beta.7 (#15293) 2023-02-27 17:24:06 -05:00
Jason Jean
84fedf36e0
Revert "chore(repo): update nx to 15.8.0-beta.6" (#15274) 2023-02-26 12:39:15 -05:00
Jason Jean
3c50474f40
chore(repo): update nx to 15.8.0-beta.6 (#15247) 2023-02-26 02:26:53 -05:00
Chau Tran
281881d268
fix(js): use .swcrc for swcrc path for swc lib (#15205) 2023-02-24 08:55:47 -05:00
Katerina Skroumpelou
5d54f71398
fix(webpack): add babelUpwardRootMode (#15061) 2023-02-17 17:09:57 +00:00
Miroslav Jonaš
b80286191d
feat(core): refactor lock file parsing and pruning (#13864)
Co-authored-by: Jason Jean <FrozenPandaz@users.noreply.github.com>
Co-authored-by: Victor Savkin <vsavkin@users.noreply.github.com>
Co-authored-by: FrozenPandaz <jasonjean1993@gmail.com>
2023-02-06 11:39:36 -05:00
Jason Jean
dc6da76900
cleanup(core): move js graph creation its own folder (#14283) 2023-01-26 10:48:32 -05:00
Jack Hsu
5e11adbba4
feat(js): move babel preset to @nrwl/js/babel so @nrwl/web is not… (#14478) 2023-01-23 15:32:07 +00:00
Miroslav Jonaš
23c23272ce
feat(js): add lockfile generator to js plugin (#13968) 2023-01-17 22:44:33 +01:00
Craigory Coppola
7992ec618f
chore(repo): setup negative config for several targets (#14080) 2023-01-04 11:34:50 -05:00
Jack Hsu
8f267ed2fc
chore(js): add e2e test to check built package.json (#13981) 2022-12-22 23:44:16 +00:00
Victor Savkin
8572eed44e feat(core): add the ability to specify multiple targets 2022-12-22 14:21:06 -05:00
Jack Hsu
e240339f33
feat(js): add --bundler=vite support for JS libs (#13716) 2022-12-09 14:36:09 -05:00
Craigory Coppola
f311ecbdd7
chore(repo): remove workspace.json (#13040) 2022-11-08 13:12:31 -05:00
Victor Savkin
23de788b5e
chore(repo): update to 15.0.0-rc1 (#12586) 2022-10-13 18:34:24 -04: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
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
Miroslav Jonaš
5e293eba4c
feat(core): map lock file data to external dependencies (#12185) 2022-10-05 20:58:28 -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
Miroslav Jonaš
88be1d0033
fix(js): add cleanup on e2e tests (#12094) 2022-09-19 21:16:00 +02:00
Jack Hsu
f49769a34a
feat(webpack): add webpack plugin (#11966) 2022-09-12 21:19:50 +01:00
Victor Savkin
a914f78701 chore(repo): fix e2e tests 2022-09-12 13:47:49 -04:00
Victor Savkin
db74bc7674 feat(core): create the daemon socket file in the tmp dir instead of node modules 2022-09-08 18:37:32 -04:00
Victor Savkin
0d9dbae789 feat(core): use daemon to watch outputs to enable cache restoration optimization 2022-09-08 10:58:50 -04:00
Sean Sanker
aedcdaf1bb
feat(js): support wildcard/nested tsconfig paths (#11233)
* feat(js): support wildcard/nested tsconfig paths

* chore(js): add e2e test for wildcard path alias

Co-authored-by: Chau Tran <chautran@Chaus-MacBook-Pro.local>
2022-08-31 20:39:05 +07:00
Victor Savkin
f8da1ad42b
chore(repo): update nx to 14.6.0-beta.3 2022-08-12 16:10:56 -04:00
Victor Savkin
e491c6f738 feat(core): make nx.json optional 2022-05-31 15:35:28 -04:00
Victor Savkin
3d97203b1e
chore(repo): migrate to nx@14.2.0-beta.1 2022-05-30 20:10:02 -04: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
Victor Savkin
6351413b98 fix(core): preserve dash casing when passing args to executors 2022-05-17 14:48:53 -04:00
Miroslav Jonas
8a88b989fa chore(repo): increase timeout for jest e2e tests 2022-05-17 13:45:03 -04:00
Caleb Ukle
ecf88a6995
fix(testing): update v14 migration and migrate jest.config.ts to use export default (#10035)
* 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
2022-05-11 18:04:29 +00:00
Daniele Tortora
664df0e849
feat(js): add --includeBabelRc flag for @nrwl/js:library generator (#8793, #8600) (#10055)
* 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
2022-05-04 10:58:34 -05:00
Jason Jean
e4cccfc14d
chore(repo): update nx to 14.1.1 (#10132) 2022-05-04 15:27:43 +00:00
Jason Jean
4f99b77e42
chore(repo): update nx to 14.0.2 (#9974) 2022-04-23 18:06:01 +00:00
Victor Savkin
d4b5c30eba
cleanup(core): remove the indirection left after inlining ta… (#9469) 2022-03-23 22:18:17 -04:00
Chau Tran
cb1fc0235a
fix(js): mimic the behavior of tsc compilation for runTypeCheck (#9240)
* 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>
2022-03-21 16:33:34 -05:00
Giora Guttsait
f44165d993
feat(js): infer tslib as a dependency when using importHelpers (#9350) 2022-03-16 12:47:39 -04: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
James Henry
faef0d8c85
chore(core): task runner dynamic output life cycle (#8590) 2022-01-19 14:52:10 -05:00
Jack Hsu
4070eaec15
feat(js): improve watch mode support for tsc and swc builds (#8502) 2022-01-19 11:37:04 -05:00
Victor Savkin
58814c697a cleanup(core): make hashing faster 2022-01-11 20:56:26 -05:00
Victor Savkin
16e9f58f76 feat(core): optimise cache restoration and storing 2022-01-10 11:40:10 -05: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
1139c616e1 feat(js): add nrwl/js:node executor to serve node apps 2021-12-22 10:33:02 -05:00