488 Commits

Author SHA1 Message Date
Jack Hsu
96e84eea39
fix(misc): add dotenv as dependencies for plugins that import it (#11167) 2022-07-15 16:46:41 -04:00
Benjamin Cabanes
8519627e93
docs(nxdev): internal link checker now supports indexes (#11147) 2022-07-14 18:40:52 +00:00
Benjamin Cabanes
04cb18648b
docs(nxdev): documentation link checker (#11140) 2022-07-14 14:17:26 +00:00
Benjamin Cabanes
f08d4ab790
docs(nxdev): move content from cli into nx (#11085) 2022-07-13 13:01:02 -04:00
Caleb Ukle
8154191eb1
feat(testing): Cypress 10 and component testing support (#9201)
* 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>
2022-07-08 14:34:00 -05:00
Miroslav Jonaš
6186daabf8
feat(repo): add lock file linting to commit check, PR and nightly (#11071) 2022-07-08 10:39:23 +00:00
Philip Fulcher
0ae2154ca3
chore(dep-graph): re-enable project graph e2e (#10799) 2022-06-25 12:07:27 +02:00
Jason Jean
049435ce9b
fix(repo): reset git index when terminating publishing (#10689) 2022-06-10 12:38:50 -04:00
Caleb Ukle
b9012fa66e
fix(testing): update @nrwl/cypress peer deps (#10618) 2022-06-07 12:42:00 -05:00
Craigory Coppola
7f7bc1a095
fix(core): require.resolve(m/package.json) is not guarunteed to work for modern module format (#10497)
* fix(core): require.resolve(m/package.json) is not guarunteed to work for modern module format

* chore(repo): update usage of new readModulePackageJson function
2022-06-03 20:54:15 +00:00
Benjamin Cabanes
210edd731a
docs(nxdev): consolidate documentats consumption (#10546) 2022-06-01 13:56:08 -04:00
Miroslav Jonaš
0844ab97e6
feat(core): deprecate affected:apps and affected:libs (#10524)
Co-authored-by: Victor Savkin <mail@vsavkin.com>
2022-05-31 11:42:44 +00:00
Jack Hsu
3e45bafffb
docs(core): remove ignore script in favor of nx-ignore bin (#10504) 2022-05-28 16:52:11 +00:00
Craigory Coppola
c9897c61e6
fix(core): swc should be an optional peer dependency (#10461) 2022-05-26 12:09:27 -04:00
Jason Jean
2814a86b4c
fix(repo): update package group during publishing (#10411) 2022-05-24 23:28:10 +00:00
Miroslav Jonaš
85485cc80d
chore(repo): use latest version in e2e tests to avoid pnpm 7 issues (#10446) 2022-05-24 20:25:05 +02:00
Benjamin Cabanes
c56e698ab6
chore(nxdev): change nx core dependency lookup (#10452) 2022-05-24 10:39:23 -04:00
Jason Jean
04985be149
chore(repo): switch publishing to use lerna (#10293) 2022-05-20 00:35:47 +00:00
Victor Savkin
7617df8ab0 cleanup(core): nx package should not depend on rxjs 2022-05-19 09:25:33 -04:00
Miroslav Jonaš
6024c3d93a
chore(repo): patch devkit peer deps limit for e2e tests (#10331) 2022-05-16 21:09:44 +00:00
Benjamin Cabanes
c7ec631060
docs(nxdev): remove nx-devkit generated redirect rules & fix url (#10318) 2022-05-16 14:34:53 +00:00
Leosvel Pérez Espinosa
7c2f9452fa docs(core): remove invalid cli commands 2022-05-16 10:06:12 -04:00
Benjamin Cabanes
d46e49cd61
docs(nxdev): generate menu api (#10272) 2022-05-12 18:12:04 +00:00
Benjamin Cabanes
3eb2955245
docs(nxdev): show overview on package list view (#10189) 2022-05-06 15:48:44 -04:00
Jason Jean
ac8ebed1c8
fix(core): add dependency from workspace to devkit (#10147) 2022-05-04 21:27:31 +00:00
Benjamin Cabanes
aa360645ab
docs(nxdev): display specific nx package name exception (#10139) 2022-05-04 17:26:41 +00:00
Victor Savkin
16c61b7001 chore(repo): update the warning on when to remove npx cache 2022-05-03 14:35:18 -04:00
Miroslav Jonaš
c1213b6d09
chore(repo): allow nx version override for E2E tests (#10114) 2022-05-03 15:33:07 +02:00
Victor Savkin
cb8bf523ff
chore(repo): update cloud to 1403 (#10070) 2022-04-30 13:21:55 -04:00
Jason Jean
ec47503420
fix(core): add dependency for cliui + string-width (#9967) 2022-04-22 19:13:38 -04:00
Jack Hsu
7913f31cff
fix(react): use normalized app name in host/remote generators (#9909) 2022-04-21 02:54:39 +00:00
Victor Savkin
920d8aa355
chore(repo): update repo to nx14 (#9908) 2022-04-20 21:40:12 -04:00
James Henry
46e7b4d49c
chore(core): improve help output for generators and executors (#9800) 2022-04-12 14:05:55 -04:00
Benjamin Cabanes
ac4f4c8177
docs(nxdev): add noreferrer for _blank links (#9807) 2022-04-12 15:26:02 +00:00
Benjamin Cabanes
a622ee5f08
docs(nxdev): lookup to package.json version for vercel script (#9803) 2022-04-12 14:09:41 +00:00
Leosvel Pérez Espinosa
96db3c51c4
docs(misc): render values correctly (#9712) 2022-04-08 09:45:51 -04:00
Victor Savkin
48769dc4bb
cleanup(core): remove NX_INVOKED_BY_RUNNER (#9693) 2022-04-05 16:58:13 -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š
15d8222200
feat(nxdev): add types to CLI docs (#9607) 2022-03-31 10:15:49 +02: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
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
Katerina Skroumpelou
f3dde18832
feat(storybook): import builder from core-server, not core (#9562) 2022-03-29 14:28:07 +00:00
Jason Jean
8b0f9d25e7
chore(core): update yargs to 17.4.0 (#9511) 2022-03-28 11:28:14 -04:00
Victor Savkin
16378258cd
chore(repo): minor changes to improve local e2e experience 2022-03-26 12:54:34 -04:00
Benjamin Cabanes
e96b90bc19
docs(nxdev): enable open-graph image generation for package view (#9521) 2022-03-25 18:31:52 +00:00
Victor Savkin
fe846882aa
chore(repo): update repo to 13.10 (#9497) 2022-03-24 12:21:07 -04:00
Benjamin Cabanes
6dae32cc3a
docs(nxdev): support packages schemas metadata & discoverability (#9383) 2022-03-24 12:00:06 -04:00
Victor Savkin
52b47659df
feat(repo): run e2e tests outside of the repo (#9496) 2022-03-24 10:02:19 -04:00
Juri Strumpflohner
09c356bfb1
docs(nxdev): make sure rendered command string includes param indication (#9489) 2022-03-24 09:17:22 -04:00
Victor Savkin
d4b5c30eba
cleanup(core): remove the indirection left after inlining ta… (#9469) 2022-03-23 22:18:17 -04:00