From 37eb59f0941ce8130bb3242c444eb3e01b5ce8f2 Mon Sep 17 00:00:00 2001 From: Shinyaigeek Date: Wed, 5 Aug 2026 21:26:02 +0900 Subject: [PATCH] chore(deps): manage prettier via pnpm catalog Move prettier and prettier-plugin-organize-imports into the workspace catalog so their versions live in one place, matching how eslint, typescript and the other shared dev dependencies are already managed. Resolved versions are unchanged (prettier 3.9.6, prettier-plugin-organize-imports 3.2.4). Co-Authored-By: Claude Opus 5 (1M context) --- package.json | 4 ++-- packages/react-ui/package.json | 2 +- pnpm-lock.yaml | 12 +++++++++--- pnpm-workspace.yaml | 2 ++ 4 files changed, 14 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 7767536fc..dfcaff4f0 100644 --- a/package.json +++ b/package.json @@ -19,8 +19,8 @@ "eslint-plugin-react-refresh": "catalog:", "eslint-plugin-storybook": "catalog:", "eslint-plugin-unused-imports": "catalog:", - "prettier": "^3.2.5", - "prettier-plugin-organize-imports": "^3.2.4", + "prettier": "catalog:", + "prettier-plugin-organize-imports": "catalog:", "publint": "^0.3.18", "tsdown": "^0.21.7", "typescript": "catalog:" diff --git a/packages/react-ui/package.json b/packages/react-ui/package.json index 91b472226..1a339263b 100644 --- a/packages/react-ui/package.json +++ b/packages/react-ui/package.json @@ -180,7 +180,7 @@ "postcss": "^8.5.1", "postcss-js": "^4.0.1", "postcss-remove-duplicate-values": "^1.0.0", - "prettier-plugin-organize-imports": "^3.2.4", + "prettier-plugin-organize-imports": "catalog:", "prop-types": "^15.8.1", "sass": "^1.83.4", "storybook": "^8.5.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9c1404a3a..81f2af8b3 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -48,6 +48,12 @@ catalogs: jsdom: specifier: ^26.1.0 version: 26.1.0 + prettier: + specifier: ^3.2.5 + version: 3.9.6 + prettier-plugin-organize-imports: + specifier: ^3.2.4 + version: 3.2.4 react: specifier: ^18.3.1 || ^19.0.0 version: 19.2.4 @@ -107,10 +113,10 @@ importers: specifier: 'catalog:' version: 4.4.1(@typescript-eslint/eslint-plugin@8.65.0(@typescript-eslint/parser@8.65.0(eslint@9.39.5(jiti@2.7.0))(typescript@5.9.3))(eslint@9.39.5(jiti@2.7.0))(typescript@5.9.3))(eslint@9.39.5(jiti@2.7.0)) prettier: - specifier: ^3.2.5 + specifier: 'catalog:' version: 3.9.6 prettier-plugin-organize-imports: - specifier: ^3.2.4 + specifier: 'catalog:' version: 3.2.4(prettier@3.9.6)(typescript@5.9.3) publint: specifier: ^0.3.18 @@ -2134,7 +2140,7 @@ importers: specifier: ^1.0.0 version: 1.0.0(postcss@8.5.24) prettier-plugin-organize-imports: - specifier: ^3.2.4 + specifier: 'catalog:' version: 3.2.4(prettier@3.9.6)(typescript@5.9.3) prop-types: specifier: ^15.8.1 diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 29ecd1f54..973c40652 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -21,6 +21,8 @@ catalog: eslint-plugin-storybook: "^10.2.14" eslint-plugin-unused-imports: "^4.4.1" jsdom: "^26.1.0" + prettier: "^3.2.5" + prettier-plugin-organize-imports: "^3.2.4" react: "^18.3.1 || ^19.0.0" react-dom: "^18.0.0 || ^19.0.0" typescript: "^5.9.3"