60 Commits

Author SHA1 Message Date
Nicholas Cunningham
50ee9904e1
fix(nextjs): Respect CLI output path when provided (#17947) 2023-07-04 13:58:13 -06:00
Jack Hsu
77ca8d7c33
feat(nextjs): allow withNx to be used with other executors such as run-commands (#17819) 2023-06-27 10:24:26 -04:00
Jack Hsu
fdf755584f
fix(nextjs): update workspace libs setup in weback config (#17795) 2023-06-26 12:26:52 -04:00
Jack Hsu
7dd8fb615e
feat(nextjs): add babel root-mode option to withNx plugin (#17286) 2023-05-29 08:57:41 -06:00
Jack Hsu
9881efa4dc
feat(nextjs): remove the "root" option from Next.js build executor since it can be inferred (#17248) 2023-05-26 19:08:02 +00:00
Victor Savkin
0848031dd9 feat(core): move task hashing into daemon 2023-05-17 11:37:57 -04:00
Nicholas Cunningham
3d76d95b29
feat(nextjs): Use next.js cli for build and serve targets (#16896) 2023-05-17 11:09:11 -04:00
Jack Hsu
95421c6945
feat(nextjs): update Next.js to 13.4.1 and default to App Router for new apps (#16948) 2023-05-12 16:09:20 -04:00
Jack Hsu
7246a34526
chore(nextjs): add lint rule to make sure relative imports or imports of nx packages are disallowed (#16895) 2023-05-10 13:52:08 -04:00
Jack Hsu
c9d73d2a5f
fix(nextjs): read serverActions config safely (#16909) 2023-05-10 08:21:11 -06:00
Jack Hsu
854b180013
fix(nextjs): inline dev-only dependencies and add e2e test to catch issues (#16890) 2023-05-09 13:28:52 -04:00
Jack Hsu
dc911051aa
fix(nextjs): withNx works with production build (#16867) 2023-05-08 12:53:56 -04:00
Jack Hsu
88615152fb
fix(nextjs): enable Next.js 13.4 support (#16819) 2023-05-05 14:57:21 -04:00
Jack Hsu
8d35edac39
fix(nextjs): add workspace dependencies to transpilePackages automatically (#16774) 2023-05-04 18:08:34 -04:00
Jack Hsu
66addbfa81
fix(nextjs): with stylus and less support (#16764) 2023-05-04 08:32:44 -06:00
Nicholas Cunningham
4dea8b72fe
fix(nextjs): Nightly failures since yarn eagerly reads imports (#16522) 2023-04-24 17:44:35 -04:00
Jack Hsu
564ffaeebd
fix(nextjs): remove the need to install @nx/next for production builds (#16469) 2023-04-21 16:13:16 -04:00
Caleb Ukle
06a885aca2
feat(next): support nextjs cypress component testing (#16292) 2023-04-21 15:15:28 -04:00
Jason Jean
76dfc62412
feat(web): replace usages of @nrwl with @nx (#16376) 2023-04-19 10:59:41 -04:00
Jason Jean
2d195007b0
feat(core): switch packages to use the @nx scope (#16069) 2023-04-14 19:56:37 -04:00
Jack Hsu
73227515ed
feat(nextjs): add composePlugins util when using multiple plugins (#16296) 2023-04-13 15:41:17 -06:00
Jack Hsu
b3200fb7c4
fix(nextjs): set correct distDir when running production server through Nx (#15861) 2023-03-23 16:57:10 +00:00
Jack Hsu
e904e04611
fix(nextjs): add missing style deps for less and stylus (#15839) 2023-03-22 22:05:18 +00:00
Jack Hsu
c7e49c564a
fix(nextjs): produce correct next.config.js file for production server (#15824) 2023-03-22 14:03:09 -04:00
Jack Hsu
63cdddfa11
fix(nextjs): handle buildable libs correctly (#15795) 2023-03-21 11:21:02 -04:00
Jason Jean
4b9865c187
fix(react): fix next import (#15724) 2023-03-16 15:38:48 -06:00
Nicholas Cunningham
be81405a84
fix(nextjs): refactor how webpack config is loaded with nextjs (#15650)
Co-authored-by: FrozenPandaz <jasonjean1993@gmail.com>
2023-03-15 18:07:19 -04:00
Jack Hsu
dc16468607
fix(nextjs): check validity of Nx context in withNx plugin (#13358) 2022-11-23 16:21:25 +00:00
Thomas Blanchard
4994223d03
fix(nextjs): error in with-nx.ts (#12973) 2022-11-07 10:13:21 -05:00
Konstantin Azizov
94edbe9f6c
fix(nextjs): specify return type in withNx plugin (#12486) 2022-10-26 14:00:17 -04:00
Jack Hsu
50f6cbb11d
feat(nextjs): remove dependency on "@nrwl/next" for the production build (#12247) 2022-09-26 12:38:44 -04:00
Jason Jean
c64dbdec24
fix(next): fix withNx with nx property doesn't exist (#11900) 2022-09-06 21:33:15 +00:00
Jack Hsu
9b26bc1585
fix(nextjs): SVGR plugin should not be used if nx: { svgr: false } is set in next.config.js (#11829) 2022-09-01 15:55:24 +00:00
Nicholas Cunningham
522dcdd339
feat(nextjs): improve type checking for nextjs config file (#11497)
Co-authored-by: Nicholas Cunningham <ndcunningham>
2022-08-09 11:31:22 -04:00
Jack Hsu
1fef99d8ae
fix(nextjs): fix invalid config warning by sanitizing it before passing to Next.js (#11313) 2022-07-27 14:48:13 +00:00
Miroslav Jonaš
3b21f4dfea
fix(core): switch from appRootPath to workspaceRoot (#9600) 2022-03-30 09:15:20 -04:00
Victor Savkin
d4b5c30eba
cleanup(core): remove the indirection left after inlining ta… (#9469) 2022-03-23 22:18:17 -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
Zach Gover
ec2944c6c8
chore(nextjs): removed deprecated target (#8237) 2022-01-04 16:14:58 +00:00
Noriyuki Shinpuku
fe96a33173
feat(nextjs): bump Next.js version to 12.0.7 (#7788) 2021-12-08 20:06:02 +00:00
Jack Hsu
39bc2e293e
feat(nextjs): bump Next.js version to 12.0.0 (#7524) 2021-10-27 00:37:14 +00:00
Kirils L
92132c6017
feat(nextjs): disable lint during build (#7379) 2021-10-15 11:05:52 -06:00
Jack Hsu
724b0c0e3c
feat(core): upgrade to webpack 5 (#7283)
* feat(core): upgrade to webpack 5

* chore(core): update webpack 5 docs
2021-10-13 00:34:28 -04:00
Kirils L
61bcab3a83
feat(nextjs): expose environment variables prefixed with NX_ (#7193) 2021-10-01 15:49:02 +00:00
Victor Savkin
d79bba3630 chore(repo): update to nx 12.10 2021-09-20 16:39:13 -04:00
Jason Jean
0772cb3642
Revert "chore(repo): update nx to 12.8.0-beta.1 (#6804)" (#6831)
This reverts commit 8e8191f22c7bce330c2c314f37bdf57c71cabadb.
2021-08-24 01:48:50 +00:00
Jason Jean
8e8191f22c
chore(repo): update nx to 12.8.0-beta.1 (#6804) 2021-08-23 18:03:59 +00:00
Phumrapee Limpianchop
fc11571178
fix(nextjs): Next 11.1.0 compatibility (#6699)
Co-authored-by: Kirils L <9858620+kirjai@users.noreply.github.com>
2021-08-16 08:00:19 -07:00
Miroslav Jonaš
8ab463e386
cleanup(core): replace deprecated usage of appRootPath (#6241)
* cleanup(core): replace deprecated usage of appRootPath

* cleanup(core): revert migration changes
2021-07-05 15:51:19 -04:00
Noriyuki Shinpuku
7510ee479c
feat(nextjs): improve WithNxOptions typing (#5903)
* feat(nextjs): improve WithNxOptions typing

* docs(nextjs): update nextjs guides
2021-06-25 15:08:12 +03:00