mirror of
https://github.com/0xrsydn/idx-cli.git
synced 2026-11-07 09:45:36 +00:00
chore: release 0.3.2
Patch release for the npm launcher fix (#41, #42): `idx` and `idx-mcp` now install their binary on first run when the package manager skipped postinstall, as npm 12 does under `npx` with its `allow-scripts` policy (and pnpm 10+ and bun by default). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V3syn2fN2LNo5pvTSqc6eh
This commit is contained in:
parent
01f181689e
commit
c6ec583edc
8 changed files with 13 additions and 13 deletions
6
Cargo.lock
generated
6
Cargo.lock
generated
|
|
@ -901,7 +901,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "idx-cli"
|
name = "idx-cli"
|
||||||
version = "0.3.1"
|
version = "0.3.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"assert_cmd",
|
"assert_cmd",
|
||||||
"chrono",
|
"chrono",
|
||||||
|
|
@ -921,7 +921,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "idx-core"
|
name = "idx-core"
|
||||||
version = "0.3.1"
|
version = "0.3.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chrono",
|
"chrono",
|
||||||
"clap",
|
"clap",
|
||||||
|
|
@ -940,7 +940,7 @@ dependencies = [
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "idx-mcp"
|
name = "idx-mcp"
|
||||||
version = "0.3.1"
|
version = "0.3.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"clap",
|
"clap",
|
||||||
"idx-core",
|
"idx-core",
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@ resolver = "3"
|
||||||
members = ["crates/idx-core", "crates/idx-cli", "crates/idx-mcp"]
|
members = ["crates/idx-core", "crates/idx-cli", "crates/idx-mcp"]
|
||||||
|
|
||||||
[workspace.package]
|
[workspace.package]
|
||||||
version = "0.3.1"
|
version = "0.3.2"
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
rust-version = "1.89"
|
rust-version = "1.89"
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
|
|
@ -11,7 +11,7 @@ repository = "https://github.com/0xrsydn/idx-cli"
|
||||||
homepage = "https://idx.rasyidanaf.com"
|
homepage = "https://idx.rasyidanaf.com"
|
||||||
|
|
||||||
[workspace.dependencies]
|
[workspace.dependencies]
|
||||||
idx-core = { path = "crates/idx-core", version = "=0.3.1" }
|
idx-core = { path = "crates/idx-core", version = "=0.3.2" }
|
||||||
clap = { version = "4", features = ["derive"] }
|
clap = { version = "4", features = ["derive"] }
|
||||||
serde = { version = "1", features = ["derive"] }
|
serde = { version = "1", features = ["derive"] }
|
||||||
serde_json = { version = "1", features = ["raw_value"] }
|
serde_json = { version = "1", features = ["raw_value"] }
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ curl -fsSL https://raw.githubusercontent.com/0xrsydn/idx-cli/main/install.sh | s
|
||||||
Downloads the prebuilt `idx` binary for your platform from GitHub Releases,
|
Downloads the prebuilt `idx` binary for your platform from GitHub Releases,
|
||||||
verifies it against the release `SHA256SUMS`, and installs it into
|
verifies it against the release `SHA256SUMS`, and installs it into
|
||||||
`~/.local/bin` without sudo. Pin a version or change the directory with
|
`~/.local/bin` without sudo. Pin a version or change the directory with
|
||||||
`sh -s -- --version v0.3.1 --dir ~/bin`. See [docs/INSTALL.md](docs/INSTALL.md).
|
`sh -s -- --version v0.3.2 --dir ~/bin`. See [docs/INSTALL.md](docs/INSTALL.md).
|
||||||
|
|
||||||
### npm / npx
|
### npm / npx
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ Each release also carries a copy of the script as a release asset, so a
|
||||||
versioned URL stays stable:
|
versioned URL stays stable:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -fsSL https://github.com/0xrsydn/idx-cli/releases/download/v0.3.1/install.sh | sh
|
curl -fsSL https://github.com/0xrsydn/idx-cli/releases/download/v0.3.2/install.sh | sh
|
||||||
```
|
```
|
||||||
|
|
||||||
## What it does
|
## What it does
|
||||||
|
|
@ -45,7 +45,7 @@ them yourself.
|
||||||
Pass flags through the pipe with `sh -s --`:
|
Pass flags through the pipe with `sh -s --`:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -fsSL https://raw.githubusercontent.com/0xrsydn/idx-cli/main/install.sh | sh -s -- --version v0.3.1 --dir ~/bin
|
curl -fsSL https://raw.githubusercontent.com/0xrsydn/idx-cli/main/install.sh | sh -s -- --version v0.3.2 --dir ~/bin
|
||||||
```
|
```
|
||||||
|
|
||||||
## Supported platforms
|
## Supported platforms
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ npx idx-cli --help
|
||||||
```
|
```
|
||||||
|
|
||||||
The package version and the release tag must match. For example, package
|
The package version and the release tag must match. For example, package
|
||||||
version `0.3.1` downloads assets from the `v0.3.1` GitHub Release.
|
version `0.3.2` downloads assets from the `v0.3.2` GitHub Release.
|
||||||
|
|
||||||
The postinstall script downloads `SHA256SUMS` from the same release and
|
The postinstall script downloads `SHA256SUMS` from the same release and
|
||||||
refuses to install a binary whose checksum does not match.
|
refuses to install a binary whose checksum does not match.
|
||||||
|
|
@ -105,7 +105,7 @@ URLs must stay aligned with `scripts/install.js`.
|
||||||
To attach binaries to a tag that already exists, run the workflow manually:
|
To attach binaries to a tag that already exists, run the workflow manually:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
gh workflow run release.yml -f tag=v0.3.1
|
gh workflow run release.yml -f tag=v0.3.2
|
||||||
```
|
```
|
||||||
|
|
||||||
Pull requests that touch the workflow or the installer run the build jobs
|
Pull requests that touch the workflow or the installer run the build jobs
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "idx-mcp",
|
"name": "idx-mcp",
|
||||||
"version": "0.3.1",
|
"version": "0.3.2",
|
||||||
"description": "MCP server for Indonesian stock market (IDX) market, financial, and ownership data",
|
"description": "MCP server for Indonesian stock market (IDX) market, financial, and ownership data",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "idx-cli",
|
"name": "idx-cli",
|
||||||
"version": "0.3.1",
|
"version": "0.3.2",
|
||||||
"description": "CLI tool for Indonesian stock market (IDX) analysis",
|
"description": "CLI tool for Indonesian stock market (IDX) analysis",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@ against the release `SHA256SUMS`, and installs it into `~/.local/bin` without
|
||||||
sudo. Pin a version or change the directory:
|
sudo. Pin a version or change the directory:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
curl -fsSL https://raw.githubusercontent.com/0xrsydn/idx-cli/main/install.sh | sh -s -- --version v0.3.1 --dir ~/bin
|
curl -fsSL https://raw.githubusercontent.com/0xrsydn/idx-cli/main/install.sh | sh -s -- --version v0.3.2 --dir ~/bin
|
||||||
```
|
```
|
||||||
|
|
||||||
</TabItem>
|
</TabItem>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue