166 Commits

Author SHA1 Message Date
Jason Jean
50b62524f5
chore(misc): remove e2e utils that use internal nx functions (#19085) 2023-09-11 19:56:58 -04:00
Miroslav Jonaš
c6904619aa
fix(angular): fix e2e tests to support pnpm v7 (#15587) 2023-03-16 12:22:22 +01: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
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
Miroslav Jonaš
e7e2905e40
chore(repo): fix typings on e2e helper file (#11076) 2022-07-08 15:17:19 +02:00
Miroslav Jonaš
62bae5a120
feat(core): make npmScope optional (#10018) 2022-06-23 10:57:54 +02:00
Victor Savkin
e491c6f738 feat(core): make nx.json optional 2022-05-31 15:35:28 -04:00
Miroslav Jonaš
daa5cfe558
fix(core): ensure pnpm v7 install when peer deps are missing (#10522) 2022-05-30 21:27:28 +00:00
Leosvel Pérez Espinosa
62afcb79b0
feat(angular): support angular v14.0.0-rc.2 (#8883) 2022-05-30 16:09:00 -04:00
Victor Savkin
7bfceb6d6d feat(core): add the flag to stop execution on first error 2022-05-27 22:22:27 -04:00
Miroslav Jonaš
85485cc80d
chore(repo): use latest version in e2e tests to avoid pnpm 7 issues (#10446) 2022-05-24 20:25:05 +02:00
Miroslav Jonaš
d0ece6e1d2
fix(repo): fix pnpm v7 install config (#10361) 2022-05-18 10:22:02 +00:00
Victor Savkin
6351413b98 fix(core): preserve dash casing when passing args to executors 2022-05-17 14:48:53 -04:00
Miroslav Jonaš
34e74b4c93
chore(repo): use @latest to enforce correct version on e2e (#10332) 2022-05-16 22:11:46 +00:00
Caleb Ukle
ecf88a6995
fix(testing): update v14 migration and migrate jest.config.ts to use export default (#10035)
* fix(testing): jest.preset.ts => jest.preset.js

* fix(testing): update to export default

* fix(testing): migration for moving to export default

* fix(testing): add eslint ignore comments for jest config properties

fixes: #10021

* fix(testing): update tsconfig.spec.json for next apps with project parserOptions

fixes: #9982

* fix(testing): prevent renaming root jest preset

fixes: #9973

* fix(testing): update snapshots for export default

* fix(testing): bump migration version to run

* fix(testing): make sure default jest tests pass for various projects

* fix(js): generate correct jest config for --compiler=swc --js
2022-05-11 18:04:29 +00:00