codeowners-git 1.8.0 → 2.0.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 (3) hide show
  1. package/README.md +184 -41
  2. package/dist/cli.js +702 -494
  3. package/package.json +4 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codeowners-git",
3
- "version": "1.8.0",
3
+ "version": "2.0.1",
4
4
  "module": "src/cli.ts",
5
5
  "type": "module",
6
6
  "private": false,
@@ -30,6 +30,7 @@
30
30
  "scripts": {
31
31
  "start": "bun run src/cli.ts",
32
32
  "build": "bun build src/cli.ts --compile --outfile bin/codeowners-git",
33
+ "build:test": "bun run build && mkdir -p ~/.local/bin && cp bin/codeowners-git ~/.local/bin/cg-test",
33
34
  "build:dist": "bun build src/cli.ts --outdir dist/ --target node",
34
35
  "test": "bun test --watch",
35
36
  "test:unit": "bun test src/**",
@@ -40,7 +41,8 @@
40
41
  "type-check": "bun tsc",
41
42
  "format": "biome format --write ./src",
42
43
  "lint": "biome lint ./src",
43
- "prepublish": "bun run build:dist && bun run test:all"
44
+ "prepublish": "bun run build:dist && bun run test:all",
45
+ "release": "bun run build:dist && bunx changeset publish"
44
46
  },
45
47
  "bin": {
46
48
  "codeowners-git": "dist/cli.js",