Skip to content

Commit cb55e4d

Browse files
committed
release: v0.0.2
1 parent 82d1e73 commit cb55e4d

19 files changed

Lines changed: 143 additions & 94 deletions

File tree

Cargo.lock

Lines changed: 43 additions & 58 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "hni"
3-
version = "0.0.1-alpha-4"
3+
version = "0.0.2"
44
authors = ["Spark <helllo@kamran.sh>"]
55
categories = ["command-line-utilities", "development-tools"]
66
edition = "2024"
@@ -18,8 +18,8 @@ strip = true
1818

1919
[dependencies]
2020
anyhow = "1.0.102"
21-
clap = { version = "4.5.60", features = ["std"] }
22-
clap_complete = "4.5.66"
21+
clap = { version = "4.6.0", features = ["std"] }
22+
clap_complete = "4.6.0"
2323
confy = "2.0.0"
2424
configparser = "3.1.0"
2525
dialoguer = { version = "0.12.0", features = ["fuzzy-select"] }
@@ -29,8 +29,8 @@ semver = "1.0.27"
2929
serde = { version = "1.0.228", features = ["derive"] }
3030
serde_json = "1.0.149"
3131
shlex = "1.3.0"
32-
thiserror = "2.0.17"
33-
which = "8.0.0"
32+
thiserror = "2.0.18"
33+
which = "8.0.2"
3434

3535
[dev-dependencies]
36-
tempfile = "3.26.0"
36+
tempfile = "3.27.0"

README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ Fast package manager routing for `npm`, `yarn`, `pnpm`, `bun`, and `deno`.
1616

1717
`hni` is inspired by Antfu's [`ni`](https://github.com/antfu-collective/ni#readme), but packaged as a single multicall binary with extra shell setup for a `node` shim.
1818

19+
`hni` is still beta software and may have bugs.
20+
1921
One install gives you:
2022

2123
- `hni`
@@ -45,19 +47,24 @@ hni --version
4547

4648
### Script install (macOS / Linux)
4749

50+
TODO: `https://happytoolin.com/hni/install.sh` is not live yet. Use the raw GitHub script for now:
51+
4852
```bash
49-
curl -fsSL https://happytoolin.com/hni/install.sh | bash
53+
curl -fsSL https://raw.githubusercontent.com/happytoolin/hni/main/install.sh | bash
5054
```
5155

5256
Optional environment variables:
5357

54-
- `HNI_VERSION` - install a specific version, for example `v0.0.1-alpha-4`
58+
- `HNI_VERSION` - install a specific version, for example `v0.0.2`
5559
- `HNI_INSTALL_DIR` - install somewhere other than `~/.local/bin`
60+
- `HNI_NODE=off` - disable the `node` shim for the current environment
5661

5762
### Script install (PowerShell)
5863

64+
TODO: `https://happytoolin.com/hni/install.ps1` is not live yet. Use the raw GitHub script for now:
65+
5966
```powershell
60-
irm https://happytoolin.com/hni/install.ps1 | iex
67+
irm https://raw.githubusercontent.com/happytoolin/hni/main/install.ps1 | iex
6168
```
6269

6370
Optional parameters:

jsr.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@happytoolin/hni",
3-
"version": "0.0.1-alpha-4",
3+
"version": "0.0.2",
44
"license": "GPL-3.0-only",
55
"exports": {
66
".": "./jsr/mod.ts",

jsr/shared.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { dirname, join } from "jsr:@std/path@^1.1.4";
22

33
const REPO = "happytoolin/hni";
4-
const VERSION = "0.0.1-alpha-4";
4+
const VERSION = "0.0.2";
55
const TAG = VERSION.startsWith("v") ? VERSION : `v${VERSION}`;
66
const DOWNLOAD_ROOT =
77
Deno.env.get("HNI_DOWNLOAD_ROOT") ??

npm/platforms/hni-darwin-arm64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@happytoolin/hni-darwin-arm64",
3-
"version": "0.0.1-alpha-4",
3+
"version": "0.0.2",
44
"description": "darwin arm64 native binary for hni",
55
"license": "GPL-3.0-only",
66
"repository": {

npm/platforms/hni-darwin-x64/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@happytoolin/hni-darwin-x64",
3-
"version": "0.0.1-alpha-4",
3+
"version": "0.0.2",
44
"description": "darwin x64 native binary for hni",
55
"license": "GPL-3.0-only",
66
"repository": {

npm/platforms/hni-linux-arm64-musl/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@happytoolin/hni-linux-arm64-musl",
3-
"version": "0.0.1-alpha-4",
3+
"version": "0.0.2",
44
"description": "linux arm64 musl native binary for hni",
55
"license": "GPL-3.0-only",
66
"repository": {

npm/platforms/hni-linux-x64-musl/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@happytoolin/hni-linux-x64-musl",
3-
"version": "0.0.1-alpha-4",
3+
"version": "0.0.2",
44
"description": "linux x64 musl native binary for hni",
55
"license": "GPL-3.0-only",
66
"repository": {

0 commit comments

Comments
 (0)