brave / ads-ui

Self-service ads UI
Mozilla Public License 2.0
23 stars 11 forks source link

build: dedupe dependencies #1309

Closed tackley closed 1 month ago

tackley commented 1 month ago

We'd got a few pointless old dependencies referenced.

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

github-actions[bot] commented 1 month ago

[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.