* feat(testing): add generator to aid in the migration to cypress 10
cypress 10 introduces a new configuration format and new layout that requires update settings and
files for e2e projects
* feat(testing): cypress component tests for react/next
initial work for cypress component tests for react and next
* feat(testing): add support for v10 e2e cypress projects
create the correct files for cypress projects >v10 and reorganize tests based on version to allow
easier parsing of tests
* feat(testing): add utils for modifying cypress v10 config
provide ts transformers to take in an existing cypress config and update/add properties within the
given configuration
* fix(testing): fix tests affected by the cypress v10 changes
update tests to assert the correct files/folders/file contents due to the cypress changes in v10
* cleanup(testing): move cypress component testing plugins into the respective packages
move the plugins into out of cypress plugins into the specific vertical plugin to prevent issues
with circular refs
* cleanup(testing): bump cypress version
bump to latest cypress v10 release
* docs(testing): update docs for cypress 10
update cypress docs to include info about component testing and migration to cypress v10
* fix(repo): revert cypress version bump
keep v9 of cypress installed for nx repo until v10 release
* fix(testing): update cypress gen tsconfig and infer targets with converter
* fix(testing): make sure tests use the cypress v10 (for the intermediate)
* fix(testing): update target name after feedback
* fix(testing): support multiple target w/custom configs for cypress v10 migration
* fix(testing): refactor cy component tests into seperate verticals
* feat(testing): create storybook cypress preset
* fix(testing): clean up cy v10 migration
* fix(testing): don't branch for cypress executor testingType
* fix(testing): move cy comp test generator to next
* fix(testing): bump cypress deps
* fix(testing): clean up cy component testing generators
* fix(testing): update cy component testing docs
* fix(testign): dep check. runtime plugin pulls from @nrwl/react
* fix(testing): move e2e into verticals
* fix(testing): address PR feedback
* fix(testing): clean up unit tests
* feat(angular): support migrating angular cli workspaces using cypress v10
* chore(testing): update e2e tests
* fix(testing): address pr feedback
* chore(testing): remove cypress component testing for next.js
* fix(testing): address pr feedback
Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
* fix(core): require.resolve(m/package.json) is not guarunteed to work for modern module format
* chore(repo): update usage of new readModulePackageJson function
* 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>