From 5a56941a895fd0ffdbdbf0094336fb7f0f4099c1 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 19 Jul 2023 09:53:25 +0200 Subject: [PATCH] chore(deps): update dependency prettier to v3 (#13759) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Arnaud Barré --- .prettierrc.json | 3 --- docs/.vitepress/theme/components/HomeSponsors.vue | 5 ++++- package.json | 2 +- packages/create-vite/template-lit-ts/index.html | 2 +- packages/create-vite/template-lit/index.html | 2 +- packages/create-vite/template-preact-ts/index.html | 2 +- packages/create-vite/template-preact/index.html | 2 +- packages/create-vite/template-qwik-ts/index.html | 2 +- packages/create-vite/template-qwik/index.html | 2 +- packages/create-vite/template-react-ts/index.html | 2 +- packages/create-vite/template-react/index.html | 2 +- packages/create-vite/template-solid-ts/index.html | 2 +- packages/create-vite/template-solid/index.html | 2 +- packages/create-vite/template-svelte-ts/index.html | 2 +- packages/create-vite/template-svelte/index.html | 2 +- packages/create-vite/template-vanilla-ts/index.html | 2 +- packages/create-vite/template-vanilla/index.html | 2 +- packages/create-vite/template-vue-ts/index.html | 2 +- packages/create-vite/template-vue/index.html | 2 +- packages/vite/src/node/plugins/worker.ts | 4 ++-- playground/assets/css/css-url.css | 3 ++- playground/assets/css/fonts.css | 3 ++- playground/assets/index.html | 2 +- .../frontend/entrypoints/index.html | 2 +- playground/external/index.html | 2 +- playground/html/emptyAttr.html | 2 +- playground/html/foo.html | 2 +- playground/html/importmapOrder.html | 2 +- playground/html/link.html | 2 +- playground/optimize-missing-deps/index.html | 2 +- playground/preserve-symlinks/index.html | 2 +- playground/ssr-deps/index.html | 2 +- playground/ssr-html/index.html | 2 +- playground/ssr-noexternal/index.html | 2 +- playground/ssr/index.html | 2 +- playground/tailwind/index.html | 2 +- playground/tsconfig-json-load-error/index.html | 2 +- playground/tsconfig-json/index.html | 2 +- pnpm-lock.yaml | 10 +++++----- 39 files changed, 48 insertions(+), 46 deletions(-) diff --git a/.prettierrc.json b/.prettierrc.json index 568ce1a24732d8..6a3a2f9ac833f9 100644 --- a/.prettierrc.json +++ b/.prettierrc.json @@ -1,9 +1,6 @@ { "semi": false, - "tabWidth": 2, "singleQuote": true, - "printWidth": 80, - "trailingComma": "all", "overrides": [ { "files": ["*.json5"], diff --git a/docs/.vitepress/theme/components/HomeSponsors.vue b/docs/.vitepress/theme/components/HomeSponsors.vue index cb3a5503e58dfa..0107907389dfc9 100644 --- a/docs/.vitepress/theme/components/HomeSponsors.vue +++ b/docs/.vitepress/theme/components/HomeSponsors.vue @@ -46,7 +46,10 @@ const { data } = useSponsor() text-align: center; font-weight: 600; white-space: nowrap; - transition: color 0.25s, border-color 0.25s, background-color 0.25s; + transition: + color 0.25s, + border-color 0.25s, + background-color 0.25s; /* .VPButton.medium */ border-radius: 20px; padding: 0 20px; diff --git a/package.json b/package.json index ca43d617a1b5de..7f7b9f1e2e6fe8 100644 --- a/package.json +++ b/package.json @@ -78,7 +78,7 @@ "npm-run-all": "^4.1.5", "picocolors": "^1.0.0", "playwright-chromium": "^1.36.1", - "prettier": "2.8.8", + "prettier": "3.0.0", "resolve": "^1.22.2", "rimraf": "^5.0.1", "rollup": "^3.25.2", diff --git a/packages/create-vite/template-lit-ts/index.html b/packages/create-vite/template-lit-ts/index.html index fdee573db235f3..283e961039bd38 100644 --- a/packages/create-vite/template-lit-ts/index.html +++ b/packages/create-vite/template-lit-ts/index.html @@ -1,4 +1,4 @@ - + diff --git a/packages/create-vite/template-lit/index.html b/packages/create-vite/template-lit/index.html index e8be0205b1d8cf..dfb16790bd8eb6 100644 --- a/packages/create-vite/template-lit/index.html +++ b/packages/create-vite/template-lit/index.html @@ -1,4 +1,4 @@ - + diff --git a/packages/create-vite/template-preact-ts/index.html b/packages/create-vite/template-preact-ts/index.html index ed0f5bbd72520b..40366c3ed27fe7 100644 --- a/packages/create-vite/template-preact-ts/index.html +++ b/packages/create-vite/template-preact-ts/index.html @@ -1,4 +1,4 @@ - + diff --git a/packages/create-vite/template-preact/index.html b/packages/create-vite/template-preact/index.html index 9f89c1bcc0ddef..ae54c6f852fef7 100644 --- a/packages/create-vite/template-preact/index.html +++ b/packages/create-vite/template-preact/index.html @@ -1,4 +1,4 @@ - + diff --git a/packages/create-vite/template-qwik-ts/index.html b/packages/create-vite/template-qwik-ts/index.html index d6bb24c16eb40f..9a3384e7894b92 100644 --- a/packages/create-vite/template-qwik-ts/index.html +++ b/packages/create-vite/template-qwik-ts/index.html @@ -1,4 +1,4 @@ - + diff --git a/packages/create-vite/template-qwik/index.html b/packages/create-vite/template-qwik/index.html index e16ad7f984fc62..f4338766f44ed1 100644 --- a/packages/create-vite/template-qwik/index.html +++ b/packages/create-vite/template-qwik/index.html @@ -1,4 +1,4 @@ - + diff --git a/packages/create-vite/template-react-ts/index.html b/packages/create-vite/template-react-ts/index.html index e0d1c840806ee7..e4b78eae12304a 100644 --- a/packages/create-vite/template-react-ts/index.html +++ b/packages/create-vite/template-react-ts/index.html @@ -1,4 +1,4 @@ - + diff --git a/packages/create-vite/template-react/index.html b/packages/create-vite/template-react/index.html index 79c470191164e9..0c589eccd4d48e 100644 --- a/packages/create-vite/template-react/index.html +++ b/packages/create-vite/template-react/index.html @@ -1,4 +1,4 @@ - + diff --git a/packages/create-vite/template-solid-ts/index.html b/packages/create-vite/template-solid-ts/index.html index f399a33d3c7c09..70217370184357 100644 --- a/packages/create-vite/template-solid-ts/index.html +++ b/packages/create-vite/template-solid-ts/index.html @@ -1,4 +1,4 @@ - + diff --git a/packages/create-vite/template-solid/index.html b/packages/create-vite/template-solid/index.html index 7d9c3a45ee7966..c5e49ef00dce1e 100644 --- a/packages/create-vite/template-solid/index.html +++ b/packages/create-vite/template-solid/index.html @@ -1,4 +1,4 @@ - + diff --git a/packages/create-vite/template-svelte-ts/index.html b/packages/create-vite/template-svelte-ts/index.html index b5b125269662aa..b6c5f0afafd6f2 100644 --- a/packages/create-vite/template-svelte-ts/index.html +++ b/packages/create-vite/template-svelte-ts/index.html @@ -1,4 +1,4 @@ - + diff --git a/packages/create-vite/template-svelte/index.html b/packages/create-vite/template-svelte/index.html index 26c29c45b2689e..feaf27cc9e75d4 100644 --- a/packages/create-vite/template-svelte/index.html +++ b/packages/create-vite/template-svelte/index.html @@ -1,4 +1,4 @@ - + diff --git a/packages/create-vite/template-vanilla-ts/index.html b/packages/create-vite/template-vanilla-ts/index.html index f86e483c942e8d..44a933506f2350 100644 --- a/packages/create-vite/template-vanilla-ts/index.html +++ b/packages/create-vite/template-vanilla-ts/index.html @@ -1,4 +1,4 @@ - + diff --git a/packages/create-vite/template-vanilla/index.html b/packages/create-vite/template-vanilla/index.html index 2ad7b1ab9e691d..3d08438199d14c 100644 --- a/packages/create-vite/template-vanilla/index.html +++ b/packages/create-vite/template-vanilla/index.html @@ -1,4 +1,4 @@ - + diff --git a/packages/create-vite/template-vue-ts/index.html b/packages/create-vite/template-vue-ts/index.html index 143557b5286bc1..dde16aaf3671c5 100644 --- a/packages/create-vite/template-vue-ts/index.html +++ b/packages/create-vite/template-vue-ts/index.html @@ -1,4 +1,4 @@ - + diff --git a/packages/create-vite/template-vue/index.html b/packages/create-vite/template-vue/index.html index 795e4fbadb8831..8388c4bb136ea6 100644 --- a/packages/create-vite/template-vue/index.html +++ b/packages/create-vite/template-vue/index.html @@ -1,4 +1,4 @@ - + diff --git a/packages/vite/src/node/plugins/worker.ts b/packages/vite/src/node/plugins/worker.ts index 92c7f19563e4b3..be64b95748ba70 100644 --- a/packages/vite/src/node/plugins/worker.ts +++ b/packages/vite/src/node/plugins/worker.ts @@ -348,8 +348,8 @@ export function webWorkerPlugin(config: ResolvedConfig): Plugin { return { code: `export default function WorkerWrapper() { return new ${workerConstructor}(${JSON.stringify( - url, - )}${workerOptions}) + url, + )}${workerOptions}) }`, map: { mappings: '' }, // Empty sourcemap to suppress Rollup warning } diff --git a/playground/assets/css/css-url.css b/playground/assets/css/css-url.css index 1446f19afa662e..52a8e5c0a31194 100644 --- a/playground/assets/css/css-url.css +++ b/playground/assets/css/css-url.css @@ -89,7 +89,8 @@ } .css-url-same-line { - background: url('/nested/asset.png') top right / 10px no-repeat, + background: + url('/nested/asset.png') top right / 10px no-repeat, url('/icon.png') bottom right / 10px no-repeat; } diff --git a/playground/assets/css/fonts.css b/playground/assets/css/fonts.css index f9e06755951534..28523dbfe7e4de 100644 --- a/playground/assets/css/fonts.css +++ b/playground/assets/css/fonts.css @@ -3,7 +3,8 @@ font-style: italic; font-weight: 400; font-display: swap; - src: url('../fonts/Inter-Italic.woff2?#iefix') format('woff2'), + src: + url('../fonts/Inter-Italic.woff2?#iefix') format('woff2'), url('/fonts/Inter-Italic.woff') format('woff'); } diff --git a/playground/assets/index.html b/playground/assets/index.html index 6bfe70417c0ac9..0de5f582b61122 100644 --- a/playground/assets/index.html +++ b/playground/assets/index.html @@ -1,4 +1,4 @@ - + diff --git a/playground/backend-integration/frontend/entrypoints/index.html b/playground/backend-integration/frontend/entrypoints/index.html index ef9e046e9ea177..5de605a0b8f4b4 100644 --- a/playground/backend-integration/frontend/entrypoints/index.html +++ b/playground/backend-integration/frontend/entrypoints/index.html @@ -1,4 +1,4 @@ - + diff --git a/playground/external/index.html b/playground/external/index.html index e07492875bdc1d..ec5e5b00260c54 100644 --- a/playground/external/index.html +++ b/playground/external/index.html @@ -1,4 +1,4 @@ - + diff --git a/playground/html/emptyAttr.html b/playground/html/emptyAttr.html index 30c647017690dd..9aac52e04f88d4 100644 --- a/playground/html/emptyAttr.html +++ b/playground/html/emptyAttr.html @@ -1,4 +1,4 @@ - + diff --git a/playground/html/foo.html b/playground/html/foo.html index 0c580cdd508517..721c40a4efd9e1 100644 --- a/playground/html/foo.html +++ b/playground/html/foo.html @@ -1,4 +1,4 @@ - + diff --git a/playground/html/importmapOrder.html b/playground/html/importmapOrder.html index 7d4303a655f33a..3256bd4e39dd8c 100644 --- a/playground/html/importmapOrder.html +++ b/playground/html/importmapOrder.html @@ -1,4 +1,4 @@ - +