Skip to content

Commit 66d1fec

Browse files
committed
Merge branch 'main' into plugin-typescript
# Conflicts: # packages/plugin-eslint/src/lib/runner.integration.test.ts # packages/plugin-typescript/src/lib/schema.ts # packages/plugin-typescript/src/lib/schema.unit.test.ts # packages/plugin-typescript/src/lib/typescript-plugin.ts # packages/plugin-typescript/src/lib/typescript-plugin.unit.test.ts
2 parents 5ae687a + c677fa2 commit 66d1fec

File tree

149 files changed

+2343
-649
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

149 files changed

+2343
-649
lines changed

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
22.10.0
1+
22.14.0

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nodejs 22.10.0
1+
nodejs 22.14.0

CHANGELOG.md

Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,124 @@
1+
## 0.65.0 (2025-03-05)
2+
3+
### 🚀 Features
4+
5+
- **utils:** add score filter to md report generation ([#956](https://github.com/code-pushup/cli/pull/956))
6+
7+
### ❤️ Thank You
8+
9+
- Michael Hladky @BioPhoton
10+
11+
## 0.64.2 (2025-03-05)
12+
13+
### 🩹 Fixes
14+
15+
- update nx-verdaccio pkg ([#954](https://github.com/code-pushup/cli/pull/954))
16+
- **plugin-js-packages:** ignore non-empty stderr ([7936a00c](https://github.com/code-pushup/cli/commit/7936a00c))
17+
- **utils:** ignore non-json lines in fromJsonLines utility ([7886c572](https://github.com/code-pushup/cli/commit/7886c572))
18+
19+
### ❤️ Thank You
20+
21+
- Matěj Chalk
22+
- Michael Hladky @BioPhoton
23+
24+
## 0.64.1 (2025-03-04)
25+
26+
### 🩹 Fixes
27+
28+
- **ci:** always show execute process errors and log stdout if verbose ([b41de478](https://github.com/code-pushup/cli/commit/b41de478))
29+
- **utils:** remove partial from mergeConfigs return type ([69c2ef4c](https://github.com/code-pushup/cli/commit/69c2ef4c))
30+
31+
### ❤️ Thank You
32+
33+
- Matěj Chalk
34+
- Vojtech Masek @vmasek
35+
36+
## 0.64.0 (2025-02-27)
37+
38+
### 🚀 Features
39+
40+
- **ci:** allow refs without shas, fetch if needed ([2ee0a8d1](https://github.com/code-pushup/cli/commit/2ee0a8d1))
41+
42+
### ❤️ Thank You
43+
44+
- Matěj Chalk
45+
46+
## 0.63.0 (2025-02-26)
47+
48+
### 🚀 Features
49+
50+
- **ci:** use temporary file for print-config instead of stdout ([aa4d0b38](https://github.com/code-pushup/cli/commit/aa4d0b38))
51+
- **cli:** add --output=<file> option to print-config command ([a1fde20c](https://github.com/code-pushup/cli/commit/a1fde20c))
52+
53+
### ❤️ Thank You
54+
55+
- Matěj Chalk
56+
57+
## 0.62.0 (2025-02-25)
58+
59+
### 🚀 Features
60+
61+
- log process working directory as cwd if undefined ([a0638f8c](https://github.com/code-pushup/cli/commit/a0638f8c))
62+
63+
### 🩹 Fixes
64+
65+
- **utils:** replace misleading commit labels in markdown diff ([21a1f25d](https://github.com/code-pushup/cli/commit/21a1f25d))
66+
67+
### ❤️ Thank You
68+
69+
- Matěj Chalk
70+
- Vojtech Masek @vmasek
71+
72+
## 0.61.0 (2025-02-19)
73+
74+
### 🚀 Features
75+
76+
- **ci:** disable nx/turbo cache for non-autorun code-pushup commands ([29a1bc63](https://github.com/code-pushup/cli/commit/29a1bc63))
77+
- **models:** do not throw if docs url invalid, treat as missing and log warning ([a54295c6](https://github.com/code-pushup/cli/commit/a54295c6))
78+
79+
### ❤️ Thank You
80+
81+
- Matěj Chalk
82+
83+
## 0.60.2 (2025-02-18)
84+
85+
### 🩹 Fixes
86+
87+
- **ci:** prevent unknown pathspec error for custom base ref ([60dfb5b2](https://github.com/code-pushup/cli/commit/60dfb5b2))
88+
89+
### ❤️ Thank You
90+
91+
- Matěj Chalk
92+
93+
## 0.60.1 (2025-02-18)
94+
95+
### 🩹 Fixes
96+
97+
- add toSorted polyfill as hotfix for bug in github actions runner ([55704d18](https://github.com/code-pushup/cli/commit/55704d18))
98+
- **ci:** prevent ambigious ref when checking head ([f5f226e1](https://github.com/code-pushup/cli/commit/f5f226e1))
99+
100+
### ❤️ Thank You
101+
102+
- Matěj Chalk
103+
- Vojtech Masek @vmasek
104+
105+
## 0.60.0 (2025-02-18)
106+
107+
### 🚀 Features
108+
109+
- **ci:** add skipComment option ([9ac2a6ba](https://github.com/code-pushup/cli/commit/9ac2a6ba))
110+
- **plugin-typescript:** add TS core logic ([#932](https://github.com/code-pushup/cli/pull/932))
111+
- **plugin-typescript:** add plugin logic ([#936](https://github.com/code-pushup/cli/pull/936))
112+
113+
### 🩹 Fixes
114+
115+
- **ci:** ensure head ref is checked out ([74db9023](https://github.com/code-pushup/cli/commit/74db9023))
116+
117+
### ❤️ Thank You
118+
119+
- Matěj Chalk
120+
- Michael Hladky @BioPhoton
121+
1122
## 0.59.0 (2025-02-14)
2123

3124
### 🚀 Features

e2e/ci-e2e/mocks/setup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ import path from 'node:path';
33
import { fileURLToPath } from 'node:url';
44
import { simpleGit } from 'simple-git';
55
import { nxTargetProject } from '@code-pushup/test-nx-utils';
6-
import { teardownTestFolder } from '@code-pushup/test-setup';
76
import {
87
E2E_ENVIRONMENTS_DIR,
98
TEST_OUTPUT_DIR,
109
initGitRepo,
1110
simulateGitFetch,
11+
teardownTestFolder,
1212
} from '@code-pushup/test-utils';
1313

1414
export type TestRepo = Awaited<ReturnType<typeof setupTestRepo>>;

e2e/ci-e2e/tests/__snapshots__/basic-report-diff.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Code PushUp
22

3-
🥳 Code PushUp report has **improved** – compared target commit `<commit-sha>` with source commit `<commit-sha>`.
3+
🥳 Code PushUp report has **improved** – compared current commit `<commit-sha>` with previous commit `<commit-sha>`.
44

55
<details>
66
<summary>👍 <strong>1</strong> audit improved</summary>

e2e/ci-e2e/tests/__snapshots__/npm-workspaces-report-diff.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Code PushUp
22

3-
🥳 Code PushUp report has **improved** – compared target commit `<commit-sha>` with source commit `<commit-sha>`.
3+
🥳 Code PushUp report has **improved** – compared current commit `<commit-sha>` with previous commit `<commit-sha>`.
44

55
## 💼 Project `@example/core`
66

e2e/ci-e2e/tests/__snapshots__/nx-monorepo-report-diff.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Code PushUp
22

3-
🤨 Code PushUp report has both **improvements and regressions** – compared target commit `<commit-sha>` with source commit `<commit-sha>`.
3+
🤨 Code PushUp report has both **improvements and regressions** – compared current commit `<commit-sha>` with previous commit `<commit-sha>`.
44

55
## 💼 Project `api`
66

e2e/cli-e2e/tests/__snapshots__/compare.report-diff.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Code PushUp
22

3-
🥳 Code PushUp report has **improved** – compared target commit `<commit-sha>` with source commit `<commit-sha>`.
3+
🥳 Code PushUp report has **improved** – compared current commit `<commit-sha>` with previous commit `<commit-sha>`.
44

55
## 🏷️ Categories
66

e2e/cli-e2e/tests/__snapshots__/help.e2e.test.ts.snap

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ Global Options:
2121
--progress Show progress bar in stdout.
2222
[boolean] [default: true]
2323
--verbose When true creates more verbose output. This is helpful w
24-
hen debugging. [boolean] [default: false]
24+
hen debugging. You may also set CP_VERBOSE env variable
25+
instead. [boolean] [default: false]
2526
--config Path to config file. By default it loads code-pushup.con
2627
fig.(ts|mjs|js). [string]
2728
--tsconfig Path to a TypeScript config, to be used when loading con
@@ -65,9 +66,9 @@ Examples:
6566
code-pushup collect --onlyPlugins=covera Run collect with only coverage plugi
6667
ge n, other plugins from config file wi
6768
ll be skipped.
68-
code-pushup collect --skipPlugins=covera Run collect skiping the coverage plu
69-
ge gin, other plugins from config file
70-
will be included.
69+
code-pushup collect --skipPlugins=covera Run collect skipping the coverage pl
70+
ge ugin, other plugins from config file
71+
will be included.
7172
code-pushup upload --persist.outputDir=d Upload dist/report.json to portal us
7273
ist --upload.apiKey=$CP_API_KEY ing API key from environment variabl
7374
e

e2e/cli-e2e/tests/collect.e2e.test.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@ import { cp } from 'node:fs/promises';
22
import path from 'node:path';
33
import { afterEach, beforeAll, describe, expect, it } from 'vitest';
44
import { nxTargetProject } from '@code-pushup/test-nx-utils';
5-
import { teardownTestFolder } from '@code-pushup/test-setup';
6-
import { E2E_ENVIRONMENTS_DIR, TEST_OUTPUT_DIR } from '@code-pushup/test-utils';
5+
import {
6+
E2E_ENVIRONMENTS_DIR,
7+
TEST_OUTPUT_DIR,
8+
teardownTestFolder,
9+
} from '@code-pushup/test-utils';
710
import { executeProcess, readTextFile } from '@code-pushup/utils';
811

912
describe('CLI collect', () => {

0 commit comments

Comments
 (0)