417 Commits

Author SHA1 Message Date
Craigory Coppola
79cf69b4e4
feat(core): consolidate nx.json and workspace.json (#6642)
* feat(core): consolidate settings between workspace.json + nx.json

workspace.json (and linked project.json files) now contain all project specific settings.
nx.json now contains all settings that affect the whole workspace.

* chore(core): fix angular unit tests w/ new config

* chore(core): fix failing tests

* chore(core): fix formatting

* chore(core): fix more tests

* chore(core): normalize-nx-json feedback

* chore(core): Fix more unit tests

* chore(core): fix remaining tests in workspace

* chore(linter): fix remaining linter tests

* chore(core): fix remaining spec + build issues

* chore(core): formatting fixes

* feat(core): migration script to move config options to new locations

* chore(core): fix e2e tests

* chore(core): run format

* chore(react-native): fix failing tests

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* feat(core): move properties to new location during format step

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* feat(core): initial pass on ngcli-adapter for property consolidation

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* chore(misc): fix tests

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* docs(core): update docs with changes

* chore(misc): fix tests

* chore(core): code review changes

updateWorkspaceJson -> updateWorkspace, no longer uses updater function

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* chore(core): fix bug in ngcli impl

* fix(core): fix bug in ngcli-adapter

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* fix(core): fix ngcli-adapter

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* chore(core): fix workspace e2e

* chore(core): fix nx-plugin e2e

* fix(core): move defaultProject to nx.json

* chore(core): fix broken workspace test

* chore(core): formatting

* chore(core): fix workspace format

* chore(core): add nxJson to ExecutorContext

Signed-off-by: AgentEnder <craigorycoppola@gmail.com>

* chore(core): remove all references ot `NxProjectConfiguration` from our code

* chore(core): Review Changes

* fix(core): update new config locations v13 migration
2021-10-14 10:42:47 -04:00
Jack Hsu
fc3573f1ca
chore(web): remove install and build warnings (#7343) 2021-10-14 05:27:30 +02: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
22c22a11cc
feat(nextjs): use next 11.1.2 (#7310) 2021-10-11 17:12:05 +03:00
Jack Hsu
7bef953fe6
fix(nextjs): generate nextjs app with correct pages dir for no-html-link-for-pages rule (#7230) 2021-10-04 15:50:55 -04:00
Kirils L
61bcab3a83
feat(nextjs): expose environment variables prefixed with NX_ (#7193) 2021-10-01 15:49:02 +00:00
Kirils L
e1553a097a
fix(nextjs): include typescript in build package.json (#7130) 2021-09-24 12:07:43 -04:00
Jack Hsu
fec1c39be0
feat(react): add migration to replace deprecated node-sass with sass (#7105) 2021-09-23 12:01:38 -04:00
Victor Savkin
d79bba3630 chore(repo): update to nx 12.10 2021-09-20 16:39:13 -04:00
Andrew Luca
fe7c25d00f
chore(misc): add repository directory for all packages.json (#6973) 2021-09-15 11:53:08 -04:00
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