52 Commits

Author SHA1 Message Date
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
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
Victor Savkin
2071c2e5da
fix(repo): fix builds 2022-03-24 16:37:00 -04:00
Victor Savkin
d4b5c30eba
cleanup(core): remove the indirection left after inlining ta… (#9469) 2022-03-23 22:18:17 -04:00
Philip Fulcher
31d51c36fd
feat(dep-graph): add experimental collapse edges option (#9004) 2022-02-16 14:12:13 -07:00
Miroslav Jonaš
b251234af9
feat(core): use stricter types for project graph node references (#8813) 2022-02-16 11:45:04 +01:00
Benjamin Cabanes
045c8dc9eb
chore(core): use prettier tailwindcss plugin (#8856) 2022-02-04 15:38:06 -05:00
Victor Savkin
4e474773bf
Revert "feat(core): show dep types in dep graph (#2760) (#8132)"
This reverts commit 31bb2f36261fdf222e9e8e962227dcd911dfee66.
2022-01-25 15:23:25 -05:00
Isaac Mann
07ebdb36a3
feat(core): add nx graph as alias of nx dep-graph (#8539)
* feat(core): add nx graph as alias of nx dep-graph

* docs(core): add note about old dep-graph syntax

* cleanup(core): formatting

* feat(core): formatting

* feat(core): formatting

Co-authored-by: Isaac Mann <isaacplmann+git@gmail.com>
2022-01-21 11:15:23 -05:00
Phillip Barta
dbb7c602ff
cleanup(repo): format with prettier 2.5.1 2022-01-20 12:26:45 -05:00
Jack Hsu
f231cfc01b
feat(repo): move gatsby plugin to nx-labs repo (#8617) 2022-01-20 12:00:51 -05:00
MaximSagan
31bb2f3626
feat(core): show dep types in dep graph (#2760) (#8132) 2022-01-18 10:20:09 -07:00
Philip Fulcher
cd8ecab364
chore(dep-graph): alias react to preact (#8563) 2022-01-17 14:29:29 +00:00
Philip Fulcher
759a9c5f25
feat(dep-graph): add URL search params to dep graph (#8525) 2022-01-14 23:28:39 +00:00
Philip Fulcher
86f7f65d8e
chore(dep-graph): remove rxjs dependency (#8268) 2021-12-22 04:37:03 +00:00
Philip Fulcher
717a560a54
chore(dep-graph): migrate dep-graph app to React (#8152) 2021-12-16 23:30:04 +00:00
Miroslav Jonaš
6245464714
fix(dep-graph): switch linter to use eslint executor (#8091) 2021-12-10 11:13:58 +01:00
Victor Savkin
ddaa36f8f7 chore(repo): update nx to 13.3.0-beta.13 2021-12-04 14:00:31 -05:00
Philip Fulcher
fcab9f2001
feat(dep-graph): enable image download of graph (#7963) 2021-12-02 19:09:24 +00:00
Philip Fulcher
56aaeb7931
chore(dep-graph): move project focus selection to cytoscape (#7780) 2021-12-02 00:10:54 -07:00
Philip Fulcher
d7af894681
fix(dep-graph): set workspaceLayout on initGraph (#7774) 2021-11-17 18:37:13 +00:00
AgentEnder
f6a562d1ec chore(repo): migrate to v13.1.4 2021-11-11 15:12:06 -05:00
Philip Fulcher
0b0c37dbd1
fix(dep-graph): stop search depth from going below 1 (#7661) 2021-11-09 09:18:43 -07:00
Philip Fulcher
5f9279a3ff
feat(dep-graph): use xstate for state management (#7634) 2021-11-08 21:00:45 -07:00
Philip Fulcher
87354080f6
fix(dep-graph): fix highlighting in group by folder mode (#7491) 2021-10-22 21:41:07 +00:00
Philip Fulcher
d80d24c1ca
fix(dep-graph): eyeball icon is clickable (#7493) 2021-10-22 21:00:05 +00:00
Benjamin Cabanes
81d76eb68c
feat(dep-graph): project name sidebar rounded corners (#7393) 2021-10-15 13:52:16 -07:00
Miroslav Jonaš
b23f2d8b80
feat(core): extract project graph external nodes (#7340) 2021-10-15 10:08:12 -04:00
Benjamin Cabanes
92ebb84c24
feat(dep-graph): ui redesign (#7281)
* feat(dep-graph): ui redesign

* fix(dep-graph): small behavior changes and e2e fixes

Co-authored-by: Philip Fulcher <philip@nrwl.io>
2021-10-14 20:56:29 +00:00
Philip Fulcher
39c290d6b6
fix(misc): select correct projects on dep graph when in watch mode (#7304) 2021-10-14 12:20:20 -06:00
Jason Jean
7d4c350b78
chore(repo): update nx to 13.0.0-beta.8 (#7361) 2021-10-14 14:12:40 -04:00
Jack Hsu
f9fe52bb18
fix(web): add support for barrel exports in web build (#7354) 2021-10-14 10:07:51 -04:00
Miroslav Jonaš
a01a5c9d34
chore(repo): split e2e-workspace to two applications (#7240) 2021-10-05 18:59:03 +02:00
Victor Savkin
d79bba3630 chore(repo): update to nx 12.10 2021-09-20 16:39:13 -04:00
Philip Fulcher
ecf3244d81
feat(misc): add dep graph search depth (#6933)
* feat(misc): add dep graph search depth

ISSUES CLOSED: #5101
2021-09-15 15:38:56 -06: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
Philip Fulcher
6b6b66c325
fix(misc): fix affected:dep-graph file output (#6581) 2021-08-07 09:17:01 -04:00
Jack Hsu
cdb954083e
fix(web): remove unnecessary packages from being installed with @nrwl/web (#6554) 2021-07-30 15:51:43 -04:00
Jason Jean
9e8252406c
chore(repo): remove dependency from dep-graph to workspace and run-co… (#6497)
* chore(repo): remove dependency from dep-graph to workspace and run-command

* chore(repo): change default build config for dep-graph

Co-authored-by: Philip Fulcher <philip@nrwl.io>
2021-07-23 16:03:40 -04:00
Craigory V Coppola
442e4fc6a1
chore(repo): convert to project json format (#6286) 2021-07-08 11:36:35 -04:00
Philip Fulcher
98ac32e615
feat(misc): add watch mode to dep-graph command (#6043) 2021-06-22 10:41:44 -06:00
Phillip Barta
fe97444d78
feat(core): migrate prettier to v2.3.1 (#5623) 2021-06-17 16:44:30 +02:00
Leosvel Pérez Espinosa
4563386d76
fix(core): add support for formatting using all extensions prettier supports (#5890) 2021-06-04 10:46:53 -04:00
Jason Clark
0345d08fd7
fix(core): update rollup-plugin-typescript2 to fix array spread error (#5704)
* Update rollup-plugin-typescript2 to fix array spread

* fix(core): update rollup-plugin-typescript2 to 0.30.0 to fix issue with array spreading

Fixes: #5467 - Update rollup-plugin-typescript2 to fix array spread issue
ISSUES CLOSED: #5467

ISSUES CLOSED: #5467

* cleanup(core): cleanup(core): cleanup old rollup-plugin-typescript2 versions
2021-05-22 13:35:11 -04:00
Phillip Barta
053d488801 cleanup(core): removed reexport of devkit types in workspace 2021-05-19 13:42:03 -04:00
Juri Strumpflohner
82fd6db7f4
feat(core): allow to collapse the sidebar on dep-graph UI (#5602)
* feat(core): allow to collapse the sidebar on dep-graph UI

* fix(misc): open dep-graph sidebar when project changes

Co-authored-by: Philip Fulcher <philip@nrwl.io>
2021-05-18 12:29:51 -06: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
647bfc9cdf
feat(core): refactored dep-graph to use latest tippy.js and cytoscape (#5358)
updated tippy.js to version 6 and migrated the TooltipService
updated cytoscape and its packages to
the latest versions
removed cytoscape-anywhere panning
2021-04-16 09:30:07 -06:00
Philip Fulcher
d8d643a1e3
fix(misc): fix grouping problem in dep-graph client (#5279) 2021-04-12 09:17:42 -06:00