Skip to content

Commit

Permalink
fix: revert prettier (#2074)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
pfulton and castastrophe authored Aug 7, 2023
1 parent 8851dd9 commit ebb98df
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ updates:
- dependency-name: "gulp*"
# Ignore postcss versions until build migration complete
- dependency-name: "postcss*"
# Ignore prettier 3.x until we resolve the lerna publishing error
- dependency-name: "prettier"
versions: ["3.x"]
groups:
# Specify a name for the group, which will be used in pull request titles
# and branch names
Expand Down
2 changes: 1 addition & 1 deletion components/tokens/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"postcss-merge-rules": "^6.0.0",
"postcss-rgb-mapping": "^1.0.1",
"postcss-sorting": "^8.0.2",
"prettier": "^3.0.1",
"prettier": "^2.8.8",
"rimraf": "^5.0.1",
"style-dictionary": "^3.8.0",
"style-dictionary-sets": "^2.3.0"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
"markdown-it": "^12.3.2",
"npm-run-all": "^4.1.5",
"nx": "^16.6.0",
"prettier": "^3.0.1",
"prettier": "^2.8.8",
"prettier-package-json": "^2.8.0",
"prismjs": "^1.23.0",
"rimraf": "^5.0.1",
Expand Down
2 changes: 1 addition & 1 deletion tools/preview/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"postcss-prefix-selector": "^1.16.0",
"postcss-selector-replace": "^1.0.2",
"postcss-warn-cleaner": "^0.1.9",
"prettier": "^3.0.1",
"prettier": "^2.8.8",
"raw-loader": "^4.0.2",
"react": "^18.0.0",
"react-dom": "^18.0.0",
Expand Down

0 comments on commit ebb98df

Please sign in to comment.