Skip to content

Commit

Permalink
chore: migrate to turbo 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholasio committed Jun 10, 2024
1 parent 39548e5 commit 57a35a0
Show file tree
Hide file tree
Showing 6 changed files with 79 additions and 86 deletions.
72 changes: 36 additions & 36 deletions package-lock.json

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

21 changes: 11 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@10up/headless_framework",
"name": "@10up/headstartwp",
"version": "1.0.0",
"description": "Monorepo for headless framework",
"homepage": "https://github.com/10up/headstartwp#readme",
Expand Down Expand Up @@ -48,8 +48,8 @@
"jest": "^29.0.3",
"jest-environment-jsdom": "^29.0.3",
"lint-staged": "^11.1.2",
"turbo": "^1.9.3",
"prettier": "3.2.5"
"prettier": "3.2.5",
"turbo": "^2.0.3"
},
"nextBundleAnalysis": {
"buildOutputDirectory": "./projects/wp-nextjs/.next",
Expand All @@ -63,11 +63,12 @@
"npm": ">=9.0.0"
},
"optionalDependencies": {
"turbo-darwin-64": "^1.9.3",
"turbo-darwin-arm64": "^1.9.3",
"turbo-linux-64": "^1.9.3",
"turbo-linux-arm64": "^1.9.3",
"turbo-windows-64": "^1.9.3",
"turbo-windows-arm64": "^1.9.3"
}
"turbo-darwin-64": "^2.0.3",
"turbo-darwin-arm64": "^2.0.3",
"turbo-linux-64": "^2.0.3",
"turbo-linux-arm64": "^2.0.3",
"turbo-windows-64": "^2.0.3",
"turbo-windows-arm64": "^2.0.3"
},
"packageManager": "[email protected]"
}
7 changes: 0 additions & 7 deletions packages/core/tsconfig.ref.json

This file was deleted.

7 changes: 0 additions & 7 deletions packages/next/tsconfig.ref.json

This file was deleted.

10 changes: 1 addition & 9 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,5 @@
"jsx": "react-jsx",
"noImplicitAny": false,
},
"compileOnSave": false,
"references": [
{
"path": "./packages/core/tsconfig.ref.json"
},
{
"path": "./packages/next/tsconfig.ref.json"
}
]
"compileOnSave": false
}
48 changes: 31 additions & 17 deletions turbo.json
Original file line number Diff line number Diff line change
@@ -1,19 +1,33 @@
{
"$schema": "https://turborepo.org/schema.json",
"pipeline": {
"build": {
"dependsOn": ["^build"],
"outputs": ["dist/**", ".next/**", "!.next/cache/**"]
},
"test": {
"outputs": [""],
"inputs": ["src/**/*.tsx", "src/**/*.ts", "test/**/*.ts"]
},
"lint": {
"outputs": [""]
},
"dev": {
"cache": false
}
"$schema": "https://turborepo.org/schema.json",
"tasks": {
"build": {
"dependsOn": [
"^build"
],
"outputs": [
"dist/**",
".next/**",
"!.next/cache/**"
]
},
"test": {
"outputs": [
""
],
"inputs": [
"src/**/*.tsx",
"src/**/*.ts",
"test/**/*.ts"
]
},
"lint": {
"outputs": [
""
]
},
"dev": {
"cache": false
}
}
}
}

0 comments on commit 57a35a0

Please sign in to comment.