tldraw/turbo.json
Gwenaël Gallon 25f39a65fc
Chore: update and optimize turbo (#885)
* Update turbo to latest

* Update turbo.json

* The --stream flag has been deprecated

* Remove unused start:all

* build:packages -> use new --filter

* build:apps -> use new --filter

* build:www -> use new --filter

* build:core -> use new --filter

* build -> fix tldraw-example dependencies

* Optimize test* and lint

* start & start:core -> use new --filter

* start:electron -> use new --filter

* Remove unused start:apps

* Update turbo.json

* Caching ESLint

See Pro Tip : https://turborepo.org/docs/core-concepts/caching#configuring-cache-outputs

* Optimize test:watch

* start:www -> use new filter

* start:vscode -> use new filter

* Update build:core

* Optimize start and start:core

* Clean build:core

* Remove unused command

* Revert "Merge branch 'main' into chore/update-turbo"

This reverts commit a481c242054504c9b8452822df8c452c24bcdfbd, reversing
changes made to a0f2f337b3d00974741effd4faae699ce493d3a2.

* Update start:electron

* Remove unused deploy in turbo.json

* Add start:extension

* Add package:electron and package:vscode

* Add publish:vscode

* Revet Revert: revert "Merge branch 'main' into chore/update-turbo"

* Update vscode extension build

* Clean tldraw-example tsconfig.json

* Uniform script commands

* Fix start for www

* remove mention of removed packages

* add build:core

* Add force to build step

Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2022-08-11 07:08:32 +01:00

53 lines
1.1 KiB
JSON

{
"$schema": "https://turborepo.org/schema.json",
"baseBranch": "origin/main",
"pipeline": {
"@tldraw/www#start": {
"dependsOn": ["@tldraw/www#build"]
},
"dev": {
"cache": false
},
"build": {
"dependsOn": ["^build"],
"outputs": ["dist/**"]
},
"build:core": {
"dependsOn": ["^build"],
"outputs": ["dist/**"]
},
"@tldraw/www#build": {
"dependsOn": ["^build"],
"outputs": [".next/**"]
},
"tldraw-vscode#build": {
"dependsOn": ["@tldraw/vscode-editor#build"],
"outputs": ["dist/**", "editor/**"]
},
"tldraw-vscode#package": {
"dependsOn": ["tldraw-vscode#build"],
"outputs": ["temp/**"]
},
"tldraw-vscode#publish": {
"dependsOn": ["tldraw-vscode#package"],
"outputs": []
},
"test": {
"outputs": []
},
"test:ci": {
"outputs": ["coverage/**"]
},
"test:watch": {
"outputs": [],
"inputs": ["src/**/*.tsx", "src/**/*.ts", "src/**/*.json"],
"cache": false
},
"lint": {
"outputs": []
},
"clean": {
"cache": false
}
}
}