536 Commits

Author SHA1 Message Date
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
vsavkin
af23cc5d7d feat(misc): change the nx tag line 2021-05-18 16:07:22 -04:00
Juri Strumpflohner
75cbd54818
feat(nextjs): allow custom server to be written in TypeScript (#5510)
ISSUES CLOSED: #1933
2021-05-18 09:50:01 -04:00
Phillip Barta
52e3083a19
feat(core): added encoding param in Tree.read() (#5668)
feat(core): added encoding param in Tree.read()
2021-05-17 21:03:04 -04:00
Zachary DeRose
6fdf9d62f9
fix(repo): fixing issue with some options missing from docs (#5641) 2021-05-12 17:50:09 -04:00
Leosvel Pérez Espinosa
678818a58b
feat(angular): upgrade Angular to v12.0.0-rc.3 (#5630)
* feat(angular): upgrade Angular to v12.0.0-rc.3

* feat(angular): target Nx v12.4.0-beta.0 for Angular v12.0.0-rc.0 upgrade

* fix(angular): use defaultConfiguration if no other configuration is passed

* cleanup(angular): sync migration folder name to target version

* fix(repo): creating custom schema flattener for docs

* chore(repo): amend yarn.lock

* feat(angular): update angular storybook to use webpack 5

* fix(angular): add legacy peer deps for angular+jest

* fix(angular): move migrations to 12.3.0-rc.0

Co-authored-by: Zack DeRose <zack.derose@gmail.com>
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-05-12 12:20:12 -04:00
Kirils L
da27b2bd6c
fix(nextjs): NODE_ENV defaults to production for builds (#5574) 2021-05-07 12:55:16 -04:00
Kirils L
d251a4f49f
feat(nextjs): update to 10.2.0 (#5503) 2021-05-06 00:05:40 +03:00
Kirils L
217f581472
fix(nextjs): allow node modules css import in libs (#5479) 2021-05-04 09:53:41 +00:00
vsavkin
d767261fea fix(nextjs): default to build target for incremental serve
feat(core): support exclude with run-many
2021-04-29 15:57:26 -04:00
Minijus L
357ecd09a4
fix(testing): update ts-jest to version 26.5.5 (#5405)
Update `jest.config.js` ts-jest section with lower-cased 'tsconfig' property as 'tsConfig' is to be deprecated in version 27.
2021-04-26 08:56:52 -04:00
Phillip Barta
c0ce1ce65e
cleanup(core): normalized usage of fs-extra and updated fs-extra to 9.1.0 (#5199)
* cleanup(core): normalized usage of fs-extra and updated fs-extra

* cleanup(misc): use fs over fs-extra when possible

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-04-22 12:52:52 -04:00
Vivek
4a5345363b
docs(misc): update READMEs to have alt on <img> tags (#5306) 2021-04-22 13:36:00 +00:00
Jack Hsu
a7d8e2a735
feat(nextjs): add incremental build support to Next.js apps (#5360) 2021-04-20 12:01:27 -04:00
vsavkin
38c111ba06 chore(repo): update to nx 12 2021-04-07 12:31:23 -04:00
Kirils L
ffc69d41b4
feat(nextjs): add option to disable svgr (#5200) 2021-04-06 22:40:52 -04:00
Jack Hsu
76bc890f34
feat(nextjs): update Next.js to 10.1.3 (#5254) 2021-04-06 14:28:39 -04:00
Jack Hsu
c84bbb3c93
feat(react): add support for new jsx transform (#5131) 2021-04-01 13:46:12 +00:00
kirjai
aefdf26a03 feat(nextjs): support next 10.1.2 2021-03-31 21:09:17 -04:00
Vivek More 🧐
212fb00548 cleanup(misc): use more es6 features
- Single char alternation (e.g. a|b|c|d) in a RegExp can be simplified to use a character class ([abcd]) instead.
  This usually also provides slightly better matching performance.
- Character escapes that are replaceable with the unescaped character without a change in meaning. Inside the square brackets of a character class, many escapes are unnecessary that would be necessary outside of a character class. For example the regex [\.] is identical to [.]
- If several qualified expressions occur after the qualifier having been checked for nullable, they can be replaced with optional chaining
2021-03-24 20:11:32 -04:00
Jack Hsu
3587492bb8
fix(nextjs): improve documentation for "nextConfig" option and provide better error messages (#5098) 2021-03-24 10:29:47 -04:00
Kirils L
14888e50f4
fix(nextjs): leverage nextjs for loading svgs (#5060)
omit our own svg loading fallback, so that next.js webpack config is used instead
2021-03-23 15:14:09 -04:00