394 Commits

Author SHA1 Message Date
Katerina Skroumpelou
1ef01f8ccc
feat(testing): cypress vite (#13474) 2022-12-15 04:28:53 +00:00
Katerina Skroumpelou
b959109390
fix(storybook): proper detection of e2e project existence (#13635) 2022-12-05 19:30:39 +00:00
Jason Jean
61d7d74378 fix(misc): fix tsconfig file includes 2022-12-05 10:39:03 -05:00
Katerina Skroumpelou
856045343f
fix(storybook): remove webpack from vite and install webpack if npm (#13631) 2022-12-05 17:10:57 +02:00
Katerina Skroumpelou
eda03e5044
chore(storybook): remove prompt for bundler (#13551) 2022-12-01 17:19:22 +00:00
Katerina Skroumpelou
4838833e31
chore(storybook): removed ununsed import (#13504) 2022-11-30 13:29:59 +00:00
Katerina Skroumpelou
f545b294cf
fix(storybook): inform user vite is used if project uses vite (#13499) 2022-11-30 13:54:20 +02:00
Victor Savkin
fe062f42c3 fix(core): deduce layout directory 2022-11-29 16:08:57 -05:00
Katerina Skroumpelou
2d860eaf88
feat(storybook): generate config for vite (#13381) 2022-11-25 09:01:35 -05:00
Katerina Skroumpelou
2614452840
feat(storybook): for nested projects (#13314) 2022-11-24 19:18:06 +02:00
Jason Jean
6d35fd4d85
chore(core): reconcile functions to find project of a path (#13364) 2022-11-24 11:02:32 -05:00
Katerina Skroumpelou
13602c3d3b
fix(storybook): remove polyfill.ts from tsconfig (#13322) 2022-11-24 10:20:11 +00:00
Victor Savkin
16fd4374d6 feat(misc): derive workspace layout dynamically 2022-11-23 15:45:13 -05:00
Katerina Skroumpelou
1033b61686
cleanup(storybook): remove unused root tsconfig (#13312) 2022-11-22 13:34:02 +00:00
Katerina Skroumpelou
5bacaf30da
fix(storybook): re-enable storybook tests (#13313) 2022-11-22 13:10:30 +00:00
Miroslav Jonaš
ab6f62a9b5
feat(core): move runtime-lint-utils to eslint plugin (#13222) 2022-11-18 12:24:53 +01:00
Emily Xiong
b0b3b5c3ce
feat(storybook): upgrade @storybook/react-native to 6.0.1-beta.9 (#13157) 2022-11-17 11:25:54 -05:00
Craigory Coppola
f311ecbdd7
chore(repo): remove workspace.json (#13040) 2022-11-08 13:12:31 -05:00
Katerina Skroumpelou
aef708a22e
docs(storybook): point to targets doc from compodoc (#13024) 2022-11-07 12:04:28 +02:00
Victor Savkin
23de788b5e
chore(repo): update to 15.0.0-rc1 (#12586) 2022-10-13 18:34:24 -04:00
Craigory Coppola
d8f3c6b186
fix(react): migrations use tsquery, so we should provide it (#12575) 2022-10-13 13:37:37 -04:00
Craigory Coppola
8ab7f85ca1
fix(core): swap default method for output capture (#12535) 2022-10-12 22:06:32 +00:00
Jason Jean
49c5e5069b
feat(core): migrate existing workspaces to use inputs configuration (#12416) 2022-10-05 22:30:03 +00:00
Katerina Skroumpelou
27037cbaed
fix(storybook): check root mainjs for builder (#12308) 2022-09-29 09:35:27 +00:00
Colum Ferry
09c6ccb266
feat(linter): remove tslint support (#12279) 2022-09-28 11:08:01 -04:00
Katerina Skroumpelou
2f7d647f52
docs(storybook): examples for executors and generators (#12267) 2022-09-27 13:03:23 -04:00
Julien Tanay
2f91d962e8
feat(storybook): add support for basic test-runner configuration (#11101)
Closes #11047
2022-09-27 09:04:28 +00:00
Katerina Skroumpelou
d423df6bbb
fix(storybook): dont override native params (#12238)
ISSUES CLOSED: #7531
2022-09-27 08:55:42 +00:00
Victor Savkin
6e6925f8e4
chore(repo): update to nx 14.7.6-beta.6 2022-09-17 15:59:06 -04:00
MaxKless
fd670d298b
docs(misc): update package descriptions to be more consistent (#12039) 2022-09-16 17:03:33 -04:00
Jack Hsu
ee8ba2de57
feat(misc): remove unused dependencies from packages (#11986) 2022-09-13 08:27:07 -04:00
Jason Jean
31b1b003b4
fix(storybook): do not add target defaults and named inputs if they are not defined (#11941) 2022-09-08 23:28:49 +00:00
Katerina Skroumpelou
ae58c1d54d
feat(storybook): generate storybook with more framework options (#11914) 2022-09-08 16:38:16 +00:00
Jason Jean
292f0c14b1
feat(core): generate inputs configuration for new workspaces (#11856) 2022-09-07 22:32:59 -04:00
Colum Ferry
a2647549d4
fix(storybook): support secondary entry points for angular #11446 (#11798) 2022-09-01 09:23:17 +00:00
Katerina Skroumpelou
835d0ef709
fix(storybook): ignore addon-postcss from version update (#11801)
ISSUES CLOSED: #11465
2022-08-31 16:21:30 +03:00
Katerina Skroumpelou
6ea8d0d623
fix(storybook): remove react typings from angular tsconfig (#11769)
#11746

ISSUES CLOSED: #11746
2022-08-30 14:40:32 +03:00
Jonathan Cammisuli
e7ec91b9e0
feat(core): add file completion types for the nx language server (#11669) 2022-08-26 10:34:33 -04:00
Colum Ferry
5176ee917f
feat(storybook): add build-storybook to cacheable operations (#11631) 2022-08-22 13:01:08 +01:00
Victor Savkin
f8da1ad42b
chore(repo): update nx to 14.6.0-beta.3 2022-08-12 16:10:56 -04:00
Craigory Coppola
458fc36014
chore(misc): split create tree with empty workspace to remove parameter (#10188)
* feat(devkit): split create-empty-tree to different functions

* chore(repo): apply migration for createEmptyTree

* cleanup(misc): fix tests that migration misses
2022-08-11 19:24:04 -04:00
Jack Hsu
5267f4555d
feat(misc): update shared ts-node and ts-loader packages (#11429) 2022-08-05 16:47:33 +00:00
John White
48b405b24c
chore(storybook): fix outputs for build-storybook configuration (#11343) 2022-07-29 17:19:06 +03:00
Jack Hsu
96e84eea39
fix(misc): add dotenv as dependencies for plugins that import it (#11167) 2022-07-15 16:46:41 -04:00
Katerina Skroumpelou
943d4ba915
fix(storybook): include polyfills in Storybook tsconfig for ngapps (#11136) 2022-07-14 10:25:14 +00:00
Katerina Skroumpelou
a2d9577553
fix(storybook): fix schema to read projectName from config (#11098) 2022-07-12 09:55:22 -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š
b8efa778f6
fix(core): remove eslintrc.json from the package build artifact (#11043) 2022-07-07 18:34:34 +00:00
Katerina Skroumpelou
01e25ecb67
fix(storybook): change-storybook-targets should not fail if no build (#11038) 2022-07-06 13:30:00 +00:00
Katerina Skroumpelou
40d9901fa5
cleanup(storybook): remove optional chaining and add warning log for targets (#11035) 2022-07-06 15:44:53 +03:00