From a833015b0e2ef8039b54ebf9e3be3becec41be23 Mon Sep 17 00:00:00 2001 From: Andrea Amorosi Date: Mon, 17 Oct 2022 10:41:17 +0200 Subject: [PATCH 1/2] fix: update version command to use lint-fix --- package.json | 2 +- packages/commons/package.json | 4 ++-- packages/logger/package.json | 4 ++-- packages/metrics/package.json | 4 ++-- packages/tracer/package.json | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index e0a5025392..211dcd6919 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "lerna-prepare": "lerna exec -- npm run build", "lerna-prepublishOnly": "lerna exec -- npm test && lerna exec -- npm run lint", "lerna-preversion": "lerna exec -- npm run lint", - "lerna-version": "lerna exec -- npm run format && git add -A src", + "lerna-version": "lerna exec -- npm run lint-fix && git add -A src", "postversion": "git push && git push --tags", "docs-website-build-run": "npm run docs-buildDockerImage && npm run docs-runLocalDocker", "docs-buildDockerImage": "docker build -t powertool-typescript/docs ./docs/", diff --git a/packages/commons/package.json b/packages/commons/package.json index a24ab07859..73b625c22b 100644 --- a/packages/commons/package.json +++ b/packages/commons/package.json @@ -23,7 +23,7 @@ "prepare": "npm run build", "prepublishOnly": "npm test && npm run lint", "preversion": "npm run lint", - "version": "npm run format && git add -A src", + "version": "npm run lint-fix && git add -A src", "postversion": "git push && git push --tags" }, "homepage": "https://github.com/awslabs/aws-lambda-powertools-typescript/tree/master/packages/metrics#readme", @@ -48,4 +48,4 @@ "serverless", "nodejs" ] -} +} \ No newline at end of file diff --git a/packages/logger/package.json b/packages/logger/package.json index f646569cd9..f5d33fce14 100644 --- a/packages/logger/package.json +++ b/packages/logger/package.json @@ -26,7 +26,7 @@ "prepare": "npm run build", "prepublishOnly": "npm test && npm run lint", "preversion": "npm run lint", - "version": "npm run format && git add -A src", + "version": "npm run lint-fix && git add -A src", "postversion": "git push && git push --tags" }, "homepage": "https://github.com/awslabs/aws-lambda-powertools-typescript/tree/master/packages/logging#readme", @@ -64,4 +64,4 @@ "serverless", "nodejs" ] -} +} \ No newline at end of file diff --git a/packages/metrics/package.json b/packages/metrics/package.json index ec26a65c45..18acda24bf 100644 --- a/packages/metrics/package.json +++ b/packages/metrics/package.json @@ -26,7 +26,7 @@ "prepare": "npm run build", "prepublishOnly": "npm test && npm run lint", "preversion": "npm run lint", - "version": "npm run format && git add -A src", + "version": "npm run lint-fix && git add -A src", "postversion": "git push && git push --tags" }, "homepage": "https://github.com/awslabs/aws-lambda-powertools-typescript/tree/master/packages/metrics#readme", @@ -59,4 +59,4 @@ "serverless", "nodejs" ] -} +} \ No newline at end of file diff --git a/packages/tracer/package.json b/packages/tracer/package.json index 93708217e0..f30e642735 100644 --- a/packages/tracer/package.json +++ b/packages/tracer/package.json @@ -24,7 +24,7 @@ "prepare": "npm run build", "prepublishOnly": "npm test && npm run lint", "preversion": "npm run lint", - "version": "npm run format && git add -A src", + "version": "npm run lint-fix && git add -A src", "postversion": "git push && git push --tags", "package": "mkdir -p dist/ && npm pack && mv *.tgz dist/", "package-bundle": "../../package-bundler.sh tracer-bundle ./dist" @@ -62,4 +62,4 @@ "serverless", "nodejs" ] -} +} \ No newline at end of file From 99ad351734c9818e6a106df2497318f5edc445d0 Mon Sep 17 00:00:00 2001 From: Andrea Amorosi Date: Mon, 17 Oct 2022 12:00:08 +0200 Subject: [PATCH 2/2] fix: update version command to use lint-fix --- packages/idempotency/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/idempotency/package.json b/packages/idempotency/package.json index 60fca20565..a782055d5a 100644 --- a/packages/idempotency/package.json +++ b/packages/idempotency/package.json @@ -26,7 +26,7 @@ "prepare": "npm run build", "prepublishOnly": "npm test && npm run lint", "preversion": "npm run lint", - "version": "npm run format && git add -A src", + "version": "npm run lint-fix && git add -A src", "postversion": "git push && git push --tags" }, "homepage": "https://github.com/awslabs/aws-lambda-powertools-typescript/tree/master/packages/idempotency#readme", @@ -54,4 +54,4 @@ "serverless", "nodejs" ] -} +} \ No newline at end of file