180 Commits

Author SHA1 Message Date
Miroslav Jonaš
37547bdd33
chore(core): improve create-nx-workspace e2e tests (#16060) 2023-04-03 10:20:01 -04:00
Craigory Coppola
6e7234c1aa
feat(nx-plugin): reuse utilities from create-nx-workspace for create-nx-plugin (#15743) 2023-03-31 17:23:21 -04:00
Leosvel Pérez Espinosa
9dbc90d45e
cleanup(angular): consolidate and improve e2e-angular-core tests (#15726) 2023-03-28 12:53:33 -04:00
Craigory Coppola
7d61ae238b
fix(misc): prevent --quiet and --verbose from both being true (#15836) 2023-03-23 10:47:43 -04:00
Miroslav Jonaš
c6904619aa
fix(angular): fix e2e tests to support pnpm v7 (#15587) 2023-03-16 12:22:22 +01:00
Miroslav Jonaš
7450e724b7
feat(repo): add new flag for verbose e2e logging (#15541) 2023-03-13 17:30:21 +00:00
Jack Hsu
24b82edbed
feat(core): move prettier init logic from @nrwl/workspace to @nrwl/js (#15501) 2023-03-09 16:01:19 -05:00
Katerina Skroumpelou
a0e00c85fc
fix(core): refactor the logging logic in e2e tests (#15548) 2023-03-09 15:13:32 -05:00
Craigory Coppola
803de0d8be
chore(core): updates to nx wrapper and naming (#15552) 2023-03-09 08:38:41 -05:00
Leosvel Pérez Espinosa
e1a2c98556
cleanup(core): inline angular cli nested project migration logic into nx init (#15396) 2023-03-07 18:08:10 -05:00
Miroslav Jonaš
82d499c492
feat(repo): use caching for pnpm workspaces in e2e tests (#15461) 2023-03-06 16:20:19 +01:00
Craigory Coppola
4a53ace70d
fix(core): nx migrate should work in encapsulated Nx repos (#15338) 2023-03-03 15:45:42 -05:00
Katerina Skroumpelou
808ca1215c
chore(core): rearrange e2e utils (#15421) 2023-03-03 15:22:23 +00:00
Caleb Ukle
e8f19d8cb0
fix(testing): walk all project deps to check if CT project is used in buildTarget (#15252) 2023-02-28 16:33:46 -05:00
Craigory Coppola
46b6a710c0
feat(core): support encapsulated nx install (#14705) 2023-02-14 23:46:06 +00:00
Emily Xiong
032efc2cfb
fix(angular): ensure peer deps are installed when initializing the plugin (#14906)
Co-authored-by: Leosvel Pérez Espinosa <leosvel.perez.espinosa@gmail.com>
2023-02-14 11:07:51 -05:00
Colum Ferry
4f09949383
feat(core): add standalone api prompt to CNW (#14886) 2023-02-10 15:06:41 -05:00
Colum Ferry
abece6a02d
feat(angular): add routing option to CNW (#14845) 2023-02-10 13:24:48 -05:00
Colum Ferry
762b9f336c
feat(core): remove unused CLI option from CNW (#14865) 2023-02-10 11:35:01 -05:00
Jason Jean
6b1d0c6934
chore(linter): fix non-deterministic snapshots for convert tslint to … (#14905) 2023-02-09 19:04:19 -05:00
Miroslav Jonaš
b80286191d
feat(core): refactor lock file parsing and pruning (#13864)
Co-authored-by: Jason Jean <FrozenPandaz@users.noreply.github.com>
Co-authored-by: Victor Savkin <vsavkin@users.noreply.github.com>
Co-authored-by: FrozenPandaz <jasonjean1993@gmail.com>
2023-02-06 11:39:36 -05:00
Miroslav Jonaš
8614f3ac62
chore(repo): use same cleanup function for lerna e2e (#14747) 2023-02-01 20:18:41 +01:00
Colum Ferry
fe6ffa20d9
feat(angular): set angular devkit packages as peer deps (#14723) 2023-02-01 17:09:29 +00:00
Jack Hsu
d7536aa7e3 feat(core): clean up workspace configuration code 2023-01-23 19:35:15 -05:00
Caleb Ukle
7857ae00a0
fix(testing): do not set vitest root when not in workspaceRoot (#14362) 2023-01-20 15:58:03 -06:00
Katerina Skroumpelou
dbe2c3b1e6
feat(core): react standalone bundler prompt (#14464) 2023-01-20 08:18:32 -05:00
James Henry
965c638d8d
chore(testing): add lerna-smoke-tests (#14347) 2023-01-17 23:50:01 +04:00
Victor Savkin
422c8c735a cleanup(core): clearly split nx.json config and projects config 2023-01-05 15:35:36 -05:00
Jonathan Cammisuli
a1d9c46cf7
feat(core): add watch command (#13664) 2022-12-13 17:04:34 -05:00
Miroslav Jonaš
75de1651a1
feat(core): add lockfile pruning to executors that generate package.json (#13734) 2022-12-09 12:17:36 -05:00
Victor Savkin
661bea436a feat(misc): nx init should work on non-monorepo projects 2022-11-22 14:04:26 -05:00
Craigory Coppola
76c237bd2c
feat(core): add nx exec command (#13212) 2022-11-21 17:35:24 -05:00
Victor Savkin
8d9de7f81d cleanup(core): clean up workspace creation 2022-11-15 17:22:02 -05:00
Jason Jean
16c3a2eb20
chore(repo): make runCLI work in verbose mode (#13123) 2022-11-10 23:15:14 -05:00
Craigory Coppola
f311ecbdd7
chore(repo): remove workspace.json (#13040) 2022-11-08 13:12:31 -05:00
Miroslav Jonas
bce3c03755 chore(repo): hide e2e logs unless verbose is set 2022-11-08 10:16:42 -05:00
Victor Savkin
67e032d5cc fix(core): correctly derive the name of the project based on package.json without name 2022-11-07 09:50:12 -05:00
Jack Hsu
8edcdac5eb
feat(bundling): add initial vite plugin (#12969) 2022-11-03 19:19:29 +02:00
Jack Hsu
58b51964ea
feat(bundling): add support only bundling in workspace libs, not npm packages (#12852) 2022-10-31 09:05:47 -04:00
Miroslav Jonaš
d0f590d0c0
fix(repo): ensure cypress is installed for the e2e tests (#12615) 2022-10-14 22:35:31 +02:00
Craigory Coppola
9b63ce167a
feat(core): don't generate workspace.json for v2 workspaces (#12127) 2022-09-27 23:16:22 +00:00
Jack Hsu
ed7db7c114
feat(bundling): add esbuild plugin (#12053) 2022-09-20 12:05:58 -04:00
Miroslav Jonaš
12c27d3621
fix(misc): ensure cleanup is run on a proper cwd in e2e (#12101) 2022-09-19 19:51:25 +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
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
Victor Savkin
0d9dbae789 feat(core): use daemon to watch outputs to enable cache restoration optimization 2022-09-08 10:58:50 -04: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
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