electrobun 2.0.1-beta.12 → 2.0.1-beta.13
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 +12 -11
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
# Electrobun npm bootstrap
|
|
2
2
|
|
|
3
|
-
The `electrobun` npm package is a small
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
and delegates all commands to `hutch electrobun`.
|
|
3
|
+
The `electrobun` npm package is a small Hutch entry point for npm, pnpm, Yarn,
|
|
4
|
+
and Bun users. It contains no Electrobun runtime or SDK. The `electrobun`
|
|
5
|
+
command installs Hutch into `~/.hutch` (override with `HUTCH_HOME`) when
|
|
6
|
+
necessary and delegates all commands to `hutch electrobun`.
|
|
8
7
|
|
|
9
8
|
Create a project from the current stable template catalog:
|
|
10
9
|
|
|
@@ -21,14 +20,16 @@ npx electrobun init --beta
|
|
|
21
20
|
The npm bootstrap ships under the same release version as Electrobun, but it
|
|
22
21
|
does not contain or select the runtime by itself. An application's exact
|
|
23
22
|
Electrobun version is selected in `hutch.config.ts`; Hutch downloads the
|
|
24
|
-
matching runtime and SDK into the shared `~/.hutch` store
|
|
25
|
-
into the project's `.hutch/devkit` sysroot. Installing a
|
|
26
|
-
uses stable templates unless `init` receives `--beta`.
|
|
23
|
+
matching runtime and SDK into the shared `~/.hutch/releases/electrobun` store
|
|
24
|
+
and projects the SDKs into the project's `.hutch/devkit` sysroot. Installing a
|
|
25
|
+
beta bootstrap still uses stable templates unless `init` receives `--beta`.
|
|
27
26
|
|
|
28
27
|
`DASH_RELEASE_OFFLINE=1` prevents this bootstrap from downloading a missing
|
|
29
|
-
Hutch installation. An already installed Hutch is still invoked,
|
|
30
|
-
|
|
31
|
-
|
|
28
|
+
Hutch installation. An already installed Hutch is still invoked, but
|
|
29
|
+
`electrobun init` requires network access for the current template catalog and
|
|
30
|
+
selected template. Builds can run without network access only when every exact
|
|
31
|
+
release and managed toolchain they require is already installed. The flag does
|
|
32
|
+
not put npm or another project package manager into offline mode.
|
|
32
33
|
|
|
33
34
|
You can install Hutch directly from <https://hutch.blackboard.sh> and run the
|
|
34
35
|
same commands without npm:
|