Skip to content

Commit 5ae687a

Browse files
committed
Merge branch 'main' into plugin-typescript
# Conflicts: # packages/plugin-typescript/mocks/fixtures/basic-setup/src/6-configuration-errors/ts-6059-file-is-not-under-root-dir.ts # packages/plugin-typescript/mocks/fixtures/basic-setup/tsconfig.init.json # packages/plugin-typescript/mocks/fixtures/basic-setup/tsconfig.internal-errors.json # packages/plugin-typescript/mocks/fixtures/basic-setup/tsconfig.json # packages/plugin-typescript/src/lib/runner/__snapshots__/runner-function-all-audits.json # packages/plugin-typescript/src/lib/runner/runner.integration.test.ts # packages/plugin-typescript/src/lib/runner/runner.ts # packages/plugin-typescript/src/lib/runner/runner.unit.test.ts # packages/plugin-typescript/src/lib/runner/ts-runner.integration.test.ts # packages/plugin-typescript/src/lib/runner/ts-runner.ts # packages/plugin-typescript/src/lib/runner/utils.ts # packages/plugin-typescript/src/lib/runner/utils.unit.test.ts # packages/plugin-typescript/src/lib/types.ts # packages/plugin-typescript/src/lib/utils.ts
2 parents 0b9c371 + afd50e7 commit 5ae687a

File tree

34 files changed

+235
-129
lines changed

34 files changed

+235
-129
lines changed

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
## 0.59.0 (2025-02-14)
2+
3+
### 🚀 Features
4+
5+
- **plugin-coverage:** do not halt plugin execution on fail ([23f1ce5c](https://github.com/code-pushup/cli/commit/23f1ce5c))
6+
- **utils:** add string helper ([#916](https://github.com/code-pushup/cli/pull/916))
7+
8+
### 🩹 Fixes
9+
10+
- explicitly exit process with successful code to not leave cli hanging ([2cb815bb](https://github.com/code-pushup/cli/commit/2cb815bb))
11+
12+
### ❤️ Thank You
13+
14+
- Michael Hladky @BioPhoton
15+
- Vojtech Masek @vmasek
16+
117
## 0.58.0 (2025-02-12)
218

319
### 🚀 Features

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.58.0",
3+
"version": "0.59.0",
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,8 +26,8 @@
2626
},
2727
"type": "module",
2828
"dependencies": {
29-
"@code-pushup/models": "0.58.0",
30-
"@code-pushup/utils": "0.58.0",
29+
"@code-pushup/models": "0.59.0",
30+
"@code-pushup/utils": "0.59.0",
3131
"glob": "^10.4.5",
3232
"simple-git": "^3.20.0",
3333
"yaml": "^2.5.1",

packages/cli/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@code-pushup/cli",
3-
"version": "0.58.0",
3+
"version": "0.59.0",
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",
@@ -42,9 +42,9 @@
4242
"code-pushup": "./src/index.js"
4343
},
4444
"dependencies": {
45-
"@code-pushup/models": "0.58.0",
46-
"@code-pushup/core": "0.58.0",
47-
"@code-pushup/utils": "0.58.0",
45+
"@code-pushup/models": "0.59.0",
46+
"@code-pushup/core": "0.59.0",
47+
"@code-pushup/utils": "0.59.0",
4848
"yargs": "^17.7.2",
4949
"ansis": "^3.3.0",
5050
"simple-git": "^3.20.0"

packages/cli/src/index.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,7 @@ import { cli } from './lib/cli.js';
44

55
// bootstrap Yargs, parse arguments and execute command
66
await cli(hideBin(process.argv)).argv;
7+
8+
// we need to explicitly exit with successful code otherwise we risk hanging process in certain situations
9+
// eslint-disable-next-line n/no-process-exit
10+
process.exit(0);

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.58.0",
3+
"version": "0.59.0",
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.58.0",
43-
"@code-pushup/utils": "0.58.0",
42+
"@code-pushup/models": "0.59.0",
43+
"@code-pushup/utils": "0.59.0",
4444
"ansis": "^3.3.0"
4545
},
4646
"peerDependencies": {

packages/create-cli/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/create-cli",
3-
"version": "0.58.0",
3+
"version": "0.59.0",
44
"license": "MIT",
55
"bin": "index.js",
66
"homepage": "https://github.com/code-pushup/cli/tree/main/packages/create-cli#readme",
@@ -26,7 +26,7 @@
2626
},
2727
"type": "module",
2828
"dependencies": {
29-
"@code-pushup/nx-plugin": "0.58.0",
30-
"@code-pushup/utils": "0.58.0"
29+
"@code-pushup/nx-plugin": "0.59.0",
30+
"@code-pushup/utils": "0.59.0"
3131
}
3232
}

packages/models/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@code-pushup/models",
3-
"version": "0.58.0",
3+
"version": "0.59.0",
44
"license": "MIT",
55
"description": "Model definitions and validators for the Code PushUp CLI",
66
"homepage": "https://github.com/code-pushup/cli/tree/main/packages/models#readme",

packages/nx-plugin/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/nx-plugin",
3-
"version": "0.58.0",
3+
"version": "0.59.0",
44
"license": "MIT",
55
"description": "Nx plugin to integrate the Code PushUp CLI into your workspace 🛠️",
66
"publishConfig": {
@@ -32,8 +32,8 @@
3232
"generators": "./generators.json",
3333
"executors": "./executors.json",
3434
"dependencies": {
35-
"@code-pushup/models": "0.58.0",
36-
"@code-pushup/utils": "0.58.0",
35+
"@code-pushup/models": "0.59.0",
36+
"@code-pushup/utils": "0.59.0",
3737
"@nx/devkit": "^17.0.0 || ^18.0.0 || ^19.0.0",
3838
"nx": "^17.0.0 || ^18.0.0 || ^19.0.0",
3939
"zod": "^3.22.4"

packages/plugin-coverage/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/coverage-plugin",
3-
"version": "0.58.0",
3+
"version": "0.59.0",
44
"description": "Code PushUp plugin for tracking code coverage ☂",
55
"license": "MIT",
66
"homepage": "https://github.com/code-pushup/cli/tree/main/packages/plugin-coverage#readme",
@@ -34,8 +34,8 @@
3434
},
3535
"type": "module",
3636
"dependencies": {
37-
"@code-pushup/models": "0.58.0",
38-
"@code-pushup/utils": "0.58.0",
37+
"@code-pushup/models": "0.59.0",
38+
"@code-pushup/utils": "0.59.0",
3939
"ansis": "^3.3.0",
4040
"parse-lcov": "^1.0.4",
4141
"yargs": "^17.7.2",

packages/plugin-coverage/src/lib/config.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@ export const coveragePluginConfigSchema = z.object({
3838
.optional(),
3939
})
4040
.optional(),
41+
continueOnCommandFail: z
42+
.boolean({
43+
description:
44+
'Continue on coverage tool command failure or error. Defaults to true.',
45+
})
46+
.default(true),
4147
coverageTypes: z
4248
.array(coverageTypeSchema, {
4349
description: 'Coverage types measured. Defaults to all available types.',

0 commit comments

Comments
 (0)