Description
When converting bun run --cwd folder/package someTask to vp run @app/package#someTask relative paths inside folder/package/package.json are incorrectly resolved from the root location instead of the current package.json file.
A simple workaround for this is to add a --cwd parameter to the vp run command to mimic what bun run --cwd does.
Suggested solution
Allow specifying a cwd when calling vp run
Alternative
No response
Additional context
vp --version
VITE+ - The Unified Toolchain for the Web
vp v0.1.21
Local vite-plus:
vite-plus Not found
Tools:
vite Not found
rolldown Not found
vitest Not found
oxfmt Not found
oxlint Not found
oxlint-tsgolint Not found
tsdown Not found
Environment:
Package manager bun v1.3.14
Node.js v24.15.0
Validations
Description
When converting
bun run --cwd folder/package someTasktovp run @app/package#someTaskrelative paths inside folder/package/package.json are incorrectly resolved from the root location instead of the current package.json file.A simple workaround for this is to add a
--cwdparameter to thevp runcommand to mimic whatbun run --cwddoes.Suggested solution
Allow specifying a cwd when calling
vp runAlternative
No response
Additional context
vp --versionValidations