From ee87cfff6eba26eee9bca74681c9bc87b39fc613 Mon Sep 17 00:00:00 2001 From: Max Duval Date: Wed, 17 Jan 2024 13:57:40 +0000 Subject: [PATCH] fix: use `devDependency` for lib info Co-authored-by: Akash Askoolum --- src/constants/library-info.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/constants/library-info.ts b/src/constants/library-info.ts index 958d754cdd..00ee0fe270 100644 --- a/src/constants/library-info.ts +++ b/src/constants/library-info.ts @@ -32,11 +32,11 @@ export const LibraryInfo = { * The version of the `aws-cdk-lib` library used by `@guardian/cdk`. * You need to match this version exactly. */ - AWS_CDK_VERSION: valueOrUnknown(getDependency("aws-cdk-lib")), + AWS_CDK_VERSION: valueOrUnknown(getDevDependency("aws-cdk-lib")), /** * The version of the `constructs` library used by `@guardian/cdk`. * You need to match this version exactly. */ - CONSTRUCTS_VERSION: valueOrUnknown(getDependency("constructs")), + CONSTRUCTS_VERSION: valueOrUnknown(getDevDependency("constructs")), };