diff --git a/package.json b/package.json index 48c5861c..ae0f9dfc 100644 --- a/package.json +++ b/package.json @@ -40,6 +40,9 @@ "svelte", "@babel/core" ] + }, + "overrides": { + "yaml-language-server>prettier": "^3.0.0" } } } diff --git a/packages/language-server/package.json b/packages/language-server/package.json index f87fa1bc..2c9c6b9e 100644 --- a/packages/language-server/package.json +++ b/packages/language-server/package.json @@ -63,6 +63,13 @@ "vscode-languageserver-protocol": "^3.17.5", "vscode-languageserver-textdocument": "^1.0.11" }, + "overrides": { + "volar-service-yaml": { + "yaml-language-server": { + "prettier": "3.0.0" + } + } + }, "peerDependencies": { "prettier": "^3.0.0", "prettier-plugin-astro": ">=0.11.0" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7cc831bd..066b06d8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -4,6 +4,9 @@ settings: autoInstallPeers: false excludeLinksFromLockfile: false +overrides: + yaml-language-server>prettier: ^3.0.0 + importers: .: @@ -3505,11 +3508,6 @@ packages: resolution: {integrity: sha512-RiBETaaP9veVstE4vUwSIcdATj6dKmXljouXc/DDNwBSPTp8FRkLGDSGFClKsAFeeg+13SB0Z1JZvbD76bigJw==} engines: {node: ^14.15.0 || >=16.0.0} - prettier@2.8.7: - resolution: {integrity: sha512-yPngTo3aXUUmyuTjeTUT75txrf+aMh9FiD7q9ZE/i6r0bPb22g4FsE6Y338PQX1bmfy08i9QQCB7/rcUAVntfw==} - engines: {node: '>=10.13.0'} - hasBin: true - prettier@2.8.8: resolution: {integrity: sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==} engines: {node: '>=10.13.0'} @@ -8325,9 +8323,6 @@ snapshots: prettier: 3.2.5 sass-formatter: 0.7.6 - prettier@2.8.7: - optional: true - prettier@2.8.8: {} prettier@3.2.5: {} @@ -9372,7 +9367,7 @@ snapshots: vscode-uri: 3.0.8 yaml: 2.2.2 optionalDependencies: - prettier: 2.8.7 + prettier: 3.2.5 yaml@2.2.2: {}