Skip to content

Commit 192e137

Browse files
authored
chore: remove experimental warning from ls command (#10096)
### Description This feature is no longer in experimental. We just forgot to remove the warning.
1 parent dc51341 commit 192e137

File tree

4 files changed

+0
-18
lines changed

4 files changed

+0
-18
lines changed

crates/turborepo-lib/src/cli/mod.rs

-1
Original file line numberDiff line numberDiff line change
@@ -1464,7 +1464,6 @@ pub async fn run(
14641464
Command::Ls {
14651465
packages, output, ..
14661466
} => {
1467-
warn!("ls command is experimental and may change in the future");
14681467
let event = CommandEventBuilder::new("info").with_parent(&root_telemetry);
14691468

14701469
event.track_call();

docs/repo-docs/crafting-your-repository/understanding-your-repository.mdx

-4
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,6 @@ To list your packages, you can run `turbo ls`. This will show the packages in yo
1111

1212
```bash title="Terminal"
1313
> turbo ls
14-
turbo 2.1.3
15-
16-
WARNING ls command is experimental and may change in the future
17-
5 packages (pnpm9)
1814

1915
@repo/eslint-config packages/eslint-config
2016
@repo/typescript-config packages/typescript-config

turborepo-tests/integration/tests/affected.t

-9
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ Create a new branch
77

88
Ensure that nothing is affected
99
$ ${TURBO} ls --affected
10-
WARNING ls command is experimental and may change in the future
1110
0 no packages (npm)
1211

1312

@@ -35,7 +34,6 @@ Validate that we only run `my-app#build` with change not committed
3534

3635
Do the same thing with the `ls` command
3736
$ ${TURBO} ls --affected
38-
WARNING ls command is experimental and may change in the future
3937
1 package (npm)
4038

4139
my-app apps[\/\\]my-app (re)
@@ -118,7 +116,6 @@ Validate that we only run `my-app#build` with change not committed
118116

119117
Do the same thing with the `ls` command
120118
$ ${TURBO} ls --affected
121-
WARNING ls command is experimental and may change in the future
122119
1 package (npm)
123120

124121
my-app apps[\/\\]my-app (re)
@@ -165,7 +162,6 @@ Validate that we only run `my-app#build` with change committed
165162

166163
Do the same thing with the `ls` command
167164
$ ${TURBO} ls --affected
168-
WARNING ls command is experimental and may change in the future
169165
1 package (npm)
170166

171167
my-app apps[\/\\]my-app (re)
@@ -201,7 +197,6 @@ Override the SCM base to be HEAD, so nothing runs
201197

202198
Do the same thing with the `ls` command
203199
$ TURBO_SCM_BASE="HEAD" ${TURBO} ls --affected
204-
WARNING ls command is experimental and may change in the future
205200
0 no packages (npm)
206201

207202

@@ -232,7 +227,6 @@ Override the SCM head to be main, so nothing runs
232227
233228
Do the same thing with the `ls` command
234229
$ TURBO_SCM_HEAD="main" ${TURBO} ls --affected
235-
WARNING ls command is experimental and may change in the future
236230
0 no packages (npm)
237231
238232
@@ -276,7 +270,6 @@ Run the build and expect only `my-app` to be affected, since between
276270
277271
Do the same thing with the `ls` command
278272
$ ${TURBO} ls --affected
279-
WARNING ls command is experimental and may change in the future
280273
1 package (npm)
281274
282275
my-app apps[\/\\]my-app (re)
@@ -316,7 +309,6 @@ Now try running `--affected` again, we should run all tasks
316309
317310
Do the same thing with the `ls` command
318311
$ ${TURBO} ls --affected
319-
WARNING ls command is experimental and may change in the future
320312
WARNING unable to detect git range, assuming all files have changed: Git error: fatal: no merge base found
321313
322314
3 packages (npm)
@@ -371,7 +363,6 @@ Now try running `--affected` again, we should run all tasks
371363
372364
Do the same thing with the `ls` command
373365
$ ${TURBO} ls --affected
374-
WARNING ls command is experimental and may change in the future
375366
WARNING unable to detect git range, assuming all files have changed: Git error: fatal: no merge base found
376367
377368
3 packages (npm)

turborepo-tests/integration/tests/command-ls.t

-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ Setup
33

44
Run info
55
$ ${TURBO} ls
6-
WARNING ls command is experimental and may change in the future
76
3 packages (npm)
87

98
another packages[\/\\]another (re)
@@ -12,15 +11,13 @@ Run info
1211

1312
Run ls with filter
1413
$ ${TURBO} ls -F my-app...
15-
WARNING ls command is experimental and may change in the future
1614
2 packages (npm)
1715

1816
my-app apps[\/\\]my-app (re)
1917
util packages[\/\\]util (re)
2018

2119
Run ls on package `another`
2220
$ ${TURBO} ls another
23-
WARNING ls command is experimental and may change in the future
2421
packages[/\\]another (re)
2522
another depends on: <no packages>
2623
@@ -30,7 +27,6 @@ Run ls on package `another`
3027
3128
Run ls on package `my-app`
3229
$ ${TURBO} ls my-app
33-
WARNING ls command is experimental and may change in the future
3430
apps[\/\\]my-app (re)
3531
my-app depends on: util
3632

0 commit comments

Comments
 (0)