Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: dedupe dependencies #1309

Merged
merged 1 commit into from
Aug 7, 2024
Merged

build: dedupe dependencies #1309

merged 1 commit into from
Aug 7, 2024

Conversation

tackley
Copy link
Collaborator

@tackley tackley commented Aug 7, 2024

We'd got a few pointless old dependencies referenced.

Run pnpm dedupe manually to remove, and update the renovate config to run this automatically.

We'd got a few pointless old dependencies referenced.

Run `pnpm dedupe` manually to remove, and update the renovate config to run this automatically.
@tackley tackley requested a review from a team as a code owner August 7, 2024 09:34
Copy link

github-actions bot commented Aug 7, 2024

[puLL-Merge] - brave/ads-ui@1309

Description

This PR updates the renovate.json configuration file and makes changes to the pnpm-lock.yaml file. The main change is switching from npmDedupe to pnpmDedupe in the post-update options for Renovate. This change aligns the Renovate configuration with the project's use of pnpm as the package manager.

Changes

Changes

  1. renovate.json:

    • Changed "postUpdateOptions": ["npmDedupe"] to "postUpdateOptions": ["pnpmDedupe"]
  2. pnpm-lock.yaml:

    • Multiple dependency version updates and removals
    • Notable changes include:
      • Removed @babel/runtime versions 7.24.6, 7.24.7, and 7.24.8
      • Updated @babel/runtime to version 7.25.0
      • Removed debug version 4.3.5
      • Updated debug to version 4.3.6
      • Removed jiti version 1.21.0
      • Updated jiti to version 1.21.6
      • Removed yaml version 2.4.2
      • Updated yaml to version 2.5.0

These changes in the pnpm-lock.yaml file likely reflect dependency updates and optimizations performed by pnpm after running pnpm install or pnpm update.

The switch from npmDedupe to pnpmDedupe in the Renovate configuration is a positive change that aligns with the project's use of pnpm. This should help Renovate perform more efficient and appropriate dependency updates for this project.

@tackley tackley enabled auto-merge (squash) August 7, 2024 09:35
@tackley tackley merged commit f499460 into master Aug 7, 2024
8 checks passed
@tackley tackley deleted the build/dedupe branch August 7, 2024 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants