From 3f9747ac46a1f31e7a0edc1a2fbf2f31eccaef05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arnaud=20Barr=C3=A9?= Date: Mon, 10 Jul 2023 06:28:13 +0200 Subject: [PATCH] Add prettier 3 --- package.json | 5 +---- playground/base-path/index.html | 2 +- playground/decorators/index.html | 2 +- playground/emotion-plugin/index.html | 2 +- playground/emotion/index.html | 2 +- playground/hmr/index.html | 2 +- playground/mdx/index.html | 2 +- playground/shadow-export/index.html | 2 +- playground/styled-components/index.html | 2 +- playground/ts-lib/index.html | 2 +- playground/worker/index.html | 2 +- pnpm-lock.yaml | 30 +++++++++---------------- 12 files changed, 22 insertions(+), 33 deletions(-) diff --git a/package.json b/package.json index 0e7e471..1688a44 100644 --- a/package.json +++ b/package.json @@ -12,9 +12,6 @@ "qa": "tsc && pnpm prettier-ci && pnpm build && pnpm test", "release": "pnpm build && tnode scripts/release.ts" }, - "prettier": { - "trailingComma": "all" - }, "packageManager": "pnpm@8.6.7", "dependencies": { "@swc/core": "^1.3.68" @@ -31,7 +28,7 @@ "esbuild": "^0.18.11", "fs-extra": "^11.1.1", "picocolors": "^1.0.0", - "prettier": "^2.8.8", + "prettier": "^3.0.0", "typescript": "^5.1.6", "vite": "^4.4.2" } diff --git a/playground/base-path/index.html b/playground/base-path/index.html index 807dd9e..75fabbb 100644 --- a/playground/base-path/index.html +++ b/playground/base-path/index.html @@ -1,4 +1,4 @@ - + diff --git a/playground/decorators/index.html b/playground/decorators/index.html index b579ac4..cb20e51 100644 --- a/playground/decorators/index.html +++ b/playground/decorators/index.html @@ -1,4 +1,4 @@ - + diff --git a/playground/emotion-plugin/index.html b/playground/emotion-plugin/index.html index ddf8b7b..b42e2d1 100644 --- a/playground/emotion-plugin/index.html +++ b/playground/emotion-plugin/index.html @@ -1,4 +1,4 @@ - + diff --git a/playground/emotion/index.html b/playground/emotion/index.html index e7559e3..add7c83 100644 --- a/playground/emotion/index.html +++ b/playground/emotion/index.html @@ -1,4 +1,4 @@ - + diff --git a/playground/hmr/index.html b/playground/hmr/index.html index 8082c16..f828b81 100644 --- a/playground/hmr/index.html +++ b/playground/hmr/index.html @@ -1,4 +1,4 @@ - + diff --git a/playground/mdx/index.html b/playground/mdx/index.html index f29fbf6..167faa8 100644 --- a/playground/mdx/index.html +++ b/playground/mdx/index.html @@ -1,4 +1,4 @@ - + diff --git a/playground/shadow-export/index.html b/playground/shadow-export/index.html index 73bb247..de754ff 100644 --- a/playground/shadow-export/index.html +++ b/playground/shadow-export/index.html @@ -1,4 +1,4 @@ - + diff --git a/playground/styled-components/index.html b/playground/styled-components/index.html index ebf89ea..6ab3796 100644 --- a/playground/styled-components/index.html +++ b/playground/styled-components/index.html @@ -1,4 +1,4 @@ - + diff --git a/playground/ts-lib/index.html b/playground/ts-lib/index.html index 6b26a8b..47589b5 100644 --- a/playground/ts-lib/index.html +++ b/playground/ts-lib/index.html @@ -1,4 +1,4 @@ - + diff --git a/playground/worker/index.html b/playground/worker/index.html index 0d714e9..5f14b23 100644 --- a/playground/worker/index.html +++ b/playground/worker/index.html @@ -1,4 +1,4 @@ - + diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index acc9196..de1b14b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -37,8 +37,8 @@ importers: specifier: ^1.0.0 version: 1.0.0 prettier: - specifier: ^2.8.8 - version: 2.8.8 + specifier: ^3.0.0 + version: 3.0.0 typescript: specifier: ^5.1.6 version: 5.1.6 @@ -167,7 +167,7 @@ importers: devDependencies: '@mdx-js/rollup': specifier: ^2.3.0 - version: 2.3.0(rollup@3.21.2) + version: 2.3.0(rollup@3.26.2) '@types/react': specifier: ^18.2.14 version: 18.2.14 @@ -2033,14 +2033,14 @@ packages: - supports-color dev: true - /@mdx-js/rollup@2.3.0(rollup@3.21.2): + /@mdx-js/rollup@2.3.0(rollup@3.26.2): resolution: {integrity: sha512-wLvRfJS/M4UmdqTd+WoaySEE7q4BIejYf1xAHXYvtT1du/1Tl/z2450Gg2+Hu7fh05KwRRiehiTP9Yc/Dtn0fA==} peerDependencies: rollup: '>=2' dependencies: '@mdx-js/mdx': 2.3.0 - '@rollup/pluginutils': 5.0.2(rollup@3.21.2) - rollup: 3.21.2 + '@rollup/pluginutils': 5.0.2(rollup@3.26.2) + rollup: 3.26.2 source-map: 0.7.4 vfile: 5.3.7 transitivePeerDependencies: @@ -2090,7 +2090,7 @@ packages: engines: {node: '>=14'} dev: false - /@rollup/pluginutils@5.0.2(rollup@3.21.2): + /@rollup/pluginutils@5.0.2(rollup@3.26.2): resolution: {integrity: sha512-pTd9rIsP92h+B6wWwFbW8RkZv4hiR/xKsqre4SIuAOaOEQRxi0lqLke9k2/7WegC85GgUs9pjmOjCUi3In4vwA==} engines: {node: '>=14.0.0'} peerDependencies: @@ -2102,7 +2102,7 @@ packages: '@types/estree': 1.0.0 estree-walker: 2.0.2 picomatch: 2.3.1 - rollup: 3.21.2 + rollup: 3.26.2 dev: true /@swc/core-darwin-arm64@1.3.68: @@ -3691,9 +3691,9 @@ packages: picocolors: 1.0.0 source-map-js: 1.0.2 - /prettier@2.8.8: - resolution: {integrity: sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==} - engines: {node: '>=10.13.0'} + /prettier@3.0.0: + resolution: {integrity: sha512-zBf5eHpwHOGPC47h0zrPyNn+eAEIdEzfywMoYn2XPi0P44Zp0tSq64rq0xAREh4auw2cJZHo9QUob+NqCQky4g==} + engines: {node: '>=14'} hasBin: true dev: true @@ -3865,14 +3865,6 @@ packages: engines: {iojs: '>=1.0.0', node: '>=0.10.0'} dev: false - /rollup@3.21.2: - resolution: {integrity: sha512-c4vC+JZ3bbF4Kqq2TtM7zSKtSyMybFOjqmomFax3xpfYaPZDZ4iz8NMIuBRMjnXOcKYozw7bC6vhJjiWD6JpzQ==} - engines: {node: '>=14.18.0', npm: '>=8.0.0'} - hasBin: true - optionalDependencies: - fsevents: 2.3.2 - dev: true - /rollup@3.26.2: resolution: {integrity: sha512-6umBIGVz93er97pMgQO08LuH3m6PUb3jlDUUGFsNJB6VgTCUaDFpupf5JfU30529m/UKOgmiX+uY6Sx8cOYpLA==} engines: {node: '>=14.18.0', npm: '>=8.0.0'}