Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Move workspaces-to-typescript-project-references to turbo
  • Loading branch information
Juice10 committed Jun 19, 2024
commit e712a221ff9ed68d09a1f5d26d8ecb6994a706da
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@
"typescript": "^4.9.5"
},
"scripts": {
"build:all": "NODE_OPTIONS='--max-old-space-size=4096' yarn run concurrently --success=all -r -m=1 'yarn workspaces-to-typescript-project-references' 'yarn turbo run prepublish'",
"build:all": "NODE_OPTIONS='--max-old-space-size=4096' yarn turbo run prepublish",
"update-references": "yarn workspaces-to-typescript-project-references",
"test": "yarn run concurrently --success=all -r -m=1 'yarn workspaces-to-typescript-project-references --check' 'yarn turbo run test --concurrency=1 --continue'",
"test:watch": "yarn turbo run test:watch",
"test:update": "yarn turbo run test:update",
Expand Down
11 changes: 9 additions & 2 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
],
"tasks": {
"prepublish": {
"dependsOn": ["^prepublish"],
"dependsOn": ["^prepublish", "//#update-references"],
"outputs": [
"lib/**",
"es/**",
Expand Down Expand Up @@ -38,6 +38,13 @@
"cache": false
},
"lint": {},
"check-types": {}
"check-types": {},
"//#update-references": {
"inputs": ["packages/*/package.json", "packages/plugins/*/package.json"],
"outputs": [
"packages/*/tsconfig.json",
"packages/plugins/*/tsconfig.json"
]
}
}
}