qkpr 0.0.11
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/LICENSE.md +21 -0
- package/README.md +278 -0
- package/README.zh-CN.md +278 -0
- package/dist/index.d.mts +1 -0
- package/dist/index.mjs +1573 -0
- package/dist/pr-3u9dEVEc.mjs +3 -0
- package/package.json +82 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { a as generatePRMessage, c as getBranchCategory, d as getCommitsBetweenBranches, f as getGitInfo, i as generateMergeBranchName, l as getBranchLastCommitTime, n as createMergeBranch, o as generatePRUrl, p as parseRemoteUrl, r as createPullRequest, s as getAllBranches, t as copyToClipboard, u as getBranchesWithInfo } from "./index.mjs";
|
|
2
|
+
|
|
3
|
+
export { copyToClipboard, createMergeBranch, createPullRequest, generateMergeBranchName, generatePRMessage, generatePRUrl, getAllBranches, getBranchCategory, getBranchLastCommitTime, getBranchesWithInfo, getCommitsBetweenBranches, getGitInfo, parseRemoteUrl };
|
package/package.json
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "qkpr",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "0.0.11",
|
|
5
|
+
"description": "Create a Pull Request with interactive branch selection",
|
|
6
|
+
"author": "KazooTTT <work@kazoottt.top>",
|
|
7
|
+
"license": "MIT",
|
|
8
|
+
"funding": "https://github.com/sponsors/kazoottt",
|
|
9
|
+
"homepage": "https://github.com/KazooTTT/qkpr#readme",
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git+https://github.com/KazooTTT/qkpr.git"
|
|
13
|
+
},
|
|
14
|
+
"bugs": "https://github.com/KazooTTT/qkpr/issues",
|
|
15
|
+
"keywords": [
|
|
16
|
+
"pr",
|
|
17
|
+
"git",
|
|
18
|
+
"pull-request",
|
|
19
|
+
"cli"
|
|
20
|
+
],
|
|
21
|
+
"sideEffects": false,
|
|
22
|
+
"exports": {
|
|
23
|
+
".": "./dist/index.mjs",
|
|
24
|
+
"./package.json": "./package.json"
|
|
25
|
+
},
|
|
26
|
+
"main": "./dist/index.mjs",
|
|
27
|
+
"module": "./dist/index.mjs",
|
|
28
|
+
"types": "./dist/index.d.mts",
|
|
29
|
+
"bin": {
|
|
30
|
+
"qkpr": "./dist/index.mjs"
|
|
31
|
+
},
|
|
32
|
+
"files": [
|
|
33
|
+
"dist"
|
|
34
|
+
],
|
|
35
|
+
"dependencies": {
|
|
36
|
+
"@google/generative-ai": "^0.24.1",
|
|
37
|
+
"inquirer": "^9.2.20",
|
|
38
|
+
"inquirer-autocomplete-prompt": "^3.0.1",
|
|
39
|
+
"inquirer-search-checkbox": "^1.0.0",
|
|
40
|
+
"is-ip": "^5.0.1",
|
|
41
|
+
"kolorist": "^1.8.0",
|
|
42
|
+
"open": "^8.4.2",
|
|
43
|
+
"ora": "^9.0.0",
|
|
44
|
+
"yargs": "^17.7.2"
|
|
45
|
+
},
|
|
46
|
+
"devDependencies": {
|
|
47
|
+
"@antfu/eslint-config": "^6.2.0",
|
|
48
|
+
"@antfu/ni": "^27.0.1",
|
|
49
|
+
"@antfu/utils": "^9.3.0",
|
|
50
|
+
"@types/inquirer": "^9.0.7",
|
|
51
|
+
"@types/inquirer-autocomplete-prompt": "^3.0.3",
|
|
52
|
+
"@types/node": "^24.10.0",
|
|
53
|
+
"@types/yargs": "^17.0.32",
|
|
54
|
+
"bumpp": "^10.3.1",
|
|
55
|
+
"eslint": "^9.39.1",
|
|
56
|
+
"lint-staged": "^16.2.6",
|
|
57
|
+
"simple-git-hooks": "^2.13.1",
|
|
58
|
+
"tinyexec": "^1.0.2",
|
|
59
|
+
"tsdown": "^0.16.0",
|
|
60
|
+
"tsx": "^4.20.6",
|
|
61
|
+
"typescript": "^5.9.3",
|
|
62
|
+
"vite": "^7.2.1",
|
|
63
|
+
"vitest": "^4.0.7",
|
|
64
|
+
"vitest-package-exports": "^0.1.1",
|
|
65
|
+
"yaml": "^2.8.1"
|
|
66
|
+
},
|
|
67
|
+
"simple-git-hooks": {
|
|
68
|
+
"pre-commit": "pnpm i --frozen-lockfile --ignore-scripts --offline && npx lint-staged"
|
|
69
|
+
},
|
|
70
|
+
"lint-staged": {
|
|
71
|
+
"*": "eslint --fix"
|
|
72
|
+
},
|
|
73
|
+
"scripts": {
|
|
74
|
+
"build": "tsdown",
|
|
75
|
+
"dev": "tsdown --watch",
|
|
76
|
+
"lint": "eslint",
|
|
77
|
+
"release": "bumpp",
|
|
78
|
+
"start": "tsx src/index.ts",
|
|
79
|
+
"test": "vitest",
|
|
80
|
+
"typecheck": "tsc"
|
|
81
|
+
}
|
|
82
|
+
}
|