From 987478377370047ad34b0ba6e16970e53007d53b Mon Sep 17 00:00:00 2001 From: Muthu Venkatachalam <33663725+Muthuveerappanv@users.noreply.github.com> Date: Tue, 28 Feb 2023 01:03:42 -0500 Subject: [PATCH 1/2] fix worspace package script fixes - https://github.com/awslabs/aws-lambda-powertools-typescript/issues/1343 --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index dafe17ab5d..4938032649 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "init-environment": "husky install", "test": "npm t -ws", "commit": "commit", - "package": "npm run package", + "package": "npm run package -ws", "setup-local": "export PROJECT_ROOT=$(pwd) && npm ci --foreground-scripts && cd $PROJECT_ROOT/examples/cdk && npm ci && cd $PROJECT_ROOT/examples/sam && npm ci && cd $PROJECT_ROOT/ && npm run init-environment", "build": "npm run build -ws", "postversion": "git push && git push --tags", @@ -87,4 +87,4 @@ "dependencies": { "hosted-git-info": "^6.1.1" } -} \ No newline at end of file +} From 3826406741d3582b40f4ce9ad5dc2c35bfbda768 Mon Sep 17 00:00:00 2001 From: Muthu Venkatachalam Date: Tue, 28 Feb 2023 09:11:47 -0500 Subject: [PATCH 2/2] fix review comments, skip package for docs snippets --- docs/snippets/package.json | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/snippets/package.json b/docs/snippets/package.json index 48cb3fa3da..8779dea179 100644 --- a/docs/snippets/package.json +++ b/docs/snippets/package.json @@ -9,6 +9,7 @@ "scripts": { "test": "echo 'Not Applicable'", "test:e2e": "echo 'Not Applicable'", + "package": "echo 'Not applicable'", "build": "echo 'Not Applicable'", "lint": "eslint --ext .ts --no-error-on-unmatched-pattern logger tracer metrics parameters", "lint-fix": "eslint --fix --ext .ts --no-error-on-unmatched-pattern logger tracer metrics parameters" diff --git a/package.json b/package.json index 4938032649..d9db61efa2 100644 --- a/package.json +++ b/package.json @@ -87,4 +87,4 @@ "dependencies": { "hosted-git-info": "^6.1.1" } -} +} \ No newline at end of file