Skip to content

Commit

Permalink
1.0.7 :: nd [npm run dev] and nr [npm run] default aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
evnp committed Apr 11, 2024
1 parent ac33490 commit 7bf3e61
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion nx.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/usr/bin/env bash
# :: nx 1.0.6 ::
# :: nx 1.0.7 ::
# shellcheck disable=SC2139 # shellcheck.net/wiki/SC2139 # allow parameter expansion within alias strings #
function nx() ( local pkg="" cmd="" npmcmds=""
npmcmds="run|$( npm -h | awk '/access/,/whoami/' | sed -E 's/ (help|start|test),//g' | xargs | sed 's/, /|/g' )" || true
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nx.sh",
"version": "1.0.6",
"version": "1.0.7",
"description": "A minimalist command runner for npm packages, with a focus on developer ergonomics.",
"main": "nx.sh",
"files": [
Expand Down

0 comments on commit 7bf3e61

Please sign in to comment.