From 1a89a6728f8547887c8dd8504adef32f07833eac Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 17 Sep 2024 21:44:08 +0000 Subject: [PATCH] CHORE(NPM) - bump prettier from 3.2.2 to 3.3.3 (#387) --- apps/parsley/package.json | 3 +-- apps/spruce/package.json | 3 +-- .../components/PatchesPage/ListArea/PatchCard/index.tsx | 2 +- .../src/components/Spawn/spawnHostModal/transformer.ts | 2 +- .../src/hooks/useTableFilters/useTableFilters.test.tsx | 2 +- apps/spruce/src/pages/image/DistrosTable/index.tsx | 2 +- .../projectSettings/tabs/GeneralTab/getFormSchema.tsx | 2 +- packages/eslint-config/package.json | 2 +- yarn.lock | 8 ++++---- 9 files changed, 12 insertions(+), 14 deletions(-) diff --git a/apps/parsley/package.json b/apps/parsley/package.json index a40826df5..34d675866 100644 --- a/apps/parsley/package.json +++ b/apps/parsley/package.json @@ -25,7 +25,6 @@ "evg-db-ops": "../../scripts/evg-db-ops.sh", "postversion": "yarn deploy-utils-postversion", "prepare": "yarn --cwd='../..' prepare", - "prettier": "prettier --write", "preview": "serve -s dist -p 4173", "prod": "env-cmd -e devProduction -r .env-cmdrc.local.json vite", "snapshot": "vitest run snapshot.test.ts", @@ -119,7 +118,7 @@ "eslint": "8.56.0", "eslint-plugin-prettier": "5.1.3", "eslint-plugin-sort-keys-plus": "^1.3.1", - "prettier": "3.2.2", + "prettier": "3.3.3", "prompts": "2.4.2", "replace-in-file": "7.1.0", "rollup-plugin-visualizer": "5.12.0", diff --git a/apps/spruce/package.json b/apps/spruce/package.json index cdeba9183..0aa844c43 100644 --- a/apps/spruce/package.json +++ b/apps/spruce/package.json @@ -27,7 +27,6 @@ "evg-db-ops": "../../scripts/evg-db-ops.sh", "postversion": "yarn deploy-utils-postversion", "prepare": "yarn --cwd='../..' prepare", - "prettier-run": "prettier --write", "preview": "serve -s dist -p 3000", "prod": "env-cmd -e devProduction -r .env-cmdrc.local.json yarn start", "snapshot": "vitest run snapshot.test.ts", @@ -164,7 +163,7 @@ "less": "^4.1.3", "mutation-observer": "1.0.3", "path": "0.12.7", - "prettier": "3.2.2", + "prettier": "3.3.3", "prompts": "^2.4.2", "replace-in-file": "7.1.0", "rollup-plugin-visualizer": "^5.12.0", diff --git a/apps/spruce/src/components/PatchesPage/ListArea/PatchCard/index.tsx b/apps/spruce/src/components/PatchesPage/ListArea/PatchCard/index.tsx index 76e4c0ad4..d23c48c1a 100644 --- a/apps/spruce/src/components/PatchesPage/ListArea/PatchCard/index.tsx +++ b/apps/spruce/src/components/PatchesPage/ListArea/PatchCard/index.tsx @@ -116,7 +116,7 @@ const PatchCard: React.FC = ({ pageType, patch }) => { diff --git a/apps/spruce/src/components/Spawn/spawnHostModal/transformer.ts b/apps/spruce/src/components/Spawn/spawnHostModal/transformer.ts index 4264614c5..6c461b6f1 100644 --- a/apps/spruce/src/components/Spawn/spawnHostModal/transformer.ts +++ b/apps/spruce/src/components/Spawn/spawnHostModal/transformer.ts @@ -67,7 +67,7 @@ export const formToGql = ({ // @ts-expect-error: FIXME. This comment was added by an automated script. name: publicKeySection?.useExisting ? publicKeySection?.publicKeyNameDropdown - : publicKeySection?.newPublicKeyName ?? "", + : (publicKeySection?.newPublicKeyName ?? ""), // @ts-expect-error: FIXME. This comment was added by an automated script. key: publicKeySection?.useExisting ? myPublicKeys.find( diff --git a/apps/spruce/src/hooks/useTableFilters/useTableFilters.test.tsx b/apps/spruce/src/hooks/useTableFilters/useTableFilters.test.tsx index 1253a19fe..75b937643 100644 --- a/apps/spruce/src/hooks/useTableFilters/useTableFilters.test.tsx +++ b/apps/spruce/src/hooks/useTableFilters/useTableFilters.test.tsx @@ -136,7 +136,7 @@ const CheckboxFilterTestComponent = () => { const urlValue = Array.isArray(statusesFromUrl) ? statusesFromUrl.join() - : statusesFromUrl ?? "none"; + : (statusesFromUrl ?? "none"); return ( <> diff --git a/apps/spruce/src/pages/image/DistrosTable/index.tsx b/apps/spruce/src/pages/image/DistrosTable/index.tsx index 2f50c8988..a18dc1e0e 100644 --- a/apps/spruce/src/pages/image/DistrosTable/index.tsx +++ b/apps/spruce/src/pages/image/DistrosTable/index.tsx @@ -135,7 +135,7 @@ const columns: LGColumnDef[] = [ {provider === Provider.Ec2Fleet || provider === Provider.Ec2OnDemand ? getValue() - : providerSettingsList?.[0]?.hosts?.length ?? 0} + : (providerSettingsList?.[0]?.hosts?.length ?? 0)} ), }, diff --git a/apps/spruce/src/pages/projectSettings/tabs/GeneralTab/getFormSchema.tsx b/apps/spruce/src/pages/projectSettings/tabs/GeneralTab/getFormSchema.tsx index 5610657e7..33c817c86 100644 --- a/apps/spruce/src/pages/projectSettings/tabs/GeneralTab/getFormSchema.tsx +++ b/apps/spruce/src/pages/projectSettings/tabs/GeneralTab/getFormSchema.tsx @@ -320,7 +320,7 @@ export const getFormSchema = ( ...placeholderIf( repoData?.generalConfiguration?.other?.batchTime === null ? "0" - : repoData?.generalConfiguration?.other?.batchTime ?? "", + : (repoData?.generalConfiguration?.other?.batchTime ?? ""), ), }, remotePath: { diff --git a/packages/eslint-config/package.json b/packages/eslint-config/package.json index bcd9f524d..67a84a47c 100644 --- a/packages/eslint-config/package.json +++ b/packages/eslint-config/package.json @@ -22,7 +22,7 @@ "eslint-plugin-storybook": "0.8.0", "eslint-plugin-testing-library": "^6.2.2", "graphql": "16.8.1", - "prettier": "3.2.2", + "prettier": "3.3.3", "typescript": "5.1.3" } } diff --git a/yarn.lock b/yarn.lock index f94416643..e842b713c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9718,10 +9718,10 @@ prettier-linter-helpers@^1.0.0: dependencies: fast-diff "^1.1.2" -prettier@3.2.2: - version "3.2.2" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.2.2.tgz#96e580f7ca9c96090ad054616c0c4597e2844b65" - integrity sha512-HTByuKZzw7utPiDO523Tt2pLtEyK7OibUD9suEJQrPUCYQqrHr74GGX6VidMrovbf/I50mPqr8j/II6oBAuc5A== +prettier@3.3.3: + version "3.3.3" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.3.3.tgz#30c54fe0be0d8d12e6ae61dbb10109ea00d53105" + integrity sha512-i2tDNA0O5IrMO757lfrdQZCc2jPNDVntV0m/+4whiDfWaTKfMNgR7Qz0NAeGz/nRqF4m5/6CLzbP4/liHt12Ew== pretty-bytes@^5.6.0: version "5.6.0"