You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c4e6259
Browse filesBrowse the repository at this point in the historyBrowse files
internal/ui/ (planned, not yet implemented) all user-facing output
40
+
internal/ui/ scaffold (mode.go + theme.go + writer.go) merged via #74 PR1; spinners/huh/full migration tracked by #105
39
41
```
40
42
41
43
## Key invariants — read before writing code
@@ -50,9 +52,9 @@ internal/ui/ (planned, not yet implemented) all user-facing output
50
52
51
53
**Platform-specific code:** Use `//go:build windows` build tags on `*_windows.go` files. Files without build tags must compile on all three OSes.
52
54
53
-
**Dependencies:** No new dependencies without a rationale line in the PR body. Core runtime deps: `cobra`, `Masterminds/semver/v3`, `yaml.v3`. Planned but not yet in `go.mod`: `huh`, `bubbletea`, `lipgloss`(the Charm stack for `internal/ui` — see #74).
55
+
**Dependencies:** No new dependencies without a rationale line in the PR body. Core runtime deps: `cobra`, `Masterminds/semver/v3`, `yaml.v3`, `lipgloss` (for `internal/ui` — see #74). Planned but not yet in `go.mod`: `huh`, `bubbletea`(the remaining Charm stack for `internal/ui`spinners + prompts — see #105).
54
56
55
-
**Manager detection order:**`--manager` flag → `~/.nodeup/config.yaml` → auto-detect (env vars → PATH → well-known dirs). `DetectAll()` returns a `Registry`; `ResolveManager(reg, preferred)` picks one or errors. When multiple managers found and no preference, the caller should use `ResolveInteractive` (not yet implemented).
57
+
**Manager detection order:**`--manager` flag → `~/.nodeup/config.yaml` → auto-detect (env vars → PATH → well-known dirs). `DetectAll()` returns a `Registry`; `ResolveManager(reg, preferred)` picks one or errors. When multiple managers found and no preference, the caller should use `ResolveInteractive` (planned under #105 as part of the `huh` migration).
56
58
57
59
**Packages to skip during migration:**`npm`, `corepack`, `npx` — these are bundled with Node and must not be migrated.
0 commit comments