From 55aaf15022ac36aee77369b104388c47b1165821 Mon Sep 17 00:00:00 2001 From: Gianfranco Paoloni Date: Fri, 3 Jan 2025 12:05:57 -0300 Subject: [PATCH] Revert "chore: rollback deps" This reverts commit 641f4c99f997c6c62ffa8176fbae2d91e94d61b3. --- hrm-domain/hrm-core/package.json | 3 +- package-lock.json | 91 +++++++++++++++++++----- packages/twilio-worker-auth/package.json | 1 + 3 files changed, 78 insertions(+), 17 deletions(-) diff --git a/hrm-domain/hrm-core/package.json b/hrm-domain/hrm-core/package.json index 20e6b1afe..9ce7aa76b 100644 --- a/hrm-domain/hrm-core/package.json +++ b/hrm-domain/hrm-core/package.json @@ -23,14 +23,15 @@ }, "homepage": "https://github.com/tech-matters/hrm#readme", "dependencies": { + "@tech-matters/config-ssm-cache": "^1.0.0", "@tech-matters/elasticsearch-client": "^1.0.0", "@tech-matters/hrm-search-config": "^1.0.0", "@tech-matters/hrm-types": "^1.0.0", "@tech-matters/http": "^1.0.0", "@tech-matters/resources-service": "^1.0.0", "@tech-matters/s3-client": "^1.0.0", - "@tech-matters/sqs-client": "^1.0.0", "@tech-matters/sns-client": "^1.0.0", + "@tech-matters/sqs-client": "^1.0.0", "@tech-matters/ssm-cache": "^1.0.0", "@tech-matters/twilio-client": "^1.0.0", "@tech-matters/twilio-worker-auth": "^1.0.0", diff --git a/package-lock.json b/package-lock.json index 2c24a44dc..f8001100f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -67,6 +67,7 @@ "version": "1.0.0", "license": "AGPL", "dependencies": { + "@tech-matters/config-ssm-cache": "^1.0.0", "@tech-matters/elasticsearch-client": "^1.0.0", "@tech-matters/hrm-search-config": "^1.0.0", "@tech-matters/hrm-types": "^1.0.0", @@ -277,7 +278,8 @@ "devDependencies": { "@tsconfig/node16": "^1.0.3", "@types/aws-lambda": "^8.10.108", - "ts-node": "^10.9.1" + "ts-node": "^10.9.1", + "typescript": "^4.8.4" } }, "hrm-domain/lambdas/files-urls": { @@ -296,7 +298,8 @@ "@tsconfig/node16": "^1.0.3", "@types/aws-lambda": "^8.10.108", "jest-mock": "^29.6.2", - "node-fetch": "^2.5.10" + "node-fetch": "^2.5.10", + "typescript": "^4.8.4" } }, "hrm-domain/lambdas/search-index-consumer": { @@ -315,7 +318,8 @@ }, "devDependencies": { "@tsconfig/node16": "^1.0.3", - "@types/aws-lambda": "^8.10.108" + "@types/aws-lambda": "^8.10.108", + "typescript": "^4.8.4" } }, "hrm-domain/packages/hrm-search-config": { @@ -429,7 +433,8 @@ }, "devDependencies": { "@tsconfig/node16": "^1.0.3", - "@types/aws-lambda": "^8.10.108" + "@types/aws-lambda": "^8.10.108", + "typescript": "^4.8.4" } }, "lambdas/packages/alb-handler": { @@ -7818,6 +7823,10 @@ "resolved": "hrm-domain/scheduled-tasks/case-status-transition", "link": true }, + "node_modules/@tech-matters/config-ssm-cache": { + "resolved": "packages/config-ssm-cache", + "link": true + }, "node_modules/@tech-matters/contact-job-cleanup": { "resolved": "hrm-domain/scheduled-tasks/contact-job-cleanup", "link": true @@ -18211,6 +18220,7 @@ "version": "4.9.5", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", + "devOptional": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -18789,6 +18799,15 @@ "resolved": "https://registry.npmjs.org/zstd-codec/-/zstd-codec-0.1.4.tgz", "integrity": "sha512-KYnWoFWgGtWyQEKNnUcb3u8ZtKO8dn5d8u+oGpxPlopqsPyv60U8suDyfk7Z7UtAO6Sk5i1aVcAs9RbaB1n36A==" }, + "packages/config-ssm-cache": { + "name": "@tech-matters/config-ssm-cache", + "version": "1.0.0", + "license": "AGPL", + "dependencies": { + "@tech-matters/ssm-cache": "^1.0.0", + "@tech-matters/types": "^1.0.0" + } + }, "packages/elasticsearch-client": { "name": "@tech-matters/elasticsearch-client", "version": "1.0.0", @@ -18888,8 +18907,7 @@ "version": "1.0.0", "license": "AGPL", "dependencies": { - "@aws-sdk/client-ssm": "^3.391.0", - "typescript": "^4.8.4" + "@aws-sdk/client-ssm": "^3.391.0" }, "devDependencies": { "aws-sdk-client-mock": "^3.0.0", @@ -18924,6 +18942,7 @@ "version": "1.0.0", "license": "AGPL", "dependencies": { + "@tech-matters/config-ssm-cache": "^1.0.0", "@tech-matters/http": "^1.0.0", "@tech-matters/types": "^1.0.0", "twilio-flex-token-validator": "^1.5.6" @@ -18971,7 +18990,8 @@ "@types/node": "^18.16.2", "date-fns": "^2.29.3", "jest-each": "^29.5.0", - "ts-node": "^10.9.1" + "ts-node": "^10.9.1", + "typescript": "^4.8.4" } }, "resources-domain/lambdas/import-consumer/node_modules/@types/node": { @@ -18997,6 +19017,7 @@ "@types/node": "^18.16.2", "jest-each": "^29.5.0", "ts-node": "^10.9.1", + "typescript": "^4.8.4", "undici": "^5.28.3" } }, @@ -19020,7 +19041,21 @@ }, "devDependencies": { "@tsconfig/node16": "^1.0.3", - "@types/aws-lambda": "^8.10.108" + "@types/aws-lambda": "^8.10.108", + "typescript": "^4.8.4" + } + }, + "resources-domain/lambdas/search-index/node_modules/typescript": { + "version": "4.8.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.4.tgz", + "integrity": "sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==", + "dev": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=4.2.0" } }, "resources-domain/packages/resources-search-config": { @@ -24941,6 +24976,13 @@ "date-fns": "^2.28.0" } }, + "@tech-matters/config-ssm-cache": { + "version": "file:packages/config-ssm-cache", + "requires": { + "@tech-matters/ssm-cache": "^1.0.0", + "@tech-matters/types": "^1.0.0" + } + }, "@tech-matters/contact-job-cleanup": { "version": "file:hrm-domain/scheduled-tasks/contact-job-cleanup", "requires": { @@ -24993,6 +25035,7 @@ "@tech-matters/hrm-core": { "version": "file:hrm-domain/hrm-core", "requires": { + "@tech-matters/config-ssm-cache": "^1.0.0", "@tech-matters/elasticsearch-client": "^1.0.0", "@tech-matters/hrm-search-config": "^1.0.0", "@tech-matters/hrm-types": "^1.0.0", @@ -25084,7 +25127,8 @@ "@tsconfig/node16": "^1.0.3", "@types/aws-lambda": "^8.10.108", "jest-mock": "^29.6.2", - "node-fetch": "^2.5.10" + "node-fetch": "^2.5.10", + "typescript": "^4.8.4" } }, "@tech-matters/hrm-jobs-contact-complete": { @@ -25112,6 +25156,7 @@ "@types/aws-lambda": "^8.10.108", "ts-node": "^10.9.1", "twilio": "^3.83.3", + "typescript": "^4.8.4", "util": "^0.12.4" } }, @@ -25126,7 +25171,8 @@ "@types/node": "^18.16.2", "date-fns": "^2.29.3", "jest-each": "^29.5.0", - "ts-node": "^10.9.1" + "ts-node": "^10.9.1", + "typescript": "^4.8.4" }, "dependencies": { "@types/node": { @@ -25159,7 +25205,8 @@ "@tech-matters/ssm-cache": "^1.0.0", "@tech-matters/types": "^1.0.0", "@tsconfig/node16": "^1.0.3", - "@types/aws-lambda": "^8.10.108" + "@types/aws-lambda": "^8.10.108", + "typescript": "^4.8.4" } }, "@tech-matters/hrm-service": { @@ -25264,7 +25311,8 @@ "@tech-matters/ssm-cache": "^1.0.0", "@tech-matters/types": "^1.0.0", "@tsconfig/node16": "^1.0.3", - "@types/aws-lambda": "^8.10.108" + "@types/aws-lambda": "^8.10.108", + "typescript": "^4.8.4" } }, "@tech-matters/job-errors": { @@ -25297,6 +25345,7 @@ "jest-each": "^29.5.0", "lodash": "^4.17.21", "ts-node": "^10.9.1", + "typescript": "^4.8.4", "undici": "^5.28.3" }, "dependencies": { @@ -25328,7 +25377,16 @@ "@tech-matters/ssm-cache": "^1.0.0", "@tech-matters/types": "^1.0.0", "@tsconfig/node16": "^1.0.3", - "@types/aws-lambda": "^8.10.108" + "@types/aws-lambda": "^8.10.108", + "typescript": "^4.8.4" + }, + "dependencies": { + "typescript": { + "version": "4.8.4", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.8.4.tgz", + "integrity": "sha512-QCh+85mCy+h0IGff8r5XWzOVSbBO+KfeYrMQh7NJ58QujwcE22u+NUSmUxqF+un70P9GXKxa2HCNiTTMJknyjQ==", + "dev": true + } } }, "@tech-matters/resources-service": { @@ -25410,8 +25468,7 @@ "requires": { "@aws-sdk/client-ssm": "^3.391.0", "aws-sdk-client-mock": "^3.0.0", - "date-fns": "^2.29.3", - "typescript": "^4.8.4" + "date-fns": "^2.29.3" } }, "@tech-matters/testing": { @@ -25466,6 +25523,7 @@ "@tech-matters/twilio-worker-auth": { "version": "file:packages/twilio-worker-auth", "requires": { + "@tech-matters/config-ssm-cache": "^1.0.0", "@tech-matters/http": "^1.0.0", "@tech-matters/types": "^1.0.0", "jest-each": "^29.2.1", @@ -33235,7 +33293,8 @@ "typescript": { "version": "4.9.5", "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", - "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==" + "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", + "devOptional": true }, "umzug": { "version": "3.3.1", diff --git a/packages/twilio-worker-auth/package.json b/packages/twilio-worker-auth/package.json index 7cab789c0..7a34e115a 100644 --- a/packages/twilio-worker-auth/package.json +++ b/packages/twilio-worker-auth/package.json @@ -10,6 +10,7 @@ "test": "tests" }, "dependencies": { + "@tech-matters/config-ssm-cache": "^1.0.0", "@tech-matters/http": "^1.0.0", "@tech-matters/types": "^1.0.0", "twilio-flex-token-validator": "^1.5.6"