1535 Commits

Author SHA1 Message Date
Colum Ferry
2f2ede5ca5
cleanup(angular): add unit and e2e tests for extra reassurance (#6626)
* cleanup(angular): add unit and e2e tests for extra reassurance

After tests didn't fail but issues were introduced, add some extra tests to help catch breaking
changes

* chore(angular): increase timeout for e2e tests

* fix(angular): mfe not installing webpack correctly

Co-authored-by: Miroslav Jonaš <meeroslav@users.noreply.github.com>
2021-10-06 14:15:39 +01:00
Miroslav Jonaš
a01a5c9d34
chore(repo): split e2e-workspace to two applications (#7240) 2021-10-05 18:59:03 +02:00
Jack Hsu
711e80e01f
chore(react): update e2e tests to be less flaky in CI (#7247)
- the output formatting isn't consistent in CI so check file existence
  instead
2021-10-05 13:28:00 +00:00
Jack Hsu
7bef953fe6
fix(nextjs): generate nextjs app with correct pages dir for no-html-link-for-pages rule (#7230) 2021-10-04 15:50:55 -04:00
Jack Hsu
9c2a8b155c
feat(react): buildable React libraries now generate smaller ESM packages (#7199) 2021-10-04 14:39:20 -04:00
Miroslav Jonaš
2898ccd8e2
chore(core): fix broken e2e test (#7226) 2021-10-04 14:45:29 +00:00
Jason Jean
f559980d33
cleanup(core): remove checking results.json in e2e tests (#7194) 2021-10-01 14:17:34 -04:00
Jack Hsu
2cd26c47d3
fix(nextjs): fix buildable nextjs libs (#7197) 2021-10-01 14:16:03 -04:00
Kirils L
61bcab3a83
feat(nextjs): expose environment variables prefixed with NX_ (#7193) 2021-10-01 15:49:02 +00:00
Miroslav Jonaš
97e6df55b0
chore(linter): optimize e2e tests (#7171) 2021-09-30 10:58:04 +02:00
Emily Xiong
c7f18ca83b
feat(react-native): add macos tests in e2e test header (#7131) 2021-09-27 09:28:19 +02:00
Miroslav Jonaš
a61068d544
chore(repo): add isAndroid check (#7094) 2021-09-23 00:52:03 +00:00
Miroslav Jonaš
3a6c7363bc
chore(repo): switch on multiple main jobs on circleci (#6735)
* chore(repo): test osx runnner on circleci

* chore(repo): add pnpm to all the platforms

* chore(repo): comment out temporarily osx job

* chore(repo): add dummy MACOS test

* chore(repo): add workflow id

* chore(repo): switch on android

* chore(repo): remove os mains temporarily

* chore(repo): turn off all non-linux agents

* chore(repo): switch on macos run

* chore(repo): switch on android run

* chore(repo): set nx run group dynamically

* chore(repo): cleanup before merge
2021-09-21 16:57:49 +02:00
Victor Savkin
dca092874b feat(core): add examples and links to nx.dev when using --help 2021-09-17 10:02:44 -04:00
Marko Grešak
bbeb89cbc2
fix(web): fix stylesOptimization for webpack 5 (#6817)
ISSUES CLOSED: #6816
2021-09-15 15:22:07 +00:00
Jack Hsu
06d20352f7
fix(react): fix extracCss option for webpack 5 (#6925) 2021-09-03 12:17:48 -04:00
James Henry
bafabb3a11
feat(linter): add support for workspace rules (#6859)
* feat(linter): add support for workspace rules

* chore(linter): move deps to correct package

* feat(linter): workspace-lint-rules as project with test target

* chore(linter): tiny clean up

* fix(linter): update generators.json after refactor

* chore(linter): implement e2e test and PR feedback

* docs(linter): update generator docs

* docs(linter): update generator docs

* docs(linter): update generator docs
2021-09-01 12:49:11 -04:00
Jason Jean
a7f89508e5
feat(linter): cache --outputFile (#6852) 2021-08-26 11:25:51 -04: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
bfa06ce8b0
feat(misc): add generator for simple npm-package (#6784) 2021-08-20 14:10:00 -04:00
Jason Jean
85f92e740e
feat(misc): simplify npm scripts generated (#6764) 2021-08-20 12:07:26 -04:00
Lars von Qualen
6b37e4b2f1
feat(node): builder should support multiple entry files (#5741)
Adds a new option to the node build executor in order to enable multiple entry files.
2021-08-20 15:49:56 +00:00
Jason Jean
81d36ee737
fix(repo): skip package manager detection tests for other package managers (#6783) 2021-08-20 06:51:25 +00:00
Leosvel Pérez Espinosa
ff202d323c
cleanup(misc): rename oss preset to npm and update presets related docs (#6777) 2021-08-19 11:10:29 -07:00
Jack Hsu
cddb1edd56
feat(react): add format option for buildable libs (#6753)
- Clean up @nrwl/web:package executor
- Combine react package e2e tests to speed up test time
2021-08-18 23:08:30 -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
8297386d80
feat(node): add TS plugins support for build executor (#6677)
* feat(node): add TS plugins support for build executor

ISSUES CLOSED: #2147

* docs(node): add tsPlugins to node build executor schema

* chore(node): reformat schema json

* chore(repo): update yarn.lock

* cleanup(node): adjust tsPlugins test for node build executor

* cleanup(node): remove packageJson check for tsPlugins test

* cleanup(node): increase timeout for tsPlugins e2e test

* cleanup(node): use type import for typescript types instead of importing typescript

Co-authored-by: Chau Tran <ctran@Chaus-MacBook-Pro.local>
Co-authored-by: Miroslav Jonas <missing.manual@gmail.com>
2021-08-18 17:48:18 -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
Nrwl CI Machine
5f02a10ac9 feat(core): add an ability to extend nx.json config 2021-08-17 14:44:41 -04:00
Jason Jean
2f442ec632
feat(testing): remove cypress typescript preprocessor (#6706) 2021-08-16 16:23:17 -04:00
Miroslav Jonaš
051dc7ced4
chore(repo): enable node 15 and 16 in the nightly runs (#6708) 2021-08-13 16:41:15 +02:00
Emily Xiong
f96c5371c0
fix(gatsby): remove npm_config_legacy_peer_deps (#6698) 2021-08-12 12:47:46 -04:00
James Henry
3351ef80bc
chore(core): opt-in daemon for ProjectGraph creation, refactor hasher (#6572) 2021-08-12 08:56:01 -04:00
Miroslav Jonaš
51d247e5e8
chore(core): fix broken run-many e2e test (#6693) 2021-08-12 12:49:39 +00: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
Leosvel Pérez Espinosa
c6fee867aa
fix(misc): handle moving to a subfolder which results in the same project name and normalize import path (#6507) 2021-07-26 14:56:30 +01:00
Miroslav Jonaš
1ca34f9669
chore(repo): split angular e2e tests into core and extensions (#6470) 2021-07-22 15:46:23 +02:00
Emily Xiong
c8bd620b6d
feat(gatsby): update gatsby to version 3.10.0 (#6449)
- add webpack5 for gatsby as default init
2021-07-21 15:31:22 -04:00
Miroslav Jonaš
0f250ff4a9
chore(repo): remove cypress package from e2e default packages (#6416) 2021-07-19 15:56:08 +02:00
vsavkin
0e52c43665 feat(core): store file deps and only reanalyze changed files 2021-07-16 20:21:45 -04:00
Jason Jean
90921aabf1
fix(repo): fix running e2e tests locally with npm 7 (#6400) 2021-07-16 22:04:09 +00:00
Colum Ferry
bea5ed458d
feat(angular): upgrade angular to ~12.1.0 (#6390) 2021-07-16 18:44:16 +00:00
Miroslav Jonaš
4c630cb337
chore(repo): improve cross package manager testing (#6371) 2021-07-15 12:39:32 +02:00
Jason Jean
d35d03e55e
chore(repo): update nx to 12.6.0-beta.0 (#6266) 2021-07-09 18:44:59 +00:00