prq-cli 0.1.2 → 0.1.4
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 +2 -2
- package/dist/bin/prq.js +3 -1
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# prq
|
|
2
2
|
|
|
3
|
-
[](https://www.npmjs.com/package/prq)
|
|
3
|
+
[](https://www.npmjs.com/package/prq-cli)
|
|
4
4
|
|
|
5
5
|
PR Queue — see what code reviews need your attention.
|
|
6
6
|
|
|
@@ -9,7 +9,7 @@ A CLI tool that queries GitHub and shows you a categorized view of PRs that need
|
|
|
9
9
|
## Install
|
|
10
10
|
|
|
11
11
|
```bash
|
|
12
|
-
|
|
12
|
+
npm install -g prq-cli
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
Requires [GitHub CLI](https://cli.github.com/) (`gh`) to be authenticated.
|
package/dist/bin/prq.js
CHANGED
|
@@ -2083,6 +2083,7 @@ var require_commander = __commonJS((exports) => {
|
|
|
2083
2083
|
// src/cli.ts
|
|
2084
2084
|
import fs3 from "node:fs";
|
|
2085
2085
|
import path3 from "node:path";
|
|
2086
|
+
import { fileURLToPath } from "node:url";
|
|
2086
2087
|
|
|
2087
2088
|
// node_modules/commander/esm.mjs
|
|
2088
2089
|
var import__ = __toESM(require_commander(), 1);
|
|
@@ -10480,7 +10481,8 @@ function loadConfig(cliOverrides) {
|
|
|
10480
10481
|
|
|
10481
10482
|
// src/cli.ts
|
|
10482
10483
|
function getVersion() {
|
|
10483
|
-
const
|
|
10484
|
+
const __dirname2 = path3.dirname(fileURLToPath(import.meta.url));
|
|
10485
|
+
const pkgPath = path3.resolve(__dirname2, "../../package.json");
|
|
10484
10486
|
const pkg = JSON.parse(fs3.readFileSync(pkgPath, "utf8"));
|
|
10485
10487
|
return pkg.version;
|
|
10486
10488
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "prq-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "PR Queue — see what code reviews need your attention",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@biomejs/biome": "^2.4.8",
|
|
28
28
|
"@semantic-release/commit-analyzer": "^13.0.1",
|
|
29
|
+
"@semantic-release/git": "^10.0.1",
|
|
29
30
|
"@semantic-release/github": "^12.0.6",
|
|
30
31
|
"@semantic-release/npm": "^13.1.5",
|
|
31
32
|
"@types/node": "^22.0.0",
|