codeowners-git 1.0.3 → 1.0.5
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/dist/cli.js +1 -1
- package/package.json +4 -5
package/dist/cli.js
CHANGED
|
@@ -14734,5 +14734,5 @@ var branch = async (options) => {
|
|
|
14734
14734
|
var program2 = new Command;
|
|
14735
14735
|
program2.name("codeowners").description("CLI tool for grouping and managing staged files by CODEOWNERS");
|
|
14736
14736
|
program2.command("list").description("Lists all git changed files by CODEOWNER").option("-o, --owner <owner>", "Filter by specific code owner").option("-i, --include <patterns>", "Filter by owner patterns").action(listCodeowners);
|
|
14737
|
-
program2.command("branch").description("Create new branch with
|
|
14737
|
+
program2.command("branch").description("Create new branch with codeowner changes").requiredOption("-o, --owner <owner>", "Code owner name").requiredOption("-b, --branch <branch>", "Branch name").requiredOption("-m, --message <message>", "Commit message").action(branch);
|
|
14738
14738
|
program2.parse(process.argv);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codeowners-git",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"module": "src/cli.ts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
},
|
|
13
13
|
"author": "hemandev",
|
|
14
14
|
"engines": {
|
|
15
|
-
"node": ">=
|
|
16
|
-
"npm": ">=8.x
|
|
15
|
+
"node": ">=18.x",
|
|
16
|
+
"npm": ">=8.x"
|
|
17
17
|
},
|
|
18
18
|
"keywords": [
|
|
19
19
|
"codeowners",
|
|
@@ -34,8 +34,7 @@
|
|
|
34
34
|
"test:ci": "bun test --watch",
|
|
35
35
|
"format": "biome format --write ./src",
|
|
36
36
|
"lint": "biome lint ./src",
|
|
37
|
-
"prepublish": "bun run build:dist && bun test"
|
|
38
|
-
"publish": "bun publish --access public"
|
|
37
|
+
"prepublish": "bun run build:dist && bun test"
|
|
39
38
|
},
|
|
40
39
|
"bin": {
|
|
41
40
|
"codeowners-git": "dist/cli.js"
|