Commit db8838f
authored
feat(nodeup): add local managed-alias shim setup (#192)
## Summary
- extend `scripts/setup/nodeup-local.sh` to create idempotent
`node`/`npm`/`npx` shims after local install
- validate installed `nodeup` binary exists/executable before emitting
shell exports
- document updated local installer and symlink contract in
`docs/project-nodeup.md`
## Validation
- `./scripts/setup/nodeup-local.sh --help`
- `NODEUP_LOCAL_INSTALL_ROOT=/tmp/nodeup-local-test
./scripts/setup/nodeup-local.sh > /tmp/nodeup-local-eval.sh`
- verified `/tmp/nodeup-local-test/bin/{nodeup,node,npm,npx}` and
symlink targets
- `eval "$(cat /tmp/nodeup-local-eval.sh)"` then verified `command -v
nodeup node npm npx`
- verified deterministic not-found when no default runtime is set
- verified delegated execution via linked runtime for `node`, `npm`, and
`npx`1 parent 0189061 commit db8838f
2 files changed
Lines changed: 27 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
| 252 | + | |
| 253 | + | |
252 | 254 | | |
253 | 255 | | |
254 | 256 | | |
| |||
304 | 306 | | |
305 | 307 | | |
306 | 308 | | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
307 | 312 | | |
308 | 313 | | |
| 314 | + | |
| 315 | + | |
309 | 316 | | |
310 | 317 | | |
311 | 318 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
12 | 18 | | |
13 | 19 | | |
14 | 20 | | |
| |||
27 | 33 | | |
28 | 34 | | |
29 | 35 | | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
30 | 49 | | |
31 | 50 | | |
32 | 51 | | |
| |||
0 commit comments