mirror of
https://github.com/software-mansion/argent.git
synced 2026-09-14 19:27:14 +08:00
8096944ff3
Every existing scenario passes --yes or redirects stdin, so the half argent carries out itself - npm config set prefix, the switch to a project install, the post-move re-probe and the PATH adoption - had no end-to-end coverage. F and G answer the prompt on a pty, marker by marker, and assert on npm's config and where the package landed rather than on printed text. Adding --yes to F's command makes 4 of its 6 assertions fail. The path filter stopped at the installer, but bundle-tools.cjs inlines seven other workspace packages into the bundle these scenarios run. The docs said the prefix remedy is npm-only and that the printed local-mode command is the bare one; every manager is advised to repoint itself, and the printed command is the npx form wherever argent is not already on PATH.