codeowners-git 1.0.0 → 1.0.2

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 CHANGED
@@ -1,5 +1,9 @@
1
1
  # codeowners-git
2
2
 
3
+ [![Release](https://github.com/hemandev/codeowners-git/actions/workflows/release.yml/badge.svg)](https://github.com/hemandev/codeowners-git/actions/workflows/release.yml)
4
+ [![npm version](https://img.shields.io/npm/v/codeowners-git)](https://www.npmjs.com/package/codeowners-git)
5
+ [![license](https://img.shields.io/npm/l/codeowners-git)](LICENSE)
6
+
3
7
  Managing large-scale migrations in big monorepos with multiple codeowners can be overwhelming. Massive PRs touching thousands of files make it hard for teams to review changes efficiently.
4
8
 
5
9
  `codeowners-git` solves this by:
package/dist/cli.js CHANGED
@@ -5707,7 +5707,7 @@ var require_debug = __commonJS((exports, module) => {
5707
5707
  module.exports = debug2;
5708
5708
  });
5709
5709
 
5710
- // node_modules/string-width/node_modules/strip-ansi/node_modules/ansi-regex/index.js
5710
+ // node_modules/ansi-regex/index.js
5711
5711
  var require_ansi_regex = __commonJS((exports, module) => {
5712
5712
  module.exports = ({ onlyFirst = false } = {}) => {
5713
5713
  const pattern = [
@@ -5718,7 +5718,7 @@ var require_ansi_regex = __commonJS((exports, module) => {
5718
5718
  };
5719
5719
  });
5720
5720
 
5721
- // node_modules/string-width/node_modules/strip-ansi/index.js
5721
+ // node_modules/strip-ansi/index.js
5722
5722
  var require_strip_ansi = __commonJS((exports, module) => {
5723
5723
  var ansiRegex = require_ansi_regex();
5724
5724
  module.exports = (string) => typeof string === "string" ? string.replace(ansiRegex(), "") : string;
@@ -14678,7 +14678,7 @@ var listCodeowners = async (options) => {
14678
14678
  log.formattedTable(tableData, [
14679
14679
  {
14680
14680
  name: "No",
14681
- width: 10
14681
+ width: 8
14682
14682
  },
14683
14683
  {
14684
14684
  name: "File",
@@ -14732,7 +14732,7 @@ var branch = async (options) => {
14732
14732
 
14733
14733
  // src/cli.ts
14734
14734
  var program2 = new Command;
14735
- program2.name("codeowners").description("CLI tool for managing CODEOWNERS workflow");
14735
+ program2.name("codeowners").description("CLI tool for grouping and managing staged files by CODEOWNERS");
14736
14736
  program2.command("list").description("List all git changed files by CODEOWNER").option("-o, --owner <owner>", "Filter by specific code owner").option("-i, --include <patterns>", "Filter by owner patterns (comma-separated)").action(listCodeowners);
14737
14737
  program2.command("branch").description("Create new branch with owner 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.0",
3
+ "version": "1.0.2",
4
4
  "module": "src/cli.ts",
5
5
  "type": "module",
6
6
  "private": false,