@devcockpit/install 0.0.0-stage → 0.11.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.
Files changed (4) hide show
  1. package/LICENSE +661 -0
  2. package/README.md +30 -2
  3. package/dist/install.mjs +22357 -0
  4. package/package.json +40 -3
package/README.md CHANGED
@@ -1,3 +1,31 @@
1
- # Temporary Holding Version
1
+ # @devcockpit/install
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ Installs [Dev Cockpit](https://github.com/higorabreu/dev-cockpit), a Guake-style terminal cockpit for
4
+ developers, from the command line:
5
+
6
+ ```
7
+ npx @devcockpit/install
8
+ ```
9
+
10
+ This package is only the installer. It reads the latest stable release of `higorabreu/dev-cockpit` on
11
+ GitHub, downloads the file for your system, checks it against the release's `SHA256SUMS` and installs it,
12
+ so the result is the same as the manual install: the app menu entry, the `dck` command, the global key and
13
+ the optional updates.
14
+
15
+ - **Debian and Ubuntu** (x86-64 and arm64): installs the `.deb` with `sudo apt install`, which asks for your
16
+ password.
17
+ - **macOS on Apple Silicon**: copies `Dev Cockpit.app` from the release's `.dmg` to `/Applications` and links
18
+ the `dck` command into a writable folder of your `PATH` (or prints the one line to do it).
19
+ - Other Linux distributions, Intel Macs and Windows: not available yet; see the
20
+ [Releases](https://github.com/higorabreu/dev-cockpit/releases) page.
21
+
22
+ Options:
23
+
24
+ - `--version <x.y.z>`: install this release instead of the latest.
25
+ - `--download-only`: download and check the file, print where it is and install nothing.
26
+ - `--help`: show the options.
27
+
28
+ It needs Node 18 or newer and has no dependencies. It sends no data about you: the requests to GitHub carry
29
+ only the installer's version in the User-Agent.
30
+
31
+ License: AGPL-3.0-only.