@seamapi/cli 0.30.0 → 0.31.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
@@ -81,7 +81,7 @@ Alternatively, download a standalone binary for your platform from the
81
81
  Inc. Apple Developer ID and notarized by Apple, so macOS runs them without a
82
82
  Gatekeeper prompt.
83
83
 
84
- After a manual download, install the shell completions with
84
+ After a manual download, install the [shell completion] with
85
85
 
86
86
  ```
87
87
  $ seam completion --install
@@ -97,12 +97,27 @@ $ cd seam-bin
97
97
  $ makepkg -si
98
98
  ```
99
99
 
100
- The AUR and Homebrew packages install [shell completion] themselves. After an
101
- npm or manual install, run `seam completion --install`.
100
+ ### Nix
101
+
102
+ Run the CLI without installing it with [Nix] with
103
+
104
+ ```
105
+ $ nix run github:seamapi/cli
106
+ ```
107
+
108
+ Install it into your profile with
109
+
110
+ ```
111
+ $ nix profile install github:seamapi/cli
112
+ ```
113
+
114
+ The flake compiles the standalone binary from source for `x86_64-linux`,
115
+ `aarch64-linux`, and `aarch64-darwin`.
102
116
 
103
117
  [aur]: https://aur.archlinux.org/packages/seam-bin
104
118
  [Homebrew]: https://formulae.brew.sh/cask/seam
105
119
  [latest GitHub release]: https://github.com/seamapi/cli/releases/latest
120
+ [Nix]: https://nixos.org/
106
121
  [npm]: https://www.npmjs.com/
107
122
  [Seam Wizard]: https://github.com/seamapi/wizard
108
123
  [shell completion]: #shell-completion
package/lib/version.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- declare const seamapiCliVersion = "0.30.0";
1
+ declare const seamapiCliVersion = "0.31.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.31.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.31.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.31.0'
3
3
  const seamapiBlueprintVersion = '1.8.0'
4
4
 
5
5
  export { seamapiBlueprintVersion }