From 6af50b2d37ebc8157a25ba911b330c2030d0459c Mon Sep 17 00:00:00 2001 From: Maira Bello Date: Tue, 30 Jul 2024 11:43:59 -0300 Subject: [PATCH] Allow specific builder config to override the common config for pinned dependencies (#1209) * Allow specific builder config to override the common config for pinned deps * Add CHANGELOG entry --- CHANGELOG.md | 3 +++ src/api/pinnedDependencies.ts | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 387fae500..ccaaf44ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - handle OPTIONS request for CORS - update `publish-stable-aws` pipeline +### Changed +- Allow specific builder config to override the common config for pinned dependencies + ## [4.0.4] - 2023-11-03 ### Fixed diff --git a/src/api/pinnedDependencies.ts b/src/api/pinnedDependencies.ts index a6ccf4481..3ce304132 100644 --- a/src/api/pinnedDependencies.ts +++ b/src/api/pinnedDependencies.ts @@ -48,8 +48,8 @@ export const fixPinnedDependencies = async ( } const pinnedDepsForBuilder = { - ...pinnedDeps.builders[builder]?.[builderMajorLocator], ...pinnedDeps.common, + ...pinnedDeps.builders[builder]?.[builderMajorLocator], } return fixBuilderFolderPinnedDeps(appRoot, builder, pinnedDepsForBuilder)