Skip to content

Commit

Permalink
fix: unused prettier deps in root workspace
Browse files Browse the repository at this point in the history
- add 'format' tasks to turbo.
- update to latest turbo
- move prettierignore to apps/web
  • Loading branch information
abetoots committed Aug 27, 2024
1 parent 392e4c9 commit 6a66c3b
Show file tree
Hide file tree
Showing 6 changed files with 79 additions and 102 deletions.
4 changes: 3 additions & 1 deletion apps/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"dev": "next dev --port 3001",
"build": "next build",
"start": "next start",
"lint": "eslint . --max-warnings 0"
"lint": "eslint . --max-warnings 0",
"format": "prettier --write ."
},
"dependencies": {
"@repo/ui": "workspace:*",
Expand All @@ -23,6 +24,7 @@
"@types/react": "^18.2.61",
"@types/react-dom": "^18.2.19",
"eslint": "^8.57.0",
"prettier": "^3.2.5",
"typescript": "^5.3.3"
}
}
File renamed without changes.
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"dev": "turbo dev",
"db:seed": "turbo run db:seed --no-cache",
"lint": "turbo lint",
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"format": "turbo format --continue -- --ignore-path .gitignore",
"format:fix": "turbo format --continue -- --write",
"test:setup-ci": "turbo run test:setup-ci",
"test": "turbo run test",
"test:e2e:setup-ci": "turbo run test:e2e:setup-ci",
Expand All @@ -17,9 +18,7 @@
"devDependencies": {
"@repo/eslint-config": "workspace:*",
"@repo/typescript-config": "workspace:*",
"prettier": "^3.2.5",
"prettier-plugin-tailwindcss": "^0.5.11",
"turbo": "latest"
"turbo": "^2.0.14"
},
"packageManager": "[email protected]",
"engines": {
Expand Down
Loading

0 comments on commit 6a66c3b

Please sign in to comment.