Skip to content

Commit 2e60a5b

Browse files
authored
Merge pull request #3 from dedev-llc/fix/npm-scoped-package
Publish npm package under @dedev-llc scope
2 parents f696122 + 89fae42 commit 2e60a5b

4 files changed

Lines changed: 12 additions & 8 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ Nobody can tell the difference.
1717
| **pipx** (recommended) | `pipx install rpr` |
1818
| **pip** | `pip install --user rpr` |
1919
| **Homebrew** | `brew install dedev-llc/rpr/rpr` |
20-
| **npm** | `npm install -g rpr` |
21-
| **npx** | `npx rpr <pr-number>` |
20+
| **npm** | `npm install -g @dedev-llc/rpr` |
21+
| **npx** | `npx @dedev-llc/rpr <pr-number>` |
2222
| **curl** | `curl -fsSL https://raw.githubusercontent.com/dedev-llc/rpr/main/install.sh \| bash` |
2323

2424
All channels install the same `rpr` command. You'll also need:

npm/README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,13 @@ This is the npm distribution of `rpr`. It bundles the Python source and runs it
1111
## Install
1212

1313
```bash
14-
npm install -g rpr
14+
npm install -g @dedev-llc/rpr
1515
# or
16-
npx rpr <pr-number>
16+
npx @dedev-llc/rpr <pr-number>
1717
```
1818

19+
After install, the CLI is just `rpr` — the scope only affects the install command, not the binary name.
20+
1921
## Usage
2022

2123
```bash
@@ -31,3 +33,5 @@ See the [main repo](https://github.com/dedev-llc/rpr) for full docs and configur
3133
## Why a Node wrapper around Python?
3234

3335
`rpr` is written in Python (stdlib only). The npm package is a thin Node shim that finds your `python3` and execs the bundled CLI. If you're already a Python user, install via `pipx install rpr` instead — it's more idiomatic.
36+
37+
The npm package is published under the `@dedev-llc` scope because the unscoped `rpr` name was already taken on the npm registry by an unrelated package.

npm/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "rpr",
3-
"version": "0.1.0",
2+
"name": "@dedev-llc/rpr",
3+
"version": "0.1.1",
44
"description": "Stealth PR reviewer — looks like you wrote every word.",
55
"keywords": [
66
"pr",
@@ -19,7 +19,7 @@
1919
"url": "git+https://github.com/dedev-llc/rpr.git"
2020
},
2121
"bin": {
22-
"rpr": "./bin/rpr.js"
22+
"rpr": "bin/rpr.js"
2323
},
2424
"files": [
2525
"bin/",

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ build-backend = "hatchling.build"
66

77
[project]
88
name = "rpr"
9-
version = "0.1.0"
9+
version = "0.1.1"
1010
description = "Stealth PR reviewer — looks like you wrote every word."
1111
readme = "README.md"
1212
license = { file = "LICENSE" }

0 commit comments

Comments
 (0)