From e63fb9aa811d459a189b93a522cb191b963c6e58 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Sun, 12 May 2024 09:35:28 +0200 Subject: [PATCH] chore: update prettier (#217) --- package.json | 4 ++-- yarn.lock | 55 +++++++++++++++++++++++++++++++++++++++------------- 2 files changed, 44 insertions(+), 15 deletions(-) diff --git a/package.json b/package.json index 311b23c..c5ccb8e 100644 --- a/package.json +++ b/package.json @@ -66,7 +66,7 @@ "eslint-plugin-import": "^2.18.2", "eslint-plugin-jest": "^27.0.0", "eslint-plugin-n": "^15.0.0", - "eslint-plugin-prettier": "^4.0.0", + "eslint-plugin-prettier": "^5.0.0", "eslint-plugin-react": "^7.16.0", "eslint-plugin-react-hooks": "^4.0.2", "husky": "^9.0.0", @@ -74,7 +74,7 @@ "jest": "^29.0.2", "jest-util": "^29.0.2", "lint-staged": "^13.0.0", - "prettier": "^2.0.5", + "prettier": "^3.0.0", "react": "^17.0.2", "semantic-release": "^23.0.0", "slash": "^3.0.0", diff --git a/yarn.lock b/yarn.lock index 18ae65d..59f5d95 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1367,6 +1367,13 @@ __metadata: languageName: node linkType: hard +"@pkgr/core@npm:^0.1.0": + version: 0.1.1 + resolution: "@pkgr/core@npm:0.1.1" + checksum: 6f25fd2e3008f259c77207ac9915b02f1628420403b2630c92a07ff963129238c9262afc9e84344c7a23b5cc1f3965e2cd17e3798219f5fd78a63d144d3cceba + languageName: node + linkType: hard + "@pnpm/config.env-replace@npm:^1.1.0": version: 1.1.0 resolution: "@pnpm/config.env-replace@npm:1.1.0" @@ -3568,18 +3575,23 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-prettier@npm:^4.0.0": - version: 4.2.1 - resolution: "eslint-plugin-prettier@npm:4.2.1" +"eslint-plugin-prettier@npm:^5.0.0": + version: 5.1.3 + resolution: "eslint-plugin-prettier@npm:5.1.3" dependencies: prettier-linter-helpers: ^1.0.0 + synckit: ^0.8.6 peerDependencies: - eslint: ">=7.28.0" - prettier: ">=2.0.0" + "@types/eslint": ">=8.0.0" + eslint: ">=8.0.0" + eslint-config-prettier: "*" + prettier: ">=3.0.0" peerDependenciesMeta: + "@types/eslint": + optional: true eslint-config-prettier: optional: true - checksum: b9e839d2334ad8ec7a5589c5cb0f219bded260839a857d7a486997f9870e95106aa59b8756ff3f37202085ebab658de382b0267cae44c3a7f0eb0bcc03a4f6d6 + checksum: eb2a7d46a1887e1b93788ee8f8eb81e0b6b2a6f5a66a62bc6f375b033fc4e7ca16448da99380be800042786e76cf5c0df9c87a51a2c9b960ed47acbd7c0b9381 languageName: node linkType: hard @@ -5565,7 +5577,7 @@ __metadata: eslint-plugin-import: ^2.18.2 eslint-plugin-jest: ^27.0.0 eslint-plugin-n: ^15.0.0 - eslint-plugin-prettier: ^4.0.0 + eslint-plugin-prettier: ^5.0.0 eslint-plugin-react: ^7.16.0 eslint-plugin-react-hooks: ^4.0.2 husky: ^9.0.0 @@ -5573,7 +5585,7 @@ __metadata: jest: ^29.0.2 jest-util: ^29.0.2 lint-staged: ^13.0.0 - prettier: ^2.0.5 + prettier: ^3.0.0 react: ^17.0.2 semantic-release: ^23.0.0 slash: ^3.0.0 @@ -7591,12 +7603,12 @@ __metadata: languageName: node linkType: hard -"prettier@npm:^2.0.5": - version: 2.8.8 - resolution: "prettier@npm:2.8.8" +"prettier@npm:^3.0.0": + version: 3.2.5 + resolution: "prettier@npm:3.2.5" bin: - prettier: bin-prettier.js - checksum: b49e409431bf129dd89238d64299ba80717b57ff5a6d1c1a8b1a28b590d998a34e083fa13573bc732bb8d2305becb4c9a4407f8486c81fa7d55100eb08263cf8 + prettier: bin/prettier.cjs + checksum: 2ee4e1417572372afb7a13bb446b34f20f1bf1747db77cf6ccaf57a9be005f2f15c40f903d41a6b79eec3f57fff14d32a20fb6dee1f126da48908926fe43c311 languageName: node linkType: hard @@ -8743,6 +8755,16 @@ __metadata: languageName: node linkType: hard +"synckit@npm:^0.8.6": + version: 0.8.8 + resolution: "synckit@npm:0.8.8" + dependencies: + "@pkgr/core": ^0.1.0 + tslib: ^2.6.2 + checksum: 9ed5d33abb785f5f24e2531efd53b2782ca77abf7912f734d170134552b99001915531be5a50297aa45c5701b5c9041e8762e6cd7a38e41e2461c1e7fccdedf8 + languageName: node + linkType: hard + "tar@npm:^6.1.11, tar@npm:^6.1.2, tar@npm:^6.2.0, tar@npm:^6.2.1": version: 6.2.1 resolution: "tar@npm:6.2.1" @@ -8941,6 +8963,13 @@ __metadata: languageName: node linkType: hard +"tslib@npm:^2.6.2": + version: 2.6.2 + resolution: "tslib@npm:2.6.2" + checksum: 329ea56123005922f39642318e3d1f0f8265d1e7fcb92c633e0809521da75eeaca28d2cf96d7248229deb40e5c19adf408259f4b9640afd20d13aecc1430f3ad + languageName: node + linkType: hard + "tsutils@npm:^3.21.0": version: 3.21.0 resolution: "tsutils@npm:3.21.0"