Repository: lerna-lite/lerna-lite
Pull request #1026 (2025-04-29 04:09:32)

chore(deps): upgrade to pnpm v10
<!--- Provide a general summary of your changes in the Title above -->

## Description

upgrade to pnpm@10

## Motivation and Context

pnpm v10 has been out for a few months already so I think it's stable enough to upgrade

## How Has This Been Tested?

<!--- Please describe in detail how you tested your changes. -->
<!--- Include details of your testing environment, and the tests you ran to -->
<!--- see how your change affects other areas of the code, etc. -->

## Types of changes

<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->

- [x] Chore (change that has absolutely no effect on users)
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)

## Checklist:

<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->

- [x] My code follows the code style of this project.
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
- [ ] I have added tests to cover my changes.
- [x] All new and existing tests passed.


codecov[bot]: ## [Codecov](https://app.codecov.io/gh/lerna-lite/lerna-lite/pull/1026?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=lerna-lite) Report
All modified and coverable lines are covered by tests :white_check_mark:
> Project coverage is 97.89%. Comparing base [(`ea80105`)](https://app.codecov.io/gh/lerna-lite/lerna-lite/commit/ea80105acc163284773d816134477abfa9dfcc97?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=lerna-lite) to head [(`54f3494`)](https://app.codecov.io/gh/lerna-lite/lerna-lite/commit/54f3494012c55056b973a5e3902e76415c0b24eb?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=lerna-lite).

<details><summary>Additional details and impacted files</summary>


```diff
@@            Coverage Diff             @@
##             main    #1026      +/-   ##
==========================================
+ Coverage   97.87%   97.89%   +0.03%     
==========================================
  Files         153      153              
  Lines        9123     9123              
  Branches     2327     2327              
==========================================
+ Hits         8928     8930       +2     
+ Misses        194      192       -2     
  Partials        1        1              
```

</details>

[:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/lerna-lite/lerna-lite/pull/1026?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=lerna-lite).   
:loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=lerna-lite).

<details><summary> :rocket: New features to boost your workflow: </summary>

- :snowflake: [Test Analytics](https://docs.codecov.com/docs/test-analytics): Detect flaky tests, report on failures, and find test suite problems.
- :package: [JS Bundle Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
</details>

Patch:
diff --git a/.github/renovate.json5 b/.github/renovate.json5
index 493bce0d..75bc6b14 100644
--- a/.github/renovate.json5
+++ b/.github/renovate.json5
@@ -26,6 +26,6 @@
       allowedVersions: '1.2.6',
     },
   ],
-  ignoreDeps: ['lee-dohm/no-response', 'node', 'pnpm'],
+  ignoreDeps: ['lee-dohm/no-response', 'node'],
   schedule: ['every 4 weeks on Tuesday'],
 }
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 982c796c..52ed2f37 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -32,7 +32,7 @@ jobs:
       - name: Install pnpm itself
         uses: pnpm/action-setup@v3
         with:
-          version: 9
+          version: 10
 
       - name: Set NodeJS
         uses: actions/setup-node@v4
@@ -86,7 +86,7 @@ jobs:
       - name: Install pnpm itself
         uses: pnpm/action-setup@v3
         with:
-          version: 9
+          version: 10
 
       - name: Set NodeJS
         uses: actions/setup-node@v4
diff --git a/.github/workflows/publish-npm-prerelease.yml b/.github/workflows/publish-npm-prerelease.yml
index f82fe2dd..643ae9d6 100644
--- a/.github/workflows/publish-npm-prerelease.yml
+++ b/.github/workflows/publish-npm-prerelease.yml
@@ -61,7 +61,7 @@ jobs:
       - name: Install pnpm
         uses: pnpm/action-setup@v3
         with:
-          version: 9
+          version: 10
           run_install: false
 
       - name: Get pnpm store directory
diff --git a/.github/workflows/publish-npm-prompt.yml b/.github/workflows/publish-npm-prompt.yml
index 88711f76..2286fa36 100644
--- a/.github/workflows/publish-npm-prompt.yml
+++ b/.github/workflows/publish-npm-prompt.yml
@@ -51,7 +51,7 @@ jobs:
       - name: Install pnpm
         uses: pnpm/action-setup@v3
         with:
-          version: 9
+          version: 10
           run_install: false
 
       - name: Get pnpm store directory
diff --git a/package.json b/package.json
index dbedc942..b89bc71f 100644
--- a/package.json
+++ b/package.json
@@ -57,10 +57,11 @@
   },
   "engines": {
     "node": "^20.17.0 || >=22.9.0",
-    "pnpm": "9.x"
+    "pnpm": "10.x"
   },
-  "packageManager": "pnpm@9.10.0",
+  "packageManager": "pnpm@10.10.0",
   "devDependencies": {
+    "@eslint/js": "^9.25.1",
     "@lerna-lite/changed": "workspace:*",
     "@lerna-lite/cli": "workspace:*",
     "@lerna-lite/core": "workspace:*",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index e71b73bd..8f7e76de 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -95,6 +95,9 @@ importers:
 
   .:
     devDependencies:
+      '@eslint/js':
+        specifier: ^9.25.1
+        version: 9.25.1
       '@lerna-lite/changed':
         specifier: workspace:*
         version: link:packages/changed


Test patch:
diff --git a/.github/workflows/publish-npm-latest.yml b/.github/workflows/publish-npm-latest.yml
index 2f250ee0..ecba7a19 100644
--- a/.github/workflows/publish-npm-latest.yml
+++ b/.github/workflows/publish-npm-latest.yml
@@ -48,7 +48,7 @@ jobs:
       - name: Install pnpm
         uses: pnpm/action-setup@v3
         with:
-          version: 9
+          version: 10
           run_install: false
 
       - name: Get pnpm store directory