57 Commits

Author SHA1 Message Date
Leosvel Pérez Espinosa
9af7386d61
fix(testing): check for project eslint config file in cypress and pla… (#23401)
…ywright configuration generators

<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->

<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->

## Current Behavior
<!-- This is the behavior we have today -->

## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->

Fixes #21301
2024-05-15 10:45:36 -04:00
Jason Jean
cfadd7d8cf
Revert "fix(core): addPlugin should not conflict on project.json targ… (#23391)
…ets (#23264)"

This reverts commit 85c89160

<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->

<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->

## Current Behavior
<!-- This is the behavior we have today -->

## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->

Fixes #
2024-05-14 18:01:30 -04:00
Colum Ferry
85c8916087
fix(core): addPlugin should not conflict on project.json targets (#23264)
<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->

<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->

## Current Behavior
<!-- This is the behavior we have today -->
Calculating conflicts in target names does not consider if the
project.json defined targets will actually be impacted by the plugin
that wants to be added creating false negatives

## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->
Calculating conflicts should be more accurate

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->

Fixes #22476
2024-05-13 10:53:09 -04:00
Colum Ferry
acd0993f1a
feat(linter): add convert-to-inferred migration generator (#23142) 2024-05-03 17:23:01 +04:00
Colum Ferry
dbad02afe4
fix(testing): convert-to-inferred generator should handle legacy cypress executor (#23151)
<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->

<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->

## Current Behavior
<!-- This is the behavior we have today -->
The `convert-to-inferred` generator does not handle
`@nrwl/cypress:cypress`.


## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->
The generator should handle the legacy executor

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->

Fixes #
2024-05-02 18:05:59 -04:00
Colum Ferry
25eeddc338
feat(testing): add playwright generator to convert from executors to plugin (#22784)
Co-authored-by: FrozenPandaz <jasonjean1993@gmail.com>
2024-04-24 09:06:23 -04:00
Jack Hsu
bc43243498
chore(repo): add eslint and jest plugins to use inferred targets (#22946) 2024-04-23 21:52:13 -04:00
Jason Jean
bf206e578e
feat(misc): non conflicting init/add flow (#22791) 2024-04-15 16:45:08 -04:00
Craigory Coppola
c8f179d2d2
feat(testing): add metadata to playwright targets (#22768) 2024-04-10 18:12:44 -04:00
Leosvel Pérez Espinosa
153096574a
fix(testing): fix playwright executor uiPort option schema (#22610) 2024-04-02 14:29:29 -04:00
James Henry
1fe5b98f45
fix(linter): refactor pcv3 plugin, expose configFiles on context (#21677) 2024-03-15 16:29:13 -04:00
Juri Strumpflohner
320b086290
fix(testing): minor adjustment to the config generation template (#22175) 2024-03-06 08:18:27 -05:00
Craigory Coppola
a89c73483e
feat(core): use flag in nx.json for toggling crystal (#21980) 2024-02-29 15:18:46 -05:00
Craigory Coppola
836012b67a
fix(testing): playwright plugin enoent error (#21951) 2024-02-22 16:51:15 -05:00
Colum Ferry
1a7e812611
fix(testing): ensure baseUrl is not passed to playwright cli (#21943) 2024-02-22 16:00:08 +00:00
Emily Xiong
27faa7d017
fix(playwright): fix include in tsconfig.json (#21730) 2024-02-09 18:13:18 -05:00
Craigory Coppola
ebbb2f0241
fix(testing): cleanup e2e atomization plugins (#21688) 2024-02-07 18:00:55 -05:00
Jason Jean
26a815c7df
chore(core): add one off exception for next.js (#21572) 2024-02-02 23:46:02 -05:00
Jason Jean
396ffc4636
feat(core): enable project crystal by default (#21403)
Co-authored-by: Katerina Skroumpelou <sk.katherine@gmail.com>
Co-authored-by: Jack Hsu <jack.hsu@gmail.com>
Co-authored-by: Colum Ferry <cferry09@gmail.com>
Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
Co-authored-by: Emily Xiong <xiongemi@gmail.com>
Co-authored-by: Nicholas Cunningham <ndcunningham@gmail.com>
2024-02-02 03:40:59 -05:00
Jack Hsu
05b0848eb5
feat(devkit): add loadConfigFile function for plugins to use (#21511) 2024-02-01 22:46:04 -05:00
Nicholas Cunningham
1d87707f54
fix(core): Add missing migration from playwright (#21448) 2024-01-31 13:22:18 -07:00
Jack Hsu
7a83e12234
feat(core): add support for loading .ts files using ESM (#21268) 2024-01-31 13:49:06 +00:00
beeman
a9974d3f25
docs(misc): change http:// to https:// (#19534) 2024-01-30 11:33:13 -05:00
Leosvel Pérez Espinosa
e4758358b0
feat(misc): optionally update package.json scripts in init generators (#21204) 2024-01-22 13:51:41 -05:00
Leosvel Pérez Espinosa
f98a16ff57
feat(misc): update minimatch version used across packages (#21207) 2024-01-18 19:08:15 +01:00
Emily Xiong
6141f44203
feat(core): add keepExistingVersions to all packages (#21169) 2024-01-17 14:22:58 -05:00
Nicholas Cunningham
544a2c4975
fix(testing): Inline projects inside playwright.config.ts (#21188) 2024-01-17 13:34:34 -05:00
Leosvel Pérez Espinosa
047dc22aed
cleanup(misc): clean up init generators (#21088) 2024-01-16 15:29:44 +01:00
Jason Jean
e31c179c02
fix(web): fix webpack + playwright config issues (#20991) 2024-01-03 17:42:58 -05:00
Nicholas Cunningham
f1849a792d
fix(nextjs): Playwright should work with workspace libs (#20933) 2023-12-27 13:13:53 -07:00
Leosvel Pérez Espinosa
18ddc74f4f
feat(testing): add option to allow filtering test files in playwright executor (#20862) 2023-12-21 01:49:56 -08:00
Craigory Coppola
2374d8eaba
feat(testing): add create-nodes plugin for playwright e2e targets (#20099) 2023-12-20 16:34:32 -05:00
Leosvel Pérez Espinosa
dcb4bee925
fix(testing): run playwright with the correct project option for multiple values (#20850) 2023-12-20 14:48:13 +01:00
Benjamin Cabanes
db77ddef8a
chore(repo): update packages readme banner (#20695) 2023-12-11 11:32:42 -05:00
Benjamin Cabanes
5a305d41de
feat(nx-dev): add homepage updates (#20592)
Co-authored-by: Juri <juri.strumpflohner@gmail.com>
2023-12-08 14:40:42 -05:00
Miroslav Jonaš
ff5d1bef83
feat(linter): default lintFilePatterns to {projectRoot} (#20313) 2023-11-27 08:39:38 -05:00
Jason Jean
a86d926612
feat(testing): add cypress create nodes plugin (#19840) 2023-11-09 14:05:19 -05:00
Emily Xiong
f5f31ab979
fix(testing): add e2e for root project should not add eslintrc.base (#19860) 2023-10-25 16:57:28 -04:00
Miroslav Jonaš
0bc693342e
feat(linter): rename @nx/linter to @nx/eslint (#19515) 2023-10-16 11:52:19 -04:00
Colum Ferry
80fde79374
feat(misc): remove deprecated Angular CLI usage of schematics and builders (#19557) 2023-10-13 17:14:16 +01:00
Caleb Ukle
a1a69a13aa
fix(testing): install devkit when init playwright (#19406) 2023-10-03 18:49:49 +00:00
Miroslav Jonaš
e34219ab96
feat(linter): add flat config support to generators (#18534) 2023-08-23 01:36:58 +02:00
Shahar Kazaz
70241086be
fix(testing): make playwright nxE2EPreset options optional (#18729) 2023-08-21 13:01:21 -04:00
Caleb Ukle
645535be46
fix(testing): playwright cleanup (#18558) 2023-08-14 11:13:56 -05:00
Emily Xiong
107a7536b8
fix(testing): make the default react playwright test to pass (#18559) 2023-08-11 10:37:28 -04:00
Caleb Ukle
5e51cd6eb5
fix(testing): playwright plugin clean up (#18447) 2023-08-02 16:14:17 -04:00
Jack Hsu
8adee8ec9e
feat(testing): set playwright to public and restrict exports (#18275) 2023-07-31 10:49:05 -04:00
Jack Hsu
14b3f42900
feat(testing): update generated Playwright test and config (#18282) 2023-07-24 15:13:34 -04:00
Caleb Ukle
9199444f48
fix(testing): update playwright tsconfig.base.json/entrypoint (#18227) 2023-07-21 17:10:11 -04:00
Emily Xiong
8407d7aedf
feat(testing): add lint target for playwright (#18233) 2023-07-21 11:48:40 -04:00