Skip to content

Commit 29b179c

Browse files
authored
fix: revert prettier version bump (#2004)
We're encountering an error with our release process that appears to be due to an incompatibility in the latest release of Prettier, which we recently moved to as per Dependabot. This reverts that change to the version we had been using.
1 parent 16c08bd commit 29b179c

File tree

4 files changed

+4
-9
lines changed

4 files changed

+4
-9
lines changed

components/tokens/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"postcss-merge-rules": "^6.0.0",
4040
"postcss-rgb-mapping": "^1.0.1",
4141
"postcss-sorting": "^8.0.2",
42-
"prettier": "^3.0.0",
42+
"prettier": "^2.8.8",
4343
"rimraf": "^5.0.1",
4444
"style-dictionary": "^3.8.0",
4545
"style-dictionary-sets": "^2.3.0"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
"markdown-it": "^12.3.2",
8080
"npm-run-all": "^4.1.5",
8181
"nx": "^16.5.1",
82-
"prettier": "^3.0.0",
82+
"prettier": "^2.8.8",
8383
"prettier-package-json": "^2.8.0",
8484
"prismjs": "^1.23.0",
8585
"rimraf": "^5.0.1",

tools/preview/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"postcss-prefix-selector": "^1.16.0",
5454
"postcss-selector-replace": "^1.0.2",
5555
"postcss-warn-cleaner": "^0.1.9",
56-
"prettier": "^3.0.0",
56+
"prettier": "^2.8.8",
5757
"raw-loader": "^4.0.2",
5858
"react": "^18.0.0",
5959
"react-dom": "^18.0.0",

yarn.lock

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13930,16 +13930,11 @@ prettier-package-json@^2.8.0:
1393013930
sort-object-keys "^1.1.3"
1393113931
sort-order "^1.0.1"
1393213932

13933-
prettier@^2.8.0:
13933+
prettier@^2.8.0, prettier@^2.8.8:
1393413934
version "2.8.8"
1393513935
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da"
1393613936
integrity sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==
1393713937

13938-
prettier@^3.0.0:
13939-
version "3.0.0"
13940-
resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.0.0.tgz#e7b19f691245a21d618c68bc54dc06122f6105ae"
13941-
integrity sha512-zBf5eHpwHOGPC47h0zrPyNn+eAEIdEzfywMoYn2XPi0P44Zp0tSq64rq0xAREh4auw2cJZHo9QUob+NqCQky4g==
13942-
1394313938
pretty-error@^4.0.0:
1394413939
version "4.0.0"
1394513940
resolved "https://registry.yarnpkg.com/pretty-error/-/pretty-error-4.0.0.tgz#90a703f46dd7234adb46d0f84823e9d1cb8f10d6"

0 commit comments

Comments
 (0)