Skip to content

Commit 17a0669

Browse files
committed
fix: make code-pushup bin +x stable
1 parent a86654b commit 17a0669

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

packages/cli/bin/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#! /usr/bin/env node
2+
import '../src/index.js';

packages/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
},
4040
"type": "module",
4141
"bin": {
42-
"code-pushup": "./src/index.js"
42+
"code-pushup": "./bin/index.js"
4343
},
4444
"engines": {
4545
"node": ">=20"

packages/cli/project.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44
"sourceRoot": "packages/cli/src",
55
"projectType": "library",
66
"targets": {
7-
"build": {},
7+
"build": {
8+
"options": {
9+
"assets": ["{projectRoot}/*.md", "{projectRoot}/bin/*"]
10+
}
11+
},
812
"lint": {},
913
"unit-test": {},
1014
"int-test": {},

0 commit comments

Comments
 (0)