Skip to content

Commit

Permalink
chore(deps): Upgrade turbo and disable its daemon
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedBassem committed Jul 21, 2024
1 parent 9edd154 commit 4c23ea9
Show file tree
Hide file tree
Showing 4 changed files with 74 additions and 58 deletions.
18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@
"version": "0.1.0",
"private": true,
"scripts": {
"build": "turbo build",
"dev": "turbo dev --parallel",
"build": "turbo --no-daemon build",
"dev": "turbo --no-daemon dev --parallel",
"clean": "git clean -xdf node_modules",
"clean:workspaces": "turbo clean",
"clean:workspaces": "turbo --no-daemon clean",
"db:migrate": "pnpm --filter @hoarder/db run migrate",
"db:studio": "pnpm --filter @hoarder/db studio",
"workers": "pnpm --filter @hoarder/workers run start",
"web": "pnpm --filter @hoarder/web run dev",
"prepare": "husky",
"format": "turbo format --continue -- --cache --cache-location node_modules/.cache/.prettiercache",
"format:fix": "turbo format --continue -- --write --cache --cache-location node_modules/.cache/.prettiercache",
"lint": "turbo lint --continue -- --cache --cache-location node_modules/.cache/.eslintcache",
"lint:fix": "turbo lint --continue -- --fix --cache --cache-location node_modules/.cache/.eslintcache",
"format": "turbo --no-daemon format --continue -- --cache --cache-location node_modules/.cache/.prettiercache",
"format:fix": "turbo --no-daemon format --continue -- --write --cache --cache-location node_modules/.cache/.prettiercache",
"lint": "turbo --no-daemon lint --continue -- --cache --cache-location node_modules/.cache/.eslintcache",
"lint:fix": "turbo --no-daemon lint --continue -- --fix --cache --cache-location node_modules/.cache/.eslintcache",
"lint:ws": "pnpm dlx sherif@latest",
"postinstall": "pnpm lint:ws",
"typecheck": "turbo typecheck"
"typecheck": "turbo --no-daemon typecheck"
},
"devDependencies": {
"@hoarder/prettier-config": "workspace:^0.1.0",
Expand All @@ -30,7 +30,7 @@
"husky": "^9.0.11",
"install": "^0.13.0",
"prettier": "3.2.5",
"turbo": "^1.13.2"
"turbo": "^2.0.9"
},
"prettier": "@hoarder/prettier-config",
"packageManager": "pnpm@9.0.0-alpha.8+sha256.a433a59569b00389a951352956faf25d1fdf43b568213fbde591c36274d4bc30",
Expand Down
76 changes: 38 additions & 38 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tooling/eslint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@next/eslint-plugin-next": "^14.1.1",
"@typescript-eslint/eslint-plugin": "7.6.0",
"@typescript-eslint/parser": "7.6.0",
"eslint-config-turbo": "^1.12.4",
"eslint-config-turbo": "^2.0.9",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-react": "^7.33.2",
Expand Down
36 changes: 26 additions & 10 deletions turbo.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
{
"$schema": "https://turborepo.org/schema.json",
"globalDependencies": ["**/.env"],
"pipeline": {
"globalDependencies": [
"**/.env"
],
"tasks": {
"topo": {
"dependsOn": ["^topo"]
"dependsOn": [
"^topo"
]
},
"build": {
"dependsOn": ["^build"],
"dependsOn": [
"^build"
],
"outputs": [
".next/**",
"!.next/cache/**",
Expand All @@ -21,16 +27,26 @@
"cache": false
},
"format": {
"outputs": ["node_modules/.cache/.prettiercache"],
"outputMode": "new-only"
"outputs": [
"node_modules/.cache/.prettiercache"
],
"outputLogs": "new-only"
},
"lint": {
"dependsOn": ["^topo"],
"outputs": ["node_modules/.cache/.eslintcache"]
"dependsOn": [
"^topo"
],
"outputs": [
"node_modules/.cache/.eslintcache"
]
},
"typecheck": {
"dependsOn": ["^topo"],
"outputs": ["node_modules/.cache/tsbuildinfo.json"]
"dependsOn": [
"^topo"
],
"outputs": [
"node_modules/.cache/tsbuildinfo.json"
]
},
"clean": {
"cache": false
Expand Down

0 comments on commit 4c23ea9

Please sign in to comment.