From 3c97ea5486554680d2a3d5831d34e072862ca624 Mon Sep 17 00:00:00 2001 From: Momo Kornher Date: Fri, 22 Dec 2023 13:21:50 +0000 Subject: [PATCH] fix: CfnJson fails with Error --- packages/aws-cdk-lib/.npmignore | 5 ++++- .../aws-cdk-lib/core/{lib => }/adr/acknowledge-warnings.md | 0 2 files changed, 4 insertions(+), 1 deletion(-) rename packages/aws-cdk-lib/core/{lib => }/adr/acknowledge-warnings.md (100%) diff --git a/packages/aws-cdk-lib/.npmignore b/packages/aws-cdk-lib/.npmignore index 60e48f52cdd0f..04bd4687b89d0 100644 --- a/packages/aws-cdk-lib/.npmignore +++ b/packages/aws-cdk-lib/.npmignore @@ -16,6 +16,7 @@ coverage build-tools dist !custom-resource-handlers/dist/ +!core/lib/dist/ scripts .LAST_BUILD .LAST_PACKAGE @@ -30,9 +31,11 @@ tsconfig.json # exclude cdk artifacts **/cdk.out junit.xml - !*.lit.ts +# exclude additional documention +core/adr/ + # keep class map for cloudformation-include !cloudformation-include/cfn-types-2-classes.json diff --git a/packages/aws-cdk-lib/core/lib/adr/acknowledge-warnings.md b/packages/aws-cdk-lib/core/adr/acknowledge-warnings.md similarity index 100% rename from packages/aws-cdk-lib/core/lib/adr/acknowledge-warnings.md rename to packages/aws-cdk-lib/core/adr/acknowledge-warnings.md