Skip to content

Commit

Permalink
Revert "fix: resolves Tailwind setup command failing due to unsupport…
Browse files Browse the repository at this point in the history
…ed prettier-plugin-tailwindcss v0.5 (#9076)"

This reverts commit c5bdbdb.
  • Loading branch information
thedavidprice committed Aug 27, 2023
1 parent c5bdbdb commit 9a5aa98
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion __fixtures__/test-project/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"autoprefixer": "^10.4.14",
"postcss": "^8.4.27",
"postcss-loader": "^7.3.3",
"prettier-plugin-tailwindcss": "0.4.1",
"prettier-plugin-tailwindcss": "^0.4.1",
"tailwindcss": "^3.3.3"
}
}
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@0.4.1']
const projectPackages = ['prettier-plugin-tailwindcss']

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 @@ -297,7 +297,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@0.4.1',
'yarn workspace web add -D postcss postcss-loader tailwindcss autoprefixer prettier-plugin-tailwindcss',
[],
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 @@ -337,7 +337,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@0.4.1',
'yarn workspace web add -D postcss postcss-loader tailwindcss autoprefixer prettier-plugin-tailwindcss',
[],
getExecaOptions(outputPath)
)
Expand Down

0 comments on commit 9a5aa98

Please sign in to comment.