650 Commits

Author SHA1 Message Date
Isaac Mann
e717660102
docs(nx-dev): diataxis restructure (#11649)
* docs(nxdev): restructure docs to diataxis style

* docs(nxdev): cleanup

* docs(nxdev): fix links

* chore(nxdev): format

* docs(nxdev): fix broken images

* docs(nxdev): fix links

* docs(nxdev): fix links

* docs(nxdev): fix links

* docs(nxdev): tweaks

* docs(nxdev): redirect rules

* docs(nxdev): fixes
2022-08-29 08:36:55 -04:00
Benjamin Cabanes
19c31dd10a
docs(nxdev): remove unused scripts (#11743) 2022-08-26 19:30:20 +00:00
Benjamin Cabanes
353d078dcb
docs(nxdev): add external paths (#11741) 2022-08-26 18:59:47 +00:00
Caleb Ukle
657b2bff5a
feat(testing): support jest 28 (#10857)
* feat(testing): support jest 28

WIP jest migration

* fix(testing): jest-environment-jsdom must be explicitly added now

* fix(testing): add rxjs to the transform lsit

* fix(testing): jest ts-jest updates and resolver issues

* feat(testing): remove test runner for react native jest

* feat(testing): add preprocessor for react native jest

* fix(testing): update query to handle tsx file syntax, remove rxjs transform

* chore(repo): remove file from accident commit

* chore(testing): update migration to target 14.6 for RN jest preprocessor

* fix(testing): call passed in packageFilter if preset

* docs(testing): add resolver env var to troubleshooting guide

* chore(repo): prep resolver for jest 28 migration

* fix(testing): update deps to handle esbuild-wasm service error

* fix(testing): switch to testEnvironmentOptions for cjs loading vs resolver list

* fix(testing): force babel-jest preset in transformer for project transforms

* chore(testing): address PR feedback

* fix(testing): address pr feedback, remove react-native transform

* chore(testing): update createTreeWithEmptyWorkspace calls

* chore(testing): address pr feedback

* feat(testing): add migration script for react native to rename .babelrc to babel.config.json

* chore(testing): nx format after rebase

* chore(testing): fix display name for @nrwl/js

Co-authored-by: Emily Xiong <xiongemi@gmail.com>
2022-08-18 18:40:31 -04:00
Miroslav Jonaš
6a7d95bc39
chore(repo): release major version on e2e runs (#11619) 2022-08-17 12:07:40 +00:00
Jason Jean
0a64415f12
fix(repo): change e2e tests to publish 9999.0.2 (#11591) 2022-08-15 08:06:09 -07:00
Miroslav Jonaš
001fed8c3b
chore(core): release canary version for e2e tests to avoid version overlap (#11539) 2022-08-12 16:30:22 +02:00
Benjamin Cabanes
d13d5eb3b5
docs(nxdev): cleanup imports (#11563) 2022-08-12 10:24:36 -04:00
Benjamin Cabanes
164111b793
docs(nxdev): clean up link map checker script (#11551) 2022-08-11 17:31:29 +00:00
Benjamin Cabanes
af83ffb9e8
docs(nxdev): simplify link map checker script (#11544) 2022-08-11 13:45:02 +00:00
Miroslav Jonaš
57acec916b
fix(nxdev): preserve generated sitemap in cache (#11540) 2022-08-11 13:20:34 +02:00
Jack Hsu
520e5852f7
docs(core): read package names from package.json rather than inferrin… (#11520) 2022-08-09 16:42:13 +00:00
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