@ahqstore/cli 0.16.0-alpha.20 → 0.16.0-alpha.21

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/.build CHANGED
@@ -1 +1 @@
1
- 2026-02-19 08:14:28
1
+ 2026-02-20 17:12:00
package/Cargo.toml CHANGED
@@ -1,7 +1,7 @@
1
1
  [package]
2
2
  edition = "2021"
3
3
  name = "ahqstore_cli_rs"
4
- version = "0.16.0-alpha.20"
4
+ version = "0.16.0-alpha.21"
5
5
  description = "AHQ Store Developers' CLI"
6
6
  repository = "https://github.com/ahqstore/cli"
7
7
  homepage = "https://github.com/ahqstore/cli"
@@ -10,8 +10,9 @@ readme = "README.md"
10
10
 
11
11
  [lib]
12
12
  name = "ahqstore_cli_rs"
13
- crate-type = ["cdylib"]
13
+ crate-type = ["rlib", "cdylib"]
14
14
  path = "src/lib.rs"
15
+ doc = false
15
16
 
16
17
  [[bin]]
17
18
  name = "ahqstore"
@@ -46,6 +47,8 @@ rustls = { version = "^0.23", default-features = false, features = [
46
47
  ] }
47
48
  reqwest = "^0.13"
48
49
  tokio = { version = "^1", features = ["rt", "time", "macros"] }
50
+ strsim = "^0.11"
51
+ schemars = { version = "^1.2", optional = true }
49
52
 
50
53
  [target.'cfg(target_env="musl")'.dependencies]
51
54
  mimalloc = "^0.1"
@@ -55,3 +58,7 @@ lto = "fat"
55
58
  strip = true
56
59
  opt-level = "z"
57
60
  codegen-units = 1
61
+
62
+ [features]
63
+ schemars = ["dep:schemars"]
64
+ debug = []
package/README.md CHANGED
@@ -78,7 +78,7 @@ deno install -g npm:@ahqstore/cli
78
78
  ### Using JSR
79
79
 
80
80
  ```sh
81
- deno install -A -f -g -n ahqstore https://jsr.io/@ahqstore/cli/0.15.0/js/cli.js
81
+ deno install -A -f -g -n ahqstore https://jsr.io/@ahqstore/cli/0.16.0-alpha.21/js/cli.js
82
82
  ```
83
83
 
84
84
  ## Bun
@@ -111,4 +111,4 @@ dart pub global activate ahqstore_cli
111
111
 
112
112
  ```sh
113
113
  dotnet tool install --global AHQStoreCLI
114
- ```
114
+ ```
@@ -5,7 +5,7 @@ import 'package:ffi/ffi.dart';
5
5
  import 'package:http/http.dart';
6
6
 
7
7
  // IMP
8
- const String version = "0.16.0-alpha.20";
8
+ const String version = "0.16.0-alpha.21";
9
9
  // ENDIMP
10
10
 
11
11
  String getUserHomeDirectory() {
package/dart/pubspec.yaml CHANGED
@@ -1,6 +1,6 @@
1
1
  name: ahqstore_cli
2
2
  description: An Official port of the original AHQ Store Rust CLI
3
- version: 0.16.0-alpha.20
3
+ version: 0.16.0-alpha.21
4
4
  repository: https://github.com/ahqstore/cli
5
5
  executables:
6
6
  ahqstore:
package/jsr.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://jsr.io/schema/config-file.v1.json",
3
3
  "name": "@ahqstore/cli",
4
- "version": "0.16.0-alpha.20",
4
+ "version": "0.16.0-alpha.21",
5
5
  "license": "MIT",
6
6
  "exports": {
7
7
  ".": "./js/cli.js"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ahqstore/cli",
3
- "version": "0.16.0-alpha.20",
3
+ "version": "0.16.0-alpha.21",
4
4
  "description": "AHQ Store Official CLI, A port of the rust version to NodeJS",
5
5
  "keywords": [
6
6
  "cli",
package/patchVersion.ps1 CHANGED
@@ -14,4 +14,10 @@ pwsh "./zscripts/updatePyPi.ps1"
14
14
  pwsh "./zscripts/updateDart.ps1"
15
15
  pwsh "./zscripts/updateNuget.ps1"
16
16
 
17
- (Get-Date).ToString('yyyy-MM-dd HH:mm:ss') > ".build"
17
+ (Get-Date).ToString('yyyy-MM-dd HH:mm:ss') > ".build"
18
+
19
+ # README Patch
20
+ $readme = Get-Content "./README.md" -Raw
21
+
22
+ $out = $readme -replace "https://jsr.io/@ahqstore/cli/([^/\s<]+)/js/cli.js", "https://jsr.io/@ahqstore/cli/$newVersion/js/cli.js"
23
+ $out > "./README.md"
@@ -0,0 +1,12 @@
1
+ #!/usr/bin/env -S cargo +nightly -Zscript
2
+ ---cargo
3
+ [package]
4
+ edition = "2024"
5
+
6
+ [dependencies]
7
+ ahqstore_cli_rs = { path = "..", features = ["schemars"] }
8
+ ---
9
+
10
+ fn main() {
11
+ println!("Hello World!");
12
+ }