From ce7849fee1c56bfa065633f4435cc4238aae9351 Mon Sep 17 00:00:00 2001 From: Nicholas Tucker Date: Mon, 19 Aug 2024 14:20:40 +1000 Subject: [PATCH] fix: package.json scripts are removed from published package --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 3e0c2c9..736d656 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@cultureamp/datadog-cdk", - "version": "2.0.0", + "version": "2.0.1", "description": "CDK constructs for DataDog Cloudformation resources.", "packageManager": "pnpm@8.5.1", "files": [ @@ -12,7 +12,7 @@ ".": "./dist/index.js" }, "scripts": { - "prebuildpackage": "pnpm run clean && pnpm run build --project tsconfig.dist.json", + "prebuildpackage": "pnpm run clean && pnpm run build --project tsconfig.dist.json && npm pkg delete scripts", "preinstall": "npx only-allow pnpm", "build": "tsc", "clean": "tsc --build --clean && (rm -rf dist || true)",