diff --git a/application-templates/starter-typescript/package.json b/application-templates/starter-typescript/package.json index e486f999e5..b8f813d532 100644 --- a/application-templates/starter-typescript/package.json +++ b/application-templates/starter-typescript/package.json @@ -83,7 +83,7 @@ "moment": "^2.29.4", "msw": "0.49.3", "omit-empty-es": "1.1.3", - "prettier": "2.8.8", + "prettier": "3.0.0", "react": "17.0.2", "react-dom": "17.0.2", "react-intl": "^6.4.2", diff --git a/application-templates/starter/package.json b/application-templates/starter/package.json index 6dd2c5d90b..d49870238e 100644 --- a/application-templates/starter/package.json +++ b/application-templates/starter/package.json @@ -81,7 +81,7 @@ "moment": "^2.29.4", "msw": "0.49.3", "omit-empty-es": "1.1.3", - "prettier": "2.8.8", + "prettier": "3.0.0", "prop-types": "15.8.1", "react": "17.0.2", "react-dom": "17.0.2", diff --git a/package.json b/package.json index 8e341e65dd..f13ec97e06 100644 --- a/package.json +++ b/package.json @@ -146,7 +146,7 @@ "postcss": "8.4.23", "postcss-load-config": "3.1.4", "postcss-modules": "4.3.1", - "prettier": "2.8.8", + "prettier": "3.0.0", "puppeteer": "20.2.0", "qss": "2.0.3", "react": "17.0.2", diff --git a/packages/codemod/package.json b/packages/codemod/package.json index ddef04c158..f9e8f34bde 100644 --- a/packages/codemod/package.json +++ b/packages/codemod/package.json @@ -29,7 +29,7 @@ "cac": "6.7.14", "glob": "8.1.0", "jscodeshift": "0.15.0", - "prettier": "2.8.8" + "prettier": "3.0.0" }, "devDependencies": { "@commercetools-frontend/application-components": "workspace:*", diff --git a/packages/create-mc-app/package.json b/packages/create-mc-app/package.json index b95140510f..6083902d91 100644 --- a/packages/create-mc-app/package.json +++ b/packages/create-mc-app/package.json @@ -26,7 +26,7 @@ "cac": "6.7.14", "execa": "5.1.1", "listr2": "5.0.8", - "prettier": "2.8.8", + "prettier": "3.0.0", "semver": "7.5.2" }, "devDependencies": { diff --git a/packages/eslint-config-mc-app/package.json b/packages/eslint-config-mc-app/package.json index 6762d58465..cc9b18f9e3 100644 --- a/packages/eslint-config-mc-app/package.json +++ b/packages/eslint-config-mc-app/package.json @@ -33,7 +33,7 @@ "eslint-plugin-react": "^7.32.2", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-testing-library": "^5.10.1", - "prettier": "^2.8.4", + "prettier": "^3.0.0", "typescript": "^5.0.4" }, "peerDependencies": { diff --git a/packages/mc-scripts/package.json b/packages/mc-scripts/package.json index 530bfa1632..b3da7ab2b2 100644 --- a/packages/mc-scripts/package.json +++ b/packages/mc-scripts/package.json @@ -92,7 +92,7 @@ "postcss-import": "14.1.0", "postcss-loader": "6.2.1", "postcss-reporter": "7.0.5", - "prettier": "2.8.8", + "prettier": "3.0.0", "prompts": "^2.4.2", "querystring-es3": "^0.2.1", "react-dev-utils": "12.0.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9c405bf02f..fc6788d91c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -241,8 +241,8 @@ importers: specifier: 4.3.1 version: 4.3.1(postcss@8.4.23) prettier: - specifier: 2.8.8 - version: 2.8.8 + specifier: 3.0.0 + version: 3.0.0 puppeteer: specifier: 20.2.0 version: 20.2.0(typescript@5.0.4) @@ -484,8 +484,8 @@ importers: specifier: 1.1.3 version: 1.1.3 prettier: - specifier: 2.8.8 - version: 2.8.8 + specifier: 3.0.0 + version: 3.0.0 prop-types: specifier: 15.8.1 version: 15.8.1 @@ -703,8 +703,8 @@ importers: specifier: 1.1.3 version: 1.1.3 prettier: - specifier: 2.8.8 - version: 2.8.8 + specifier: 3.0.0 + version: 3.0.0 react: specifier: 17.0.2 version: 17.0.2 @@ -767,7 +767,7 @@ importers: version: 11.1.0(eslint@8.40.0) eslint-plugin-prettier: specifier: ^4.2.1 - version: 4.2.1(eslint-config-prettier@8.6.0)(eslint@8.40.0)(prettier@2.8.8) + version: 4.2.1(eslint-config-prettier@8.6.0)(eslint@8.40.0)(prettier@3.0.0) devDependencies: '@tsconfig/node16': specifier: ^1.0.3 @@ -1574,8 +1574,8 @@ importers: specifier: 0.15.0 version: 0.15.0(@babel/preset-env@7.20.2) prettier: - specifier: 2.8.8 - version: 2.8.8 + specifier: 3.0.0 + version: 3.0.0 devDependencies: '@commercetools-frontend/application-components': specifier: workspace:* @@ -1635,8 +1635,8 @@ importers: specifier: 5.0.8 version: 5.0.8 prettier: - specifier: 2.8.8 - version: 2.8.8 + specifier: 3.0.0 + version: 3.0.0 semver: specifier: 7.5.2 version: 7.5.2 @@ -1725,7 +1725,7 @@ importers: version: 6.7.1(eslint@8.40.0) eslint-plugin-prettier: specifier: ^4.2.1 - version: 4.2.1(eslint-config-prettier@8.6.0)(eslint@8.40.0)(prettier@2.8.8) + version: 4.2.1(eslint-config-prettier@8.6.0)(eslint@8.40.0)(prettier@3.0.0) eslint-plugin-react: specifier: ^7.32.2 version: 7.32.2(eslint@8.40.0) @@ -1736,8 +1736,8 @@ importers: specifier: ^5.10.1 version: 5.10.1(eslint@8.40.0)(typescript@5.0.4) prettier: - specifier: ^2.8.4 - version: 2.8.8 + specifier: ^3.0.0 + version: 3.0.0 typescript: specifier: ^5.0.4 version: 5.0.4 @@ -2172,8 +2172,8 @@ importers: specifier: 7.0.5 version: 7.0.5(postcss@8.4.23) prettier: - specifier: 2.8.8 - version: 2.8.8 + specifier: 3.0.0 + version: 3.0.0 prompts: specifier: ^2.4.2 version: 2.4.2 @@ -2958,8 +2958,8 @@ importers: specifier: 4.1.2 version: 4.1.2 prettier: - specifier: 2.8.8 - version: 2.8.8 + specifier: 3.0.0 + version: 3.0.0 start-server-and-test: specifier: 2.0.0 version: 2.0.0 @@ -18176,7 +18176,7 @@ packages: semver: 6.3.0 dev: false - /eslint-plugin-prettier@4.2.1(eslint-config-prettier@8.6.0)(eslint@8.40.0)(prettier@2.8.8): + /eslint-plugin-prettier@4.2.1(eslint-config-prettier@8.6.0)(eslint@8.40.0)(prettier@3.0.0): resolution: {integrity: sha512-f/0rXLXUt0oFYs8ra4w49wYZBG5GKZpAYsJSm6rnYL5uVDjd+zowwMwVZHnAjf4edNrKpCDYfXDgmRE/Ak7QyQ==} engines: {node: '>=12.0.0'} peerDependencies: @@ -18189,7 +18189,7 @@ packages: dependencies: eslint: 8.40.0 eslint-config-prettier: 8.6.0(eslint@8.40.0) - prettier: 2.8.8 + prettier: 3.0.0 prettier-linter-helpers: 1.0.0 dev: false @@ -26407,6 +26407,11 @@ packages: engines: {node: '>=10.13.0'} hasBin: true + /prettier@3.0.0: + resolution: {integrity: sha512-zBf5eHpwHOGPC47h0zrPyNn+eAEIdEzfywMoYn2XPi0P44Zp0tSq64rq0xAREh4auw2cJZHo9QUob+NqCQky4g==} + engines: {node: '>=14'} + hasBin: true + /pretty-bytes@5.6.0: resolution: {integrity: sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==} engines: {node: '>=6'} diff --git a/website/package.json b/website/package.json index ae7683d363..7b679e6b91 100644 --- a/website/package.json +++ b/website/package.json @@ -44,7 +44,7 @@ "@svgr/cli": "6.5.1", "gatsby-plugin-pnpm": "1.2.10", "linkinator": "4.1.2", - "prettier": "2.8.8", + "prettier": "3.0.0", "start-server-and-test": "2.0.0" } }