Skip to content

Commit

Permalink
Update examples with features from 1.7 release (vercel#2738)
Browse files Browse the repository at this point in the history
  • Loading branch information
mehulkar authored Jan 10, 2023
1 parent 46e84fa commit c0673fd
Show file tree
Hide file tree
Showing 24 changed files with 53 additions and 70 deletions.
7 changes: 3 additions & 4 deletions examples/basic/turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
"build": {
"outputs": [".next/**"]
},
"lint": {
"outputs": []
},
"lint": {},
"dev": {
"cache": false
"cache": false,
"persistent": true
}
}
}
2 changes: 1 addition & 1 deletion examples/design-system/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"private": true,
"scripts": {
"build": "turbo run build",
"dev": "turbo run dev --no-cache --parallel --continue",
"dev": "turbo run dev --no-cache --continue",
"lint": "turbo run lint",
"clean": "turbo run clean && rm -rf node_modules",
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
Expand Down
7 changes: 3 additions & 4 deletions examples/design-system/turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,10 @@
"outputs": ["coverage/**"],
"dependsOn": []
},
"lint": {
"outputs": []
},
"lint": {},
"dev": {
"cache": false
"cache": false,
"persistent": true
},
"clean": {
"cache": false
Expand Down
2 changes: 1 addition & 1 deletion examples/kitchen-sink/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"scripts": {
"build": "turbo run build",
"clean": "turbo run clean",
"dev": "turbo run dev --no-cache --parallel --continue",
"dev": "turbo run dev --no-cache --continue",
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"lint": "turbo run lint",
"test": "turbo run test"
Expand Down
6 changes: 3 additions & 3 deletions examples/kitchen-sink/turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
"dependsOn": []
},
"lint": {
"dependsOn": ["^build"],
"outputs": []
"dependsOn": ["^build"]
},
"dev": {
"cache": false
"cache": false,
"persistent": true
},
"clean": {
"cache": false
Expand Down
7 changes: 3 additions & 4 deletions examples/non-monorepo/turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,10 @@
"build": {
"outputs": [".next/**"]
},
"lint": {
"outputs": []
},
"lint": {},
"dev": {
"cache": false
"cache": false,
"persistent": true
}
}
}
2 changes: 1 addition & 1 deletion examples/with-changesets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"private": true,
"scripts": {
"build": "turbo run build",
"dev": "turbo run dev --no-cache --parallel --continue",
"dev": "turbo run dev --no-cache --continue",
"lint": "turbo run lint",
"clean": "turbo run clean && rm -rf node_modules",
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
Expand Down
7 changes: 3 additions & 4 deletions examples/with-changesets/turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,10 @@
"outputs": ["coverage/**"],
"dependsOn": []
},
"lint": {
"outputs": []
},
"lint": {},
"dev": {
"cache": false
"cache": false,
"persistent": true
},
"clean": {
"cache": false
Expand Down
2 changes: 1 addition & 1 deletion examples/with-create-react-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"scripts": {
"build": "turbo run build",
"clean": "turbo run clean",
"dev": "turbo run dev --no-cache --parallel --continue",
"dev": "turbo run dev --no-cache --continue",
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"lint": "turbo run lint",
"test": "turbo run test"
Expand Down
7 changes: 3 additions & 4 deletions examples/with-create-react-app/turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,10 @@
"outputs": ["coverage/**"],
"dependsOn": []
},
"lint": {
"outputs": []
},
"lint": {},
"dev": {
"cache": false
"cache": false,
"persistent": true
},
"clean": {
"cache": false
Expand Down
2 changes: 1 addition & 1 deletion examples/with-docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ This repo is configured to be built with Docker, and Docker compose. To build al
docker network create app_network
# Build prod using new BuildKit engine
COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker-compose -f docker-compose.yml build --parallel
COMPOSE_DOCKER_CLI_BUILD=1 DOCKER_BUILDKIT=1 docker-compose -f docker-compose.yml build
# Start prod in detached mode
docker-compose -f docker-compose.yml up -d
Expand Down
2 changes: 1 addition & 1 deletion examples/with-docker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"scripts": {
"build": "turbo run build",
"clean": "turbo run clean",
"dev": "turbo run dev --parallel",
"dev": "turbo run dev",
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"lint": "turbo run lint",
"test": "turbo run test"
Expand Down
6 changes: 3 additions & 3 deletions examples/with-docker/turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
"dependsOn": []
},
"lint": {
"dependsOn": ["^build"],
"outputs": []
"dependsOn": ["^build"]
},
"dev": {
"cache": false
"cache": false,
"persistent": true
},
"clean": {
"cache": false
Expand Down
2 changes: 1 addition & 1 deletion examples/with-npm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
],
"scripts": {
"build": "turbo run build",
"dev": "turbo run dev --parallel",
"dev": "turbo run dev",
"lint": "turbo run lint"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion examples/with-prisma/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"db:migrate:deploy": "turbo run db:migrate:deploy",
"db:push": "turbo run db:push",
"db:seed": "turbo run db:seed",
"dev": "turbo run dev --parallel",
"dev": "turbo run dev",
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"generate": "turbo run generate",
"lint": "turbo run lint"
Expand Down
19 changes: 6 additions & 13 deletions examples/with-prisma/turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,16 @@
"dependsOn": ["^build"],
"outputs": ["dist/**", ".next/**"]
},
"db:migrate:deploy": {
"outputs": []
},
"db:push": {
"outputs": []
},
"db:seed": {
"outputs": []
},
"db:migrate:deploy": {},
"db:push": {},
"db:seed": {},
"dev": {
"cache": false
"cache": false,
"persistent": true
},
"generate": {
"dependsOn": ["^generate"]
},
"lint": {
"outputs": []
}
"lint": {}
}
}
7 changes: 3 additions & 4 deletions examples/with-react-native-web/turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@
"dependsOn": ["^build"]
},
"dev": {
"cache": false
},
"lint": {
"outputs": []
"cache": false,
"persistent": true
},
"lint": {},
"clean": {
"cache": false
}
Expand Down
2 changes: 1 addition & 1 deletion examples/with-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"private": true,
"scripts": {
"build": "turbo run build",
"dev": "turbo run dev --parallel",
"dev": "turbo run dev",
"lint": "turbo run lint",
"format": "prettier --write ."
},
Expand Down
7 changes: 3 additions & 4 deletions examples/with-svelte/turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@
"dependsOn": ["^build"],
"outputs": [".svelte-kit/**", ".vercel/**"]
},
"lint": {
"outputs": []
},
"lint": {},
"dev": {
"cache": false
"cache": false,
"persistent": true
}
}
}
2 changes: 1 addition & 1 deletion examples/with-tailwind/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"private": true,
"scripts": {
"build": "turbo run build",
"dev": "turbo run dev --parallel",
"dev": "turbo run dev",
"lint": "turbo run lint",
"clean": "turbo run clean",
"format": "prettier --write \"**/*.{ts,tsx,md}\""
Expand Down
7 changes: 3 additions & 4 deletions examples/with-tailwind/turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@
"dependsOn": ["^build"],
"outputs": ["dist/**", ".next/**"]
},
"lint": {
"outputs": []
},
"lint": {},
"dev": {
"cache": false
"cache": false,
"persistent": true
},
"clean": {
"cache": false
Expand Down
2 changes: 1 addition & 1 deletion examples/with-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"private": true,
"scripts": {
"build": "turbo run build",
"dev": "turbo run dev --parallel",
"dev": "turbo run dev",
"lint": "turbo run lint",
"format": "prettier --write \"**/*.{ts,tsx,md}\""
},
Expand Down
7 changes: 3 additions & 4 deletions examples/with-vite/turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@
"dependsOn": ["^build"],
"outputs": ["dist/**"]
},
"lint": {
"outputs": []
},
"lint": {},
"dev": {
"cache": false
"cache": false,
"persistent": true
}
}
}
7 changes: 3 additions & 4 deletions examples/with-yarn/turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@
"dependsOn": ["^build"],
"outputs": ["dist/**", ".next/**"]
},
"lint": {
"outputs": []
},
"lint": {},
"dev": {
"cache": false
"cache": false,
"persistent": true
}
}
}

0 comments on commit c0673fd

Please sign in to comment.