1535 Commits

Author SHA1 Message Date
Philip Fulcher
6c3ef9d417
chore(graph): move dep-graph-client to graph-client (#11792) 2022-09-01 04:20:08 +00:00
Sean Sanker
aedcdaf1bb
feat(js): support wildcard/nested tsconfig paths (#11233)
* feat(js): support wildcard/nested tsconfig paths

* chore(js): add e2e test for wildcard path alias

Co-authored-by: Chau Tran <chautran@Chaus-MacBook-Pro.local>
2022-08-31 20:39:05 +07:00
Katerina Skroumpelou
35744c1dc9
fix(testing): update cypress argument name (#11797) 2022-08-31 15:25:21 +03: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
Emily Xiong
44d1f2c2ee
feat(react-native): update react native bundle options (#11699) 2022-08-25 11:01:30 -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
Colum Ferry
41bd2cfe6e
chore(angular): use npm for e2e-angular-extensions (#11643) 2022-08-19 10:49:56 +01:00
Miroslav Jonaš
15d83258fe
feat(core): move git commit from generators to create-nx-workspace (#11633)
* fix(core): move git commit to create-nx-workspace

* fix(core): add git init to create-nx-plugin
2022-08-18 18:40:46 -04:00
Colum Ferry
dde045afa9
cleanup(angular): add e2e test for make-angular-cli-faster on nightly (#11463)
This is a bit of a misnomer, hence it running on the nightly tests. It uses _only_ the published
versions of `@nrwl/*` packages on npmjs registry, due to a limitation with verdaccio, where it only
looks at the local registry for `@nrwl/*` packages.
2022-08-17 10:51:53 -04:00
Colum Ferry
4d25ade55f
chore(angular): turn on e2es with yarn (#11618) 2022-08-17 15:33:56 +01:00
Colum Ferry
af93cfd597
feat(angular): add standalone app generation (#11592) 2022-08-17 12:03:56 +01:00
Jack Hsu
51da354e65
feat(nextjs): add --custom-server option to app generator (#11607) 2022-08-16 10:32:30 -04:00
Caleb Ukle
3101b4d072
chore(testing): add e2e tests for cypress environment variables (#11569) 2022-08-15 15:55:12 -04:00
Victor Savkin
f8da1ad42b
chore(repo): update nx to 14.6.0-beta.3 2022-08-12 16:10:56 -04:00
Chau Tran
0ce3b1a9f6
fix(express): tslib should be included if importHelpers is true (#11419)
ISSUES CLOSED: #11012
2022-08-11 20:42:29 +07:00
Colum Ferry
4244a8d42c
cleanup(core): change project graph e2e test to beforeEach (#11527) 2022-08-10 12:00:24 +01:00
Jack Hsu
f6338d7e53
chore(misc): remove unused e2e test (#11482) 2022-08-06 03:06:42 +00:00
Jack Hsu
2c8a711c69
feat(react): improve types for module federation config file (#11476) 2022-08-06 02:31:59 +00:00
Jack Hsu
dec910274b
fix(react): allow async functions to work with custom webpack config (#11467) 2022-08-05 16:13:31 +00: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
Emily Xiong
13b0d8c75d
bugfix(react-native): fix upgrade-native and add e2e tests (#11369) 2022-08-02 15:19:00 -04:00
Jack Hsu
e45c2f24ba
feat(nextjs): improve support for custom server (#11325)
- Add new generator for custom server
- Add @nrwl/js:node executor for serving custom server
- Deprecate @nrwl/node:node in favor of the above
2022-08-02 18:37:23 +00:00
Colum Ferry
ffecf93473
fix(node): add implicit dep on the e2e project to nest (#11397) 2022-08-01 15:11:08 -06:00
Jack Hsu
4bb8ab1b36
fix(react): buildable library sets NODE_ENV correctly (#11294) 2022-07-26 13:20:17 -04:00
Jack Hsu
8075cb9a9f
chore(nextjs): remove outdir from Next.js config since it is no longer needed (#11257) 2022-07-22 11:06:22 -04:00
Juri
8e6a66cdb2 fix(linter): correctly fix absolute imports across package boundaries 2022-07-22 15:11:18 +02:00
Jason Jean
63b74d2a56
feat(core): add ability to use globs as outputs (#10894)
* feat(core): add ability to use globs as outputs

* fix(repo): adjust the way outputs are tracked

* docs(core): improve outputs documentation
2022-07-14 18:31:12 -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
Juri
4e292f2454 feat(core): run-many runs all projects by default 2022-07-08 08:36:54 -04:00
Colum Ferry
37072bc5d6
feat(angular): replace mfe references with mf (#10957) 2022-07-01 13:48:38 +00:00
Victor Savkin
c52a8c2e9b feat(core): finalize the input api 2022-06-29 10:52:14 -04:00
Victor Savkin
4b857167cd feat(core): generalize the notion of filesets to include other inputs 2022-06-23 14:56:33 -04:00
Péter Ferenc Gyarmati
69881c277a
docs(core): fix typo "a executor" (#10862)
fixes "a executor" and "a Executor" to use "an"
2022-06-23 10:35:47 -04:00
Miroslav Jonaš
62bae5a120
feat(core): make npmScope optional (#10018) 2022-06-23 10:57:54 +02:00
Victor Savkin
6a65101ec2 feat(core): extend the default hasher to support different filesets 2022-06-21 11:21:42 -04:00
Colum Ferry
1e6b19b5c6
chore(storybook): refactor e2e tests (#10811) 2022-06-20 16:21:12 +01:00
Minijus L
274534c518
feat(linter): use project scoped ESLint cacheLocation (#10590) 2022-06-20 12:57:07 +02:00
Colum Ferry
b215362bdb
chore(testing): refactor e2e-workspace tests to e2e-nx tests (#10739)
remove run commands

remove workspace core e2e

chore(testing): remove e2e-cli package

chore(testing): add nx-run e2e package

chore(testing): refactor cache tests

chore(testing): remove empty workspace-core e2e lib

chore(testing): update graph asset
2022-06-17 09:37:41 +01:00
Victor Savkin
633f8a8f08
chore(repo): fix e2e test to work on windows 2022-06-16 10:11:46 -04:00
Victor Savkin
f86a5ffe2e feat(core): generalize setting target defaults 2022-06-15 12:51:26 -04:00
Victor Savkin
5c49345c34 feat(core): provide a way to handle get unparsed args in the executor 2022-06-10 14:04:08 -04:00
Colum Ferry
67a27774ac
fix(angular): support secondary entry points #10329 (#10615) 2022-06-09 09:16:57 +00:00
Jay Tavares
99b245b08d
feat(node): add deleteOutputPath option to @nrwl/node:webpack executor (#10073) 2022-06-08 17:48:45 -04:00
Colum Ferry
31c753e930
chore(angular): fix e2e test for mfe served apps (#10616) 2022-06-08 10:37:49 +01:00
Emily Xiong
d038b70a87
feat(react-native): upgrade metro to 0.71.0 (#10598) 2022-06-07 10:57:58 -04:00
Craigory Coppola
4d7e5ba29a
chore(misc): remove defaultCollection from generators (#10601) 2022-06-06 20:03:46 +00:00
Victor Savkin
932404303a cleanup(core): use npm.json instead core.json as the preset name for npm workspaces 2022-06-06 15:10:29 -04:00
Chau Tran
5daeaf8e8f
fix(js): return empty array if no helper dependencies found (#10582)
* fix(js): return empty array if no helper dependencies found

* chore(js): add test for generate package json with helper dependency
2022-06-03 23:05:38 -05:00
Craigory Coppola
7f7bc1a095
fix(core): require.resolve(m/package.json) is not guarunteed to work for modern module format (#10497)
* fix(core): require.resolve(m/package.json) is not guarunteed to work for modern module format

* chore(repo): update usage of new readModulePackageJson function
2022-06-03 20:54:15 +00:00