3210 Commits

Author SHA1 Message Date
Jason Jean
f069d8ec71
fix(core): properly throw error when failing to read workspace (#8835) 2022-02-04 18:58:00 -05:00
Amman Vedi
eb04324547
fix(core): change ng to nx (#8843)
The command ng is incorrect it should be nx
2022-02-04 11:09:11 -05:00
Leosvel Pérez Espinosa
39f4c47fd0
fix(angular): update schemas with missing changes from previous versions (#8836) 2022-02-04 11:07:57 +00:00
Miroslav Jonaš
076254c40f
fix(linter): add missing swc/core-linux-* as optional dependencies (#8831) 2022-02-04 09:45:04 +01:00
Kalarrs Topham
babd4bdf8d
chore(angular): export all angular generators (#8820)
add missing generators to angular/generators exports
2022-02-03 09:33:02 +00:00
Miroslav Jonaš
da6451930c
fix(linter): add swc/core-linux-musl as an optional dependency for alpine (#8814) 2022-02-02 13:08:32 +00:00
Leosvel Pérez Espinosa
cf7a18bd14
fix(angular): prevent adding dependencies when generating apps and specifying skipPackageJson (#8806) 2022-02-01 16:32:47 -05:00
Leosvel Pérez Espinosa
3a2fd3f419
fix(angular): support target aliases existing in the angular-cli (#8787) 2022-02-01 13:59:02 -05:00
Victor Savkin
fb056891ec
fix(core): do not start daemon process when running a docker container 2022-02-01 13:54:11 -05:00
Jack Hsu
120e987580
fix(react): fix issue with postcss and images in webpack config (#8802)
Fixes #8300
2022-02-01 11:43:01 -05:00
Jack Hsu
f2b207ed7b
feat(js): enable buildable libraries by default (#8804) 2022-02-01 16:06:04 +00:00
Jack Hsu
d727de33f3
feat(react): enable support for avif images (#8803) 2022-02-01 10:33:24 -05:00
Colum Ferry
19f8813450
fix(storybook): ensure watch is passed to angular storybook options (#8800) 2022-02-01 06:42:17 -05:00
Leosvel Pérez Espinosa
5f3ca7892d
fix(angular): update ng-packagr executors to support browserlist version ranges (#8783) 2022-02-01 11:14:17 +00:00
Victor Savkin
5e3f1d47bf
chore(repo): update repo to 13.7.1 2022-01-28 21:20:27 -05:00
Victor Savkin
a7b1065be4
fix(core): fix the issue introduced by 45c9ee09 2022-01-28 20:56:07 -05:00
Victor Savkin
4e5b48d64a
fix(core): warn when daemon fails to start 2022-01-28 20:42:29 -05:00
Marc Abramowitz
f17821732b
fix(misc): don't disable chalk when FORCE_COLOR is set (#8226)
* Don't disable chalk when FORCE_COLOR is set

My lint output in Jenkins wasn't colored, which is pretty normal because
a lot of apps when running in Jenkins don't think they have a
color-capable terminal to write to, but I expected that setting the
`FORCE_COLOR` environment variable would work to override this, but I
was surprised to find that it didn't help. Looking at the Nx code, I see
that chalk is turned off whenever `CI` is true, which seems like it
should be refined a bit.

* chore(core): fix code

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2022-01-28 20:11:02 -05:00
Jason Jean
1f6c17031e
fix(core): fix git support detection (#8764) 2022-01-29 00:38:29 +00:00
Juri Strumpflohner
8576330baa
fix(core): cacheDirectory resolution (#8760) 2022-01-28 18:38:27 -05:00
Jason Jean
490c66f245
fix(core): fix dot notation parsing (#8763) 2022-01-28 18:36:20 -05:00
Jason Jean
3cdc681326
fix(core): check if taskRunnerOptions exists (#8762) 2022-01-28 23:11:37 +00:00
Alexey Shlyk
5a74c02a49
fix(node): the type keyword may either be a string or an array (#8744)
ISSUES CLOSED: #8112
2022-01-28 17:13:14 -05:00
Victor Savkin
51b90435b3
fix(core): fix cache for directory outputs (#8756)
Only use parent directory for outputs if output is a file. Closes #8504.
This bug has been caused by 16e9f58f76.

Co-authored-by: skrtheboss <denisfrenademetz97@gmail.com>
2022-01-28 16:30:14 -05:00
Phillip Barta
f94d3dad2a
fix(core): use fs/promises instead of promisifying with the util module (#8530)
* fix(core): use fs/promises instead of promisifying with the util module

* chore(core): use path exists instead of existsSync

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2022-01-28 15:53:08 -05:00
Victor Savkin
f72c6796a5
fix(core): terminal caching fails when trying to close the file descriptor 2022-01-28 15:10:09 -05:00
Stephen Wade
09dfe8de83
fix(linter): clean up comment after #8147 (#8691)
PR #8147 removed the ESLint override to turn off @typescript-eslint/no-unused-vars for *.tsx files. This commit removes the comment that references it.
2022-01-28 14:48:57 -05:00
Jason Jean
e759abdc95
fix(misc): fix npm-package generator on windows (#8751) 2022-01-28 14:41:54 -05:00
Phillip Barta
21997ccdaa
feat(express): update express to 14.17.2 (#8628)
* feat(express): update express to 14.17.2

* chore(node): cleanup some changes

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2022-01-28 14:33:11 -05:00
Daniel Payet
b86feb1048
fix(dep-graph): set the number of workers with environment variables
In a docker container, the result of os.cpus() can be wrong (https://github.com/nodejs/node/issues/28762).
2022-01-28 14:31:47 -05:00
Niklas
6dde019a3b
fix(testing): add number type to cypress ciBuildId (#8677)
Expand the Cypress runner ciBuildId parameter to also receive numbers instead of only strings.

ISSUES CLOSED: #8675
2022-01-28 14:18:09 -05:00
Nicholas Cunningham
20975e0aac
fix(web): web executor referencing wrong file (#8670)
ISSUES CLOSED: #8607
2022-01-28 14:00:55 -05:00
Phillip Barta
489cee5bc0
fix(linter): mark eslint-config-prettier as optional (#8722) 2022-01-28 13:59:13 -05:00
Philip Fulcher
9ba836bfda
feat(react): upgrade eslint-plugin-react-hooks to 4.3.0 2022-01-28 13:52:16 -05:00
Benjamin Cabanes
a5a0340a13
chore(core): remove confusing cli description command (#8749) 2022-01-28 13:45:21 -05:00
Phillip Barta
e668dc00ac
chore(core): update license-webpack-plugin to 4.0.0 (#8632) 2022-01-28 13:43:11 -05:00
Kirill Metrik
1c5ad6e45a
fix(core): avoid importing posix/path but still use posix paths on Windows 2022-01-28 13:35:13 -05:00
Jason Jean
bf70569636
fix(core): deprecate, fix error, and print warning when using --only-failed (#8748) 2022-01-28 13:28:16 -05:00
Phillip Barta
15ff29640c
chore(repo): update open to 8.4.0 (#8629) 2022-01-28 13:27:44 -05:00
Phillip Barta
2b1fbfd6f6
cleanup(core): cleanup hasher and core fileutils 2022-01-28 13:26:12 -05:00
Juri Strumpflohner
d5d25a8614
docs(core): fix Nx daemon docs (#8740) 2022-01-28 10:42:10 -05:00
Colum Ferry
f4fa81338d
feat(angular): support version 13.2.0 (#8457)
Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
2022-01-28 09:01:51 +00:00
Benjamin Cabanes
c3d89478a4
docs(core): improve workspace-lint command (#8731) 2022-01-27 22:10:34 +00:00
Victor Savkin
86a1a6c825
fix(core): better detection whether the workspace uses git (#8720) 2022-01-27 11:13:07 -05:00
Miroslav Jonaš
541d4e241b
fix(linter): use swc over ts-node for workspace lint rule registration (#8694) 2022-01-27 16:55:25 +01:00
Victor Savkin
f360447677
feat(core): enable daemon by default for new projects (#8698) 2022-01-27 09:27:09 -05:00
Phillip Barta
be91d1f99a
fix(core): stop inlining tsconfig-paths-webpack-plugin and use version with fix (#8357) 2022-01-27 08:59:46 -05:00
Phillip Barta
78c9f158a7
fix(web): remove terser from dependencies and update terser-webpack-plugin (#8631) 2022-01-27 08:53:24 -05:00
William Ghelfi
b577646589
feat(storybook): enable SVGR support for MDX stories (#7553)
* chore(core): nx plugin submission nx-plugin-unused-deps

* feat(storybook): enable SVGR support for MDX stories
2022-01-27 08:49:34 -05:00
Leosvel Pérez Espinosa
a56c89c0b8
fix(angular): don't generate a .browserslistrc file for non buildable and non publishable libs (#8710) 2022-01-27 09:10:57 +00:00