electrobun 2.0.1-beta.2 → 2.0.1-beta.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/README.md CHANGED
@@ -2,8 +2,9 @@
2
2
 
3
3
  The `electrobun` npm package is a small compatibility entry point for npm,
4
4
  pnpm, Yarn, and Bun users. It contains no Electrobun runtime or SDK. The
5
- `electrobun` command installs Hutch into `~/.dash` when necessary and delegates
6
- all commands to `hutch electrobun`.
5
+ `electrobun` command installs Hutch into `~/.hutch` (override with
6
+ `HUTCH_HOME`; `DASH_HOME` is honored as a deprecated fallback) when necessary
7
+ and delegates all commands to `hutch electrobun`.
7
8
 
8
9
  Create a project from the current stable template catalog:
9
10
 
@@ -20,7 +21,7 @@ npx electrobun init --beta
20
21
  The npm bootstrap ships under the same release version as Electrobun, but it
21
22
  does not contain or select the runtime by itself. An application's exact
22
23
  Electrobun version is selected in `hutch.config.ts`; Hutch downloads the
23
- matching runtime and SDK into the shared `~/.dash` store and projects the SDKs
24
+ matching runtime and SDK into the shared `~/.hutch` store and projects the SDKs
24
25
  into the project's `.hutch/devkit` sysroot. Installing a beta bootstrap still
25
26
  uses stable templates unless `init` receives `--beta`.
26
27
 
@@ -39,11 +39,16 @@ function hutchBinaryPath(channel, environment, platform, userHome) {
39
39
  return environment.ELECTROBUN_HUTCH_BINARY;
40
40
  }
41
41
 
42
- const dashHome = environment.DASH_HOME || path.join(userHome, ".dash");
42
+ // HUTCH_HOME is Hutch's own home; DASH_HOME stays honored as a deprecated
43
+ // fallback for Dash Desktop and older setups.
44
+ const hutchHome =
45
+ environment.HUTCH_HOME ||
46
+ environment.DASH_HOME ||
47
+ path.join(userHome, ".hutch");
43
48
  const command = channel === "canary" ? "hutch-canary" : "hutch";
44
49
  const pathApi = platform === "win32" ? path.win32 : path.posix;
45
50
  return pathApi.join(
46
- dashHome,
51
+ hutchHome,
47
52
  "bin",
48
53
  `${command}${platform === "win32" ? ".exe" : ""}`,
49
54
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electrobun",
3
- "version": "2.0.1-beta.2",
3
+ "version": "2.0.1-beta.5",
4
4
  "description": "The lightweight npm bootstrap for Electrobun and Hutch.",
5
5
  "license": "MIT",
6
6
  "author": "Blackboard Technologies Inc.",