1256 Commits

Author SHA1 Message Date
Miroslav Jonaš
635b2a61a7
fix(core): add cleanup on e2e tests (#12093) 2022-09-19 19:13:17 +00:00
Miroslav Jonaš
27d654a08d
fix(storybook): add cleanup on e2e tests (#12095) 2022-09-19 19:07:32 +00:00
Miroslav Jonaš
d18d7e935f
fix(detox): add cleanup on e2e tests (#12092) 2022-09-19 19:02:42 +00:00
Jack Hsu
ce5393776c
chore(misc): update graph-client build-base target to @nrwl/webpack:webpack (#12073) 2022-09-19 15:20:10 +00:00
Emily Xiong
a411e85e42
Feature/move expo (#11712)
* feat(expo): move expo to main repo

* feat(expo): add e2e expo tests and fix expo unit tests

* feat(expo): add generated docs

* feat(expo): update cz-config to add expo to commit message

* feat(expo): add @nrwl/expo to e2e test setup

* feat(expo): add expo to preset

* feat(expo): add detox tests

* feat(expo): update docs

* feat(expo): fix e2e tests

* feat(expo): upgrade expo to 46.0.10

* fix(expo): correct eas-cli build:info parameters names

* fix(expo): add cleanupProject to e2e test
2022-09-16 11:56:28 -04:00
Jack Hsu
dd6addefc3
feat(bundling): move rollup to its own plugin (#12009) 2022-09-15 14:55:06 -04:00
Emily Xiong
306d8a4cec
feat(react-native): upgrade react native to 0.70.0 (#11971)
* chore(react-native): add test for build library react native

* feat(react-native): upgrade react native to 0.70.0
2022-09-14 14:02:45 -04:00
Emily Xiong
dba76f55f8
chore(react-native): add test for build library react native (#12007) 2022-09-14 14:02:17 -04:00
Caleb Ukle
73fd49aab3
fix(testing): use webpack defined in executor options for react ct (#12005)
* fix(testing): resolve custom webpacks for react ct

* chore(testing): add more complex react ct e2e tests

* chore(testing): lower ct test timeout to prevent CI stalling when error
2022-09-14 10:58:01 -05:00
Caleb Ukle
d535cf3d43
fix(testing): use cypress generated tsconfig for angular ct (#12014) 2022-09-14 15:32:38 +00:00
Caleb Ukle
1a9df531b6
fix(testing): normalize paths for component-testing (#11963)
* fix(testing): normalize paths before accessing the project graph

* fix(testing): return object with offset input instead of string

* fix(testing): update schemas to provide better prompts
2022-09-13 14:17:49 +00:00
Jack Hsu
f49769a34a
feat(webpack): add webpack plugin (#11966) 2022-09-12 21:19:50 +01:00
Victor Savkin
a914f78701 chore(repo): fix e2e tests 2022-09-12 13:47:49 -04:00
Colum Ferry
d782a694f4
feat(core): support ts 4.8 (#11845) 2022-09-12 13:47:31 +01:00
Victor Savkin
db74bc7674 feat(core): create the daemon socket file in the tmp dir instead of node modules 2022-09-08 18:37:32 -04:00
Jason Jean
caec117288
fix(core): add back target defaults for all new workspaces (#11936) 2022-09-08 17:59:01 -04:00
Victor Savkin
0d9dbae789 feat(core): use daemon to watch outputs to enable cache restoration optimization 2022-09-08 10:58:50 -04:00
Caleb Ukle
a0904a601b
feat(testing): support angular cypress component testing (#11790)
* feat(testing): ng cypress component testing

closes: #11602

* chore(testing): move story utils into common util area

* feat(testing): add options for ng component testing

* docs(testing): add more info for component testing

* chore(testing): address PR feedback

* chore(testing): remove logs
2022-09-07 13:32:19 +00:00
Jack Hsu
84c2330311
chore(nextjs): add a e2e test for next.js without nx config entry (#11913) 2022-09-07 09:12:35 -04:00
Jack Hsu
525350f844
fix(nextjs): use SWC compiler for next.js libraries (#11848) 2022-09-02 14:10:33 +00:00
Jack Hsu
9b26bc1585
fix(nextjs): SVGR plugin should not be used if nx: { svgr: false } is set in next.config.js (#11829) 2022-09-01 15:55:24 +00:00
Philip Fulcher
6c3ef9d417
chore(graph): move dep-graph-client to graph-client (#11792) 2022-09-01 04:20:08 +00:00
Sean Sanker
aedcdaf1bb
feat(js): support wildcard/nested tsconfig paths (#11233)
* feat(js): support wildcard/nested tsconfig paths

* chore(js): add e2e test for wildcard path alias

Co-authored-by: Chau Tran <chautran@Chaus-MacBook-Pro.local>
2022-08-31 20:39:05 +07:00
Katerina Skroumpelou
35744c1dc9
fix(testing): update cypress argument name (#11797) 2022-08-31 15:25:21 +03:00
Caleb Ukle
c7249db386
fix(testing): handle more complex projects for react component testing (#11725)
* fix(testing): use @nrwl/web:webpack utils to generate a more robust webpack config

fixes: #11372

* fix(testing): do not overwrite existing component test

* fix(testing): add component-test to cacheable operations

* chore(testing): address pr feedback
2022-08-30 16:42:42 +00:00
Emily Xiong
44d1f2c2ee
feat(react-native): update react native bundle options (#11699) 2022-08-25 11:01:30 -04:00
Caleb Ukle
6866f55c4a
chore(repo): run jest 28 migrations to fix package sync issue (#11650) 2022-08-19 20:56:52 +00:00
Colum Ferry
41bd2cfe6e
chore(angular): use npm for e2e-angular-extensions (#11643) 2022-08-19 10:49:56 +01:00
Miroslav Jonaš
15d83258fe
feat(core): move git commit from generators to create-nx-workspace (#11633)
* fix(core): move git commit to create-nx-workspace

* fix(core): add git init to create-nx-plugin
2022-08-18 18:40:46 -04:00
Colum Ferry
dde045afa9
cleanup(angular): add e2e test for make-angular-cli-faster on nightly (#11463)
This is a bit of a misnomer, hence it running on the nightly tests. It uses _only_ the published
versions of `@nrwl/*` packages on npmjs registry, due to a limitation with verdaccio, where it only
looks at the local registry for `@nrwl/*` packages.
2022-08-17 10:51:53 -04:00
Colum Ferry
4d25ade55f
chore(angular): turn on e2es with yarn (#11618) 2022-08-17 15:33:56 +01:00
Colum Ferry
af93cfd597
feat(angular): add standalone app generation (#11592) 2022-08-17 12:03:56 +01:00
Jack Hsu
51da354e65
feat(nextjs): add --custom-server option to app generator (#11607) 2022-08-16 10:32:30 -04:00
Caleb Ukle
3101b4d072
chore(testing): add e2e tests for cypress environment variables (#11569) 2022-08-15 15:55:12 -04:00
Victor Savkin
f8da1ad42b
chore(repo): update nx to 14.6.0-beta.3 2022-08-12 16:10:56 -04:00
Chau Tran
0ce3b1a9f6
fix(express): tslib should be included if importHelpers is true (#11419)
ISSUES CLOSED: #11012
2022-08-11 20:42:29 +07:00
Colum Ferry
4244a8d42c
cleanup(core): change project graph e2e test to beforeEach (#11527) 2022-08-10 12:00:24 +01:00
Jack Hsu
f6338d7e53
chore(misc): remove unused e2e test (#11482) 2022-08-06 03:06:42 +00:00
Jack Hsu
2c8a711c69
feat(react): improve types for module federation config file (#11476) 2022-08-06 02:31:59 +00:00
Jack Hsu
dec910274b
fix(react): allow async functions to work with custom webpack config (#11467) 2022-08-05 16:13:31 +00:00
Colum Ferry
308fd9b382
fix(core): resolve project files correctly in project graph creation for empty root (#11425) 2022-08-04 13:51:21 -04:00
Emily Xiong
13b0d8c75d
bugfix(react-native): fix upgrade-native and add e2e tests (#11369) 2022-08-02 15:19:00 -04:00
Jack Hsu
e45c2f24ba
feat(nextjs): improve support for custom server (#11325)
- Add new generator for custom server
- Add @nrwl/js:node executor for serving custom server
- Deprecate @nrwl/node:node in favor of the above
2022-08-02 18:37:23 +00:00
Colum Ferry
ffecf93473
fix(node): add implicit dep on the e2e project to nest (#11397) 2022-08-01 15:11:08 -06:00
Jack Hsu
4bb8ab1b36
fix(react): buildable library sets NODE_ENV correctly (#11294) 2022-07-26 13:20:17 -04:00
Jack Hsu
8075cb9a9f
chore(nextjs): remove outdir from Next.js config since it is no longer needed (#11257) 2022-07-22 11:06:22 -04:00
Juri
8e6a66cdb2 fix(linter): correctly fix absolute imports across package boundaries 2022-07-22 15:11:18 +02:00
Jason Jean
63b74d2a56
feat(core): add ability to use globs as outputs (#10894)
* feat(core): add ability to use globs as outputs

* fix(repo): adjust the way outputs are tracked

* docs(core): improve outputs documentation
2022-07-14 18:31:12 -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š
e7e2905e40
chore(repo): fix typings on e2e helper file (#11076) 2022-07-08 15:17:19 +02:00