From effd698d1c15044085b778feb05e7b30ae1fd92b Mon Sep 17 00:00:00 2001 From: Mark McCulloh Date: Mon, 22 Jul 2024 07:35:24 -0400 Subject: [PATCH] chore: upgrade to turbo v2 (#6926) Closes #6636 Most notable change: Can no longer omit package scope for task filters. e.g. `turbo test -F wingc` must instead be `turbo test -F @winglang/wingc` Docs were updated to reflect this. As part of this update, the docs now emphasize usage of turbo as a global tool and show `pnpm turbo` as an alternative option. imo this is the ideal usage because turbo is smart enough to use the local version instead, so there's no worrying about global version mismatches. *By submitting this pull request, I confirm that my contribution is made under the terms of the [Wing Cloud Contribution License](https://github.com/winglang/wing/blob/main/CONTRIBUTION_LICENSE.md)*. --- .../libraries/construct-library/turbo.json | 2 +- apps/jsii-docgen/turbo.json | 2 +- apps/vscode-wing/turbo.json | 2 +- apps/wing-api-checker/turbo.json | 2 +- apps/wing-console/console/app/turbo.json | 2 +- .../console/design-system/turbo.json | 2 +- apps/wing-console/console/server/turbo.json | 2 +- apps/wing-console/console/ui/turbo.json | 2 +- apps/wing/turbo.json | 2 +- apps/wingcli-v2/turbo.json | 15 +++--- .../01-start-here/05-development.md | 38 +++++++------- docs/turbo.json | 2 +- examples/jsii-fixture/turbo.json | 13 ++--- examples/tests/doc_examples/turbo.json | 2 +- examples/tests/error/turbo.json | 2 +- examples/tests/invalid/turbo.json | 2 +- examples/tests/sdk_tests/turbo.json | 2 +- examples/tests/valid/turbo.json | 2 +- examples/ts-fixture/turbo.json | 16 +++--- examples/wing-fixture/turbo.json | 20 ++++---- libs/@wingcloud/framework/turbo.json | 12 ++--- libs/awscdk/turbo.json | 13 ++--- libs/compatibility-spy/turbo.json | 2 +- libs/tree-sitter-wing/turbo.json | 2 +- libs/wingc/turbo.json | 2 +- libs/wingcompiler/turbo.json | 2 +- libs/wingii/turbo.json | 2 +- libs/wingsdk/turbo.json | 2 +- libs/wingtunnels/turbo.json | 2 +- package.json | 5 +- pnpm-lock.yaml | 50 +++++++++---------- .../turbo.json | 2 +- tools/hangar/turbo.json | 2 +- turbo.json | 5 +- 34 files changed, 110 insertions(+), 125 deletions(-) diff --git a/apps/jsii-docgen/test/__fixtures__/libraries/construct-library/turbo.json b/apps/jsii-docgen/test/__fixtures__/libraries/construct-library/turbo.json index 30300bae7d5..5d6fecd5de1 100644 --- a/apps/jsii-docgen/test/__fixtures__/libraries/construct-library/turbo.json +++ b/apps/jsii-docgen/test/__fixtures__/libraries/construct-library/turbo.json @@ -1,7 +1,7 @@ { "$schema": "https://turborepo.org/schema.json", "extends": ["//"], - "pipeline": { + "tasks": { "compile": { "inputs": ["lib/**"], "outputs": [".jsii"] diff --git a/apps/jsii-docgen/turbo.json b/apps/jsii-docgen/turbo.json index ceb2ceab59a..9037778eb57 100644 --- a/apps/jsii-docgen/turbo.json +++ b/apps/jsii-docgen/turbo.json @@ -1,7 +1,7 @@ { "$schema": "https://turborepo.org/schema.json", "extends": ["//"], - "pipeline": { + "tasks": { "compile": { "outputs": ["lib/**"] }, diff --git a/apps/vscode-wing/turbo.json b/apps/vscode-wing/turbo.json index d081804a948..22feb6249c8 100644 --- a/apps/vscode-wing/turbo.json +++ b/apps/vscode-wing/turbo.json @@ -1,7 +1,7 @@ { "$schema": "https://turborepo.org/schema.json", "extends": ["//"], - "pipeline": { + "tasks": { "compile": { "outputs": ["lib/**"] }, diff --git a/apps/wing-api-checker/turbo.json b/apps/wing-api-checker/turbo.json index 583ed6ae5d6..92ab7c5ae58 100644 --- a/apps/wing-api-checker/turbo.json +++ b/apps/wing-api-checker/turbo.json @@ -1,7 +1,7 @@ { "$schema": "https://turborepo.org/schema.json", "extends": ["//"], - "pipeline": { + "tasks": { "compile": { "outputs": ["lib/**"] } diff --git a/apps/wing-console/console/app/turbo.json b/apps/wing-console/console/app/turbo.json index e26803eb250..40c2ee72078 100644 --- a/apps/wing-console/console/app/turbo.json +++ b/apps/wing-console/console/app/turbo.json @@ -1,7 +1,7 @@ { "$schema": "https://turborepo.org/schema.json", "extends": ["//"], - "pipeline": { + "tasks": { "dev": { "dependsOn": ["^compile"] }, diff --git a/apps/wing-console/console/design-system/turbo.json b/apps/wing-console/console/design-system/turbo.json index df7f352a7ad..7f6df694e25 100644 --- a/apps/wing-console/console/design-system/turbo.json +++ b/apps/wing-console/console/design-system/turbo.json @@ -1,7 +1,7 @@ { "$schema": "https://turborepo.org/schema.json", "extends": ["//"], - "pipeline": { + "tasks": { "compile": { "outputs": ["dist/**"] }, diff --git a/apps/wing-console/console/server/turbo.json b/apps/wing-console/console/server/turbo.json index 7d004bd5e49..e099a619c79 100644 --- a/apps/wing-console/console/server/turbo.json +++ b/apps/wing-console/console/server/turbo.json @@ -1,7 +1,7 @@ { "$schema": "https://turborepo.org/schema.json", "extends": ["//"], - "pipeline": { + "tasks": { "compile": { "outputs": ["dist/**"] }, diff --git a/apps/wing-console/console/ui/turbo.json b/apps/wing-console/console/ui/turbo.json index 88f5044e33f..bab4223f5cc 100644 --- a/apps/wing-console/console/ui/turbo.json +++ b/apps/wing-console/console/ui/turbo.json @@ -1,7 +1,7 @@ { "$schema": "https://turborepo.org/schema.json", "extends": ["//"], - "pipeline": { + "tasks": { "compile": { "outputs": ["dist/**"] }, diff --git a/apps/wing/turbo.json b/apps/wing/turbo.json index 33b0296fedf..4824883040a 100644 --- a/apps/wing/turbo.json +++ b/apps/wing/turbo.json @@ -1,7 +1,7 @@ { "$schema": "https://turborepo.org/schema.json", "extends": ["//"], - "pipeline": { + "tasks": { "test": { "dependsOn": ["^compile", "examples-valid#topo"] }, diff --git a/apps/wingcli-v2/turbo.json b/apps/wingcli-v2/turbo.json index 2fbc4819435..7f33fe4adfe 100644 --- a/apps/wingcli-v2/turbo.json +++ b/apps/wingcli-v2/turbo.json @@ -1,11 +1,10 @@ { - "$schema": "https://turborepo.org/schema.json", - "extends": ["//"], - "pipeline": { - "compile": {}, - "test": { - "dependsOn": ["@winglang/sdk#compile"] - } + "$schema": "https://turborepo.org/schema.json", + "extends": ["//"], + "tasks": { + "compile": {}, + "test": { + "dependsOn": ["@winglang/sdk#compile"] } } - \ No newline at end of file +} diff --git a/docs/contributing/01-start-here/05-development.md b/docs/contributing/01-start-here/05-development.md index 75659654b29..6fe320ae6be 100644 --- a/docs/contributing/01-start-here/05-development.md +++ b/docs/contributing/01-start-here/05-development.md @@ -45,18 +45,17 @@ cd wing pnpm install ``` - :::note Turbo Commands [Turbo] commands in this document are structured as ```sh -pnpm turbo +turbo # or -pnpm turbo --filter= -- +turbo -F -- ``` -- `pnpm` can be omitted if [Turbo] is installed globally -- `--filter=` may be used to filter to a specific project (and it's dependencies) +- `pnpm turbo` can be used instead if [Turbo] is not installed globally +- `-F ` may be used to filter to a specific project (and it's dependencies) - Running `turbo ` inside of a project directory will automatically filter to that project - We use [Turbo caching](https://turbo.build/repo/docs/core-concepts/caching) to speed up builds. If you want to force a rebuild, use `--force`. @@ -104,10 +103,9 @@ export RUST_BACKTRACE=full Or if you just want to compile your changes and run a local version of the Wing CLI: ```sh -pnpm compile --filter=winglang +turbo compile -F winglang ``` - Now, you can edit a source file anywhere across the stack and run the compiler with arguments. For example: @@ -149,10 +147,10 @@ wing](#-how-do-i-build-wing). To run the tests (and update snapshots), run the following command from anywhere in the monorepo: ```sh -pnpm turbo wing:e2e +turbo wing:e2e ``` -(This is a helpful shortcut for `pnpm turbo test --filter=hangar`) +(This is a helpful shortcut for `turbo test -F hangar`) ### Test Meta-Comments @@ -178,10 +176,10 @@ This is useful if, for example, the test requires docker. In our CI only linux s Benchmark files are located in `examples/tests/valid/benchmarks`. To run the benchmarks, run the following command from anywhere in the monorepo: ```sh -pnpm turbo wing:bench +turbo wing:bench ``` -(This is a helpful shortcut for `pnpm turbo bench --filter=hangar`) +(This is a helpful shortcut for `turbo bench -F hangar`) In CI, if these benchmarks regress too far from the current `main` branch, the build will fail. @@ -192,7 +190,7 @@ The following command runs the rust tests in wingc, including verification that It will also make sure to update any snapshots. ```sh -pnpm turbo test --filter=wingc +turbo test -F @winglang/wingc ``` The following command runs `wingc` on a file. This performs all the compilation steps. Run from the root. @@ -206,7 +204,7 @@ You can find the compilation artifacts in the `apps/wing/target` folder. To check that your code passes all the lints, run: ```sh -pnpm turbo lint --filter=wingc +turbo lint -F @winglang/wingc ``` ### Optional VSCode extensions for working on the compiler @@ -227,20 +225,20 @@ Open the `.w` file you wish to debug compilation for (e.g. `${workspaceFolder}/e After making changes to `grammar.js`, run: ```sh -pnpm turbo compile --filter=tree-sitter-wing +turbo compile -F @winglang/tree-sitter-wing ``` To run the grammar tests (that are located in the `test` folder): ```sh -pnpm turbo test --filter=tree-sitter-wing +turbo test -F @winglang/tree-sitter-wing ``` To use the wasm grammar to run a web-based playground where you can explore the AST and test out highlight queries, run: ```sh -pnpm turbo playground --filter=tree-sitter-wing +turbo playground -F @winglang/tree-sitter-wing ``` ## 🔨 How do I build the VSCode extension? @@ -251,13 +249,13 @@ is located in the Wing CLI at `apps/wing/src/commands/lsp.ts`. To compile the extension (also creates an installable `.vsix` file): ```sh -pnpm turbo compile --filter=vscode-wing +turbo compile -F vscode-wing ``` To run a new isolated VSCode instance with the extension installed: ```sh -pnpm turbo dev --filter=vscode-wing +turbo dev -F vscode-wing ``` To modify the package.json, make sure to edit `.projenrc.ts` and rebuild. @@ -269,7 +267,7 @@ Tip: if you want to print debug messages in your code while developing, you shou To lint Rust code, you can run the `lint` target on the `wingc` or `wingii` projects: ```sh -pnpm turbo lint --filter=wingc +turbo lint -F @winglang/wingc ``` It's also possible to lint by running `cargo clippy` directly. @@ -288,4 +286,4 @@ Adding a new template is straightforward! Each template is represented by a folder located at [project-templates](https://github.com/winglang/wing/tree/main/apps/wing/project-templates), containing all of the files that template should be initialized with. Create a new folder with the template name, and insert any code files that are needed to run it. -Unit tests ran with `pnpm turbo test` (or in GitHub Actions once you make a pull request) will automatically validate that the template is valid. +Unit tests ran with `turbo test` (or in GitHub Actions once you make a pull request) will automatically validate that the template is valid. diff --git a/docs/turbo.json b/docs/turbo.json index 249f3ed7ddc..7cdf54d9aed 100644 --- a/docs/turbo.json +++ b/docs/turbo.json @@ -1,7 +1,7 @@ { "$schema": "https://turborepo.org/schema.json", "extends": ["//"], - "pipeline": { + "tasks": { "compile": { "inputs": [ "**/*.md" diff --git a/examples/jsii-fixture/turbo.json b/examples/jsii-fixture/turbo.json index eb8e93727fb..899b913d425 100644 --- a/examples/jsii-fixture/turbo.json +++ b/examples/jsii-fixture/turbo.json @@ -1,14 +1,9 @@ { "$schema": "https://turborepo.org/schema.json", - "extends": [ - "//" - ], - "pipeline": { + "extends": ["//"], + "tasks": { "compile": { - "outputs": [ - ".jsii", - "lib/**" - ] + "outputs": [".jsii", "lib/**"] } } -} \ No newline at end of file +} diff --git a/examples/tests/doc_examples/turbo.json b/examples/tests/doc_examples/turbo.json index af4cba7052e..6af7cca1207 100644 --- a/examples/tests/doc_examples/turbo.json +++ b/examples/tests/doc_examples/turbo.json @@ -1,7 +1,7 @@ { "$schema": "https://turborepo.org/schema.json", "extends": ["//"], - "pipeline": { + "tasks": { "topo": {} } } diff --git a/examples/tests/error/turbo.json b/examples/tests/error/turbo.json index af4cba7052e..6af7cca1207 100644 --- a/examples/tests/error/turbo.json +++ b/examples/tests/error/turbo.json @@ -1,7 +1,7 @@ { "$schema": "https://turborepo.org/schema.json", "extends": ["//"], - "pipeline": { + "tasks": { "topo": {} } } diff --git a/examples/tests/invalid/turbo.json b/examples/tests/invalid/turbo.json index af4cba7052e..6af7cca1207 100644 --- a/examples/tests/invalid/turbo.json +++ b/examples/tests/invalid/turbo.json @@ -1,7 +1,7 @@ { "$schema": "https://turborepo.org/schema.json", "extends": ["//"], - "pipeline": { + "tasks": { "topo": {} } } diff --git a/examples/tests/sdk_tests/turbo.json b/examples/tests/sdk_tests/turbo.json index af4cba7052e..6af7cca1207 100644 --- a/examples/tests/sdk_tests/turbo.json +++ b/examples/tests/sdk_tests/turbo.json @@ -1,7 +1,7 @@ { "$schema": "https://turborepo.org/schema.json", "extends": ["//"], - "pipeline": { + "tasks": { "topo": {} } } diff --git a/examples/tests/valid/turbo.json b/examples/tests/valid/turbo.json index 687eb4e60b5..1d480b2ec9e 100644 --- a/examples/tests/valid/turbo.json +++ b/examples/tests/valid/turbo.json @@ -1,7 +1,7 @@ { "$schema": "https://turborepo.org/schema.json", "extends": ["//"], - "pipeline": { + "tasks": { "topo": { "dependsOn": ["^topo", "jsii-fixture#compile"] } diff --git a/examples/ts-fixture/turbo.json b/examples/ts-fixture/turbo.json index 09431dae786..d087812f929 100644 --- a/examples/ts-fixture/turbo.json +++ b/examples/ts-fixture/turbo.json @@ -1,10 +1,10 @@ { - "$schema": "https://turborepo.org/schema.json", - "extends": ["//"], - "pipeline": { - "compile": { - "outputs": ["src/target/**"] - }, - "test": {} - } + "$schema": "https://turborepo.org/schema.json", + "extends": ["//"], + "tasks": { + "compile": { + "outputs": ["src/target/**"] + }, + "test": {} } +} diff --git a/examples/wing-fixture/turbo.json b/examples/wing-fixture/turbo.json index c2dcd75a401..295818f0605 100644 --- a/examples/wing-fixture/turbo.json +++ b/examples/wing-fixture/turbo.json @@ -1,12 +1,12 @@ { - "$schema": "https://turborepo.org/schema.json", - "extends": ["//"], - "pipeline": { - "compile": { - "dependsOn": ["^compile"], - "inputs": ["**/*.w", "**/*.js", "**/*.ts"], - "outputs": ["target/wing-fixture.wsim/**"] - }, - "topo": {} - } + "$schema": "https://turborepo.org/schema.json", + "extends": ["//"], + "tasks": { + "compile": { + "dependsOn": ["^compile"], + "inputs": ["**/*.w", "**/*.js", "**/*.ts"], + "outputs": ["target/wing-fixture.wsim/**"] + }, + "topo": {} } +} diff --git a/libs/@wingcloud/framework/turbo.json b/libs/@wingcloud/framework/turbo.json index 08c2dc6ec49..ae15ce8b0ac 100644 --- a/libs/@wingcloud/framework/turbo.json +++ b/libs/@wingcloud/framework/turbo.json @@ -1,17 +1,13 @@ { "$schema": "https://turborepo.org/schema.json", - "extends": [ - "//" - ], - "pipeline": { + "extends": ["//"], + "tasks": { "compile": { - "outputs": [ - "dist/**" - ] + "outputs": ["dist/**"] }, "test": {}, "package": { "outputs": ["../../../dist/wingcloud-framework-*.tgz"] } } -} \ No newline at end of file +} diff --git a/libs/awscdk/turbo.json b/libs/awscdk/turbo.json index 43d145000eb..61da079f5f3 100644 --- a/libs/awscdk/turbo.json +++ b/libs/awscdk/turbo.json @@ -1,14 +1,9 @@ { "$schema": "https://turborepo.org/schema.json", - "extends": [ - "//" - ], - "pipeline": { + "extends": ["//"], + "tasks": { "compile": { - "outputs": [ - "dist/**", - "lib/**" - ] + "outputs": ["dist/**", "lib/**"] }, "test": { "dependsOn": ["compile"] @@ -18,4 +13,4 @@ "outputs": ["../../dist/winglang-platform-awscdk-*.tgz"] } } -} \ No newline at end of file +} diff --git a/libs/compatibility-spy/turbo.json b/libs/compatibility-spy/turbo.json index 78c048320ad..55fa19e1b06 100644 --- a/libs/compatibility-spy/turbo.json +++ b/libs/compatibility-spy/turbo.json @@ -1,7 +1,7 @@ { "$schema": "https://turborepo.org/schema.json", "extends": ["//"], - "pipeline": { + "tasks": { "compile": { "outputs": ["lib/**"] }, diff --git a/libs/tree-sitter-wing/turbo.json b/libs/tree-sitter-wing/turbo.json index 68d8b846c2c..27a00f92c02 100644 --- a/libs/tree-sitter-wing/turbo.json +++ b/libs/tree-sitter-wing/turbo.json @@ -1,7 +1,7 @@ { "$schema": "https://turborepo.org/schema.json", "extends": ["//"], - "pipeline": { + "tasks": { "build:generate": { "inputs": ["!*.wasm", "*", "grammar.js", "src/scanner.c"], "outputs": ["src/**", "!src/scanner.c"] diff --git a/libs/wingc/turbo.json b/libs/wingc/turbo.json index fe5a8359885..58eb48852c1 100644 --- a/libs/wingc/turbo.json +++ b/libs/wingc/turbo.json @@ -1,7 +1,7 @@ { "$schema": "https://turborepo.org/schema.json", "extends": ["//"], - "pipeline": { + "tasks": { "compile": { "dependsOn": [ "@winglang/wingii#compile", diff --git a/libs/wingcompiler/turbo.json b/libs/wingcompiler/turbo.json index f2b5aef90f9..3f17d945b62 100644 --- a/libs/wingcompiler/turbo.json +++ b/libs/wingcompiler/turbo.json @@ -1,7 +1,7 @@ { "$schema": "https://turborepo.org/schema.json", "extends": ["//"], - "pipeline": { + "tasks": { "compile:copy-wingc-wasm": { "dependsOn": ["^compile"], "inputs": ["../wingc/wingc.wasm"], diff --git a/libs/wingii/turbo.json b/libs/wingii/turbo.json index 87c7d5d0c4e..1c6ae233ed2 100644 --- a/libs/wingii/turbo.json +++ b/libs/wingii/turbo.json @@ -1,7 +1,7 @@ { "$schema": "https://turborepo.org/schema.json", "extends": ["//"], - "pipeline": { + "tasks": { "compile": { "dependsOn": ["@winglang/tree-sitter-wing#compile"], "outputs": ["../../target/wasm32-wasi/release/libwingii.*"] diff --git a/libs/wingsdk/turbo.json b/libs/wingsdk/turbo.json index 7072a1a9716..a0e93ff13fe 100644 --- a/libs/wingsdk/turbo.json +++ b/libs/wingsdk/turbo.json @@ -1,7 +1,7 @@ { "$schema": "https://turborepo.org/schema.json", "extends": ["//"], - "pipeline": { + "tasks": { "pre-compile": { "inputs": ["cdktf.json"], "outputs": ["src/.gen/**"] diff --git a/libs/wingtunnels/turbo.json b/libs/wingtunnels/turbo.json index 4ed944778fc..714b57d1c2a 100644 --- a/libs/wingtunnels/turbo.json +++ b/libs/wingtunnels/turbo.json @@ -1,7 +1,7 @@ { "$schema": "https://turborepo.org/schema.json", "extends": ["//"], - "pipeline": { + "tasks": { "compile": { "outputs": ["lib/**"] }, diff --git a/package.json b/package.json index c257dff08f5..2577b265d1a 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "@winglang/compatibility-spy": "workspace:^", "bump-pack": "workspace:^", "generate-workspace": "workspace:^", - "turbo": "^1.13.4" + "turbo": "^2.0.7" }, "scripts": { "build": "turbo compile post-compile lint eslint test package", @@ -17,12 +17,13 @@ "docs": "./scripts/docsite.sh", "install": "bash scripts/setup_wasi.sh", "postinstall": "link-bundles && generate-workspace", - "wing": "turbo compile --filter=winglang --output-logs=errors-only && ./apps/wing/bin/wing" + "wing": "turbo compile -F winglang --output-logs=new-only && ./apps/wing/bin/wing" }, "volta": { "node": "20.11.1", "pnpm": "8.15.1" }, + "packageManager": "pnpm@8.15.1", "pnpm": { "overrides": { "mime": "^3.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index dc7d4d76f75..f62c476864a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -36,8 +36,8 @@ importers: specifier: workspace:^ version: link:tools/generate-workspace turbo: - specifier: ^1.13.4 - version: 1.13.4 + specifier: ^2.0.7 + version: 2.0.7 apps/jsii-docgen: dependencies: @@ -14307,7 +14307,7 @@ packages: dependencies: semver: 7.6.2 shelljs: 0.8.5 - typescript: 5.6.0-dev.20240715 + typescript: 5.6.0-dev.20240717 dev: true /dset@3.1.3: @@ -22405,64 +22405,64 @@ packages: resolution: {integrity: sha512-1h/Lnq9yajKY2PEbBadPXj3VxsDDu844OnaAo52UVmIzIvwwtBPIuNvkjuzBlTWpfJyUbG3ez0KSBibQkj4ojg==} engines: {node: '>=0.6.11 <=0.7.0 || >=0.7.3'} - /turbo-darwin-64@1.13.4: - resolution: {integrity: sha512-A0eKd73R7CGnRinTiS7txkMElg+R5rKFp9HV7baDiEL4xTG1FIg/56Vm7A5RVgg8UNgG2qNnrfatJtb+dRmNdw==} + /turbo-darwin-64@2.0.7: + resolution: {integrity: sha512-J1RBvQGqKeUwLJrZbfrm4tHshagdMeGAwd7rpLpfUrw0PNmGfcBazJf6dIGXG59/GHzJmS0/eAZ8qDchfVbIFA==} cpu: [x64] os: [darwin] requiresBuild: true dev: true optional: true - /turbo-darwin-arm64@1.13.4: - resolution: {integrity: sha512-eG769Q0NF6/Vyjsr3mKCnkG/eW6dKMBZk6dxWOdrHfrg6QgfkBUk0WUUujzdtVPiUIvsh4l46vQrNVd9EOtbyA==} + /turbo-darwin-arm64@2.0.7: + resolution: {integrity: sha512-h1JK8uuEjoHx1SvvTZiottj+4kDmiv+hivnLUzNwO75qKblMsd38IsFB0J2sMRz7JacFlf+3ry8SItznBW67Xw==} cpu: [arm64] os: [darwin] requiresBuild: true dev: true optional: true - /turbo-linux-64@1.13.4: - resolution: {integrity: sha512-Bq0JphDeNw3XEi+Xb/e4xoKhs1DHN7OoLVUbTIQz+gazYjigVZvtwCvgrZI7eW9Xo1eOXM2zw2u1DGLLUfmGkQ==} + /turbo-linux-64@2.0.7: + resolution: {integrity: sha512-dsr7GFeHAYVMnXWDDjhpsAQetejU4OlkNBRA5hfmnIcl2sSyOYa3EvoeJ6j5z5vTNIJ9VO4I1h0jK3lTjEoonA==} cpu: [x64] os: [linux] requiresBuild: true dev: true optional: true - /turbo-linux-arm64@1.13.4: - resolution: {integrity: sha512-BJcXw1DDiHO/okYbaNdcWN6szjXyHWx9d460v6fCHY65G8CyqGU3y2uUTPK89o8lq/b2C8NK0yZD+Vp0f9VoIg==} + /turbo-linux-arm64@2.0.7: + resolution: {integrity: sha512-bJbwXvyX1XPzY1jHgkqggls/L4yFyHVK8GGACF3kcg6x7lYV2SXkUYRyOC3WqzW7euqa9Zw/32jrIPP4Qy31Vw==} cpu: [arm64] os: [linux] requiresBuild: true dev: true optional: true - /turbo-windows-64@1.13.4: - resolution: {integrity: sha512-OFFhXHOFLN7A78vD/dlVuuSSVEB3s9ZBj18Tm1hk3aW1HTWTuAw0ReN6ZNlVObZUHvGy8d57OAGGxf2bT3etQw==} + /turbo-windows-64@2.0.7: + resolution: {integrity: sha512-aBH+5A7IN957MqXMrw8xN0CWtH/fPFL+xTlloO6074Eaa8WfnctSAnaSujm6f4xF2T8lFx+ZprBvnO9oKvLQQQ==} cpu: [x64] os: [win32] requiresBuild: true dev: true optional: true - /turbo-windows-arm64@1.13.4: - resolution: {integrity: sha512-u5A+VOKHswJJmJ8o8rcilBfU5U3Y1TTAfP9wX8bFh8teYF1ghP0EhtMRLjhtp6RPa+XCxHHVA2CiC3gbh5eg5g==} + /turbo-windows-arm64@2.0.7: + resolution: {integrity: sha512-ButUCpO5nTi+jyTSIY2mQ9dVz+mCGxJ6sHyn0xGlNoJWdisKXb0BtWCLAjM26gg/yp9Kt1MBowMQyYVruPV0Qw==} cpu: [arm64] os: [win32] requiresBuild: true dev: true optional: true - /turbo@1.13.4: - resolution: {integrity: sha512-1q7+9UJABuBAHrcC4Sxp5lOqYS5mvxRrwa33wpIyM18hlOCpRD/fTJNxZ0vhbMcJmz15o9kkVm743mPn7p6jpQ==} + /turbo@2.0.7: + resolution: {integrity: sha512-76iNWZpmKAKjj+yL0Wtcu2LpDIM5Nz7JS3fHOZPYS0AKuC2boJ24276VAiK4PKwbpBB//TYKDpSLuQ6cfR49pg==} hasBin: true optionalDependencies: - turbo-darwin-64: 1.13.4 - turbo-darwin-arm64: 1.13.4 - turbo-linux-64: 1.13.4 - turbo-linux-arm64: 1.13.4 - turbo-windows-64: 1.13.4 - turbo-windows-arm64: 1.13.4 + turbo-darwin-64: 2.0.7 + turbo-darwin-arm64: 2.0.7 + turbo-linux-64: 2.0.7 + turbo-linux-arm64: 2.0.7 + turbo-windows-64: 2.0.7 + turbo-windows-arm64: 2.0.7 dev: true /type-check@0.4.0: @@ -22596,8 +22596,8 @@ packages: engines: {node: '>=14.17'} hasBin: true - /typescript@5.6.0-dev.20240715: - resolution: {integrity: sha512-CLF8WFoqLgHgxQqjklkEOw3gT99Y2YNU4+TfkJurX5bfejAUYpb2jBjiYOn5Rq9HCew6ceZlRaG7Q++6/fBvVA==} + /typescript@5.6.0-dev.20240717: + resolution: {integrity: sha512-W2qNu1NDYC0GopCV4ZR0pr7hdSlG59txBbYYJaMBFLxZAdmQBUa7lIQsClSzHGPlIZZADKcP9jSoAYDbIrihRA==} engines: {node: '>=14.17'} hasBin: true dev: true diff --git a/tools/compatibility-matrix-automation/turbo.json b/tools/compatibility-matrix-automation/turbo.json index 91d776dab12..40ba2b689ac 100644 --- a/tools/compatibility-matrix-automation/turbo.json +++ b/tools/compatibility-matrix-automation/turbo.json @@ -1,7 +1,7 @@ { "$schema": "https://turborepo.org/schema.json", "extends": ["//"], - "pipeline": { + "tasks": { "test": {} } } diff --git a/tools/hangar/turbo.json b/tools/hangar/turbo.json index 1f9456b9ad6..be91ecce8cb 100644 --- a/tools/hangar/turbo.json +++ b/tools/hangar/turbo.json @@ -1,7 +1,7 @@ { "$schema": "https://turborepo.org/schema.json", "extends": ["//"], - "pipeline": { + "tasks": { "test:generate": { "inputs": [ "*.ts", diff --git a/turbo.json b/turbo.json index bca55b8171e..70cce2dd3c9 100644 --- a/turbo.json +++ b/turbo.json @@ -11,7 +11,8 @@ "tools/bump-pack/**", "!tools/bump-pack/node_modules/**" ], - "pipeline": { + "ui": "stream", + "tasks": { "default": { "inputs": ["*.json", ".projenrc.ts"] }, @@ -118,7 +119,7 @@ "inputs": ["*.md", "LICENSE"] }, "topo": { - "inputs": ["**", "!node_modules/**", "!**/target/**"], + "inputs": ["**", "!node_modules/**", "!*/**/target/**"], "dependsOn": ["^topo"] }, "dev": {