From 015aa7523f692680b03b41836d146b0b5f9d305a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Jul 2024 19:49:36 +0000 Subject: [PATCH 1/2] chore(deps): bump prettier from 3.3.2 to 3.3.3 Bumps [prettier](https://github.com/prettier/prettier) from 3.3.2 to 3.3.3. - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](https://github.com/prettier/prettier/compare/3.3.2...3.3.3) --- updated-dependencies: - dependency-name: prettier dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index fdf5eb66f1..f161a9fac9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -43,7 +43,7 @@ "eslint-plugin-custom-rules": "file:tools/eslint", "gh-pages": "^6.1.1", "jest": "^29.7.0", - "prettier": "^3.3.2", + "prettier": "^3.3.3", "serve": "^14.2.3", "ts-jest": "^29.2.2", "ts-node": "^10.9.2", @@ -7880,9 +7880,9 @@ } }, "node_modules/prettier": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.2.tgz", - "integrity": "sha512-rAVeHYMcv8ATV5d508CFdn+8/pHPpXeIid1DdrPwXnaAdH7cqjVbpJaT5eq4yRAFU/lsbwYwSF/n5iNrdJHPQA==", + "version": "3.3.3", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.3.3.tgz", + "integrity": "sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew==", "dev": true, "bin": { "prettier": "bin/prettier.cjs" diff --git a/package.json b/package.json index 0b37a1b22b..03dfcdc832 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ "eslint-plugin-custom-rules": "file:tools/eslint", "gh-pages": "^6.1.1", "jest": "^29.7.0", - "prettier": "^3.3.2", + "prettier": "^3.3.3", "serve": "^14.2.3", "ts-jest": "^29.2.2", "ts-node": "^10.9.2", From 94ac502ae611024ff66076c80b09453fd43792b9 Mon Sep 17 00:00:00 2001 From: akash1810 Date: Mon, 29 Jul 2024 20:53:08 +0100 Subject: [PATCH 2/2] chore: Prettier changes --- src/riff-raff-yaml-file/deployments/cloudformation.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/riff-raff-yaml-file/deployments/cloudformation.ts b/src/riff-raff-yaml-file/deployments/cloudformation.ts index 805271a492..dce62c6c75 100644 --- a/src/riff-raff-yaml-file/deployments/cloudformation.ts +++ b/src/riff-raff-yaml-file/deployments/cloudformation.ts @@ -59,10 +59,10 @@ export function addAmiParametersToCloudFormationDeployment( } const Recipe = typeof imageRecipe === "string" ? imageRecipe : imageRecipe.Recipe; - const AmigoStage = typeof imageRecipe === "string" ? "PROD" : imageRecipe.AmigoStage ?? "PROD"; + const AmigoStage = typeof imageRecipe === "string" ? "PROD" : (imageRecipe.AmigoStage ?? "PROD"); // In YAML `true` is a Boolean. Riff-Raff expects a String here, so call `toString` to make it `'true'`. - const Encrypted = (typeof imageRecipe === "string" ? true : imageRecipe.Encrypted ?? true).toString(); + const Encrypted = (typeof imageRecipe === "string" ? true : (imageRecipe.Encrypted ?? true)).toString(); return { ...acc,