-
Notifications
You must be signed in to change notification settings - Fork 182
Expand file tree
/
Copy pathsnap.txt
More file actions
49 lines (37 loc) · 1.78 KB
/
snap.txt
File metadata and controls
49 lines (37 loc) · 1.78 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
> vpr -h # should show vp run help
VITE+ - The Unified Toolchain for the Web
Usage: vp run [OPTIONS] [TASK_SPECIFIER] [ADDITIONAL_ARGS]...
Run tasks.
Arguments:
[TASK_SPECIFIER] `packageName#taskName` or `taskName`. If omitted, lists all available tasks
[ADDITIONAL_ARGS]... Additional arguments to pass to the tasks
Options:
-r, --recursive Select all packages in the workspace
-t, --transitive Select the current package and its transitive dependencies
-w, --workspace-root Select the workspace root package
-F, --filter <FILTERS> Match packages by name, directory, or glob pattern
--ignore-depends-on Do not run dependencies specified in `dependsOn` fields
-v, --verbose Show full detailed summary after execution
--last-details Display the detailed summary of the last run
-h, --help Print help (see more with '--help')
Filter Patterns:
--filter <pattern> Select by package name (e.g. foo, @scope/*)
--filter ./<dir> Select packages under a directory
--filter {<dir>} Same as ./<dir>, but allows traversal suffixes
--filter <pattern>... Select package and its dependencies
--filter ...<pattern> Select package and its dependents
--filter <pattern>^... Select only the dependencies (exclude the package itself)
--filter !<pattern> Exclude packages matching the pattern
Documentation: https://viteplus.dev/guide/run
> vpr hello # should run script via vpr shorthand
$ node args.mjs hello from script ⊘ cache disabled
hello
from
script
> vpr greet --arg1 value1 # should pass through additional args
$ node args.mjs greet --arg1 value1 ⊘ cache disabled
greet
--arg1
value1
[1]> vpr nonexistent # should show pnpm missing script error
Task "nonexistent" not found.