Skip to content

Commit ebb98df

Browse files
fix: revert prettier (#2074)
* fix: revert prettier There's some kind of incompatibility with the `3.x` releases of Prettier and our project. When we accept the Dependabot PRs that bump it to the latest version, we encounter errors during the Lerna-driven release process. * chore: prevent prettier upgrade from opening again --------- Co-authored-by: castastrophe <castastrophe@users.noreply.github.com>
1 parent 8851dd9 commit ebb98df

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

.github/dependabot.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ updates:
2323
- dependency-name: "gulp*"
2424
# Ignore postcss versions until build migration complete
2525
- dependency-name: "postcss*"
26+
# Ignore prettier 3.x until we resolve the lerna publishing error
27+
- dependency-name: "prettier"
28+
versions: ["3.x"]
2629
groups:
2730
# Specify a name for the group, which will be used in pull request titles
2831
# and branch names

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.1",
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.6.0",
82-
"prettier": "^3.0.1",
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.1",
56+
"prettier": "^2.8.8",
5757
"raw-loader": "^4.0.2",
5858
"react": "^18.0.0",
5959
"react-dom": "^18.0.0",

0 commit comments

Comments
 (0)