diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index 8c48a0d8a..b1cca3159 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -1600,8 +1600,8 @@ importers: specifier: 2.0.6 version: 2.0.6(@yarnpkg/core@4.0.0-rc.51)(typanion@3.14.0) '@cats-cradle/create-bundle': - specifier: 1.0.9 - version: 1.0.9(@babel/core@7.23.5)(@types/node@20.10.5)(ts-node@10.9.2)(typescript@5.3.3) + specifier: 1.0.12 + version: 1.0.12(@babel/core@7.23.5)(@types/node@20.10.5)(ts-node@10.9.2)(typescript@5.3.3) '@cats-cradle/eslint-config': specifier: 1.0.11 version: 1.0.11 @@ -1739,8 +1739,8 @@ importers: specifier: 2.0.6 version: 2.0.6(@yarnpkg/core@4.0.0-rc.51)(typanion@3.14.0) '@cats-cradle/create-bundle': - specifier: 1.0.9 - version: 1.0.9(@babel/core@7.23.5)(@types/node@20.10.5)(ts-node@10.9.2)(typescript@5.3.3) + specifier: 1.0.12 + version: 1.0.12(@babel/core@7.23.5)(@types/node@20.10.5)(ts-node@10.9.2)(typescript@5.3.3) '@cats-cradle/eslint-config': specifier: 1.0.11 version: 1.0.11 @@ -1866,8 +1866,8 @@ importers: specifier: 2.0.6 version: 2.0.6(@yarnpkg/core@4.0.0-rc.51)(typanion@3.14.0) '@cats-cradle/create-bundle': - specifier: 1.0.9 - version: 1.0.9(@babel/core@7.23.5)(@types/node@20.10.5)(ts-node@10.9.2)(typescript@5.3.3) + specifier: 1.0.12 + version: 1.0.12(@babel/core@7.23.5)(@types/node@20.10.5)(ts-node@10.9.2)(typescript@5.3.3) '@cats-cradle/eslint-config': specifier: 1.0.11 version: 1.0.11 @@ -2045,8 +2045,8 @@ importers: specifier: 2.0.6 version: 2.0.6(@yarnpkg/core@4.0.0-rc.51)(typanion@3.14.0) '@cats-cradle/create-bundle': - specifier: 1.0.9 - version: 1.0.9(@babel/core@7.23.5)(@types/node@20.10.5)(ts-node@10.9.2)(typescript@5.3.3) + specifier: 1.0.12 + version: 1.0.12(@babel/core@7.23.5)(@types/node@20.10.5)(ts-node@10.9.2)(typescript@5.3.3) '@cats-cradle/eslint-config': specifier: 1.0.11 version: 1.0.11 @@ -2190,8 +2190,8 @@ importers: specifier: 2.0.6 version: 2.0.6(@yarnpkg/core@4.0.0-rc.51)(typanion@3.14.0) '@cats-cradle/create-bundle': - specifier: 1.0.9 - version: 1.0.9(@babel/core@7.23.5)(@types/node@20.10.5)(ts-node@10.9.2)(typescript@5.3.3) + specifier: 1.0.12 + version: 1.0.12(@babel/core@7.23.5)(@types/node@20.10.5)(ts-node@10.9.2)(typescript@5.3.3) '@cats-cradle/eslint-config': specifier: 1.0.11 version: 1.0.11 @@ -2282,6 +2282,9 @@ importers: '@nestjs/testing': specifier: 9.2.1 version: 9.2.1(@nestjs/common@9.4.0)(@nestjs/core@9.2.1)(@nestjs/platform-express@9.3.9) + '@sparticuz/chromium': + specifier: 112.0.0 + version: 112.0.0 '@sparticuz/chromium-min': specifier: 112.0.0 version: 112.0.0 @@ -2332,8 +2335,8 @@ importers: specifier: 2.0.6 version: 2.0.6(@yarnpkg/core@4.0.0-rc.51)(typanion@3.14.0) '@cats-cradle/create-bundle': - specifier: 1.0.9 - version: 1.0.9(@babel/core@7.23.5)(@types/node@20.10.5)(ts-node@10.9.2)(typescript@5.3.3) + specifier: 1.0.12 + version: 1.0.12(@babel/core@7.23.5)(@types/node@20.10.5)(ts-node@10.9.2)(typescript@5.3.3) '@cats-cradle/eslint-config': specifier: 1.0.11 version: 1.0.11 @@ -2398,8 +2401,8 @@ importers: specifier: workspace:* version: link:../../platform/constructs '@cats-cradle/create-bundle': - specifier: 1.0.9 - version: 1.0.9(@babel/core@7.23.5)(@types/node@20.10.5)(ts-node@10.9.2)(typescript@5.3.3) + specifier: 1.0.12 + version: 1.0.12(@babel/core@7.23.5)(@types/node@20.10.5)(ts-node@10.9.2)(typescript@5.3.3) '@cats-cradle/nestjs-modules': specifier: workspace:* version: link:../../libraries/nestjs-modules @@ -2604,8 +2607,8 @@ importers: specifier: 2.0.6 version: 2.0.6(@yarnpkg/core@4.0.0-rc.51)(typanion@3.14.0) '@cats-cradle/create-bundle': - specifier: 1.0.9 - version: 1.0.9(@babel/core@7.23.5)(@types/node@20.10.5)(ts-node@10.9.2)(typescript@5.3.3) + specifier: 1.0.12 + version: 1.0.12(@babel/core@7.23.5)(@types/node@20.10.5)(ts-node@10.9.2)(typescript@5.3.3) '@cats-cradle/eslint-config': specifier: 1.0.11 version: 1.0.11 @@ -2743,8 +2746,8 @@ importers: specifier: 2.0.6 version: 2.0.6(@yarnpkg/core@4.0.0-rc.51)(typanion@3.14.0) '@cats-cradle/create-bundle': - specifier: 1.0.9 - version: 1.0.9(@babel/core@7.23.5)(@types/node@20.10.5)(ts-node@10.9.2)(typescript@5.3.3) + specifier: 1.0.12 + version: 1.0.12(@babel/core@7.23.5)(@types/node@20.10.5)(ts-node@10.9.2)(typescript@5.3.3) '@cats-cradle/eslint-config': specifier: 1.0.11 version: 1.0.11 @@ -2809,8 +2812,8 @@ importers: specifier: workspace:* version: link:../../platform/constructs '@cats-cradle/create-bundle': - specifier: 1.0.9 - version: 1.0.9(@babel/core@7.23.5)(@types/node@20.10.5)(ts-node@10.9.2)(typescript@5.3.3) + specifier: 1.0.12 + version: 1.0.12(@babel/core@7.23.5)(@types/node@20.10.5)(ts-node@10.9.2)(typescript@5.3.3) '@cats-cradle/nestjs-modules': specifier: workspace:* version: link:../../libraries/nestjs-modules @@ -2963,8 +2966,8 @@ importers: specifier: workspace:* version: link:../../platform/constructs '@cats-cradle/create-bundle': - specifier: 1.0.9 - version: 1.0.9(@babel/core@7.23.5)(@types/node@20.10.5)(ts-node@10.9.2)(typescript@5.3.3) + specifier: 1.0.12 + version: 1.0.12(@babel/core@7.23.5)(@types/node@20.10.5)(ts-node@10.9.2)(typescript@5.3.3) '@cats-cradle/nestjs-modules': specifier: workspace:* version: link:../../libraries/nestjs-modules @@ -7075,8 +7078,8 @@ packages: - typanion dev: true - /@cats-cradle/create-bundle@1.0.9(@babel/core@7.23.5)(@types/node@20.10.5)(ts-node@10.9.2)(typescript@5.3.3): - resolution: {integrity: sha512-i5UWC0blikaNRYk4rUESqTYQ6bVctHpqzklt0wT7SI6amczHGTyI/p6RGG2ua9g1mT9u1e1rxzCUGp3DWZqLVA==} + /@cats-cradle/create-bundle@1.0.12(@babel/core@7.23.5)(@types/node@20.10.5)(ts-node@10.9.2)(typescript@5.3.3): + resolution: {integrity: sha512-cwdOtHS9gexv4POq0h6xZGbg13E+ZxyK9AltxO1c3ZYrwS9tk+8+PJgPXqTVqilyGHqTBHUGAU4GeIG/BdsHzA==} hasBin: true dependencies: '@anatine/esbuild-decorators': 0.2.19(esbuild@0.17.19) @@ -12527,6 +12530,16 @@ packages: - debug dev: false + /@sparticuz/chromium@112.0.0: + resolution: {integrity: sha512-7C0XQTmd0s3xU0CyHMYxNwpcOUqjv2G9fBx1n+Y9w1AfdH1EqYzvtKiiFlagH9vr/KLikcrWpr1t+2lgG/NB9w==} + engines: {node: '>= 14.18.0'} + dependencies: + follow-redirects: 1.15.3 + tar-fs: 2.1.1 + transitivePeerDependencies: + - debug + dev: false + /@storybook/addon-a11y@7.6.3: resolution: {integrity: sha512-z/vaDkZgbLLqrLz2C1qr3lav5xuZDbBggtNdvnM1TFKqiaQu8MPC0oEe6QSFf2phREf7cB2Qa5LsW7ak16RddQ==} dependencies: diff --git a/common/config/rush/repo-state.json b/common/config/rush/repo-state.json index 6f288f759..203a5243c 100644 --- a/common/config/rush/repo-state.json +++ b/common/config/rush/repo-state.json @@ -1,5 +1,5 @@ // DO NOT MODIFY THIS FILE MANUALLY BUT DO COMMIT IT. It is generated and used by Rush. { - "pnpmShrinkwrapHash": "ccec2f270b02bf293d50edfd0195997ed4b3a241", + "pnpmShrinkwrapHash": "b209a35e98f12fa88d1188d3c62ad9ce898dc1e2", "preferredVersionsHash": "a48003cf229dd47d077bcf6301ac15a6f90e1c34" } diff --git a/services/authentication-service/package.json b/services/authentication-service/package.json index cabece4ea..020612f42 100644 --- a/services/authentication-service/package.json +++ b/services/authentication-service/package.json @@ -80,7 +80,7 @@ "ts-jest": "29.1.1", "ts-node": "10.9.2", "typescript": "5.3.3", - "@cats-cradle/create-bundle": "1.0.9", + "@cats-cradle/create-bundle": "1.0.12", "@shelf/jest-mongodb": "~4.1.7", "@types/passport": "~1.0.13" } diff --git a/services/billing-system/package.json b/services/billing-system/package.json index 096c4bc6d..b2c942b2b 100644 --- a/services/billing-system/package.json +++ b/services/billing-system/package.json @@ -65,7 +65,7 @@ "@types/lodash": "~4.14.202", "supertest": "~6.3.3", "@types/supertest": "~2.0.16", - "@cats-cradle/create-bundle": "1.0.9", + "@cats-cradle/create-bundle": "1.0.12", "@cats-cradle/create-artifact": "2.0.6" } } diff --git a/services/character-sheet/package.json b/services/character-sheet/package.json index 4de12d534..d673aa919 100644 --- a/services/character-sheet/package.json +++ b/services/character-sheet/package.json @@ -71,7 +71,7 @@ "ts-jest": "29.1.1", "ts-node": "10.9.2", "typescript": "5.3.3", - "@cats-cradle/create-bundle": "1.0.9", + "@cats-cradle/create-bundle": "1.0.12", "@shelf/jest-mongodb": "~4.1.7", "mongodb-memory-server-global": "8.13.0", "mongoose": "6.11.3" diff --git a/services/email-service/package.json b/services/email-service/package.json index 297000558..74f1e2e02 100644 --- a/services/email-service/package.json +++ b/services/email-service/package.json @@ -79,7 +79,7 @@ "@types/html-to-text": "~9.0.0", "@types/lodash": "~4.14.202", "@cats-cradle/create-artifact": "2.0.6", - "@cats-cradle/create-bundle": "1.0.9", + "@cats-cradle/create-bundle": "1.0.12", "@shelf/jest-mongodb": "~4.1.7", "mongodb": "6.0.0" } diff --git a/services/graphql/package.json b/services/graphql/package.json index 158f7fba5..078229451 100644 --- a/services/graphql/package.json +++ b/services/graphql/package.json @@ -65,7 +65,7 @@ "@types/lodash": "~4.14.202", "supertest": "~6.3.3", "@types/supertest": "~2.0.16", - "@cats-cradle/create-bundle": "1.0.9", + "@cats-cradle/create-bundle": "1.0.12", "@cats-cradle/create-artifact": "2.0.6" } } diff --git a/services/html-to-pdf/package.json b/services/html-to-pdf/package.json index 4860d10c2..a1c8040aa 100644 --- a/services/html-to-pdf/package.json +++ b/services/html-to-pdf/package.json @@ -59,6 +59,7 @@ "@nestjs/axios": "~2.0.0", "@cats-cradle/faker-factory": "workspace:*", "@sparticuz/chromium-min": "112.0.0", + "@sparticuz/chromium": "112.0.0", "puppeteer-core": "19.8.0", "uuid": "~9.0.1", "axios": "^0.21.1" @@ -82,7 +83,7 @@ "@types/lodash": "~4.14.202", "supertest": "~6.3.3", "@types/supertest": "~2.0.16", - "@cats-cradle/create-bundle": "1.0.9", + "@cats-cradle/create-bundle": "1.0.12", "@cats-cradle/create-artifact": "2.0.6", "axios": "^0.21.1" } diff --git a/services/html-to-pdf/src/module/pdf/pdf.service.ts b/services/html-to-pdf/src/module/pdf/pdf.service.ts index 02c46e93e..ba9743013 100644 --- a/services/html-to-pdf/src/module/pdf/pdf.service.ts +++ b/services/html-to-pdf/src/module/pdf/pdf.service.ts @@ -2,6 +2,9 @@ import { Injectable } from '@nestjs/common'; import { Readable } from 'stream'; import puppeteer, { PDFOptions } from 'puppeteer-core'; + +// TOGGLE for local development +// import chromium from '@sparticuz/chromium'; import chromium from '@sparticuz/chromium-min'; @Injectable() @@ -68,9 +71,11 @@ export class PdfService { } private async getBrowser() { - const CHROMIUM_EXECUTABLE_PATH = process.env.AWS_EXECUTION_ENV - ? '/opt/nodejs/node_modules/@sparticuz/chromium/bin' - : undefined; + let CHROMIUM_EXECUTABLE_PATH: string | undefined; + + if (process.env.AWS_EXECUTION_ENV) { + CHROMIUM_EXECUTABLE_PATH = '/opt/nodejs/node_modules/@sparticuz/chromium/bin'; + } await chromium.font( 'http://themes.googleusercontent.com/static/fonts/opensans/v6/cJZKeOuBrn4kERxqtaUH3aCWcynf_cDxXwCLxiixG1c.ttf', diff --git a/services/html-to-pdf/stacks/__snapshots__/html-to-pdf.stack.test.ts.snap b/services/html-to-pdf/stacks/__snapshots__/html-to-pdf.stack.test.ts.snap index 278d1f332..a21943916 100644 --- a/services/html-to-pdf/stacks/__snapshots__/html-to-pdf.stack.test.ts.snap +++ b/services/html-to-pdf/stacks/__snapshots__/html-to-pdf.stack.test.ts.snap @@ -94,22 +94,6 @@ exports[`HtmlToPdfStack should match snapshot test 1`] = ` }, }, Resources: { - ChromiumLayer505381F6: { - Properties: { - CompatibleRuntimes: [ - nodejs18.x, - ], - Content: { - S3Bucket: { - Fn::Sub: cdk-hnb659fds-assets-\${AWS::AccountId}-\${AWS::Region}, - }, - S3Key: UNIQUE_HASH.zip, - }, - Description: Chromium layer for Lambda, - LayerName: ChromiumLayer, - }, - Type: AWS::Lambda::LayerVersion, - }, LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aFD4BFC8A: { DependsOn: [ LogRetentionaae0aa3c5b4d4f87b02d85b201efdd8aServiceRoleDefaultPolicyADDA7DEB, @@ -189,6 +173,172 @@ exports[`HtmlToPdfStack should match snapshot test 1`] = ` }, Type: AWS::IAM::Policy, }, + MyTestStackchromiumlayer08B9B7A7: { + Properties: { + CompatibleRuntimes: [ + nodejs18.x, + ], + Content: { + S3Bucket: { + Fn::Sub: cdk-hnb659fds-assets-\${AWS::AccountId}-\${AWS::Region}, + }, + S3Key: UNIQUE_HASH.zip, + }, + Description: Chromium layer for Lambda, + LayerName: ChromiumLayer, + }, + Type: AWS::Lambda::LayerVersion, + }, + MyTestStackpdfbucketbotroleDefaultPolicy90C2D1A4: { + Properties: { + PolicyDocument: { + Statement: [ + { + Action: [ + s3:DeleteObject*, + s3:PutObject, + s3:PutObjectLegalHold, + s3:PutObjectRetention, + s3:PutObjectTagging, + s3:PutObjectVersionTagging, + s3:Abort*, + ], + Effect: Allow, + Resource: [ + { + Fn::GetAtt: [ + MyTestStacks3bucketE42B0863, + Arn, + ], + }, + { + Fn::Join: [ + , + [ + { + Fn::GetAtt: [ + MyTestStacks3bucketE42B0863, + Arn, + ], + }, + /uploads/*, + ], + ], + }, + ], + }, + ], + Version: 2012-10-17, + }, + PolicyName: MyTestStackpdfbucketbotroleDefaultPolicy90C2D1A4, + Roles: [ + { + Ref: MyTestStackpdfbucketbotroleEB9529D7, + }, + ], + }, + Type: AWS::IAM::Policy, + }, + MyTestStackpdfbucketbotroleEB9529D7: { + Properties: { + AssumeRolePolicyDocument: { + Statement: [ + { + Action: sts:AssumeRole, + Effect: Allow, + Principal: { + Service: lambda.amazonaws.com, + }, + }, + ], + Version: 2012-10-17, + }, + }, + Type: AWS::IAM::Role, + }, + MyTestStacks3bucketE42B0863: { + DeletionPolicy: Delete, + Properties: { + BucketEncryption: { + ServerSideEncryptionConfiguration: [ + { + ServerSideEncryptionByDefault: { + SSEAlgorithm: AES256, + }, + }, + ], + }, + BucketName: { + Fn::Join: [ + , + [ + { + Ref: AWS::AccountId, + }, + -default-html-to-pdf-bucket, + ], + ], + }, + PublicAccessBlockConfiguration: { + BlockPublicAcls: true, + BlockPublicPolicy: true, + IgnorePublicAcls: true, + RestrictPublicBuckets: true, + }, + VersioningConfiguration: { + Status: Enabled, + }, + }, + Type: AWS::S3::Bucket, + UpdateReplacePolicy: Delete, + }, + MyTestStacks3bucketPolicyC29CB7B2: { + Properties: { + Bucket: { + Ref: MyTestStacks3bucketE42B0863, + }, + PolicyDocument: { + Statement: [ + { + Action: s3:*, + Condition: { + Bool: { + aws:SecureTransport: false, + }, + }, + Effect: Deny, + Principal: { + AWS: *, + }, + Resource: [ + { + Fn::GetAtt: [ + MyTestStacks3bucketE42B0863, + Arn, + ], + }, + { + Fn::Join: [ + , + [ + { + Fn::GetAtt: [ + MyTestStacks3bucketE42B0863, + Arn, + ], + }, + /*, + ], + ], + }, + ], + }, + ], + Version: 2012-10-17, + }, + }, + Type: AWS::S3::BucketPolicy, + }, htmltopdfstackhtmltopdfstackapiendpointhtmltopdfstackapiendpointapigatewayaliasrecord366F7DAC: { Properties: { AliasTarget: { @@ -680,7 +830,7 @@ exports[`HtmlToPdfStack should match snapshot test 1`] = ` Handler: index.handler, Layers: [ { - Ref: ChromiumLayer505381F6, + Ref: MyTestStackchromiumlayer08B9B7A7, }, { Ref: lambdalayernestjslatestversionssmParameter, diff --git a/services/html-to-pdf/stacks/html-to-pdf.stack.ts b/services/html-to-pdf/stacks/html-to-pdf.stack.ts index 8bcbb1028..c51012d1a 100644 --- a/services/html-to-pdf/stacks/html-to-pdf.stack.ts +++ b/services/html-to-pdf/stacks/html-to-pdf.stack.ts @@ -1,16 +1,40 @@ import { Microservice } from '@cats-cradle/constructs'; import { Construct } from 'constructs'; import * as cdk from 'aws-cdk-lib'; -import { StackProps } from 'aws-cdk-lib'; +import * as s3 from 'aws-cdk-lib/aws-s3'; +import { StackProps, RemovalPolicy } from 'aws-cdk-lib'; import * as path from 'path'; import { Code, LayerVersion, Runtime } from 'aws-cdk-lib/aws-lambda'; +import * as iam from 'aws-cdk-lib/aws-iam'; import { CHROMIUM_ZIP_FILEPATH } from './download-lambda-layer'; export class HtmlToPdfStack extends cdk.Stack { constructor(scope: Construct, id: string, props?: StackProps) { super(scope, id, props); - const chromiumLambdaLayer = new LayerVersion(this, 'ChromiumLayer', { + const awsAccountId = cdk.Stack.of(this).account; + const stageName = process.env.STAGE_NAME ?? 'default'; + + // create a bucket to put the pdf generated in + + const pdfBucket = new s3.Bucket(this, `${id}-s3-bucket`, { + blockPublicAccess: s3.BlockPublicAccess.BLOCK_ALL, + bucketName: `${awsAccountId}-${stageName}-html-to-pdf-bucket`, + encryption: s3.BucketEncryption.S3_MANAGED, + enforceSSL: true, + versioned: true, + removalPolicy: RemovalPolicy.DESTROY, + }); + + const pdfBucketBotRole = new iam.Role(this, `${id}-pdf-bucket-bot-role`, { + assumedBy: new iam.ServicePrincipal('lambda.amazonaws.com'), + }); + + pdfBucket.grantWrite(pdfBucketBotRole, 'uploads/*'); + + // create a lambda capable of creating pdf from html + + const chromiumLambdaLayer = new LayerVersion(this, `${id}-chromium-layer`, { layerVersionName: 'ChromiumLayer', code: Code.fromAsset(CHROMIUM_ZIP_FILEPATH), compatibleRuntimes: [Runtime.NODEJS_18_X], @@ -22,8 +46,17 @@ export class HtmlToPdfStack extends cdk.Stack { projectRoot: path.join(__dirname, '..'), memorySize: 1600, layers: [chromiumLambdaLayer], + // role: pdfBucketBotRole }); + // TODO prefer dns routing being outside of microservice + // TODO check if gw change caused regression bug + + // TODO Add or remove media types that contain binary data. + // https://repost.aws/knowledge-center/api-gateway-binary-data-lambda + // Media type + // application/pdf + new cdk.CfnOutput(this, 'health check endpoint', { value: `${microservice.getBaseUrl()}/health`, }); diff --git a/services/instances/package.json b/services/instances/package.json index d7bd9438f..1c8064dee 100644 --- a/services/instances/package.json +++ b/services/instances/package.json @@ -45,7 +45,7 @@ "@cats-cradle/nestjs-modules": "workspace:*", "@cats-cradle/validation-schemas": "workspace:*", "@nestjs/config": "2.2.0", - "@cats-cradle/create-bundle": "1.0.9", + "@cats-cradle/create-bundle": "1.0.12", "@nestjs/mongoose": "9.2.1", "mongoose": "6.11.3" }, @@ -71,7 +71,7 @@ "supertest": "~6.3.3", "@types/supertest": "~2.0.16", "@cats-cradle/faker-factory": "workspace:*", - "@cats-cradle/create-bundle": "1.0.9", + "@cats-cradle/create-bundle": "1.0.12", "@fastify/static": "~6.9.0" } } diff --git a/services/jukebox/package.json b/services/jukebox/package.json index bd6fe37ca..b6cbe8bfb 100644 --- a/services/jukebox/package.json +++ b/services/jukebox/package.json @@ -70,7 +70,7 @@ "@types/supertest": "~2.0.16", "@cats-cradle/faker-factory": "workspace:*", "@fastify/static": "~6.9.0", - "@cats-cradle/create-bundle": "1.0.9", + "@cats-cradle/create-bundle": "1.0.12", "@cats-cradle/create-artifact": "2.0.6" } } diff --git a/services/luck-by-dice/package.json b/services/luck-by-dice/package.json index 39011e2ba..b32649fed 100644 --- a/services/luck-by-dice/package.json +++ b/services/luck-by-dice/package.json @@ -70,7 +70,7 @@ "@types/lodash": "~4.14.202", "supertest": "~6.3.3", "@types/supertest": "~2.0.16", - "@cats-cradle/create-bundle": "1.0.9", + "@cats-cradle/create-bundle": "1.0.12", "@cats-cradle/create-artifact": "2.0.6" } } diff --git a/services/player-achievements/package.json b/services/player-achievements/package.json index 396d2a17f..d975ad2f4 100644 --- a/services/player-achievements/package.json +++ b/services/player-achievements/package.json @@ -49,7 +49,7 @@ "@cats-cradle/nestjs-modules": "workspace:*", "@cats-cradle/validation-schemas": "workspace:*", "@nestjs/config": "2.2.0", - "@cats-cradle/create-bundle": "1.0.9", + "@cats-cradle/create-bundle": "1.0.12", "@nestjs/mongoose": "9.2.1", "mongoose": "6.11.3", "mongodb": "6.0.0", @@ -79,7 +79,7 @@ "supertest": "~6.3.3", "@types/supertest": "~2.0.16", "@cats-cradle/faker-factory": "workspace:*", - "@cats-cradle/create-bundle": "1.0.9", + "@cats-cradle/create-bundle": "1.0.12", "@fastify/static": "~6.9.0" } } diff --git a/services/weather-control/package.json b/services/weather-control/package.json index 0d10fda9a..d1c3b68ec 100644 --- a/services/weather-control/package.json +++ b/services/weather-control/package.json @@ -46,7 +46,7 @@ "@cats-cradle/validation-schemas": "workspace:*", "@nestjs/config": "2.2.0", "@nestjs/serve-static": "~3.0.1", - "@cats-cradle/create-bundle": "1.0.9" + "@cats-cradle/create-bundle": "1.0.12" }, "devDependencies": { "aws-cdk-lib": "2.95.0", @@ -70,7 +70,7 @@ "supertest": "~6.3.3", "@types/supertest": "~2.0.16", "@cats-cradle/faker-factory": "workspace:*", - "@cats-cradle/create-bundle": "1.0.9", + "@cats-cradle/create-bundle": "1.0.12", "@fastify/static": "~6.9.0" } }