207 Commits

Author SHA1 Message Date
Kirils L
b0b500676f
fix(nextjs): align next-env.d.ts file (#6929) 2021-09-03 14:51:02 +00:00
Jack Hsu
44db568261
fix(nextjs): add displayName to CustomDocument component when using styled-components (#6903) 2021-08-31 11:40:43 -04:00
Jason Jean
1b6c0ee7fa
feat(misc): add x-type to app and lib generators (#6874) 2021-08-27 19:28:01 -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
AgentEnder
c9c8fa7f1c chore(core): project.json should not be included in builds
Signed-off-by: AgentEnder <craigorycoppola@gmail.com>
2021-08-20 20:22:30 -04:00
Juri
2f3742b3b1 fix(nextjs): adjust .babelrc for Next libraries with emotion styling 2021-08-19 20:06:41 +02:00
Juri
eb15cffa86 fix(nextjs): remove styled-jsx/babel from .babelrc as next/babel has it already built-in 2021-08-19 17:41:28 +02:00
Noriyuki Shinpuku
0841b55465
fix(nextjs): fix .babelrc for emotion v11 (#6728) 2021-08-19 09:45:16 -04:00
Sumit Parakh
295b8d737c
fix(core): fix --directory alias conflict (#6596)
ISSUES CLOSED: #6571
2021-08-18 18:02:12 -04:00
Michaël De Boey
d0b65fab18
feat(nextjs): expose libraryGenerator (#6725) 2021-08-16 16:33:02 -04: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
Juri
79ea377a65 fix(nextjs): allow plain url-loader inlining of SVGs not just SVGR 2021-08-11 15:58:30 +02:00
Jack Hsu
422c5f8c8e
fix(react): relax babel dependency versions (#6637) 2021-08-06 15:40:05 -04:00
Kirils L
e0028d30f6
feat(nextjs): turn off svgr by default for new apps (#6634) 2021-08-06 13:28:15 -04:00
Kirils L
50211204dd
feat(nextjs): warn for empty public directory (#6636) 2021-08-06 12:29:06 -04:00
Kirils L
32c41b285a
fix(nextjs): update build and serve schemas (#6553) 2021-08-06 11:26:41 -04:00
Jack Hsu
9b0dade2eb
fix(nextjs): add missing dependency to @nrwl/devkit (#6633) 2021-08-06 15:24:56 +00:00
Miroslav Jonaš
3aca62af68
cleanup(repo): remove unused ext from file data and fix ext regex matcher (#6550) 2021-08-04 09:45:07 -04:00
Kirils L
e0a5dbf8d6
fix(nextjs): use next.js image types (#6556) 2021-07-30 18:58:41 +00:00
Jack Hsu
da7bb9fe76
fix(nextjs): generate nextjs library with "next/babel" preset rather than the default "@nrwl/react/babel" preset (#6545) 2021-07-30 10:36:20 -04:00
Phillip Barta
1b5498f367
feat(core): updated dotenv and switched to import 'dotenv/config' (#5615) 2021-07-29 17:49:23 -04:00
James Henry
4e8aa4ba68
chore(core): refactor executors to always read from cached project graph (#6446) 2021-07-29 15:50:29 -04:00
Leosvel Pérez Espinosa
9044a8f869
cleanup(misc): rename collection.json to generators.json (#6442) 2021-07-21 11:42:43 +01:00
James Henry
f76a33f5bb
chore(core): add readCachedProjectGraph and deprecate previous utility (#6385)
* chore(core): add readCachedProjectGraph and deprecate previous utility

* chore(core): whitespace

* chore(core): explicitly use type ProjectGraphCache

* chore(core): fix typo
2021-07-20 11:44:48 -04:00
James Henry
87e6d9dc77 chore(core): refactor createProjectGraph to be async, deprecate sync usage 2021-07-14 14:58:16 -04:00
Kirils L
267557e8d6
cleanup(nextjs): change manual dependency migration to use packageJsonUpdates (#6319) 2021-07-09 16:25:17 +00:00
Kirils L
434e2915f0
feat(nextjs): support next 11 (#6131) 2021-07-08 11:48:54 -04:00
Craigory V Coppola
442e4fc6a1
chore(repo): convert to project json format (#6286) 2021-07-08 11:36:35 -04:00
Juri Strumpflohner
c5a881d338
fix(nextjs): wrong deprecation message for createGlobPatternsOfDependentProjects (#6299) 2021-07-08 14:04:33 +00: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
Leosvel Pérez Espinosa
195e6bade5
cleanup(misc): rename builders.json to executors.json (#6230) 2021-07-02 15:59:34 +01:00
Jack Hsu
369da3ee78
feat(web): add support for webpack 5 (#5892) 2021-06-29 08:41:01 -04:00
Jason Jean
4f7191e154 chore(repo): update nx to 12.5.0-beta.5 2021-06-25 17:08:37 -04:00
Juri
bcdf5a75c8 feat(nextjs): add improved createGlobPatternsForDependencies utility useful for Tailwind CSS purging 2021-06-25 15:54:56 -04:00
Noriyuki Shinpuku
068c98591a
fix(nextjs): fix component generator (#6088)
ISSUES CLOSED: #6084
2021-06-25 20:11:47 +03:00
Boris Zubchenko
2ba13dbc62 fix(nextjs): set NODE_ENV for the serve command
ISSUES CLOSED: #5627
2021-06-25 13:17:25 +01: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
Craigory V Coppola
f1911a71f3
feat(core): split nx config to project files (#5880) 2021-06-22 20:30:38 -04:00
Phillip Barta
fe97444d78
feat(core): migrate prettier to v2.3.1 (#5623) 2021-06-17 16:44:30 +02:00
Craigory V Coppola
374a9d6ba4
fix(nextjs): app generator should succeed with --directory (#6039)
Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

ISSUES CLOSED: #6027
2021-06-16 22:44:43 +00:00
Juri Strumpflohner
a1c208af29
fix(nextjs): remove obsolete React import on _app.tsx (#6034) 2021-06-16 18:32:10 -04:00
Juri Strumpflohner
e182700f78
feat(core): expose utilities for retrieving source dirs of dependent projects (#5976)
* feat(core): expose utilities for retrieving source dirs of dependent projects

* feat(nextjs): utility to generate glob patterns from dependent projects
2021-06-15 10:11:05 -04:00
kirjai
8801930553 feat(nextjs): support webpack 5 2021-06-11 16:45:14 +01:00
kirjai
f723613929 feat(nextjs): add buildLibsFromSource option 2021-06-02 17:40:28 +01:00
Nathanael
92ea179a46 fix(nextjs): change to use default next export instead of next-dev-server so prod mode is respected
ISSUES CLOSED: 5764
2021-05-28 16:36:58 +01:00
James Henry
a3c08a9153
feat(linter): do not set eslint parserOptions.project by default (#5798) 2021-05-28 13:35:34 +00:00
Kirils L
bffc239e6e
fix(nextjs): add @nrwl/next as a prod dependency for new workspaces (#5662) 2021-05-21 13:50:58 +00:00
vsavkin
319a90b6ab feat(web): add a plugin to coordinate webpack and nx builds 2021-05-19 16:12:02 -04:00
vsavkin
f82344d63a chore(repo): refine the tag line 2021-05-18 20:55:40 -04:00