@ataraxy-labs/sem 0.3.24 → 0.4.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 +20 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -71,6 +71,25 @@ docker build -t sem .
|
|
|
71
71
|
docker run --rm -it -u "$(id -u):$(id -g)" -v "$(pwd):/repo" sem diff
|
|
72
72
|
```
|
|
73
73
|
|
|
74
|
+
## Name conflict with GNU Parallel
|
|
75
|
+
|
|
76
|
+
GNU Parallel ships a `sem` binary (`/usr/bin/sem`) as a symlink to `parallel`. If you have both installed, they'll collide. Run `sem --version` to check which one you're using. ([#77](https://github.com/Ataraxy-Labs/sem/issues/77))
|
|
77
|
+
|
|
78
|
+
**Quick fixes:**
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
# Option 1: alias in your shell profile (~/.bashrc, ~/.zshrc)
|
|
82
|
+
alias sem="$HOME/.cargo/bin/sem"
|
|
83
|
+
|
|
84
|
+
# Option 2: make sure cargo bin comes first in PATH
|
|
85
|
+
export PATH="$HOME/.cargo/bin:$PATH"
|
|
86
|
+
|
|
87
|
+
# Option 3: if installed via Homebrew
|
|
88
|
+
export PATH="$(brew --prefix)/bin:$PATH"
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
If you installed via npm/bun, the binary lives in `node_modules/.bin/sem` and is invoked through `npx sem` or `bunx sem`, which avoids the conflict entirely.
|
|
92
|
+
|
|
74
93
|
## Commands
|
|
75
94
|
|
|
76
95
|
Works in any Git repo. No setup required. Also works outside Git for arbitrary file comparison.
|
|
@@ -322,7 +341,7 @@ sem-core can be used as a Rust library dependency:
|
|
|
322
341
|
|
|
323
342
|
```toml
|
|
324
343
|
[dependencies]
|
|
325
|
-
sem-core = { git = "https://github.com/Ataraxy-Labs/sem", version = "0.
|
|
344
|
+
sem-core = { git = "https://github.com/Ataraxy-Labs/sem", version = "0.4" }
|
|
326
345
|
```
|
|
327
346
|
|
|
328
347
|
Used by [weave](https://github.com/Ataraxy-Labs/weave) (semantic merge driver) and [inspect](https://github.com/Ataraxy-Labs/inspect) (entity-level code review).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ataraxy-labs/sem",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "npm wrapper for the sem CLI. Downloads the matching release binary and exposes the sem command in node_modules/.bin.",
|
|
5
5
|
"license": "MIT OR Apache-2.0",
|
|
6
6
|
"type": "module",
|