exec
zx
Our great sponsors
exec | zx | |
---|---|---|
4 | 114 | |
123 | 41,666 | |
2.4% | 3.0% | |
7.0 | 8.5 | |
5 days ago | 5 days ago | |
JavaScript | JavaScript | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
exec
-
Semantic release to npm and/or ghcr without any tooling
@semantic-release/exec - used to set GitHub action environment variables when run as from docker container and GitHub action outputs when run as a marketplace action
-
Automatically update git major tags on GitHub marketplace release
This meant that forcing a major tag update with @semantic-release/exec as part of the release process was possible, but would result in the major tag (for example v3) linking to a valid repository commit SHA that is not actually released in the marketplace.
-
A complete guide to use dependabot with semantic-release and @vercel/ncc for GitHub Actions
This article introduces semantic-release as a solution. It automates the release process, and its exec plugin helps us to run @vercel/ncc before the release automatically.
-
You don’t need semantic-release (sometimes)
You may need a minor tweak up. For example, push some pkg to both public and internal registries. Ooops. "...publishing to two different registry is not a good idea". In this case you can not rely on stable, convenient and tested in millions runs semrel/npm plugin, and you have to just write a pair of commands by hand with semantic-release/exec instead:
zx
- Zx 8.0
- Google ZX – A tool for writing better scripts
-
Dax – Cross-platform shell for Node.js
TIL about zx! https://github.com/google/zx
This suite of tools feels indispensable. Anything to keep me from having to write/maintain bash scripts that are more than a series of commands.
-
The Bun Shell
Great point! According to https://github.com/oven-sh/bun/blob/b433beb016470b87850f3c01..., Bun Shell took inspiration from zx[0], dax[1] and bnx[2]
[0]: https://github.com/google/zx
[1]: https://github.com/dsherret/dax
[2]: https://github.com/wobsoriano/bnx
- Zx: A tool for writing better scritps
-
My script to install husky, commitlint and lint-staged with zx
If you want test it, you can run this script withzx :
-
YavaScript: Write shell scripts in JavaScript/TS instead of bash
I really love writing with zx. https://github.com/google/zx
We have some folks who have gone wild copy-pasting random fancy bash snippets into various developer helpers scripts. Zx did like 90% of that stuff out of the box, without being a pile of chaotic custom bash.
-
Scripting with Go: A Modest Proposal
I ended up using this for my cli scripting needs. https://github.com/google/zx
- And forget about shell scripting in /bin/sh ... I hate to say it, but, this is the middle of 2021 we have react and svelte we need more /etc/shells, we need modern languages all over, we can't do this anymore
-
Bash. For me it is "read only". It is too arcane, even for me. I use Perl now.
lol no javascript
What are some alternatives?
Discord-Hide-Blocked-Messages - Ways to hide discords "1 blocked message - show message" buttons
shelljs - :shell: Portable Unix shell commands for Node.js
setup-buildx-action - GitHub Action to set up Docker Buildx
execa - Process execution for humans
semantic-release - :package::rocket: Fully automated version management and package publishing
Commander.js - node.js command-line interfaces made easy
semantic-release-docker - semantic-release plugin to build and push docker images
TypeScript - TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
semantic-release-monorepo-hooks - Workarounds to handle `semantic-release-monorepo` multipublishing
oclif - CLI for generating, building, and releasing oclif CLIs. Built by Salesforce.
npm - :ship: semantic-release plugin to publish a npm package
deno - A modern runtime for JavaScript and TypeScript.