From 8af4f71a8421e77134702ff37bb446c5a5575f1f Mon Sep 17 00:00:00 2001 From: Benjamin Cai Date: Thu, 30 May 2024 12:21:17 -0500 Subject: [PATCH] refactor: move CDF attribution dependency to devDeps --- source/packages/libraries/core/attribution/package.json | 7 ++----- source/packages/services/assetlibrary-export/package.json | 4 +--- source/packages/services/assetlibrary/package.json | 4 +--- source/packages/services/assetlibraryhistory/package.json | 4 +--- source/packages/services/bulkcerts/package.json | 4 +--- source/packages/services/certificateactivator/package.json | 4 +--- source/packages/services/certificatevendor/package.json | 4 +--- source/packages/services/command-and-control/package.json | 4 +--- source/packages/services/device-patcher/package.json | 4 +--- source/packages/services/events-alerts/package.json | 4 +--- source/packages/services/events-processor/package.json | 4 +--- .../services/greengrass2-provisioning/package.json | 4 +--- source/packages/services/organization-manager/package.json | 4 +--- source/packages/services/provisioning/package.json | 4 +--- 14 files changed, 15 insertions(+), 44 deletions(-) diff --git a/source/packages/libraries/core/attribution/package.json b/source/packages/libraries/core/attribution/package.json index 14907f3b..b2fc1e2d 100644 --- a/source/packages/libraries/core/attribution/package.json +++ b/source/packages/libraries/core/attribution/package.json @@ -13,13 +13,10 @@ }, "devDependencies": { "@awssolutions/eslint-config-custom": "workspace:~0.0.0", + "@awssolutions/cdf-version": "workspace:~0.0.0", "@types/node": "^18.17.0", "typescript": "4.2.4", "@typescript-eslint/eslint-plugin": "6.2.0" }, - "license": "ISC", - "dependencies": { - "@awssolutions/cdf-version": "workspace:~0.0.0", - "@types/node": "^18.17.0" - } + "license": "ISC" } diff --git a/source/packages/services/assetlibrary-export/package.json b/source/packages/services/assetlibrary-export/package.json index 5394b2d9..65547921 100644 --- a/source/packages/services/assetlibrary-export/package.json +++ b/source/packages/services/assetlibrary-export/package.json @@ -42,6 +42,7 @@ "@awssolutions/cdf-logger": "workspace:^2.6.2", "@awssolutions/eslint-config-custom": "workspace:~0.0.0", "@awssolutions/simple-cdf-logger": "workspace:^2.6.2", + "@awssolutions/cdf-attribution": "workspace:~0.0.0", "@types/body-parser": "1.19.2", "@types/cors": "2.8.8", "@types/dotenv-flow": "~3.2.0", @@ -91,8 +92,5 @@ "typescript": "4.2.4", "winston": "3.2.1", "winston-transport": "4.3.0" - }, - "dependencies": { - "@awssolutions/cdf-attribution": "workspace:~0.0.0" } } diff --git a/source/packages/services/assetlibrary/package.json b/source/packages/services/assetlibrary/package.json index 89a6e5c3..19b3e250 100644 --- a/source/packages/services/assetlibrary/package.json +++ b/source/packages/services/assetlibrary/package.json @@ -47,6 +47,7 @@ "@awssolutions/cdf-logger": "workspace:^2.6.2", "@awssolutions/eslint-config-custom": "workspace:~0.0.0", "@awssolutions/simple-cdf-logger": "workspace:^2.6.2", + "@awssolutions/cdf-attribution": "workspace:~0.0.0", "@types/body-parser": "1.19.2", "@types/cors": "2.8.10", "@types/dotenv-flow": "~3.2.0", @@ -98,8 +99,5 @@ "typescript": "4.2.4", "winston": "3.3.3", "winston-transport": "4.4.0" - }, - "dependencies": { - "@awssolutions/cdf-attribution": "workspace:~0.0.0" } } diff --git a/source/packages/services/assetlibraryhistory/package.json b/source/packages/services/assetlibraryhistory/package.json index 34d484e6..d1b51e34 100644 --- a/source/packages/services/assetlibraryhistory/package.json +++ b/source/packages/services/assetlibraryhistory/package.json @@ -46,6 +46,7 @@ "@awssolutions/cdf-logger": "workspace:^2.6.2", "@awssolutions/eslint-config-custom": "workspace:~0.0.0", "@awssolutions/simple-cdf-logger": "workspace:^2.6.2", + "@awssolutions/cdf-attribution": "workspace:~0.0.0", "@types/atob": "2.1.2", "@types/body-parser": "1.19.2", "@types/btoa": "1.2.3", @@ -88,8 +89,5 @@ "typescript": "4.2.4", "winston": "3.3.3", "winston-transport": "4.4.0" - }, - "dependencies": { - "@awssolutions/cdf-attribution": "workspace:~0.0.0" } } diff --git a/source/packages/services/bulkcerts/package.json b/source/packages/services/bulkcerts/package.json index 1754096a..d4c1772f 100644 --- a/source/packages/services/bulkcerts/package.json +++ b/source/packages/services/bulkcerts/package.json @@ -49,6 +49,7 @@ "@awssolutions/cdf-logger": "workspace:^2.6.2", "@awssolutions/eslint-config-custom": "workspace:~0.0.0", "@awssolutions/simple-cdf-logger": "workspace:^2.6.2", + "@awssolutions/cdf-attribution": "workspace:~0.0.0", "@types/aws-lambda": "8.10.65", "@types/aws-serverless-express": "3.3.3", "@types/body-parser": "1.19.2", @@ -92,8 +93,5 @@ "uuid": "8.3.2", "winston": "3.3.3", "winston-transport": "4.4.0" - }, - "dependencies": { - "@awssolutions/cdf-attribution": "workspace:~0.0.0" } } diff --git a/source/packages/services/certificateactivator/package.json b/source/packages/services/certificateactivator/package.json index 90631cea..322d64d6 100644 --- a/source/packages/services/certificateactivator/package.json +++ b/source/packages/services/certificateactivator/package.json @@ -48,6 +48,7 @@ "@awssolutions/eslint-config-custom": "workspace:~0.0.0", "@awssolutions/simple-cdf-logger": "workspace:^2.6.2", "@awssolutions/cdf-provisioning-client": "workspace:^2.6.2", + "@awssolutions/cdf-attribution": "workspace:~0.0.0", "@types/atob": "2.1.2", "@types/dotenv-flow": "~3.2.0", "@types/jest": "26.0.23", @@ -82,8 +83,5 @@ "typescript": "4.2.4", "winston": "3.3.3", "winston-transport": "4.4.0" - }, - "dependencies": { - "@awssolutions/cdf-attribution": "workspace:~0.0.0" } } diff --git a/source/packages/services/certificatevendor/package.json b/source/packages/services/certificatevendor/package.json index 71b98b8a..db4395d7 100644 --- a/source/packages/services/certificatevendor/package.json +++ b/source/packages/services/certificatevendor/package.json @@ -44,6 +44,7 @@ "@awssolutions/cdf-logger": "workspace:^2.6.2", "@awssolutions/eslint-config-custom": "workspace:~0.0.0", "@awssolutions/simple-cdf-logger": "workspace:^2.6.2", + "@awssolutions/cdf-attribution": "workspace:~0.0.0", "@types/dotenv-flow": "~3.2.0", "@types/jest": "26.0.23", "@types/pem": "1.9.5", @@ -74,8 +75,5 @@ "typescript": "4.2.4", "winston": "3.3.3", "winston-transport": "4.4.0" - }, - "dependencies": { - "@awssolutions/cdf-attribution": "workspace:~0.0.0" } } diff --git a/source/packages/services/command-and-control/package.json b/source/packages/services/command-and-control/package.json index 16cf30d2..a9318e43 100644 --- a/source/packages/services/command-and-control/package.json +++ b/source/packages/services/command-and-control/package.json @@ -51,6 +51,7 @@ "@awssolutions/simple-cdf-logger": "workspace:^2.6.2", "@awssolutions/cdf-provisioning-client": "workspace:^2.6.2", "@awssolutions/cdf-thing-list-builder": "workspace:~0.0.0", + "@awssolutions/cdf-attribution": "workspace:~0.0.0", "@types/aws-lambda": "8.10.89", "@types/body-parser": "1.19.2", "@types/busboy": "1.5.4", @@ -96,8 +97,5 @@ "typescript": "4.2.4", "winston": "3.3.3", "winston-transport": "4.4.0" - }, - "dependencies": { - "@awssolutions/cdf-attribution": "workspace:~0.0.0" } } diff --git a/source/packages/services/device-patcher/package.json b/source/packages/services/device-patcher/package.json index 78bdee12..65f47f7c 100644 --- a/source/packages/services/device-patcher/package.json +++ b/source/packages/services/device-patcher/package.json @@ -46,6 +46,7 @@ "@awssolutions/cdf-logger": "workspace:^2.6.2", "@awssolutions/eslint-config-custom": "workspace:~0.0.0", "@awssolutions/simple-cdf-logger": "workspace:^2.6.2", + "@awssolutions/cdf-attribution": "workspace:~0.0.0", "@types/atob": "2.1.2", "@types/body-parser": "1.19.2", "@types/btoa": "1.2.3", @@ -94,8 +95,5 @@ "uuid": "8.3.2", "winston": "3.3.3", "winston-transport": "4.4.0" - }, - "dependencies": { - "@awssolutions/cdf-attribution": "workspace:~0.0.0" } } diff --git a/source/packages/services/events-alerts/package.json b/source/packages/services/events-alerts/package.json index 2dc45f12..bee931bf 100644 --- a/source/packages/services/events-alerts/package.json +++ b/source/packages/services/events-alerts/package.json @@ -42,6 +42,7 @@ "@awssolutions/cdf-logger": "workspace:^2.6.2", "@awssolutions/eslint-config-custom": "workspace:~0.0.0", "@awssolutions/simple-cdf-logger": "workspace:^2.6.2", + "@awssolutions/cdf-attribution": "workspace:~0.0.0", "@types/cors": "2.8.10", "@types/dot": "1.1.4", "@types/dotenv-flow": "~3.2.0", @@ -76,8 +77,5 @@ "uuid": "8.3.2", "winston": "3.3.3", "winston-transport": "4.4.0" - }, - "dependencies": { - "@awssolutions/cdf-attribution": "workspace:~0.0.0" } } diff --git a/source/packages/services/events-processor/package.json b/source/packages/services/events-processor/package.json index c0c20a8b..e5e7d4bf 100644 --- a/source/packages/services/events-processor/package.json +++ b/source/packages/services/events-processor/package.json @@ -43,6 +43,7 @@ "@awssolutions/cdf-logger": "workspace:^2.6.2", "@awssolutions/eslint-config-custom": "workspace:~0.0.0", "@awssolutions/simple-cdf-logger": "workspace:^2.6.2", + "@awssolutions/cdf-attribution": "workspace:~0.0.0", "@types/aws-lambda": "8.10.65", "@types/body-parser": "1.19.2", "@types/cors": "2.8.10", @@ -88,8 +89,5 @@ "uuid": "8.3.2", "winston": "3.3.3", "winston-transport": "4.4.0" - }, - "dependencies": { - "@awssolutions/cdf-attribution": "workspace:~0.0.0" } } diff --git a/source/packages/services/greengrass2-provisioning/package.json b/source/packages/services/greengrass2-provisioning/package.json index 9347b27e..35ee145a 100644 --- a/source/packages/services/greengrass2-provisioning/package.json +++ b/source/packages/services/greengrass2-provisioning/package.json @@ -62,6 +62,7 @@ "@awssolutions/simple-cdf-logger": "workspace:^2.6.2", "@awssolutions/cdf-provisioning-client": "workspace:^2.6.2", "@awssolutions/cdf-thing-list-builder": "workspace:~0.0.0", + "@awssolutions/cdf-attribution": "workspace:~0.0.0", "@types/adm-zip": "0.4.34", "@types/aws-lambda": "8.10.84", "@types/body-parser": "1.19.2", @@ -104,8 +105,5 @@ "typescript": "4.2.4", "winston": "3.3.3", "winston-transport": "4.4.0" - }, - "dependencies": { - "@awssolutions/cdf-attribution": "workspace:~0.0.0" } } diff --git a/source/packages/services/organization-manager/package.json b/source/packages/services/organization-manager/package.json index d8045e35..79c5b71f 100644 --- a/source/packages/services/organization-manager/package.json +++ b/source/packages/services/organization-manager/package.json @@ -52,6 +52,7 @@ "@awssolutions/cdf-logger": "workspace:^2.6.2", "@awssolutions/eslint-config-custom": "workspace:~0.0.0", "@awssolutions/simple-cdf-logger": "workspace:^2.6.2", + "@awssolutions/cdf-attribution": "workspace:~0.0.0", "@types/aws-lambda": "~8.10.83", "@types/body-parser": "1.19.2", "@types/cors": "2.8.10", @@ -90,8 +91,5 @@ "typescript": "4.2.4", "winston": "3.3.3", "winston-transport": "4.4.0" - }, - "dependencies": { - "@awssolutions/cdf-attribution": "workspace:~0.0.0" } } diff --git a/source/packages/services/provisioning/package.json b/source/packages/services/provisioning/package.json index 51b635c5..888d3729 100644 --- a/source/packages/services/provisioning/package.json +++ b/source/packages/services/provisioning/package.json @@ -43,6 +43,7 @@ "@awssolutions/cdf-logger": "workspace:^2.6.2", "@awssolutions/eslint-config-custom": "workspace:~0.0.0", "@awssolutions/simple-cdf-logger": "workspace:^2.6.2", + "@awssolutions/cdf-attribution": "workspace:~0.0.0", "@types/body-parser": "1.19.2", "@types/cors": "2.8.10", "@types/dotenv-flow": "~3.2.0", @@ -88,8 +89,5 @@ "uuid": "8.3.2", "winston": "3.3.3", "winston-transport": "4.4.0" - }, - "dependencies": { - "@awssolutions/cdf-attribution": "workspace:~0.0.0" } }