128 Commits

Author SHA1 Message Date
Nicholas Cunningham
a5544e371b
feat(repo): migrate to pnpm 10 (#31427)
- Added .pnpmrc for pnpm 10 configuration, enabling peer dependencies
and lifecycle scripts.
- Updated package.json to reflect pnpm version change to 10.11.1 and
added onlyBuiltDependencies.
- Update pipelines to reflect pnpm version update to 10.11.1

## Upgrading your pnpm version
Now to upgrade your `pnpm` version you can run `pnpm
migrate-to-pnpm-version 10`. Which would upgrade your `pnpm` and it will
run the upgrade script.

Later on if you want to upgrade to pnpm v11 you can run `pnpm
migrate-to-pnpm-version 11`.
Additionally, if you just want to upgrade to the version that is inside
of `package.json` you would run
`pnpm migrate-to-pnpm-version` without passing in a major version.
2025-06-09 10:29:16 -04:00
Nicholas Cunningham
6fe9d297e2
feat(repo): add golden list of projects to our Nightly CI (#31414)
This pull request introduces several updates to the CI/CD workflows and
matrix configuration files.

The aim is to highlight critical Nx failures contained in each project
for maintainers to address.

### Changes
- Improvements to workflow caching.
- Improvements to macOS simulator handling.
- Updates to Slack notifications.
- Update matrix data processing for golden projects. 
- Support for Windows has been temporarily disabled due to build issues.
2025-06-05 14:03:42 -04:00
Nicholas Cunningham
1709b107bb
fix(core): Update e2e nightly test to not hang (#31218)
Currently, the nightly tests are broken in a few ways this PR addresses
some of those issues but ultimately ensures that each step has a timeout
to handle the work case scenario i.e. unable to complete.

- Add bun installation and split e2e runners for macos, linux and
windows
- Add rust installation
- Add timeout for e2e tests 

Here is the result of a previous run:
https://github.com/nrwl/nx/actions/runs/14999368644
The most latest run can be found here:
https://github.com/nrwl/nx/actions/runs/15027418322

**Note**: The final result will be _failure_ because many tests still
need to be addressed, so that is expected.
2025-05-16 11:07:49 -04:00
Nicholas Cunningham
ce64f85069
fix(core): Disable e2e matrix as macos is still hanging at install (#31041)
Disabling the schedule run for e2e matrix job as macos is still hanging.
 
<!-- 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 -->

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

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

Fixes #
2025-05-05 09:56:48 -04:00
Nicholas Cunningham
8dc057519f
chore(misc): remove Node.js 18 version from nightly matrix (#30758)
This PR updates our nightly test configuration to align with the current
Node.js ecosystem.

Node.js v18 has reached end-of-life, so we're updating our nightly tests
to ensure compatibility with actively maintained Node.js versions.
2025-04-16 17:00:34 -04:00
Miroslav Jonaš
30781f7fe3
feat(repo): replace explicit matrix with dynamic parsed from json (#30120)
This PR replaces the cumbersome explicit matrix in `e2e-matrix.yml` with
a dynamic matrix built from the input JSON data.

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

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

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

Fixes #
2025-03-24 11:56:47 -04:00
Miroslav Jonaš
2a4984cf7c
fix(repo): fix nightly reporting (#30104)
This PR fixes broken reporting on nightly caused by breaking changes in
the `upload-artifact` and `download-artifact` GH actions

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

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

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

Fixes #
2025-02-19 13:28:34 +01:00
Miroslav Jonaš
ee7b001ec9
fix(repo): update version of actions/github-script in nightly script (#28784)
<!-- 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 -->

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

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

Fixes #
2024-11-06 14:50:32 -05:00
Miroslav Jonaš
0d2a696443
chore(repo): update node version on nightly (#28622)
<!-- 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 -->

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

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

Fixes #
2024-10-28 13:32:28 +01:00
Miroslav Jonaš
8403f03822
feat(core): add support for pnpm lockfile v9 (#22906)
- [X] Fix parenthesis separator detection
- [x] Fix leading dash detection
- [x] Migrate existing pnpm normalizer to latest code
- [X] Add unit tests for v9
- [X] Dogfooding Pnpm v9 to Nx repo and agents

Fixes regression with alias packages introduced via
https://github.com/nrwl/nx/pull/23017

## Benchmarks

PNPM v9 Branch (migrated to branch's code)
```
  Time (mean ± σ):      3.526 s ±  0.081 s    [User: 0.717 s, System: 0.948 s]
  Range (min … max):    3.390 s …  3.714 s    20 runs
```
Master (running nx 19.1.0-beta.3)
```
  Time (mean ± σ):     11.160 s ±  0.112 s    [User: 0.799 s, System: 0.979 s]
  Range (min … max):   10.955 s … 11.379 s    20 runs
```

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

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

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

Fixes #22850
Fixes #23256

---------

Co-authored-by: James Henry <james@henry.sc>
2024-05-27 16:12:18 -04:00
Colum Ferry
61b7549ba9
chore(repo): e2e matrix (#23363)
## Current Behavior
<!-- This is the behavior we have today -->
E2E Matrix is not running because python 3 on macos does not come with
required modules pre-installed

## Expected Behavior
<!-- This is the behavior we should expect with the changes in this PR
-->
Install the required python modules before running `pnpm install`

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

Fixes #
2024-05-14 10:44:29 +01:00
Jason Jean
df7e40d547
feat(repo): split e2e tests (#22927) 2024-04-25 10:13:03 -04:00
Miroslav Jonaš
0a00bfef15
chore(repo): bump version of actions/checkout for nightly (#21810) 2024-03-06 13:02:13 -05:00
Leosvel Pérez Espinosa
47df7f94af
chore(repo): add missing e2e-gradle to e2e matrix projects (#22124) 2024-03-04 11:01:42 +01:00
Emily Xiong
42ad573405
feat(core): add gradle plugin (#21055) 2024-02-29 14:15:54 -05:00
Miroslav Jonaš
4caa6be71a
feat(core): add option to disable log grouping on CI (#21782) 2024-02-12 19:07:03 +01:00
Miroslav Jonaš
192d36f493
chore(repo): bump pnpm and nx-orb versions (#21143) 2024-01-18 00:11:43 +01:00
Miroslav Jonaš
cbb26cb368
fix(repo): update nightly matrix with new packages (#20911) 2023-12-26 21:51:54 +01:00
Miroslav Jonaš
cb09f25c8a
chore(repo): update nightly node version matrix (#20907) 2023-12-22 17:09:14 +01:00
Miroslav Jonaš
a851c13517
fix(repo): add missing packages to nightly (#20908) 2023-12-22 17:09:02 +01:00
Colum Ferry
8abf1c631a
chore(react): split module federation tests into their own e2e project (#20824) 2023-12-19 12:01:28 -05:00
Colum Ferry
79cab697bf
chore(angular): split module-federation tests into their own project (#20721) 2023-12-13 11:00:30 -05:00
Jason Jean
900c1c9b37
chore(repo): schedule nightly tests later (#19768) 2023-10-25 17:57:16 -04:00
Miroslav Jonaš
0bc693342e
feat(linter): rename @nx/linter to @nx/eslint (#19515) 2023-10-16 11:52:19 -04:00
Miroslav Jonaš
a3f91f3276
chore(repo): update nightly node versions (#19102) 2023-09-12 13:24:08 -04:00
Miroslav Jonaš
f9e7b90837
chore(repo): update version of pnpm in our ci configs (#19103) 2023-09-11 13:55:19 -04:00
Miroslav Jonaš
0429536499
feat(repo): cleanup e2e cache on global setup (#18483) 2023-08-08 20:07:02 +02:00
Caleb Ukle
5e51cd6eb5
fix(testing): playwright plugin clean up (#18447) 2023-08-02 16:14:17 -04:00
Miroslav Jonaš
c55630b4d6
feat(repo): enable daemon for nightly tests (#16808) 2023-05-05 10:59:40 -04:00
Miroslav Jonaš
747050e4a8
fix(repo): fix nightly registry failing on windows (#16804) 2023-05-05 10:57:07 -04:00
Miroslav Jonaš
0947eb46f5
fix(repo): run nightly e2e with pnpm (#16602) 2023-04-27 11:09:28 +02:00
Miroslav Jonaš
262865841d
feat(repo): migrate to pnpm (#16284) 2023-04-25 17:57:36 -04:00
Miroslav Jonaš
ceab87d29e
feat(repo): use @pnpm/exe over pnpm for CI runs (#16495) 2023-04-24 10:40:21 -04:00
Miroslav Jonaš
4d5cc73c9b
feat(repo): ignore macos timings for nightly duration report (#16454) 2023-04-24 14:54:37 +02:00
Emily Xiong
5f86929f34
chore(react): improve react e2e tests speed (#15997) 2023-04-14 16:43:58 -04:00
Leosvel Pérez Espinosa
7cff8dcf55
cleanup(angular): remove make-angular-cli-faster package (#15489) 2023-04-13 08:31:13 +01:00
Leosvel Pérez Espinosa
856296431d
cleanup(react): remove cra-to-nx package (#15556) 2023-04-12 16:43:49 +00:00
Leosvel Pérez Espinosa
e5b48ac956
cleanup(misc): remove add-nx-to-monorepo package (#15498) 2023-04-12 16:41:17 +01:00
Miroslav Jonaš
98501aa56b
fix(repo): cache nightly node_modules per run to avoid stale graph (#16216) 2023-04-11 12:15:50 +02:00
Katerina Skroumpelou
6889f933f2
fix(core): split nightly e2e target (#16176) 2023-04-07 17:03:37 +02:00
Miroslav Jonaš
e81bdd4c1e
fix(repo): enable mac tests on nightly and fix CI (#16150) 2023-04-06 16:54:20 +02:00
Miroslav Jonaš
e58a05986d
feat(repo): report time of runs (#16115) 2023-04-06 10:38:36 -04:00
Miroslav Jonaš
db0fd2f453
feat(repo): add brew cache to preinstall step on nightly (#16048) 2023-04-03 10:36:20 -04:00
Miroslav Jonaš
26ad1f6997
fix(repo): increase timeouts until we improve tests (#16007) 2023-03-31 11:06:53 -04:00
Miroslav Jonaš
0cd03005c3
fix(repo): add more granular timeout to nightly runs (#15945) 2023-03-30 12:44:36 +02:00
Jack Hsu
cd16ec3a9e
chore(repo): add Cypress cache to top-level install job (#15959) 2023-03-29 15:00:35 -04:00
Jack Hsu
16b3fa0931
chore(repo): cache Cypress install for nightly tests to avoid "Cypress binary is missing" errors (#15934) 2023-03-28 20:37:43 +02:00
Miroslav Jonaš
ae3a55fbf7
feat(repo): add nightly tests for several node versions (#15908) 2023-03-28 15:33:49 +00:00
Miroslav Jonaš
eec6041220
fix(repo): add missing git config on nightly for lerna e2e (#15900) 2023-03-27 15:22:39 +02:00
Miroslav Jonaš
bcca1f591a
chore(repo): optimize nightly report for better readability (#15766) 2023-03-20 13:54:19 +01:00