16 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
James Henry
3cab51389f
chore(repo): fix npm-audit workflow, only run on origin (#28457) 2024-10-15 15:38:21 -04: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
Miroslav Jonaš
d8f9af8354
fix(repo): fix broken npm-audit after pnpm migration (#16631) 2023-04-28 09:51:14 -04:00
Miroslav Jonaš
262865841d
feat(repo): migrate to pnpm (#16284) 2023-04-25 17:57:36 -04:00
Miroslav Jonaš
3d76f052f1
feat(repo): make granular slack notifications when E2E tests fail (#15462) 2023-03-13 14:36:08 +04:00
Alex
7f3b994994
feat(repo): restrict permissions on github actions (#12909)
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-11-07 14:16:39 +01:00
Miroslav Jonaš
7d19df0a15
chore(repo): bump actions/checkout to v3 (#12544) 2022-10-12 12:18:20 +02:00
Miroslav Jonaš
45deeca2c4
chore(repo): disable snync for nightly audit temporarily (#11704) 2022-08-24 11:11:03 +00:00
Miroslav Jonaš
438ea6cdfe
chore(repo): add better status notification to audit run (#11099) 2022-07-11 12:50:24 +00:00
Miroslav Jonaš
4a3a223d07
chore(repo): use npx over yarn for audit checks (#11096) 2022-07-11 05:04:32 -06:00
Miroslav Jonaš
26ca133a76
chore(repo): add snync check to nightly audit (#11074) 2022-07-08 11:08:39 +00:00
Miroslav Jonaš
6186daabf8
feat(repo): add lock file linting to commit check, PR and nightly (#11071) 2022-07-08 10:39:23 +00:00
Miroslav Jonaš
a2f7511509
feat(repo): notify slack on nightly github actions (#6016) 2021-06-15 12:23:34 +02:00
Miroslav Jonaš
57785b5336
feat(repo): add checks for lock files (#5854) 2021-06-01 11:56:49 +02:00
Tasos Bekos
9275d1c128 feat(repo): add npm audit report on ci
It will fail only if critical vulnerabilities are found.
2021-02-22 11:07:02 -05:00