-
Notifications
You must be signed in to change notification settings - Fork 2k
/
Copy pathrecursive-turbo.t
26 lines (19 loc) · 987 Bytes
/
recursive-turbo.t
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Setup
$ . ${TESTDIR}/../../helpers/setup_integration_test.sh
sed replaces the square brackets with parentheses so prysk can parse the file path
$ ${TURBO} something 2>&1 | sed 's/\[\([^]]*\)\]/\(\1)/g'
\xe2\x80\xa2 Packages in scope: //, another, my-app, util (esc)
\xe2\x80\xa2 Running something in 4 packages (esc)
\xe2\x80\xa2 Remote caching disabled (esc)
recursive_turbo_invocations (https://turbo.build/messages/recursive-turbo-invocations)
x Your `package.json` script looks like it invokes a Root Task (//
| #something), creating a loop of `turbo` invocations. You likely have
| misconfigured your scripts and tasks or your package manager's Workspace
| structure.
,-\(.*package.json:3:1\) (re)
3 | "scripts": {
4 | "something": "turbo run build"
: ^^^^^^^^|^^^^^^^^
: `-- This script calls `turbo`, which calls the script, which calls `turbo`...
5 | },
`----