195 Commits

Author SHA1 Message Date
Miroslav Jonaš
36245e14af
chore(repo): remove obsolete NX_E2E_SKIP_DAEMON_CLEANUP flag (#9061) 2022-02-21 16:11:20 +00:00
Leosvel Pérez Espinosa
14f0f24554
chore(angular): enable ng add e2e tests (#9023) 2022-02-21 09:47:29 +00:00
Jack Hsu
82439883c9
chore(js): bump timeout to 5 seconds when waiting for watch changes (#9014) 2022-02-17 12:27:02 -05:00
Miroslav Jonaš
8719a9a47c
feat(linter): add warning to nx rule when project graph is unavailable (#8668) 2022-01-24 16:27:05 +01:00
Philip Fulcher
5e66babcee
fix(react): enforce valid jest config when creating workspace with react preset (#8626)
ISSUES CLOSED: #8354
2022-01-21 14:25:15 -07:00
Jack Hsu
f231cfc01b
feat(repo): move gatsby plugin to nx-labs repo (#8617) 2022-01-20 12:00:51 -05:00
Jack Hsu
4070eaec15
feat(js): improve watch mode support for tsc and swc builds (#8502) 2022-01-19 11:37:04 -05:00
Miroslav Jonaš
a44abd39bd
chore(repo): skip daemon cleanup on grouped e2e tests (#8314) 2021-12-28 21:09:28 +01:00
Craigory Coppola
28cd781b33
cleanup(testing): add e2e test for add-nx-to-monorepo (#8004) 2021-12-09 10:00:56 +01:00
Miroslav Jonaš
bd5f04835f
chore(repo): extend e2e project cleanup to stop the daemon as well (#8037) 2021-12-08 00:01:03 +01:00
Victor Savkin
ddaa36f8f7 chore(repo): update nx to 13.3.0-beta.13 2021-12-04 14:00:31 -05:00
Miroslav Jonaš
c66f3b8856
chore(repo): align verbose logging parameter names (#7984) 2021-12-03 10:32:52 +01:00
Craigory Coppola
c04686ab10
feat(core): optional workspace.json file (#7584) 2021-11-30 15:02:06 -06:00
Victor Savkin
1ddb6120a2 chore(repo): update the version of nx cloud 2021-11-19 09:25:12 -05:00
Colum Ferry
5293b2d70d
chore(angular): use yarn for buildable libs test (#7769)
* chore(angular): use yarn for buildable libs test

* chore(core): allow passing package manager to newProject
2021-11-19 10:47:56 +00:00
Craigory Coppola
d28f571874
feat(js): create @nrwl/js package and move @nrwl/workspace:tsc to it (#7604) 2021-11-12 16:41:30 -06:00
Craigory Coppola
bdcbac4445
feat(core): standalone project configuration is default (#7351)
* feat(core): standalone project configuration is default

* chore(core): changes to e2e tests

* fix(core): intuit projects when inside their directories when using project.json files

* chore(core): e2e changes

* fix(core): standalone configurations work with npm-project generator

* chore(core): e2e tests should use standalone configurations

* chore(core): e2e fixes per review
2021-10-16 00:07:12 +02:00
Philip Fulcher
2f675f7577
fix(misc): dep-graph --file option supports absolute paths (#7206) 2021-10-12 08:10:15 -06:00
Miroslav Jonaš
a61068d544
chore(repo): add isAndroid check (#7094) 2021-09-23 00:52:03 +00:00
Emily Xiong
387af0cf3f
feat(core): add react native to main repo (#6493) 2021-08-25 15:54:23 -04:00
Jason Jean
84e7f46473
fix(repo): fix npm e2e tests (#6806) 2021-08-22 16:45:55 -04:00
Jason Jean
85f92e740e
feat(misc): simplify npm scripts generated (#6764) 2021-08-20 12:07:26 -04:00
Miroslav Jonaš
b32062416a
fix(core): skip caching output properties missing in options and arguments (#6743)
* fix(core): add outputFile to cached outputs

* fix(core): ignore output properties missing in options and console arguments
2021-08-18 19:56:01 -04:00
Chau Tran
3bcfaf018d
feat(core): detect package manager used to invoke create-nx-(plugin|workspace) (#6749)
* feat(core): detect package manager used to invoke create-nx-(plugin|workspace)

When consumers create a new Workspace (or Plugin) using the create-nx-workspace (or
create-nx-plugin) generator, the package manager used to invoke the generator will be detected and
used as packageManager. For example: pnpx create-nx-workspace will use pnpm, yarn create
nx-workspace will use yarn. Explicit `--packageManager` flag will be priority over the detection.

* cleanup(core): reassign SELECTED_PM after each test run

* fix(core): augment args instead of hardcode --packageManager flag

* cleanup(core): use packageManagerLockFile instead of magic strings

* cleanup(core): fix typo in create-nx-workspace

* cleanup(core): ensure new workspace name for every test

* feat(core): detect package manager used to invoke create-nx-(plugin|workspace)

When consumers create a new Workspace (or Plugin) using the create-nx-workspace (or
create-nx-plugin) generator, the package manager used to invoke the generator will be detected and
used as packageManager. For example: pnpx create-nx-workspace will use pnpm, yarn create
nx-workspace will use yarn. Explicit `--packageManager` flag will be priority over the detection.

* cleanup(core): reassign SELECTED_PM after each test run

* fix(core): augment args instead of hardcode --packageManager flag

* cleanup(core): use packageManagerLockFile instead of magic strings

* cleanup(core): fix typo in create-nx-workspace

* cleanup(core): ensure new workspace name for every test

* fix(core): move detectInvokedPackageManager off of tao

Co-authored-by: Chau Tran <ctran@Chaus-MacBook-Pro.local>
2021-08-18 12:09:00 -04:00
Miroslav Jonaš
aaf962ff0e
chore(repo): fix osx failing tests (#6666)
* chore(repo): test osx runs

* chore(repo): test workspace only
2021-08-10 14:05:26 +02:00
Miroslav Jonaš
549b735057
chore(repo): improve e2e test stability (#6658)
* chore(repo): rest mac failing tests

* chore(repo): update mac to bigsur

* chore(repo): revert mac to catalina

* chore(react): fix flaky react report test

* chore(web): check if content exists serving file server

* chore(core): fix flaky arguments test

* chore(repo): increase duration of web file serve test

* chore(repo): fix tests

* chore(repo): fix cleanup console logs

* chore(repo): test latest changes

* chore(repo): fix typo

* chore(repo): remove content check from file-server

* chore(repo): check workspace

* chore(repo): check workspace

* chore(repo): turn on all the tests
2021-08-09 12:48:48 -07:00
Miroslav Jonaš
13534369b7
chore(repo): revert pre-loading of nrwl/cypress on e2e tests (#6639)
* chore(repo): reorder the package installs for internal dependencies

* chore(repo): rename mac to osx

* chore(repo): revert change
2021-08-06 23:38:10 +02:00
Miroslav Jonaš
07251ba647
chore(repo): enforce fixed version for local packages in e2e tests (#6628) 2021-08-06 14:11:11 +02:00
Miroslav Jonaš
f6cf645e47
chore(repo): add isOsx for e2e tests and include macos to nightly (#6627) 2021-08-06 13:18:02 +02:00
Miroslav Jonaš
bd216dbb36
chore(angular): enable all e2e tests for npm pm (#6625) 2021-08-06 10:04:17 +02:00
Miroslav Jonaš
0f250ff4a9
chore(repo): remove cypress package from e2e default packages (#6416) 2021-07-19 15:56:08 +02:00
Jason Jean
90921aabf1
fix(repo): fix running e2e tests locally with npm 7 (#6400) 2021-07-16 22:04:09 +00:00
Miroslav Jonaš
4c630cb337
chore(repo): improve cross package manager testing (#6371) 2021-07-15 12:39:32 +02:00
Craigory V Coppola
442e4fc6a1
chore(repo): convert to project json format (#6286) 2021-07-08 11:36:35 -04:00
Miroslav Jonaš
e19fd897eb
chore(repo): run cypress tests on merge to master (#6262) 2021-07-06 11:25:42 +02:00
Craigory V Coppola
f1911a71f3
feat(core): split nx config to project files (#5880) 2021-06-22 20:30:38 -04:00
Miroslav Jonaš
4b7902b74e
chore(repo): hide cypress e2e tests behind NX_E2E_CI_NIGHTLY flag (#6079) 2021-06-21 11:18:07 +02:00
Miroslav Jonaš
b3c36dc067
chore(repo): enable windows nightly tests (#5889) 2021-06-18 21:16:50 +02:00
Miroslav Jonaš
3c833e44fe
chore(repo): update pnpm to v6 (#6047)
* chore(repo): update pnpm to v6

* chore(repo): increase timeout for e2e tests running e2e tests
2021-06-17 16:41:39 +02:00
Miroslav Jonaš
4f92e608b4
chore(repo): prepare CI and E2E for better tracking of errors (#6001) 2021-06-14 17:41:05 +02:00
Miroslav Jonaš
bb8d73fb3e
feat(repo): remove obsolete kill commands and check if ports closed (#5939) 2021-06-14 12:48:33 +02:00
Miroslav Jonaš
6ca30d86be
fix(repo): fix flaky cross-os new line check (#5938) 2021-06-09 16:32:27 +02:00
Phillip Barta
a2c2d94050
feat(core): first step to common JSON behavior and common fileutils (#5859) 2021-06-09 12:45:16 +02:00
Miroslav Jonaš
d023eafeb9
fix(testing): fix buffer issue on e2e test (#5916) 2021-06-07 18:48:57 +02:00
Miroslav Jonaš
76a3092891
fix(testing): enable and fix several disabled unit and e2e tests (#5711) 2021-05-28 14:35:04 +02:00
Miroslav Jonaš
9e47d968b9
feat(repo): fix failing yarn and pnpm (#5782) 2021-05-26 09:53:33 +02:00
Juri Strumpflohner
75cbd54818
feat(nextjs): allow custom server to be written in TypeScript (#5510)
ISSUES CLOSED: #1933
2021-05-18 09:50:01 -04:00
Leosvel Pérez Espinosa
678818a58b
feat(angular): upgrade Angular to v12.0.0-rc.3 (#5630)
* feat(angular): upgrade Angular to v12.0.0-rc.3

* feat(angular): target Nx v12.4.0-beta.0 for Angular v12.0.0-rc.0 upgrade

* fix(angular): use defaultConfiguration if no other configuration is passed

* cleanup(angular): sync migration folder name to target version

* fix(repo): creating custom schema flattener for docs

* chore(repo): amend yarn.lock

* feat(angular): update angular storybook to use webpack 5

* fix(angular): add legacy peer deps for angular+jest

* fix(angular): move migrations to 12.3.0-rc.0

Co-authored-by: Zack DeRose <zack.derose@gmail.com>
Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2021-05-12 12:20:12 -04:00
vsavkin
d4e659c660 feat(repo): explicitly kill processes holding onto ports 2021-05-03 11:59:28 -04:00
vsavkin
d767261fea fix(nextjs): default to build target for incremental serve
feat(core): support exclude with run-many
2021-04-29 15:57:26 -04:00