5294 Commits

Author SHA1 Message Date
Craigory Coppola
9f054adbb6
docs(core): update generator options link to params.ts (#9634) 2022-03-31 15:37:10 +00:00
Leosvel Pérez Espinosa
18776f6764
feat(angular): update ng-add generator so the migration result is more aligned with new nx workspaces (#9630) 2022-03-31 16:30:06 +01:00
James Henry
72c0a5bc58
fix(core): restore failed project summary data to dynamic output (#9632) 2022-03-31 10:38:48 -04:00
Enoyao
6d0f271dc3
fix: remove redundant code (#9599) 2022-03-31 09:54:24 -04:00
Victor Savkin
428106f6be
cleanup(core): create more meaningful file structure in nx package (#9621) 2022-03-31 09:07:22 -04:00
Miroslav Jonaš
5b34fa4c74
fix(core): add missing lint info to library generator (#9627) 2022-03-31 08:56:23 +00:00
Miroslav Jonaš
15d8222200
feat(nxdev): add types to CLI docs (#9607) 2022-03-31 10:15:49 +02:00
Jason Jean
7880de546f
chore(repo): update nx to 13.10.0-beta.9 (#9587) 2022-03-31 03:56:35 +00:00
Luís Carvalho
c86618ecd3
feat(dep-graph): add dark mode (#8712)
* feat(dep-graph): add dark mode

Squashed commits:

feat(dep-graph): Updating tailwind config file.

As of version 3.0 higher tailwind jit mode is default. Instead of purge is now content and as dark mode will be added as class.

feat(dep-graph): Enabling toggable dark mode.

As darkmode (tailwind.congig.json) is set as class, we need to add the script to the head tag on index.html.
see: https://tailwindcss.com/docs/dark-mode

feat(dep-graph): Adding theme Initializer and creating support functions

All functions related to theme changing and initialization are located on the theme-resolver.tsx
The themeInit function will run when page is loaded and apply add class to the <html> tag as dark or light accordignly. Theme resolver applies the changes and keeps localstorage and <html class> in sync.

feat(dep-graph): Adding theme panel

The pannel allows users to switch themes. Currently it only changes the html class and localstorage.

feat(dep-graph): Creating tailwind dark colors pallete

The current colors remain as light. The dark colors are an attempt to contrast the light ones.

feat(dep-graph): Adding additional styles to sidebar

feat(dep-graph): Define styling presets for darkmode to allow consistent and concise classNames.

feat(dep-graph): Apply dark styling classes to sidebar

feat(dep-graph): Added dark mode styles to the debugger

feat(dep-graph): Added Color to tailwind config and adjusting imports.

feat(dep-graph): Created theme tracker

feat(dep-graph): Added dark classes to graph container

feat(dep-graph): Adjusted some edge styles for better UX. Added dynamic selection of colors according to the current theme.

feat(dep-graph):  Added transition when switching themes.

feat(dep-graph): Readded auto roation for implicit label and dynamic background.

feat(dep-graph): Assigned generic types to selectDynbamically, and added new color to the pallete.

feat(dep-graph): Added dynamic styles for theming.

feat(dep-graph): Added mock for matchMedia. Tests will fail otherwise.

feat(dep-graph): Added styles to tippy.

feat(dep-graph): Moved theme related functions to theme-resolver file

feat(dep-graph): Implement dark mode on tooltips.

feat(dep-graph): re-evaluate graph colors on theme change

cleanup(dep-graph): Removed duplicate style

chore(dep-graph): Testing theme preferences

Adding test cases for theme initialization, and the ability to change.

cleanup(dep-graph): removing repeated style classes

Fixed issue with webpack plugin (#8231)

feat(npm): resolved issue with live reload failing

Fixed the issue with live reload when adding scripts in project.json

Closes #8230

chore(repo): update nx to 13.10.0-beta.1 (#9407)

feat(dep-graph): re-evaluate graph colors on theme change

fix(dep-graph): use theme background color in image download

* fix(dep-graph): change dark mode styles

* cleanup(dep-graph): cleanup e2e tests and naming

Co-authored-by: Philip Fulcher <philip@nrwl.io>
2022-03-30 21:52:27 -06:00
Allan Juan
84dbd4324f
docs(testing): fix cypress headed/headless modes description (#9591) 2022-03-30 19:41:28 -05:00
Benjamin Cabanes
42f1c7384a
docs(nxdev): update algolia docsearch version (#9614) 2022-03-30 18:50:22 +00:00
Colum Ferry
e22bdd01c2
feat(angular): expose storybook component story generator (#9606) 2022-03-30 14:16:26 -04:00
Jack Hsu
b02beb551b
feat(react): update to react 18 (#9613) 2022-03-30 17:48:37 +00:00
Jason Jean
1bc2298b19
fix(testing): remove default testTimeout value which overrides the jest config (#9616) 2022-03-30 15:47:02 +00:00
Miroslav Jonaš
1d64428a53
docs(core): remove dangling backtick from name description (#9612) 2022-03-30 14:16:46 +00:00
Miroslav Jonaš
3b21f4dfea
fix(core): switch from appRootPath to workspaceRoot (#9600) 2022-03-30 09:15:20 -04:00
Colum Ferry
b952d0c755
docs(angular): fix schema for host application (#9602) 2022-03-30 12:59:57 +00:00
Colum Ferry
0312fde127
docs(angular): fix guide formatting (#9603)
* docs(angular): fix guide formatting

* docs(angular): fix formatting

Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>

Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
2022-03-30 13:34:38 +01:00
Miroslav Jonaš
95523d5d2f
docs(core): cross-link create-nx-workspace api docs from nx-setup (#9601) 2022-03-30 12:11:35 +02:00
Benjamin Cabanes
fa1bda4b26
docs(nxdev): add mfe wording convention (#9598) 2022-03-29 20:55:16 +00:00
Colum Ferry
39666c5d45
docs(angular): change title in navbar of mfe guide (#9597) 2022-03-29 15:30:04 -04:00
Jason Jean
1bcfe27689
chore(repo): re-export after consolidating packages (#9595) 2022-03-29 19:14:39 +00:00
Craigory Coppola
9123665bed
fix(core): normalize file path for node-hasher (#9585)
Node hasher paths need to be normalized, since on windows they return with '\' instead of '/' and don't match keys in workspace configuration.

Fixes #9584
Fixes #9581
2022-03-29 14:16:24 -04:00
Leosvel Pérez Espinosa
ace6673f4f
fix(core): fix tao to support migrations from older workspaces (#9594) 2022-03-29 18:06:17 +00:00
Leosvel Pérez Espinosa
bdc73340df
feat(core): improve migrations performance by using registry to fetch packages information (#9592) 2022-03-29 14:02:37 -04:00
Miroslav Jonaš
9e06020575
feat(core): toggle additional prompts in CNW with a flag (#9546)
* feat(core): toggle additional prompts in CNW with a flag

* feat(repo): handle cli params with yargs

* feat(core): add docs generation

* chore(repo): add colors

* fix(core): migrate to yargs 17.x

* fix(core): update markup generation
2022-03-29 14:00:07 -04:00
Victor Savkin
66e2c37582
chore(repo): update nx-cloud 2022-03-29 13:57:58 -04:00
Colum Ferry
5378128851
feat(angular): add dynamic federation support to mfe generator (#9551) 2022-03-29 16:45:19 +01:00
Katerina Skroumpelou
f3dde18832
feat(storybook): import builder from core-server, not core (#9562) 2022-03-29 14:28:07 +00:00
Juri
3c6f88065a docs(core): fix some typos 2022-03-29 16:17:01 +02:00
danjor
c2c3cf58ba
fix(devkit): add missing parameter to prettier getFileInfo (#9577)
Co-authored-by: Jordan CALVI <jordan.calvi.external@atos.net>
2022-03-29 10:14:52 -04:00
Craigory Coppola
e3251d28ef
docs(nx-plugin): document local plugin functionality (#9564) 2022-03-29 09:56:25 -04:00
Leosvel Pérez Espinosa
d33a34105f
cleanup(angular): fix ng-add e2e tests to correctly pass args based on the package manager (#9580) 2022-03-29 12:05:54 +01:00
Leosvel Pérez Espinosa
f664b7d344
cleanup(angular): refactor ng-add generator to enable making improvements easier (#9525) 2022-03-29 10:46:06 +01:00
Leosvel Pérez Espinosa
6d52820d28
docs(angular): remove incremental builds preset from the webpack-browser executor (#9578) 2022-03-29 09:58:52 +01:00
Jay Bell
70492f3939
fix(core): add more descriptive dependencies build error (#9031)
Co-authored-by: Craigory Coppola <craigorycoppola@gmail.com>
2022-03-28 16:50:45 -04:00
swuendri
0ad3eb34cb
feat(core): add option importPath to workspace remove library (#9486)
Co-authored-by: Sven Wuendrich <sven.wuendrich@ottogroup.com>
2022-03-28 15:28:28 -04:00
Benjamin Cabanes
8498fe9193
docs(core): adding bitbucket pipelines doc (#9567)
Co-authored-by: galarbel-ampliospeech <gal.arbel@ampliospeech.com>
2022-03-28 15:24:55 -04:00
Matthew Hand
f1400c65d8
docs(core): add information about disabling the nx daemon for plugin dev (#9499) 2022-03-28 14:59:50 -04:00
Christian Rodriguez
051a427a34
docs(core): fix typo in using-executors (#9547)
Fixes a typo in the "using-executors" section.

* Typo: from --> form
* In the executor string the executor name is `webpack`, not `build`
2022-03-28 14:57:26 -04:00
Benjamin Cabanes
e39769fe14
docs(nxdev): remove unused storage feature library (#9566) 2022-03-28 14:27:32 -04:00
Benjamin Cabanes
e66db12e42
docs(nxdev): fill missing project tags (#9565) 2022-03-28 18:12:00 +00:00
Melanie Seltzer
9a16371bf0
fix(core): un-scope the node_modules entry in generated .gitignore (#9544)
ISSUES CLOSED: #9412
2022-03-28 12:40:38 -04:00
Katerina Skroumpelou
3c662c2ae2
docs(nxdev): added some presets (#9552) 2022-03-28 12:32:06 -04:00
Jason Jean
b7ed00ffa3
chore(core): re-export from core/project-graph and core/file-utils (#9560) 2022-03-28 16:26:48 +00:00
Katerina Skroumpelou
0155372379
fix(storybook): optional references in tsconfig (#9561) 2022-03-28 16:24:50 +00:00
Colum Ferry
8e09875cb3
fix(core): add log line to inform install after migration (#9559) 2022-03-28 16:17:51 +00:00
Benjamin Cabanes
c058c30f4e
docs(nxdev): add skip to content shortcut (#9558) 2022-03-28 15:29:33 +00:00
Jason Jean
8b0f9d25e7
chore(core): update yargs to 17.4.0 (#9511) 2022-03-28 11:28:14 -04:00
Benjamin Cabanes
3acced0fac
docs(nxdev): misc format (#9557) 2022-03-28 16:46:06 +02:00