Skip to content

Commit 908a091

Browse files
authored
Merge branch 'main' into eslint-plugin-binding
2 parents a23ed2d + 9c3fe42 commit 908a091

File tree

21 files changed

+94
-54
lines changed

21 files changed

+94
-54
lines changed

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
## 0.119.1 (2026-03-17)
2+
3+
### 🩹 Fixes
4+
5+
- add bin wrapper and resolve Nx project discovery ([#1270](https://github.com/code-pushup/cli/pull/1270))
6+
7+
### ❤️ Thank You
8+
9+
- Hanna Skryl @hanna-skryl
10+
111
## 0.119.0 (2026-03-16)
212

313
### 🚀 Features

eslint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ export default tseslint.config(
171171
},
172172
{
173173
// in bin files, imports with side effects are allowed
174-
files: ['**/bin/**/*.ts', '**/bin/**/*.js'],
174+
files: ['**/bin/**/*.ts', '**/bin/**/*.js', '**/bin.js'],
175175
rules: {
176176
'import/no-unassigned-import': 'off',
177177
},

nx.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"outputPath": "{projectRoot}/dist",
7676
"main": "{projectRoot}/src/index.ts",
7777
"tsConfig": "{projectRoot}/tsconfig.lib.json",
78-
"assets": ["{projectRoot}/*.md"]
78+
"assets": ["{projectRoot}/*.md", "{projectRoot}/bin.js"]
7979
}
8080
},
8181
"unit-test": {

packages/ci/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@code-pushup/ci",
3-
"version": "0.119.0",
3+
"version": "0.119.1",
44
"description": "CI automation logic for Code PushUp (provider-agnostic)",
55
"license": "MIT",
66
"homepage": "https://github.com/code-pushup/cli/tree/main/packages/ci#readme",
@@ -26,9 +26,9 @@
2626
},
2727
"type": "module",
2828
"dependencies": {
29-
"@code-pushup/models": "0.119.0",
29+
"@code-pushup/models": "0.119.1",
3030
"@code-pushup/portal-client": "^0.17.0",
31-
"@code-pushup/utils": "0.119.0",
31+
"@code-pushup/utils": "0.119.1",
3232
"ansis": "^3.3.2",
3333
"glob": "^11.0.1",
3434
"simple-git": "^3.20.0",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
* By tracking this file in git with executable permissions (+x), we ensure
99
* the CLI remains executable after npm publish without needing post-install scripts.
1010
*/
11-
import '../src/index.js';
11+
import './src/index.js';

packages/cli/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@code-pushup/cli",
3-
"version": "0.119.0",
3+
"version": "0.119.1",
44
"license": "MIT",
55
"description": "A CLI to run all kinds of code quality measurements to align your team with company goals",
66
"homepage": "https://code-pushup.dev",
@@ -39,15 +39,15 @@
3939
},
4040
"type": "module",
4141
"bin": {
42-
"code-pushup": "./bin/index.js"
42+
"code-pushup": "./bin.js"
4343
},
4444
"engines": {
4545
"node": ">=20"
4646
},
4747
"dependencies": {
48-
"@code-pushup/models": "0.119.0",
49-
"@code-pushup/core": "0.119.0",
50-
"@code-pushup/utils": "0.119.0",
48+
"@code-pushup/models": "0.119.1",
49+
"@code-pushup/core": "0.119.1",
50+
"@code-pushup/utils": "0.119.1",
5151
"yargs": "^17.7.2",
5252
"ansis": "^3.3.0",
5353
"simple-git": "^3.20.0"

packages/cli/project.json

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

packages/core/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@code-pushup/core",
3-
"version": "0.119.0",
3+
"version": "0.119.1",
44
"license": "MIT",
55
"description": "Core business logic for the used by the Code PushUp CLI",
66
"homepage": "https://github.com/code-pushup/cli/tree/main/packages/core#readme",
@@ -39,8 +39,8 @@
3939
},
4040
"type": "module",
4141
"dependencies": {
42-
"@code-pushup/models": "0.119.0",
43-
"@code-pushup/utils": "0.119.0",
42+
"@code-pushup/models": "0.119.1",
43+
"@code-pushup/utils": "0.119.1",
4444
"ansis": "^3.3.0"
4545
},
4646
"peerDependencies": {

packages/create-cli/bin.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/usr/bin/env node
2+
3+
/**
4+
* This file serves as the CLI entry point.
5+
*
6+
* We use a separate bin file (instead of pointing directly to src/index.js)
7+
* because TypeScript build processes don't preserve file permissions.
8+
* By tracking this file in git with executable permissions (+x), we ensure
9+
* the CLI remains executable after npm publish without needing post-install scripts.
10+
*/
11+
import './src/index.js';

packages/create-cli/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "@code-pushup/create-cli",
3-
"version": "0.119.0",
3+
"version": "0.119.1",
44
"license": "MIT",
5-
"bin": "index.js",
5+
"bin": "./bin.js",
66
"homepage": "https://github.com/code-pushup/cli/tree/main/packages/create-cli#readme",
77
"bugs": {
88
"url": "https://github.com/code-pushup/cli/issues?q=is%3Aissue%20state%3Aopen%20type%3ABug%20label%3A\"🧩%20create-cli\""
@@ -26,9 +26,9 @@
2626
},
2727
"type": "module",
2828
"dependencies": {
29-
"@code-pushup/eslint-plugin": "0.119.0",
30-
"@code-pushup/models": "0.119.0",
31-
"@code-pushup/utils": "0.119.0",
29+
"@code-pushup/eslint-plugin": "0.119.1",
30+
"@code-pushup/models": "0.119.1",
31+
"@code-pushup/utils": "0.119.1",
3232
"@inquirer/prompts": "^8.0.0",
3333
"yaml": "^2.5.1",
3434
"yargs": "^17.7.2"

0 commit comments

Comments
 (0)