From 303963f5727bc0c6ce06752c2dd4963ecf5aa394 Mon Sep 17 00:00:00 2001 From: Stef Date: Thu, 14 Sep 2023 12:42:49 +0200 Subject: [PATCH 1/2] feat: :sparkles: add prettier as a direct dependency, so users won't have to install it themselves --- packages/eslint-config-basic/package.json | 1 + yarn.lock | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/packages/eslint-config-basic/package.json b/packages/eslint-config-basic/package.json index 34cd10e..8297d07 100644 --- a/packages/eslint-config-basic/package.json +++ b/packages/eslint-config-basic/package.json @@ -41,6 +41,7 @@ "eslint-plugin-unused-imports": "^2.0.0", "eslint-plugin-yml": "^1.5.0", "jsonc-eslint-parser": "^2.2.0", + "prettier": "^3.0.3", "yaml-eslint-parser": "^1.2.0" }, "devDependencies": { diff --git a/yarn.lock b/yarn.lock index c44e4c0..83751b5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -536,6 +536,7 @@ __metadata: eslint-plugin-unused-imports: ^2.0.0 eslint-plugin-yml: ^1.5.0 jsonc-eslint-parser: ^2.2.0 + prettier: ^3.0.3 semantic-release: ^20.1.3 semantic-release-monorepo: ^7.0.5 semantic-release-yarn: ^0.3.2 @@ -5873,6 +5874,15 @@ __metadata: languageName: node linkType: hard +"prettier@npm:^3.0.3": + version: 3.0.3 + resolution: "prettier@npm:3.0.3" + bin: + prettier: bin/prettier.cjs + checksum: e10b9af02b281f6c617362ebd2571b1d7fc9fb8a3bd17e371754428cda992e5e8d8b7a046e8f7d3e2da1dcd21aa001e2e3c797402ebb6111b5cd19609dd228e0 + languageName: node + linkType: hard + "proc-log@npm:^2.0.0, proc-log@npm:^2.0.1": version: 2.0.1 resolution: "proc-log@npm:2.0.1" From 207e5fa296ea34f5ca00ba519c9392185becad12 Mon Sep 17 00:00:00 2001 From: Stef Date: Fri, 12 Jan 2024 11:45:21 +0100 Subject: [PATCH 2/2] feat: :sparkles: use prettier as peer dependency --- packages/eslint-config-basic/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/eslint-config-basic/package.json b/packages/eslint-config-basic/package.json index 8297d07..c3f04e8 100644 --- a/packages/eslint-config-basic/package.json +++ b/packages/eslint-config-basic/package.json @@ -41,7 +41,6 @@ "eslint-plugin-unused-imports": "^2.0.0", "eslint-plugin-yml": "^1.5.0", "jsonc-eslint-parser": "^2.2.0", - "prettier": "^3.0.3", "yaml-eslint-parser": "^1.2.0" }, "devDependencies": { @@ -49,8 +48,9 @@ "@semantic-release/commit-analyzer": "^9.0.2", "@semantic-release/git": "^9.0.1", "eslint": "^8.38.0", + "prettier": "^3.0.3", "semantic-release": "^20.1.3", "semantic-release-monorepo": "^7.0.5", "semantic-release-yarn": "^0.3.2" } -} +} \ No newline at end of file