7.1.0
Autoinstall
This release introduces a new flag --install which will parse and install all required or imported packages automatically.
import sh from 'tinysh'
sh.say('Hello, world!')And running zx --install script.mjs will trigger installation of tinysh package! It even possible to specify a needed version in comment with @ symbol:
import sh from 'tinysh' // @^1.0.0PowerShell
Another big change is for Windows. Now, the default shell on Windows is powershell.exe.
This should fix a lot of issues with "dollar" signs.
Fixes
- Minimist now correctly parses argv when using zx cli.