148 Commits

Author SHA1 Message Date
Jason Jean
bb92857b21
chore(repo): make publishing depend on build targets (#27080)
<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->

<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->

<!-- If this is a particularly complex change or feature addition, you
can request a dedicated Nx release for this pull request branch. Mention
someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they
will confirm if the PR warrants its own release for testing purposes,
and generate it for you if appropriate. -->

## Current Behavior
<!-- This is the behavior we have today -->

Populating the local registry for e2e tests is not dependent on the
builds but runs them. It sometimes gets cache misses for some builds
thus making that inconsistent.


https://staging.nx.app/runs/FxIwbj6UQo/task/%40nx%2Fnx-source%3Apopulate-local-registry-storage

## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->

Populating the local registry for e2e tests is dependent on the builds
and does not run them within itself. In the CI pipeline, this ensures
that the build tasks are run first.


https://staging.nx.app/runs/NUrFeUBbQk/task/%40nx%2Fnx-source%3Apopulate-local-registry-storage

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->

Fixes #
2024-07-24 15:46:09 -04:00
Louie Weng
981d8c1c1b
chore(repo): enable dte summary table (#27055)
<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->

<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->

<!-- If this is a particularly complex change or feature addition, you
can request a dedicated Nx release for this pull request branch. Mention
someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they
will confirm if the PR warrants its own release for testing purposes,
and generate it for you if appropriate. -->

## Current Behavior
<!-- This is the behavior we have today -->

There is no summary of distributed task runs

## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->

There is a summary of distributed task runs on CI
https://app.circleci.com/pipelines/github/nrwl/nx/53764/workflows/208f1b92-909b-489d-9144-58444e1b3c43/jobs/429693

 

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->

Fixes #
2024-07-23 14:46:16 -04:00
Jason Jean
064eb714cf
chore(repo): update nx to 19.5.0-beta.5 (#26925)
<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->

<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->

<!-- If this is a particularly complex change or feature addition, you
can request a dedicated Nx release for this pull request branch. Mention
someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they
will confirm if the PR warrants its own release for testing purposes,
and generate it for you if appropriate. -->

## Current Behavior
<!-- This is the behavior we have today -->

This repo uses Nx `19.4.0-rc.1`

## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->

This repo uses Nx `19.5.0-beta.5`

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->

Fixes #
2024-07-17 11:12:21 -04:00
MaxKless
33d2bece53
fix(misc): add NX_E2E_RUN_E2E env to e2eInputs (#26939) 2024-07-15 08:46:34 -06:00
Craigory Coppola
a0e8f83672
fix(core): move plugin worker to socket (#26558)
<!-- Please make sure you have read the submission guidelines before
posting an PR -->
<!--
https://github.com/nrwl/nx/blob/master/CONTRIBUTING.md#-submitting-a-pr
-->

<!-- Please make sure that your commit message follows our format -->
<!-- Example: `fix(nx): must begin with lowercase` -->

<!-- If this is a particularly complex change or feature addition, you
can request a dedicated Nx release for this pull request branch. Mention
someone from the Nx team or the `@nrwl/nx-pipelines-reviewers` and they
will confirm if the PR warrants its own release for testing purposes,
and generate it for you if appropriate. -->

## Current Behavior
Plugin isolation communicates with workers via built-in node IPC with
forked processes. When doing this, the parent process will not exit
until the child process has exited, in case more messages would be sent.
This requires an explicit call to shut down the plugin workers.

We set this up as a `process.on('exit')` listener, to shutdown the
workers whenever the main Nx process dies. This is "fine", but requires
explicit calls to `process.exit` as node won't exit on its own
otherwise.

## Expected Behavior
To allow plugin workers to clean themselves up on exit, but not require
explicit `process.exit` calls, we need to detach them from the main
process and call `unref`. This only works when IPC is not being used. As
such, we need a different way to communicate with the worker.

This PR updates the communication method to mirror the daemon, and
communicate over a socket. Additionally, this PR enables isolation
during the Nx repo's E2E tests.

## Related Issue(s)
<!-- Please link the issue being fixed so it gets closed when this is
merged. -->

Fixes #
2024-06-26 17:31:10 -04:00
James Henry
24060dc650
chore(repo): prepopulate verdaccio storage for e2e-ci (#23429) 2024-05-16 10:06:25 -04:00
Jason Jean
df7e40d547
feat(repo): split e2e tests (#22927) 2024-04-25 10:13:03 -04:00
Jack Hsu
973244970f
chore(repo): use @nx/webpack/plugin to infer graph client targets (#22955) 2024-04-24 09:45:35 -04:00
Jack Hsu
bc43243498
chore(repo): add eslint and jest plugins to use inferred targets (#22946) 2024-04-23 21:52:13 -04:00
Jack Hsu
45e1d78a21
chore(repo): split e2e tasks for nx-dev-e2e (#22181) 2024-03-19 13:40:41 -04:00
Jason Jean
4484a91bc1
chore(repo): update nx to 18.1.0-beta.3 (#22135) 2024-03-06 12:58:29 -05:00
Isaac Mann
e78116d709
chore(repo): revert enable e2e splitting for nx-dev-e2e (#21922) (#22164) 2024-03-05 09:36:41 -05:00
Jack Hsu
454e78e32b
chore(repo): enable e2e splitting for nx-dev-e2e (#21922) 2024-03-04 16:59:21 -05:00
Jason Jean
7a62f4156c
chore(repo): update nx to 17.3.0-rc.1 (#21360) 2024-01-29 15:34:30 -05:00
Rares Matei
5208d6d694
chore(repo): reenable env var propagation (#21147) 2024-01-25 10:57:08 -05:00
Jonathan Cammisuli
67ca5f85ed
chore(repo): update nx to the latest beta (#21191) 2024-01-18 10:52:47 -05:00
Rares Matei
9747eead55
chore(repo): revert env var propagation (#21131)
Co-authored-by: Colum Ferry <cferry09@gmail.com>
2024-01-15 09:23:35 -05:00
Victor Savkin
5e9a362c11 chore(repo): propagate env vars from circle to cloud agents automatically 2024-01-10 11:25:32 -05:00
James Henry
34c68c0a20
chore(repo): simplify nx release config (#20994) 2024-01-04 14:46:22 -05:00
Miroslav Jonaš
6e7141b22c
cleanup(repo): simplify lint pattern configuration (#20184) 2023-11-24 09:35:07 +01:00
Victor Savkin
07aff97c56 chore(repo): change inputs to get for more cache hits 2023-11-20 08:57:37 -05:00
Jason Jean
b4faf2dd3b
fix(core): fix changelog configuration (#20138) 2023-11-08 17:52:17 -05:00
Jason Jean
c7d0d21761
chore(repo): update nx to 17.1.0-beta.4 (#20124) 2023-11-08 13:01:06 -05:00
Jason Jean
cd66a55fde
chore(repo): update nx to 17.0.0-rc.0 (#19691) 2023-10-18 12:08:25 -04:00
Leosvel Pérez Espinosa
5ff1531a0c
fix(misc): remove projectNameAndRootFormat from nx.json schema (#19623) 2023-10-16 09:15:18 -04:00
Jason Jean
bc067a20bb
chore(repo): update nx to 17.0.0-beta.5 (#19574) 2023-10-14 14:31:58 -04:00
Jack Hsu
76a7506074
feat(js): remove options to update package.json dependencies and peerDependencies (#19543) 2023-10-12 12:06:45 -04:00
Altan Stalker
89ad0b1dfb
chore(repo): bump nx-cloud to 16.5.1 (#19546) 2023-10-10 20:27:34 -04:00
Jason Jean
d8261b435c
fix(repo): add native packages to the release group (#19289) 2023-09-21 20:21:42 -04:00
James Henry
6327fab2e0
chore(repo): dogfood nx release commands (#19237) 2023-09-21 13:38:13 -04:00
Jonathan Cammisuli
42202cb8be
fix(core): update the native runtime input to include the cpu architecture (#19263) 2023-09-20 15:12:00 -04:00
Jason Jean
bda90c4cc5 Revert "Revert "feat(repo): enable agents" (#19112)"
This reverts commit 3771c325bc50bb2acbca45966f2a2fd39d7f0af6.
2023-09-20 14:22:39 -04:00
Jason Jean
b2a9d4d79a
chore(repo): run lint,test, and build in the same command in CI (#19189) 2023-09-18 12:01:27 -04:00
Jason Jean
660bfb3dc5
chore(repo): speed up build of nx project (#19066) 2023-09-08 13:37:02 -04:00
Altan Stalker
903e96b252 chore(repo): re-issue readonly nx cloud token 2023-08-29 17:17:55 -04:00
Altan Stalker
b4222a0761
chore(misc): bump nx-cloud to 16.4.0-beta.6 (#18658) 2023-08-22 13:21:57 -04:00
Victor Savkin
80f9894dbb chore(repo): clean up nx config 2023-08-09 13:07:29 -04:00
Altan Stalker
543e9e30c5
chore(repo): bump nx-cloud to 16.3.0-beta.7 (#18493) 2023-08-04 11:22:02 -04:00
Jason Jean
8d5a16004d
chore(repo): re-enable macos e2e caching (#18382) 2023-07-31 11:05:48 -04:00
Jason Jean
989f7f8f92
chore(repo): update nx to 16.6.0-beta.8 (#18356) 2023-07-29 10:39:53 -04:00
Jason Jean
7c76888cf0
chore(repo): update nx to 16.5.0-beta.3 (#17952) 2023-07-05 01:11:29 +00:00
Jason Jean
cbb2ca2819
chore(repo): update nx to 16.5.0-beta.0 (#17826) 2023-06-28 11:48:02 -04:00
Miroslav Jonaš
ef8c4ed095
feat(linter): add rule for dependency checking (#17581) 2023-06-23 10:26:44 -04:00
Emily Xiong
075ac2545d
chore(repo): change e2e to use verdaccio executor (#17347) 2023-06-07 12:26:43 -04:00
Jonathan Cammisuli
a978ad3094
feat(core): rust based watcher (#16915) 2023-06-01 14:00:27 -04:00
Jonathan Cammisuli
346c1f7e95
fix(core): add @monodon/rust back to the plugins array (#17332) 2023-05-31 11:40:35 -04:00
Craigory Coppola
5ef9ea68cd
feat(core): add a variety of usages for nx show (#17073) 2023-05-23 18:07:37 -04:00
Juri
3472897dad feat(nx-dev): add watch to automatically sync docs to nx-dev when developing locally 2023-05-19 09:15:48 -04:00
Juri Strumpflohner
2341a42f77
chore(repo): add 1hr cache to verdaccio uplink (#16894) 2023-05-11 11:48:53 -04:00
Jason Jean
c2a0ef0794
chore(repo): change more references from @nrwl to @nx (#16621) 2023-04-27 15:59:17 -04:00