320 Commits

Author SHA1 Message Date
Caleb Ukle
9096d41f05
fix(testing): cypress 10 migration supports more configuration setups (#12036) 2022-10-27 18:03:46 -04:00
Steven Rathbauer
cc55cff272
fix(testing): update tsconfig.cy.json template file for generator (#12849) 2022-10-27 17:31:30 -04:00
Caleb Ukle
ed05ca3d6e
fix(testing): run init generator in cypress-project when cypress is n… (#12552) 2022-10-18 10:09:45 -07: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
Caleb Ukle
80635dbae2
fix(testing): move to using cy.mount (#12273) 2022-10-12 20:50:41 +00:00
Jason Jean
49c5e5069b
feat(core): migrate existing workspaces to use inputs configuration (#12416) 2022-10-05 22:30:03 +00:00
Colum Ferry
09c6ccb266
feat(linter): remove tslint support (#12279) 2022-09-28 11:08:01 -04:00
Younes Jaaidi
fb0ea29e68
fix(testing): include cypress commands in tsconfig (#12149)
closes #12148
2022-09-26 08:09:09 -05:00
Caleb Ukle
09fd9132e6
docs(testing): add cypress example docs (#12209)
* docs(testing): add cypress example docs

* docs(core): sync docs
2022-09-23 14:06:32 -06:00
Miroslav Jonaš
074ac5ec22
feat(core): add package manager parsers and stringifiers (#11953) 2022-09-20 18:47:27 +00:00
Victor Savkin
6e6925f8e4
chore(repo): update to nx 14.7.6-beta.6 2022-09-17 15:59:06 -04: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
ee8ba2de57
feat(misc): remove unused dependencies from packages (#11986) 2022-09-13 08:27:07 -04:00
Colum Ferry
d782a694f4
feat(core): support ts 4.8 (#11845) 2022-09-12 13:47:31 +01:00
Caleb Ukle
ff0126c3ba
fix(testing): change @nrwl/workspace import to deep import (#11961) 2022-09-09 22:06:36 +00:00
Caleb Ukle
6d0c6a83d4 fix(testing): move cypress tsconfig to cypress folder 2022-09-09 10:37:48 -04:00
Caleb Ukle
7b52c0da5f fix(testing): add component-test named inputs 2022-09-09 10:37:48 -04:00
Jason Jean
8a35f182b1
fix(testing): do not add cypress inputs if namedInputs is not defined (#11943) 2022-09-09 02:01:21 +00:00
Jason Jean
292f0c14b1
feat(core): generate inputs configuration for new workspaces (#11856) 2022-09-07 22:32:59 -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
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
Colum Ferry
bbe7a3679a
fix(linter): use typescript-eslint 5.33.1 as latest requires ts4.8 (#11773) 2022-08-30 10:43:17 -04:00
Jonathan Cammisuli
e7ec91b9e0
feat(core): add file completion types for the nx language server (#11669) 2022-08-26 10:34:33 -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
Miroslav Jonaš
187f5200c0
fix(linter): add jest to root .eslintrc if selected as unit test runner (#11555) 2022-08-18 14:51:09 +02: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
Benjamin Cabanes
1c66a225e5
docs(nxdev): upgrade nextseo dependency (#11402) 2022-08-03 15:38:51 +00:00
Caleb Ukle
0cd8d8c531
fix(testing): update exports for .ts plugin files (#11200) 2022-07-19 17:28:02 -05:00
Jack Hsu
d657f912d9
feat(web): upgrade webpack plugin versions (#11191) 2022-07-18 15:23:30 -04:00
Jack Hsu
96e84eea39
fix(misc): add dotenv as dependencies for plugins that import it (#11167) 2022-07-15 16:46:41 -04:00
Caleb Ukle
df0f334886
chore(testing): remove console.log in migration util (#11149) 2022-07-14 21:07:21 +00: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
Victor Savkin
6a65101ec2 feat(core): extend the default hasher to support different filesets 2022-06-21 11:21:42 -04:00
Sicarius
a7888552b8
fix(linter): update @typescript-eslint/* deps
Co-authored-by: Miroslav Jonas <missing.manual@gmail.com>
2022-06-21 10:33:42 +00:00
Craigory Coppola
15c04b099e
chore(repo): enable eslint plugin checks (#10666) 2022-06-09 18:04:06 -04:00
Caleb Ukle
b9012fa66e
fix(testing): update @nrwl/cypress peer deps (#10618) 2022-06-07 12:42:00 -05:00
Leosvel Pérez Espinosa
914f0ce707
feat(misc): update typescript to 4.7 (#10560) 2022-06-02 13:29:11 -04:00
Victor Savkin
e491c6f738 feat(core): make nx.json optional 2022-05-31 15:35:28 -04:00
Victor Savkin
3d97203b1e
chore(repo): migrate to nx@14.2.0-beta.1 2022-05-30 20:10:02 -04:00
Leosvel Pérez Espinosa
62afcb79b0
feat(angular): support angular v14.0.0-rc.2 (#8883) 2022-05-30 16:09:00 -04:00
Jason Jean
04985be149
chore(repo): switch publishing to use lerna (#10293) 2022-05-20 00:35:47 +00:00
Victor Savkin
6351413b98 fix(core): preserve dash casing when passing args to executors 2022-05-17 14:48:53 -04:00
Jason Jean
e4cccfc14d
chore(repo): update nx to 14.1.1 (#10132) 2022-05-04 15:27:43 +00:00
Jason Jean
4f99b77e42
chore(repo): update nx to 14.0.2 (#9974) 2022-04-23 18:06:01 +00:00
Jason Jean
cb7fb22bca
feat(core): remove @types/node from default workspace (#9853)
Signed-off-by: Jason Jean <jasonjean1993@gmail.com>
2022-04-20 12:43:23 -04:00