@aryasaatvik/scratchpad 0.3.2 → 0.3.3

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/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## @aryasaatvik/scratchpad@0.3.3
2
+
3
+ ### Install from a private repository's releases
4
+
5
+ `install.sh` now downloads `SHA256SUMS` and the platform archive through `gh release download` when the GitHub CLI is installed and signed in, so it can install from a private repository's releases, which plain `curl` cannot reach. Without `gh` it uses `curl` as before, and a failed download says that a private repository needs `gh auth login`. Set `SCRATCHPAD_DOWNLOAD=curl` to skip `gh`. The checksum check is unchanged.
6
+
1
7
  ## @aryasaatvik/scratchpad@0.3.2
2
8
 
3
9
  ### Name feedback by id from any directory
package/README.md CHANGED
@@ -37,6 +37,13 @@ Or install the checksummed standalone binary without Bun:
37
37
  curl -fsSL https://github.com/aryasaatvik/scratchpad/releases/latest/download/install.sh | sh
38
38
  ```
39
39
 
40
+ While the repository is private, fetch the installer through the GitHub CLI instead; it then
41
+ downloads the release with the same signed-in `gh`:
42
+
43
+ ```sh
44
+ gh release download --repo aryasaatvik/scratchpad --pattern install.sh --output - | sh
45
+ ```
46
+
40
47
  Or from a local checkout:
41
48
 
42
49
  ```sh
@@ -48408,7 +48408,7 @@ var bundleHtml = async (options) => {
48408
48408
  // package.json
48409
48409
  var package_default = {
48410
48410
  name: "@aryasaatvik/scratchpad",
48411
- version: "0.3.2",
48411
+ version: "0.3.3",
48412
48412
  description: "Local-first GitHub issue and milestone tracking, hosted artifacts and uploads, and local architecture codemaps.",
48413
48413
  keywords: [
48414
48414
  "bun",
package/docs/release.md CHANGED
@@ -101,3 +101,12 @@ curl -fsSL https://github.com/aryasaatvik/scratchpad/releases/latest/download/in
101
101
  Set `SCRATCHPAD_VERSION` to install a specific release and `SCRATCHPAD_INSTALL_DIR` to override
102
102
  `~/.local/bin`. The installer downloads `SHA256SUMS` first and verifies the platform archive before
103
103
  extracting it.
104
+
105
+ Release assets of a private repository need an authenticated download. When `gh` is installed and
106
+ signed in to github.com, the installer downloads through `gh release download`; otherwise it uses
107
+ `curl`, which only reaches a public repository's assets. `SCRATCHPAD_DOWNLOAD=curl` skips `gh`. For
108
+ a private repository, fetch the installer itself the same way:
109
+
110
+ ```sh
111
+ gh release download --repo aryasaatvik/scratchpad --pattern install.sh --output - | sh
112
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aryasaatvik/scratchpad",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "description": "Local-first GitHub issue and milestone tracking, hosted artifacts and uploads, and local architecture codemaps.",
5
5
  "keywords": [
6
6
  "bun",