-
Notifications
You must be signed in to change notification settings - Fork 21
Expand file tree
/
Copy pathsnapshots.toml
More file actions
61 lines (52 loc) · 1.65 KB
/
snapshots.toml
File metadata and controls
61 lines (52 loc) · 1.65 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# Tests --direct / -d flag: select direct dependencies only (one hop).
# Topology: app → utils (dependency), app → core (devDependency), utils → core
# Both dependency types are traversed.
# -d from app: should select utils (dep) and core (devDep), NOT app itself.
[[plan]]
compact = true
name = "dependencies from app"
args = ["run", "-d", "build"]
cwd = "packages/app"
# -d from utils: should select core only (direct dep), NOT utils itself.
[[plan]]
compact = true
name = "dependencies from utils"
args = ["run", "-d", "build"]
cwd = "packages/utils"
# -d from core: core has no deps, so no packages selected.
[[plan]]
compact = true
name = "dependencies from leaf package"
args = ["run", "-d", "build"]
cwd = "packages/core"
# Contrast with -t from app: should select app, utils, AND core (full transitive).
[[plan]]
compact = true
name = "transitive from app for comparison"
args = ["run", "-t", "build"]
cwd = "packages/app"
# -d with package specifier: direct deps of @test/app.
[[plan]]
compact = true
name = "dependencies with package specifier"
args = ["run", "-d", "@test/app#build"]
# -d with --workspace-root: direct deps of the workspace root package.
[[plan]]
compact = true
name = "dependencies with workspace root"
args = ["run", "-d", "-w", "build"]
# Error: -d and -r conflict.
[[plan]]
compact = true
name = "direct with recursive conflict"
args = ["run", "-d", "-r", "build"]
# Error: -d and -t conflict.
[[plan]]
compact = true
name = "direct with transitive conflict"
args = ["run", "-d", "-t", "build"]
# Error: -d and --filter conflict.
[[plan]]
compact = true
name = "direct with filter conflict"
args = ["run", "-d", "--filter", "@test/app", "build"]