Skip to content

Commit

Permalink
fix(prettier): revert breaking changes in prettier v3 upgrade (#10188)
Browse files Browse the repository at this point in the history
@Josh-Walker-GM pointed out some breaking changes I included in the
prettier v3 upgrade (#10179) in
his PR [here](#10183). My goal
with the prettier v3 upgrade was to first do it in a non-breaking way so
that it could be released in the next minor, then come back and include
the breaking changes (mainly around the tailwind setup command). This
should undo the breaking changes so that we can release prettier v3 in
the next minor and redo #10182.
  • Loading branch information
jtoar committed Mar 10, 2024
1 parent 6f34164 commit b280ade
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export const handler = async ({ force, install }) => {
})
const rwPaths = getPaths()

const projectPackages = ['prettier-plugin-tailwindcss']
const projectPackages = ['prettier-plugin-tailwindcss@0.4.1']

const webWorkspacePackages = [
'postcss',
Expand Down
2 changes: 1 addition & 1 deletion tasks/test-project/tasks.js
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ async function webTasks(outputPath, { linkWithLatestFwBuild, verbose }) {
// @NOTE: use rwfw, because calling the copy function doesn't seem to work here
task: () =>
execa(
'yarn workspace web add -D postcss postcss-loader tailwindcss autoprefixer prettier-plugin-tailwindcss',
'yarn workspace web add -D postcss postcss-loader tailwindcss autoprefixer prettier-plugin-tailwindcss@0.4.1',
[],
getExecaOptions(outputPath)
),
Expand Down
2 changes: 1 addition & 1 deletion tasks/test-project/tui-tasks.js
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ async function webTasks(outputPath, { linkWithLatestFwBuild }) {
// @NOTE: use rwfw, because calling the copy function doesn't seem to work here
task: async () => {
await exec(
'yarn workspace web add -D postcss postcss-loader tailwindcss autoprefixer prettier-plugin-tailwindcss',
'yarn workspace web add -D postcss postcss-loader tailwindcss autoprefixer prettier-plugin-tailwindcss@0.4.1',
[],
getExecaOptions(outputPath)
)
Expand Down

0 comments on commit b280ade

Please sign in to comment.