codeowners-git 1.4.0 → 1.4.1

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.
Files changed (2) hide show
  1. package/dist/cli.js +3 -7
  2. package/package.json +3 -2
package/dist/cli.js CHANGED
@@ -14945,16 +14945,12 @@ var multiBranch = async (options) => {
14945
14945
  process.exit(1);
14946
14946
  }
14947
14947
  };
14948
+ // package.json
14949
+ var version = "1.4.1";
14948
14950
 
14949
14951
  // src/commands/version.ts
14950
- import { readFileSync } from "fs";
14951
- import { fileURLToPath } from "url";
14952
- import { dirname, join } from "path";
14953
14952
  function getVersion() {
14954
- const __filename2 = fileURLToPath(import.meta.url);
14955
- const __dirname2 = dirname(__filename2);
14956
- const packageJson = JSON.parse(readFileSync(join(__dirname2, "../../package.json"), "utf8"));
14957
- return packageJson.version;
14953
+ return version;
14958
14954
  }
14959
14955
 
14960
14956
  // src/cli.ts
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "codeowners-git",
3
- "version": "1.4.0",
3
+ "version": "1.4.1",
4
4
  "module": "src/cli.ts",
5
5
  "type": "module",
6
6
  "private": false,
7
7
  "files": [
8
- "dist/**/*"
8
+ "dist/**/*",
9
+ "package.json"
9
10
  ],
10
11
  "publishConfig": {
11
12
  "access": "public"