-
Notifications
You must be signed in to change notification settings - Fork 184
Expand file tree
/
Copy pathsteps.json
More file actions
15 lines (15 loc) · 956 Bytes
/
steps.json
File metadata and controls
15 lines (15 loc) · 956 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
"env": {
"VITE_DISABLE_AUTO_INSTALL": "1"
},
"commands": [
"vp remove --help # should show help",
"vp remove # should error because no packages specified",
"vp remove testnpm2 -D && cat package.json # should error when remove not exists package from dev dependencies",
"vp add testnpm2 && vp add -D test-vite-plus-install && vp add -O test-vite-plus-package-optional && cat package.json # should add packages to dependencies",
"vp remove testnpm2 test-vite-plus-install && cat package.json # should remove packages from dependencies",
"vp remove -O test-vite-plus-package-optional -- --loglevel=warn && cat package.json # support remove package from optional dependencies and pass through arguments",
"vp remove -g testnpm2 -- --dry-run && cat package.json # support remove global package with dry-run",
"vp rm --stream foo && should show tips to use pass through arguments when options are not supported"
]
}