node-version-bridge 0.6.2 → 0.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/bin/nvb +3 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -178,6 +178,6 @@ bash test/run.sh
|
|
|
178
178
|
|
|
179
179
|
## Status
|
|
180
180
|
|
|
181
|
-
v0.6.
|
|
181
|
+
v0.6.3 — automatic shell hook setup, `nvb setup` and `nvb init` commands. See [Changelog](./CHANGELOG.md).
|
|
182
182
|
|
|
183
183
|
**[Full Documentation](https://marcosreuquen.github.io/node-version-bridge/)**
|
package/bin/nvb
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
set -euo pipefail
|
|
7
7
|
|
|
8
|
-
NVB_VERSION="0.6.
|
|
8
|
+
NVB_VERSION="0.6.3"
|
|
9
9
|
|
|
10
10
|
# Resolve script location (handles symlinks on macOS/Linux)
|
|
11
11
|
_nvb_resolve_root() {
|
|
@@ -242,6 +242,7 @@ nvb_cmd_init() {
|
|
|
242
242
|
zsh)
|
|
243
243
|
echo "_NVB_BIN='${NVB_ROOT}/bin/nvb'"
|
|
244
244
|
cat <<'HOOK'
|
|
245
|
+
nvb() { "${_NVB_BIN}" "$@"; }
|
|
245
246
|
_nvb_hook() {
|
|
246
247
|
[[ "${_NVB_LAST_DIR:-}" == "$PWD" ]] && return
|
|
247
248
|
_NVB_LAST_DIR="$PWD"
|
|
@@ -256,6 +257,7 @@ HOOK
|
|
|
256
257
|
bash)
|
|
257
258
|
echo "_NVB_BIN='${NVB_ROOT}/bin/nvb'"
|
|
258
259
|
cat <<'HOOK'
|
|
260
|
+
nvb() { "${_NVB_BIN}" "$@"; }
|
|
259
261
|
_nvb_hook() {
|
|
260
262
|
[[ "${_NVB_LAST_DIR:-}" == "$PWD" ]] && return
|
|
261
263
|
_NVB_LAST_DIR="$PWD"
|