6116 Commits

Author SHA1 Message Date
Colum Ferry
6f0c22f4d9
fix(angular): remote generator should not assume a default host (#11705) 2022-08-24 11:33:42 +00:00
Victor Savkin
b6c9c1210c feat(core): better formatting of project-graph related error messages 2022-08-23 15:45:33 -04:00
Colum Ferry
a198c95808
cleanup(angular): use app generator and setup-mf for host and remote (#11682) 2022-08-23 14:37:12 +01:00
Colum Ferry
e2c4c5490c
cleanup(angular): deprecate mf signature from app generator (#11680) 2022-08-23 13:12:29 +01:00
Jack Hsu
77f0508dde
feat(react): update package versions (#11667) 2022-08-22 11:55:44 -04:00
Noriyuki Shinpuku
43b6e1e1f8
fix(nextjs): fix React 18 detection (#11656) 2022-08-22 11:23:06 -04:00
Nicholas Cunningham
89a401361a
fix(nextjs): fix .next folder linting (#11614)
ISSUES CLOSED: #11541

Co-authored-by: Nicholas Cunningham <ndcunningham>
2022-08-22 11:21:55 -04:00
Jack Hsu
646b8c2cf5
feat(nextjs): upgrade to nextjs 12.2.5 (#11665) 2022-08-22 11:21:26 -04:00
Mickaël Boidin
6fdc123537 fix(devkit): convertNxExecutor() should properly emit observables
Fixes: #11653
2022-08-22 10:22:48 -04:00
Colum Ferry
5176ee917f
feat(storybook): add build-storybook to cacheable operations (#11631) 2022-08-22 13:01:08 +01:00
Craigory Coppola
2d50f35d83
fix(core): Add throw of error if a dependency is not in the graph (#11652)
Co-authored-by: Andreas Richter <708186+richtera@users.noreply.github.com>
2022-08-19 21:58:40 +00:00
Caleb Ukle
6866f55c4a
chore(repo): run jest 28 migrations to fix package sync issue (#11650) 2022-08-19 20:56:52 +00:00
Victor Savkin
c0dd2f5832 fix(core): make --verbose consistent with NX_VERBOSE_LOGGING=true 2022-08-19 13:46:19 -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
Jack Hsu
c4a0d85294
fix(react): support older npm version (#11646) 2022-08-19 12:33:20 -04:00
Igor Katsuba
9294b64364
fix(angular): adds missing types in the schemes of remote and host generators (#11428) 2022-08-19 10:09:08 +01:00
Miroslav Jonaš
15d83258fe
feat(core): move git commit from generators to create-nx-workspace (#11633)
* fix(core): move git commit to create-nx-workspace

* fix(core): add git init to create-nx-plugin
2022-08-18 18:40:46 -04:00
Caleb Ukle
657b2bff5a
feat(testing): support jest 28 (#10857)
* feat(testing): support jest 28

WIP jest migration

* fix(testing): jest-environment-jsdom must be explicitly added now

* fix(testing): add rxjs to the transform lsit

* fix(testing): jest ts-jest updates and resolver issues

* feat(testing): remove test runner for react native jest

* feat(testing): add preprocessor for react native jest

* fix(testing): update query to handle tsx file syntax, remove rxjs transform

* chore(repo): remove file from accident commit

* chore(testing): update migration to target 14.6 for RN jest preprocessor

* fix(testing): call passed in packageFilter if preset

* docs(testing): add resolver env var to troubleshooting guide

* chore(repo): prep resolver for jest 28 migration

* fix(testing): update deps to handle esbuild-wasm service error

* fix(testing): switch to testEnvironmentOptions for cjs loading vs resolver list

* fix(testing): force babel-jest preset in transformer for project transforms

* chore(testing): address PR feedback

* fix(testing): address pr feedback, remove react-native transform

* chore(testing): update createTreeWithEmptyWorkspace calls

* chore(testing): address pr feedback

* feat(testing): add migration script for react native to rename .babelrc to babel.config.json

* chore(testing): nx format after rebase

* chore(testing): fix display name for @nrwl/js

Co-authored-by: Emily Xiong <xiongemi@gmail.com>
2022-08-18 18:40:31 -04:00
Victor Savkin
971bcbe32c feat(core): refactor daemon to support longer messages 2022-08-18 14:22:27 -04:00
Emily Xiong
670d9f1a01
fix(storybook): change the react native storybook searchDir option to array (#11628) 2022-08-18 13:18:36 -04:00
Herb
86b2015ddd
feat(node): expose webpack watchOptions to executor (#11453) 2022-08-18 12:34:33 -04:00
Colum Ferry
09112ccd24
feat(angular): support library routing setup for standalone routes (#11634) 2022-08-18 15:17:04 +01:00
Daniel
4d1acadf6e
feat(nx-plugin): thread jest options through nx-plugin:e2e executor (#11442) 2022-08-18 10:13:39 -04:00
Colum Ferry
1a5a09b790
chore(angular): add standalone router helper (#11632) 2022-08-18 14:12:06 +01: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
Waldbillig Thomas
99a3563c8f
feat(angular): export test runners from package (#11613)
Co-authored-by: Colum Ferry <cferry09@gmail.com>
Co-authored-by: Waldbillig-Thomas <waldbillig.thomas@gmail.com>
2022-08-18 09:58:16 +00:00
Victor Savkin
1a31018ea2 feat(core): add daemon to the context provided to task runners 2022-08-17 15:30:00 -04:00
David (ダビッド )
34fdbc0de2
fix(react): fix webpack node api config error serving a react app (#11580)
Webpack compiles a react app and the main.js file created contains __dirname variable. This crash
the application when it is served. The webpack node api config has been enabled.

ISSUES CLOSED: #11571
2022-08-17 13:55:32 -04:00
Emily Xiong
519451e1e2
feat(react-native): upgrade metro to 0.72.0 (#11480) 2022-08-17 13:22:58 -04:00
John Schulz
ede5927051
fix(linter): replace all $ chars in path; not only the first (#11621)
refs https://github.com/nrwl/nx/pull/11009
fixes https://github.com/nrwl/nx/issues/11493
2022-08-17 12:52:30 -04:00
Jason Jean
7d4a5c7d3a
fix(core): fix backwards compatibility with Nx 14.1.0 (#11438) 2022-08-17 15:30:07 +00:00
Colum Ferry
dde045afa9
cleanup(angular): add e2e test for make-angular-cli-faster on nightly (#11463)
This is a bit of a misnomer, hence it running on the nightly tests. It uses _only_ the published
versions of `@nrwl/*` packages on npmjs registry, due to a limitation with verdaccio, where it only
looks at the local registry for `@nrwl/*` packages.
2022-08-17 10:51:53 -04:00
Colum Ferry
7891a68715
feat(angular): add scam to standalone conversion generator (#11578) 2022-08-17 12:06:07 +01:00
Colum Ferry
da1741bf56
feat(angular): support standalone component library generation (#11608) 2022-08-17 12:05:54 +01:00
Colum Ferry
af93cfd597
feat(angular): add standalone app generation (#11592) 2022-08-17 12:03:56 +01:00
Colum Ferry
47e38d1cd2
fix(angular): use rxjs 7.5.0 for Angular 14.1 (#11586) 2022-08-16 14:41:51 -04:00
Miroslav Jonaš
3574fdc803
fix(linter): normalize rule context file name for cross OS (#11604) 2022-08-16 18:41:42 +00:00
Kris
2baa96a2cc
fix(nx-plugin): fix the file paths for newly created generators in generators.json (#11611)
issue: https://github.com/nrwl/nx/issues/11610

ISSUES CLOSED: #11610
2022-08-16 14:22:16 -04:00
Jack Hsu
51da354e65
feat(nextjs): add --custom-server option to app generator (#11607) 2022-08-16 10:32:30 -04:00
Jack Hsu
6fd0da52c6
feat(react): update packages (#11606) 2022-08-16 13:49:50 +00:00
Miroslav Jonaš
244ac01b7c
fix(linter): use more performant way to check for package existance (#11603) 2022-08-16 12:47:38 +00:00
Craigory Coppola
0c25e57bf9
fix(angular): add namedInputs to expected angular extension properties (#11593) 2022-08-15 15:07:00 -04:00
Colum Ferry
f930117ed6
fix(angular): add check before attempting to collect secondary entrypoints #11437 (#11496)
* fix(angular): add check before attempting to collect secondary entry points

* fix(angular): ensure only the tsconfig aliases for the lib are used

* chore(angular): turn off canary releases to prevent overlap

* Revert "chore(angular): turn off canary releases to prevent overlap"

This reverts commit dd0ba238d8bb591b669ccc90752db83d58c09f6d.
2022-08-15 13:11:24 +01:00
Victor Savkin
9d500eeeaf fix(core): restore the old behavior of output missing check 2022-08-13 22:12:50 -04:00
Craigory Coppola
db97728793
fix(core): list local plugins (#11410) 2022-08-12 13:43:33 -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
438e4a544e fix(core): include config name in the cached fileset 2022-08-12 15:29:11 -04:00
Miroslav Jonaš
899625c8a3
feat(core): format additional flags values for logging (#11564)
* feat(core): format additional flags values for logging

* cleanup(core): simplify formatValues
2022-08-12 13:21:37 -05:00
Craigory Coppola
8eb2304ecd
fix(angular): 14.5.3 migration should hit @angular/cdk (#11560) 2022-08-12 14:12:00 +00: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