braeburn 2.1.0 → 2.2.0

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 CHANGED
@@ -45,6 +45,7 @@ Steps are grouped by system capability. For new setups, braeburn uses a conserva
45
45
  | `braeburn` | CLI Tools | on | `npm` |
46
46
  | `pip` | CLI Tools | on | `pip3` |
47
47
  | `dotnet` | CLI Tools | on | `dotnet` |
48
+ | `aspire` | Aspire | off | `aspire` |
48
49
  | `ohmyzsh` | Shell | off | `~/.oh-my-zsh` |
49
50
  | `cleanup` (`homebrew cleanup`) | Maintenance | off | `brew` |
50
51
 
package/dist/cli.js CHANGED
@@ -83,6 +83,9 @@ Step descriptions:
83
83
  pip Update global pip3 packages (requires: pip3) ⚠ may be fragile
84
84
  dotnet Update .NET global tools (requires: dotnet)
85
85
 
86
+ System / Aspire:
87
+ aspire Update Aspire CLI on the stable channel (requires: aspire)
88
+
86
89
  System / Shell:
87
90
  ohmyzsh Update Oh My Zsh (requires: ~/.oh-my-zsh)
88
91
 
package/dist/config.js CHANGED
@@ -3,7 +3,7 @@ import { dirname, join } from "node:path";
3
3
  import { homedir } from "node:os";
4
4
  import { parse, stringify } from "smol-toml";
5
5
  export const PROTECTED_STEP_IDS = new Set(["homebrew"]);
6
- export const LEGACY_DEFAULT_OFF_STEP_IDS = new Set(["nvm", "pyenv"]);
6
+ export const LEGACY_DEFAULT_OFF_STEP_IDS = new Set(["nvm", "pyenv", "aspire"]);
7
7
  export const CONSERVATIVE_DEFAULT_ON_STEP_IDS = new Set(["homebrew", "npm", "braeburn", "pip", "dotnet"]);
8
8
  const EMPTY_CONFIG = { steps: {} };
9
9
  const LOGO_SETTING_ID = "logo";
@@ -0,0 +1,3 @@
1
+ import type { Step } from "./types.js";
2
+ declare const aspireStep: Step;
3
+ export default aspireStep;
@@ -0,0 +1,15 @@
1
+ import { checkCommandExists } from "./runtime.js";
2
+ const ASPIRE_SELF_UPDATE_STABLE_CHANNEL_COMMAND = "aspire update --self --channel stable";
3
+ const aspireStep = {
4
+ id: "aspire",
5
+ name: "Aspire",
6
+ categoryId: "aspire",
7
+ description: "Update the Aspire CLI on the stable channel",
8
+ async checkIsAvailable() {
9
+ return checkCommandExists("aspire");
10
+ },
11
+ async run(context) {
12
+ await context.runStep(ASPIRE_SELF_UPDATE_STABLE_CHANNEL_COMMAND);
13
+ },
14
+ };
15
+ export default aspireStep;
@@ -1,4 +1,4 @@
1
- import { pyenvStep, nvmStep, homebrewStep, masStep, ohmyzshStep, npmStep, pipStep, dotnetStep, macosStep, cleanupStep, braeburnStep, } from "./index.js";
1
+ import { pyenvStep, nvmStep, homebrewStep, masStep, ohmyzshStep, npmStep, pipStep, dotnetStep, aspireStep, macosStep, cleanupStep, braeburnStep, } from "./index.js";
2
2
  const STEP_BY_ID = {
3
3
  pyenv: pyenvStep,
4
4
  nvm: nvmStep,
@@ -8,6 +8,7 @@ const STEP_BY_ID = {
8
8
  npm: npmStep,
9
9
  pip: pipStep,
10
10
  dotnet: dotnetStep,
11
+ aspire: aspireStep,
11
12
  ohmyzsh: ohmyzshStep,
12
13
  cleanup: cleanupStep,
13
14
  braeburn: braeburnStep,
@@ -22,6 +23,7 @@ const STEP_EXECUTION_ORDER = [
22
23
  "braeburn",
23
24
  "pip",
24
25
  "dotnet",
26
+ "aspire",
25
27
  "ohmyzsh",
26
28
  "cleanup",
27
29
  ];
@@ -1,4 +1,4 @@
1
- export type StepCategoryId = "apps-packages" | "cli-tools" | "runtimes" | "shell" | "maintenance";
1
+ export type StepCategoryId = "apps-packages" | "aspire" | "cli-tools" | "runtimes" | "shell" | "maintenance";
2
2
  export type StepCategoryDefinition = {
3
3
  id: StepCategoryId;
4
4
  label: string;
@@ -2,6 +2,7 @@ const STEP_CATEGORY_DEFINITIONS = [
2
2
  { id: "runtimes", label: "Runtimes" },
3
3
  { id: "apps-packages", label: "Apps & Packages" },
4
4
  { id: "cli-tools", label: "CLI Tools" },
5
+ { id: "aspire", label: "Aspire" },
5
6
  { id: "shell", label: "Shell" },
6
7
  { id: "maintenance", label: "Maintenance" },
7
8
  ];
@@ -12,6 +12,7 @@ export { default as pipStep } from "./pip.js";
12
12
  export { default as pyenvStep } from "./pyenv.js";
13
13
  export { default as nvmStep } from "./nvm.js";
14
14
  export { default as dotnetStep } from "./dotnet.js";
15
+ export { default as aspireStep } from "./aspire.js";
15
16
  export { default as macosStep } from "./macos.js";
16
17
  export { default as cleanupStep } from "./cleanup.js";
17
18
  export { default as braeburnStep } from "./braeburn.js";
@@ -9,6 +9,7 @@ export { default as pipStep } from "./pip.js";
9
9
  export { default as pyenvStep } from "./pyenv.js";
10
10
  export { default as nvmStep } from "./nvm.js";
11
11
  export { default as dotnetStep } from "./dotnet.js";
12
+ export { default as aspireStep } from "./aspire.js";
12
13
  export { default as macosStep } from "./macos.js";
13
14
  export { default as cleanupStep } from "./cleanup.js";
14
15
  export { default as braeburnStep } from "./braeburn.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "braeburn",
3
- "version": "2.1.0",
3
+ "version": "2.2.0",
4
4
  "description": "macOS system updater CLI",
5
5
  "type": "module",
6
6
  "bin": {
@@ -25,12 +25,12 @@
25
25
  "chalk": "^5.3.0",
26
26
  "commander": "^14.0.0",
27
27
  "execa": "^9.3.0",
28
- "smol-toml": "^1.6.0"
28
+ "smol-toml": "^1.8.0"
29
29
  },
30
30
  "devDependencies": {
31
- "@types/node": "^24.0.0",
32
- "tsx": "^4.7.0",
31
+ "@types/node": "^24.13.3",
32
+ "tsx": "^4.23.13",
33
33
  "typescript": "^5.5.0",
34
- "vitest": "^4.0.18"
34
+ "vitest": "^4.1.11"
35
35
  }
36
36
  }