Skip to content

fix(npm): update pnpm dedupe ignore-scripts flag#36732

Merged
viceice merged 1 commit intorenovatebot:mainfrom
CHC383:refactor/pnpm-dedupe-flag
Jun 29, 2025
Merged

fix(npm): update pnpm dedupe ignore-scripts flag#36732
viceice merged 1 commit intorenovatebot:mainfrom
CHC383:refactor/pnpm-dedupe-flag

Conversation

@CHC383
Copy link
Copy Markdown
Contributor

@CHC383 CHC383 commented Jun 29, 2025

Changes

Update pnpm dedupe ignore-scripts flag

Context

Follow up on #36727 and separate the changes to an individual PR.

This should be safe because:

  • pnpm install before this command is already using the flag this way.
    args += ' --ignore-scripts';
  • --ignore-scripts on pnpm dedupe was introduced in v8.8.0, it was always in the form of --ignore-scripts
  • Probably --config.ignore-scripts=true works only because v5.5.0 introduced the --config. prefix to accept unknown (so as known?) options.

Documentation (please check one with an [x])

  • I have updated the documentation, or
  • No documentation update is required

How I've tested my work (please select one)

I have verified these changes via:

  • Code inspection only, or
  • Newly added/modified unit tests, or
  • No unit tests but ran on a real repository, or
  • Both unit tests + ran on a real repository

This should be safe because:
- `pnpm install` before this command is already using the flag this way.
- `--ignore-scripts` on pnpm dedupe was introduced in v8.8.0, it was always in the form of `--ignore-scripts`
- Probably `--config.ignore-scripts=true` works only because v5.5.0 introduced the `--config.` prefix to accept unknown (so as known?) options.
@viceice viceice changed the title refactor(npm): update pnpm dedupe ignore-scripts flag fix(npm): update pnpm dedupe ignore-scripts flag Jun 29, 2025
@viceice viceice added this pull request to the merge queue Jun 29, 2025
Merged via the queue into renovatebot:main with commit f297ada Jun 29, 2025
40 checks passed
@renovate-release
Copy link
Copy Markdown

🎉 This PR is included in version 41.16.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jul 30, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants