@seamapi/cli 0.30.0 → 0.32.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
@@ -46,6 +46,16 @@ but it does not include the Seam Wizard.
46
46
  $ brew install seam
47
47
  ```
48
48
 
49
+ ### Scoop
50
+
51
+ On Windows, install the CLI from [Scoop] with
52
+
53
+ ```
54
+ > scoop install https://github.com/seamapi/cli/releases/latest/download/seam.json
55
+ ```
56
+
57
+ Later, update it with `scoop update seam`.
58
+
49
59
  ### Standalone binary
50
60
 
51
61
  Install the latest release on Linux and macOS with
@@ -60,28 +70,12 @@ or on Windows with
60
70
  > iwr -useb https://raw.githubusercontent.com/seamapi/cli/main/install.ps1 | iex
61
71
  ```
62
72
 
63
- The script downloads the binary for your platform, verifies its SHA-256
64
- checksum against the release's `checksums.txt` before installing, and runs
65
- `seam completion --install`. It installs to the first of `$SEAM_BIN_PATH`,
66
- `$XDG_BIN_HOME`, `$XDG_DATA_HOME/../bin`, or `~/.local/bin`
67
- (`%LOCALAPPDATA%\seam\bin` on Windows). If the install directory is not on
68
- your `PATH`, the script adds it to your shell configuration, detecting bash,
69
- fish, or zsh the same way as `seam completion --install`. Pass
70
- `--version <tag>` to pin a version, `--bin-path <dir>` to choose the install
71
- directory, and `--no-modify-path` or `--no-install-completion` to leave your
72
- shell configuration untouched, e.g.
73
-
74
- ```
75
- $ curl -fsSL https://raw.githubusercontent.com/seamapi/cli/main/install.sh \
76
- | sh -s -- --version v0.29.0 --no-install-completion
77
- ```
78
-
79
73
  Alternatively, download a standalone binary for your platform from the
80
74
  [latest GitHub release]. The macOS binaries are signed with the Seam Labs,
81
75
  Inc. Apple Developer ID and notarized by Apple, so macOS runs them without a
82
76
  Gatekeeper prompt.
83
77
 
84
- After a manual download, install the shell completions with
78
+ After a manual download, install the [shell completion] with
85
79
 
86
80
  ```
87
81
  $ seam completion --install
@@ -97,13 +91,29 @@ $ cd seam-bin
97
91
  $ makepkg -si
98
92
  ```
99
93
 
100
- The AUR and Homebrew packages install [shell completion] themselves. After an
101
- npm or manual install, run `seam completion --install`.
94
+ ### Nix
95
+
96
+ Run the CLI without installing it with [Nix] with
97
+
98
+ ```
99
+ $ nix run github:seamapi/cli
100
+ ```
101
+
102
+ Install it into your profile with
103
+
104
+ ```
105
+ $ nix profile install github:seamapi/cli
106
+ ```
107
+
108
+ The flake compiles the standalone binary from source for `x86_64-linux`,
109
+ `aarch64-linux`, and `aarch64-darwin`.
102
110
 
103
111
  [aur]: https://aur.archlinux.org/packages/seam-bin
104
112
  [Homebrew]: https://formulae.brew.sh/cask/seam
105
113
  [latest GitHub release]: https://github.com/seamapi/cli/releases/latest
114
+ [Nix]: https://nixos.org/
106
115
  [npm]: https://www.npmjs.com/
116
+ [Scoop]: https://scoop.sh/
107
117
  [Seam Wizard]: https://github.com/seamapi/wizard
108
118
  [shell completion]: #shell-completion
109
119
 
package/lib/version.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- declare const seamapiCliVersion = "0.30.0";
1
+ declare const seamapiCliVersion = "0.32.0";
2
2
  declare const seamapiBlueprintVersion = "1.8.0";
3
3
  export { seamapiBlueprintVersion };
4
4
  export default seamapiCliVersion;
package/lib/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // Versions are replaced with generated values when the package is packed.
2
- const seamapiCliVersion = '0.30.0';
2
+ const seamapiCliVersion = '0.32.0';
3
3
  const seamapiBlueprintVersion = '1.8.0';
4
4
  export { seamapiBlueprintVersion };
5
5
  export default seamapiCliVersion;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/cli",
3
- "version": "0.30.0",
3
+ "version": "0.32.0",
4
4
  "description": "A command-line interface (CLI) for interacting with the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -54,6 +54,8 @@
54
54
  "build:ts": "tsc --project tsconfig.build.json",
55
55
  "prebuild:ts": "del 'index.*' bin lib",
56
56
  "postbuild:ts": "tsc-alias --project tsconfig.build.json",
57
+ "build:standalone": "bun build src/bin/cli.ts --compile --minify --outfile seam",
58
+ "prebuild:standalone": "npm run prepack",
57
59
  "typecheck": "tsc",
58
60
  "test": "vitest run --coverage",
59
61
  "pretest": "tsx src/index.ts",
@@ -1,5 +1,5 @@
1
1
  // Versions are replaced with generated values when the package is packed.
2
- const seamapiCliVersion = '0.30.0'
2
+ const seamapiCliVersion = '0.32.0'
3
3
  const seamapiBlueprintVersion = '1.8.0'
4
4
 
5
5
  export { seamapiBlueprintVersion }