Giora Guttsait
f44165d993
feat(js): infer tslib as a dependency when using importHelpers ( #9350 )
2022-03-16 12:47:39 -04:00
Victor Savkin
6f038e7a4a
feat(core): reorganize packges to consolidate all cli-related code in nx
2022-03-14 16:42:51 -04:00
Jason Jean
5c0da2f635
fix(js): fix inconsistent tsconfig module casing ( #9320 )
2022-03-14 20:32:29 +00: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
Victor Savkin
4e9375f5f4
chore(repo): update the version of nx
2022-03-11 10:40:40 -05:00
Jason Jean
94687e993c
chore(repo): ensure license file exists for all published packages ( #9274 )
2022-03-10 18:33:06 -05:00
Hannes Schmid
064d7ec30c
fix(js): execute postCompilationCallback in compileTypeScriptFiles in watch mode ( #9254 )
...
Execute the postCompilationCallback regardless of the watch option value
ISSUES CLOSED : #9253
Co-authored-by: Hannes Schmid <hannes.schmid@solunio.com>
2022-03-09 12:21:28 -06:00
Leosvel Pérez Espinosa
acc29e9593
fix(misc): support workspaces using a root tsconfig.json instead of tsconfig.base.json ( #9195 )
...
* fix(misc): support workspaces using a root tsconfig.json instead of tsconfig.base.json
* cleanup(angular): address pr feedback
2022-03-09 11:30:26 -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
Jack Hsu
1390cd086c
feat(node): moved 13.9.0 migrations to 13.8.5 ( #9184 )
2022-03-04 08:15:49 -05:00
Chau Tran
229f71ef17
feat(nest): use nrwl/js to generate library ( #9164 )
...
* 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>
2022-03-03 15:47:06 -05: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
Miroslav Jonaš
30d1172401
fix(js): ensure correct path format for asset pattern matching ( #9022 )
2022-02-18 11:00:39 +01: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
Isaac Mann
cb452b48a4
docs(core): use project.json instead of workspace.json ( #8936 )
...
Co-authored-by: Isaac Mann <isaacplmann+git@gmail.com>
2022-02-11 17:00:54 +00:00
Jason Gerbes
9900732e92
fix(js): exclude .test.ts files in tsconfig ( #8908 )
...
* fix(js): Exclude .test.ts files in tsconfig
* fix(js): exclude .test.ts files in tsconfig
Co-authored-by: Jason Gerbes <jason.gerbes@vista.co>
2022-02-10 17:47:50 -05:00
Jack Hsu
f2b207ed7b
feat(js): enable buildable libraries by default ( #8804 )
2022-02-01 16:06:04 +00:00
Jay Bell
375f939cf9
fix(js): swc compiler builds extends in tmp generated tsconfig wrong ( #8683 )
2022-01-25 09:55:45 -06:00
Victor Savkin
298ceba5b3
chore(repo): readme fixes
2022-01-24 09:39:31 -05:00
Victor Savkin
1e3906e97a
fix(js): fix a typo in description
2022-01-21 16:29:15 -05:00
Chau Tran
4b21ab9502
docs(js): remove experimental description on swc compiler
2022-01-20 12:33:44 -05:00
Jack Hsu
2b376be209
feat(js): use same asset handler for both tsc and swc ( #8615 )
2022-01-20 15:04:39 +00:00
Victor Savkin
9e75918154
feat(core): speed up file map creation ( #8597 )
2022-01-19 15:30:21 -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
Linbudu
b0ffcdd0c8
cleanup(js): add missing package.json fields ( #8510 )
2022-01-14 11:54:53 -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
978cfe942d
fix(testing): turn swc/jest back on for react, web, and js ( #8464 )
2022-01-11 09:28:30 -05:00
Phillip Barta
8abcaab7c3
fix(misc): dont publish jest.config.js files ( #8341 )
2022-01-07 14:10:24 -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
Victor Savkin
53767a89c1
fix(js): mark swc as experimental
2021-12-23 20:12:19 -05:00
Chau Tran
214ef8ac4f
chore(testing): adjust tests that are affected by removing swc
2021-12-23 19:56:58 -05:00
Chau Tran
f97961d865
fix(testing): remove 'swc' from compiler option for jest generators
...
@swc/jest is not currently working as it's supposed to. at least, with single .swcrc file.
2021-12-23 19:56:58 -05:00
Jay Bell
655cc69325
feat(js): export lib and app generator functions ( #8266 )
2021-12-23 10:32:24 -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
Juri
454852e55c
fix(js): adjust generator arg from name -> project s.t. it is picked up in Nx Console
2021-12-21 17:06:03 +01:00
Jack Hsu
0a3350a661
fix(js): disable tsx support for js libs since they should go through react ( #8203 )
2021-12-17 04:10:31 +00:00
Jack Hsu
9e1b50b079
feat(js): generated jest project uses swc if --compiler=swc ( #8202 )
2021-12-17 03:38:42 +00:00
Noriyuki Shinpuku
f0ea52e980
feat(js): update complier options for strict mode ( #8188 )
2021-12-15 20:41:53 -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
Jack Hsu
6d6f29439d
feat(testing): add --compiler=tsc|swc|babel option for jest project generator ( #8177 )
2021-12-15 14:27:53 +00:00
Kirils L
015f1b78f4
feat(web): support swc compiler ( #7997 )
2021-12-09 21:16:35 +00:00
Chau Tran
01417d2a9b
fix(js): recommit - expose schematics and builders for angular devkit ( #8030 )
...
ISSUES CLOSED : #8021
2021-12-07 00:50:23 -06:00
Chau Tran
1e577e4068
fix(js): adjust runTypeCheck util to use readTsConfig from nrwl/workspace ( #7957 )
2021-11-30 18:06:14 -05:00
Jack Hsu
7698ee9a65
feat(js): add type checking util (for use with SWC) ( #7909 )
2021-11-29 10:37:10 -05:00
James Henry
98ffe8574b
feat(linter): support eslint v8 ( #7800 )
...
* feat(core): support eslint v8
* fix(core): align version of eslint across all packages
2021-11-19 14:55:33 -05:00
Jason Jean
448923a1b1
chore(repo): update nx to 13.2.0-rc.4 ( #7796 )
2021-11-18 16:56:36 -05:00
Victor Savkin
fcecebeb3a
feat(js): add library and app generators
2021-11-15 21:29:28 -05:00