From f491d64531154af93cd1a11d0aa3f2d8a85da5e7 Mon Sep 17 00:00:00 2001 From: Federico Zivolo <5382443+FezVrasta@users.noreply.github.com> Date: Wed, 10 Jul 2024 12:52:04 +0200 Subject: [PATCH] make prettier a peer dependency Update package.json --- package.json | 5 ++++- yarn.lock | 2 ++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 6dc92bc1..1e75aa9a 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,6 @@ "lodash": "^4.17.21", "nanoid": "^3.3.7", "node-emoji": "^2.1.3", - "prettier": "~3.3.2", "swagger-schema-official": "2.0.0-bab6bed", "swagger2openapi": "^7.0.8", "typescript": "~5.5.2" @@ -68,10 +67,14 @@ "@types/node": "20.14.10", "@types/swagger2openapi": "7.0.4", "axios": "1.7.2", + "prettier": "~3.3.2", "shx": "0.3.4", "tsup": "8.1.0", "vitest": "2.0.1" }, + "peerDependencies": { + "prettier": "~3" + }, "packageManager": "yarn@4.3.1", "engines": { "node": ">=18.0.0" diff --git a/yarn.lock b/yarn.lock index 2b505a97..474e68e1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3030,6 +3030,8 @@ __metadata: tsup: "npm:8.1.0" typescript: "npm:~5.5.2" vitest: "npm:2.0.1" + peerDependencies: + prettier: ~3 bin: sta: ./dist/cli.js swagger-typescript-api: ./dist/cli.js