165 Commits

Author SHA1 Message Date
Miroslav Jonaš
c1213b6d09
chore(repo): allow nx version override for E2E tests (#10114) 2022-05-03 15:33:07 +02:00
Miroslav Jonaš
899e0caac8
feat(core): switch cnw ci option to be single-select (#10007)
* feat(core): switch cnw ci option to be single-select

* chore(repo): enforce cache renewal

* chore(repo): revert cache renewal

* fix(core): fix tests

* fix(core): fix enquirer limitation with falsy values
2022-05-02 16:01:34 +02:00
Caleb Ukle
39331d1e17
feat(testing): move jest config to .ts files (#9854)
* feat(testing): move jest config to .ts

move jest config and preset to ts files

ISSUES CLOSED: #8344

* fix(testing): update tests for jest.config.ts changes

update tests broken by renaming jest fils to ts files
2022-04-21 17:58:40 +00:00
Jack Hsu
7913f31cff
fix(react): use normalized app name in host/remote generators (#9909) 2022-04-21 02:54:39 +00:00
Leosvel Pérez Espinosa
d860a91a50
feat(angular): allow migrating angular cli workspaces using the @angular-eslint/builder:lint builder (#9750) 2022-04-11 16:30:49 +01:00
Victor Savkin
48769dc4bb
cleanup(core): remove NX_INVOKED_BY_RUNNER (#9693) 2022-04-05 16:58:13 -04:00
Miroslav Jonaš
926b52ab9c
chore(repo): update pnpm version (#9682) 2022-04-05 20:51:29 +02:00
Victor Savkin
428106f6be
cleanup(core): create more meaningful file structure in nx package (#9621) 2022-03-31 09:07:22 -04:00
Miroslav Jonaš
9e06020575
feat(core): toggle additional prompts in CNW with a flag (#9546)
* feat(core): toggle additional prompts in CNW with a flag

* feat(repo): handle cli params with yargs

* feat(core): add docs generation

* chore(repo): add colors

* fix(core): migrate to yargs 17.x

* fix(core): update markup generation
2022-03-29 14:00:07 -04:00
Leosvel Pérez Espinosa
d33a34105f
cleanup(angular): fix ng-add e2e tests to correctly pass args based on the package manager (#9580) 2022-03-29 12:05:54 +01:00
Victor Savkin
16378258cd
chore(repo): minor changes to improve local e2e experience 2022-03-26 12:54:34 -04:00
Leosvel Pérez Espinosa
63f2c02323
cleanup(angular): fix migration from angular cli e2e tests (#9518) 2022-03-25 17:39:50 +00:00
Victor Savkin
52b47659df
feat(repo): run e2e tests outside of the repo (#9496) 2022-03-24 10:02:19 -04:00
Miroslav Jonaš
92293938eb
chore(repo): trim package manager name for cross os e2e stability (#9446) 2022-03-22 10:47:37 +01:00
Leosvel Pérez Espinosa
88a7ad7654
cleanup(angular): move the angular cli migration generator from @nrwl/workspace to @nrwl/angular (#9244)
* cleanup(angular): move the angular cli migration generator from @nrwl/workspace to @nrwl/angular

* cleanup(angular): support merged packages (cli, tao, nx)

* cleanup(angular): update make-angular-cli-faster to support packages consolidation
2022-03-18 17:18:10 -04:00
Craigory Coppola
b3914bda90
chore(misc): update add-nx ci (#9398) 2022-03-18 15:22:09 -04:00
Craigory Coppola
19e9b462ec
chore(repo): move add-nx into main nx repo (#9382)
* chore(repo): move add-nx into main nx repo

* fix(misc): fix publishing of add nx projects

Co-authored-by: Jason Jean <jasonjean1993@gmail.com>
2022-03-17 18:38:06 -04:00
Victor Savkin
6f038e7a4a feat(core): reorganize packges to consolidate all cli-related code in nx 2022-03-14 16:42:51 -04:00
Victor Savkin
4e9375f5f4 chore(repo): update the version of nx 2022-03-11 10:40:40 -05:00
Chau Tran
229f71ef17
feat(nest): use nrwl/js to generate library (#9164)
* chore(js): rename GeneratorSchema to LibraryGeneratorSchema

* fix(js): add publishable to library generator schema

* feat(nest): use nrwl/js for library generator

* fix(js): update documentation about publishable

* chore(nest): fix depcheck for nrwl/js

* chore(nest): update test snapshot

* chore(nest): update nestjs/swagger version in node e2e

* chore(js): rename loadTsPlugins function

* fix(nest): default standaloneConfig for library generator to true

* feat(nest): rename tsPlugins to transformers and add tsPlugins to aliases

* chore(nest): fix e2e test on generate a new nest library

Co-authored-by: Chau Tran <ctran@Chaus-MacBook-Pro.local>
2022-03-03 15:47:06 -05:00
Miroslav Jonaš
0a62f1f963
chore(repo): use npx on e2e ng calls to fix windows failures (#9078) 2022-02-22 13:34:47 +00:00
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