5317 Commits

Author SHA1 Message Date
Jack Hsu
70985b1052
feat(react): update MFE config and routes when adding remote to host (#9687) 2022-04-05 13:50:43 -04:00
Katerina Skroumpelou
9579aec307
feat(storybook): add projectBuildConfig as an option in generator (#9655)
Co-authored-by: Colum Ferry <cferry09@gmail.com>
2022-04-05 16:16:25 +00:00
Colum Ferry
e42069b5ec
fix(angular): add --module option to component generator (#9684) 2022-04-05 15:37:08 +01:00
Kayla Altepeter
274c050fc9
fix(react): case sensitive file import with react app generator when … (#9670) 2022-04-05 14:25:52 +00:00
Craigory Coppola
14674a113d
docs(misc): fix missing link on nx and yarn/lerna page (#9685) 2022-04-05 14:00:22 +00:00
Miroslav Jonaš
edda7b424b
chore(repo): update orb version (#9683) 2022-04-05 15:31:47 +02:00
Nicholas Cunningham
12f0f195d2
feat(react): add support for MFEs (#9413)
* feat(react): Add MFE  Generator for Host and Remote Apps
Host generator will be able use the mfe-remote generator when remotes are passed into the CLI for the mfe-host command

* docs(react): React Documentation Update

Co-authored-by: Nicholas Cunningham <nico@Nicholass-MacBook-Pro.local>
Co-authored-by: Nicholas Cunningham <ndcunningham>
2022-04-04 15:44:18 -04:00
William Neely
af37fe9125
docs(devkit): name is returned unmodified (#9418)
the docs for the names function say that the name is modified to hyphenated case but it's actually returned unmodified
2022-04-04 14:40:41 +00:00
Emily Xiong
1358fbf263
feat(storybook): upgrade @storybook/react-native version to ^6.0.1-beta.5 (#9657)
- also move the toggle-storybook.tsx to src/storbyook folder rather than .storybook
2022-04-04 11:36:36 +03:00
Emily Xiong
bc31273a37
fix(react-native): change openURLInBrowser to Linking.openURL for react native web (#9482) 2022-04-03 02:11:16 -04:00
Philip Fulcher
dbe942c9c0
feat(dep-graph): add experimental support for finding path between projects (#9643)
* feat(dep-graph): add experimental support for tracing paths between projects

* feat(graph): add algorithm for finding all paths between projects

* cleanup(dep-graph): clean-up edge tooltip

* cleanup(dep-graph): fix watch mode dev environment
2022-04-02 16:06:24 -06:00
CommanderRoot
05a9544806
cleanup(misc): replace deprecated String.prototype.substr()
* cleanup(misc): replace deprecated String.prototype.substr()

.substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated

Signed-off-by: Tobias Speicher <rootcommander@gmail.com>

* fix(js): fix slice change

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2022-04-01 23:04:26 +00:00
Kalarrs Topham
f9223817b3
feat(node): add support for async webpack configuration (#9641) 2022-04-01 22:48:31 +00:00
Enoyao
10ae4c1154
chore(core): use optional chaining (#9445)
* chore(core): use optional chaining

* chore(core): chore(core): chore(core): use optional chaining

* chore(core): use optional chaining

* feat(core): chore(core): chore(core): use optional chaining

* chore(core): chore(core): use optional chaining

* chore(core): chore(core): chore(core): use optional chaining

* chore(core): chore(core): use optional chaining

* chore(core): chore(core): use optional chaining
2022-04-01 18:40:47 -04:00
Fabien Antoine
5ddd895bee
fix(storybook): Allow stylePreprocessorOptions for React storybooks (#9481) 2022-04-01 18:17:07 -04:00
Jack Hsu
cb4126c442
fix(react): pass configuration from context when reading build target options (#9656)
Closes #7924
2022-04-01 17:48:40 -04:00
Alexander Escamilla
0182c6d9c8
Fixed type in actions$: Actions (#9622) 2022-04-01 20:48:56 +00:00
Benjamin Cabanes
9b13b539a4
docs(nxdev): add animation background fallback (#9654) 2022-04-01 14:10:19 -04:00
Katerina Skroumpelou
43eee2324f
feat(storybook): use build-storybook as a build target for all libs (#9651) 2022-04-01 15:29:47 +00:00
Kalarrs Topham
7fe682250b
fix(repo): remove mismatched @nrwl/next from dependencies (#9648) 2022-04-01 10:56:07 -04:00
Leosvel Pérez Espinosa
557b241859
feat(angular): support migrating angular cli workspaces with multiple projects when keeping the angular cli layout (#9649) 2022-04-01 15:49:16 +01:00
Benjamin Cabanes
803d5ff126
docs(nxdev): add algolia production configuration (#9619) 2022-03-31 16:33:42 -04:00
Katerina Skroumpelou
96e0a6e86f
docs(core): add missing periods to storybook schemas (#9635) 2022-03-31 12:22:50 -04:00
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