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 57a35a0 commit 07b2c8f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
10 changes: 4 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,12 @@
"scripts": {
"build": "turbo run build",
"build:packages": "turbo run build --filter=./packages/*",
"build:wpnextjs": "npm run build:packages && turbo run build --filter=./projects/wp-nextjs",
"test": "npm run build:packages && turbo run test",
"build:wpnextjs": "turbo run build --filter=./projects/wp-nextjs",
"test": "turbo run test",
"lint": "turbo run lint",
"wp-env": "npm run wp-env:start -w=wp/headless-wp",
"nextjs:dev": "turbo run dev --parallel --filter=!./projects/wp-multisite-nextjs --filter=!./projects/wp-multisite-i18n-nextjs --filter=!./projects/wp-nextjs-ts",
"nextjs:dev-multisite": "turbo run dev --parallel --filter=!./projects/wp-nextjs",
"dev": "npm run build:packages && npm run wp-env && npm run nextjs:dev",
"dev:multisite": "npm run build:packages && npm run wp-env && npm run nextjs:dev-multisite",
"dev": "turbo run dev --parallel --filter=!./projects/wp-multisite-nextjs --filter=!./projects/wp-multisite-i18n-nextjs",
"dev:multisite": "turbo run dev --parallel --filter=!./projects/wp-nextjs",
"prepare": "husky install",
"typedoc": "typedoc",
"typedoc:watch": "typedoc --watch",
Expand Down
6 changes: 6 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
]
},
"test": {
"dependsOn": ["@headstartwp/core#build", "@headstartwp/next#build"],
"outputs": [
""
],
Expand All @@ -27,6 +28,11 @@
]
},
"dev": {
"cache": false,
"persistent": true,
"dependsOn": ["@headstartwp/core#build", "@headstartwp/next#build", "//#wp-env", "@10up/next-redis-cache-provider#build"]
},
"//#wp-env": {
"cache": false
}
}
Expand Down

0 comments on commit 07b2c8f

Please sign in to comment.