Skip to content

Releases: google/zx

7.1.1

07 Oct 20:26
79222d7
Compare
Choose a tag to compare
  • Fixed default shell on Windows: if bash is installed, use bash by default.

7.1.0

05 Oct 20:34
691e6cb
Compare
Choose a tag to compare

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.0

PowerShell

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.

7.0.8

01 Aug 20:35
53fd6db
Compare
Choose a tag to compare

What's Changed

Full Changelog: 7.0.7...7.0.8

7.0.7

02 Jul 21:16
c73ccb4
Compare
Choose a tag to compare
  • Fixed $ to be more like a normal function in #472

Now it's possible to do:

const my$ = $.bind(null)
const foo = await my$`echo foo`

7.0.6

01 Jul 20:00
68c7a0e
Compare
Choose a tag to compare
  • Bunch of fixes and improvements. ᕕ( ᐛ )ᕗ

7.0.5

30 Jun 18:41
8e81938
Compare
Choose a tag to compare
  • Fixed types definitions for autocomplete in VSCode #466

7.0.4

29 Jun 20:57
e6bed57
Compare
Choose a tag to compare
  • Fixed default shell on Windows.
  • Fixed missing chalk import in zx/experimental.

7.0.3

27 Jun 22:11
a0c9ed7
Compare
Choose a tag to compare
  • Fixed default shell on Windows in #458
  • Fixed echo() types.

7.0.2

22 Jun 19:33
42b7ab0
Compare
Choose a tag to compare
  • Fixed possibility to set exit code with process.exitCode = 42 in scripts.

7.0.1

20 Jun 23:28
cc9be7f
Compare
Choose a tag to compare
  • Fixed cd() func with zx/globals import.
  • Fixed argv initialization with zx and node shebangs.