769 Commits

Author SHA1 Message Date
Craigory Coppola
d8f3c6b186
fix(react): migrations use tsquery, so we should provide it (#12575) 2022-10-13 13:37:37 -04:00
Benjamin Cabanes
c9feb2c2e5
docs(core): update pnpm command line (#12443) 2022-10-06 14:58:57 +00:00
Benjamin Cabanes
b91c7f63a4
docs(nxdev): add readme for custom markdown syntax (#12440) 2022-10-06 13:46:08 +00:00
Benjamin Cabanes
c26ae9de11
docs(core): add new mental model schemas (#12427) 2022-10-05 15:01:46 -04:00
Benjamin Cabanes
26e710180b
docs(nxdev): refresh ui (#12370) 2022-10-03 16:11:01 +00:00
Miroslav Jonaš
8d588c96c6
chore(repo): improve commit lint script to allow breaking change syntax (#12293) 2022-09-28 18:39:09 +00:00
Benjamin Cabanes
da0cc4792f
docs(nxdev): update internal reference links (#12083) 2022-09-19 19:15:19 +00:00
Jack Hsu
dd6addefc3
feat(bundling): move rollup to its own plugin (#12009) 2022-09-15 14:55:06 -04:00
Philip Fulcher
fb25fdada5
chore(graph): add storybook to graph-client (#11870) 2022-09-15 12:54:15 -06:00
Benjamin Cabanes
40fa765282
docs(nxdev): add auto-generated category/index page with custom content if needed (#12017) 2022-09-15 12:10:04 -04:00
Benjamin Cabanes
d52eaf886c
docs(core): add description property on packages.json (#11998) 2022-09-13 16:02:40 +00:00
Jack Hsu
ee8ba2de57
feat(misc): remove unused dependencies from packages (#11986) 2022-09-13 08:27:07 -04:00
Jack Hsu
f49769a34a
feat(webpack): add webpack plugin (#11966) 2022-09-12 21:19:50 +01:00
Victor Savkin
d8dc1d5911
chore(repo): test change 2022-09-12 13:36:25 -04:00
Jason Jean
292f0c14b1
feat(core): generate inputs configuration for new workspaces (#11856) 2022-09-07 22:32:59 -04:00
Philip Fulcher
6c3ef9d417
chore(graph): move dep-graph-client to graph-client (#11792) 2022-09-01 04:20:08 +00:00
Benjamin Cabanes
2c114ce624
docs(nxdev): rename script functions (#11803) 2022-08-31 14:56:01 +00:00
Benjamin Cabanes
7bc41577aa
chore(nxdev): clean up api imports (#11760) 2022-08-29 15:18:46 -04:00
Benjamin Cabanes
9c4a2a96cc
docs(nxdev): add new sitemap index pointer (#11757) 2022-08-29 09:28:27 -04:00
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