1422 Commits

Author SHA1 Message Date
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
Craigory Coppola
10363e3bec
feat(nx-plugin): add plugin eslint rules (#9697)
* feat(nx-plugin): add lint rule for nx-plugin validation

* chore(repo): review feedback

Co-authored-by: Giora Guttsait <giora111@gmail.com>

* chore(repo): review feedback

Co-authored-by: Giora Guttsait <giora111@gmail.com>

* chore(nx-plugin): review comments

* chore(nx-plugin): review feedback

Co-authored-by: Giora Guttsait <giora111@gmail.com>
2022-06-03 16:03:39 -04:00
Leosvel Pérez Espinosa
ec906251b0
fix(angular): do not configure e2e test runner when generating a library (#10553) 2022-06-02 12:51:36 +01:00
Nicholas Cunningham
89d9d9afd6
fix(nextjs): update e2e test case to cover env variables exported from libraries (#10532)
ISSUES CLOSED: #9633

update

Co-authored-by: Nicholas Cunningham <ndcunningham>
2022-06-01 14:36:54 -04:00
Victor Savkin
e491c6f738 feat(core): make nx.json optional 2022-05-31 15:35:28 -04:00
Miroslav Jonaš
d200818376
chore(repo): fix output style e2e for windows (#10527) 2022-05-31 08:25:53 +00:00
Victor Savkin
3d97203b1e
chore(repo): migrate to nx@14.2.0-beta.1 2022-05-30 20:10:02 -04:00
Victor Savkin
912e81957f cleanup(core): rework task graph creation to handle edge cases better 2022-05-30 19:57:21 -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
Colum Ferry
affa979642
fix(core): new and migrate commands should exit with code (#10491) 2022-05-27 16:23:40 -04:00
Victor Savkin
9d0d0f235a feat(core): do not double prefix output when running nested commands 2022-05-27 10:42:13 -04:00
Victor Savkin
844679ed78 feat(core): prefix when using --output-style=stream 2022-05-25 19:44:35 -04:00