zx 8.0.0 officially released, Google’s open source scripting tool

zx v8.0.0 has been officially released. zx is a more convenient and friendly tool to help developers write scripts. It is open sourced and maintained by Google.

新版本引入了许多新功能、改进和 bug 修复。其中包括使用esbuild和dts-bundle-generator来打包 js 文件和生成类型定义,以及更安全、更稳定,且安装时间显著缩短。

In addition, zx is now about 20 times smaller, and Options presets have been introduced. The zx core has also been completely refactored and available as a standalone package called zurk.

The new version also introduces some new APIs, such as $.sync()APIs for executing commands synchronously and AbortControllerfor aborting command execution. Additionally, killmethods have been exposed for terminating any process. There are some other improvements and fixes, such as the introduction of $.postfixoptions, $.prefixsimilar to .

See the release announcement for details .

Guess you like

Origin www.oschina.net/news/286731/zx-8-0-0-released