@gorlitzer-labs/seldon 0.1.3 → 0.1.5

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/bin/seldon.js CHANGED
@@ -64,13 +64,13 @@ const pnpmGlobalReady = () => {
64
64
  } catch { return false; }
65
65
  };
66
66
 
67
- // Pick the node package manager: --pm=<x> override, else the fastest that can
68
- // actually global-install; npm is the universal fallback.
67
+ // Pick the node package manager: --pm=<x> override (pnpm|bun|npm), else pnpm
68
+ // when it can global-install, else npm (the universal fallback). bun is not
69
+ // auto-preferred — opt in with --pm=bun.
69
70
  function nodePM() {
70
71
  const ov = (process.argv.find((a) => a.startsWith("--pm=")) || "").split("=")[1];
71
72
  if (ov) return ov;
72
73
  if (has("pnpm") && pnpmGlobalReady()) return "pnpm";
73
- if (has("bun")) return "bun";
74
74
  return "npm";
75
75
  }
76
76
 
package/modules.mjs CHANGED
@@ -83,13 +83,15 @@ export const MODULES = [
83
83
  export const byId = Object.fromEntries(MODULES.map((m) => [m.id, m]));
84
84
 
85
85
  /** External tools we can probe, and how a user installs each (macOS-first hint). */
86
+ // Hints are cross-platform on purpose — name the tool + where to get it, never
87
+ // assume a package manager (this ships to anyone, not one machine).
86
88
  export const DEPS = {
87
- node: { probe: "node --version", hint: "install Node 20+ (nvm, or brew install node)" },
88
- tmux: { probe: "tmux -V", hint: "brew install tmux" },
89
- sops: { probe: "sops --version", hint: "brew install sops" },
90
- age: { probe: "age --version", hint: "brew install age" },
91
- tailscale:{ probe: "tailscale version", hint: "brew install --cask tailscale (or tailscale.com/download)" },
92
- python3: { probe: "python3 --version", hint: "brew install python@3.13" },
89
+ node: { probe: "node --version", hint: "Node 20+ — nodejs.org / nvm / your package manager" },
90
+ tmux: { probe: "tmux -V", hint: "tmux — your package manager (brew · apt · dnf · pacman · pkg)" },
91
+ sops: { probe: "sops --version", hint: "sops — github.com/getsops/sops/releases (or brew · apt)" },
92
+ age: { probe: "age --version", hint: "age — github.com/FiloSottile/age/releases (or brew · apt)" },
93
+ tailscale:{ probe: "tailscale version", hint: "tailscale — tailscale.com/download" },
94
+ python3: { probe: "python3 --version", hint: "Python 3.11+ — python.org / your package manager" },
93
95
  };
94
96
 
95
97
  /** Expand a selection to include hard requires (factory -> apiary, foundation). */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gorlitzer-labs/seldon",
3
- "version": "0.1.3",
3
+ "version": "0.1.5",
4
4
  "description": "Install the Seldon stack — pick your tools from a checklist; each installs via its native method.",
5
5
  "type": "module",
6
6
  "bin": {