Skip to content

Commit 42f0bd4

Browse files
committed
wip
2 parents 48143dc + ebb4ed5 commit 42f0bd4

File tree

160 files changed

+2481
-590
lines changed

Some content is hidden

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

160 files changed

+2481
-590
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: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,89 @@
1+
## 0.64.0 (2025-02-27)
2+
3+
### 🚀 Features
4+
5+
- **ci:** allow refs without shas, fetch if needed ([2ee0a8d1](https://github.com/code-pushup/cli/commit/2ee0a8d1))
6+
7+
### ❤️ Thank You
8+
9+
- Matěj Chalk
10+
11+
## 0.63.0 (2025-02-26)
12+
13+
### 🚀 Features
14+
15+
- **ci:** use temporary file for print-config instead of stdout ([aa4d0b38](https://github.com/code-pushup/cli/commit/aa4d0b38))
16+
- **cli:** add --output=<file> option to print-config command ([a1fde20c](https://github.com/code-pushup/cli/commit/a1fde20c))
17+
18+
### ❤️ Thank You
19+
20+
- Matěj Chalk
21+
22+
## 0.62.0 (2025-02-25)
23+
24+
### 🚀 Features
25+
26+
- log process working directory as cwd if undefined ([a0638f8c](https://github.com/code-pushup/cli/commit/a0638f8c))
27+
28+
### 🩹 Fixes
29+
30+
- **utils:** replace misleading commit labels in markdown diff ([21a1f25d](https://github.com/code-pushup/cli/commit/21a1f25d))
31+
32+
### ❤️ Thank You
33+
34+
- Matěj Chalk
35+
- Vojtech Masek @vmasek
36+
37+
## 0.61.0 (2025-02-19)
38+
39+
### 🚀 Features
40+
41+
- **ci:** disable nx/turbo cache for non-autorun code-pushup commands ([29a1bc63](https://github.com/code-pushup/cli/commit/29a1bc63))
42+
- **models:** do not throw if docs url invalid, treat as missing and log warning ([a54295c6](https://github.com/code-pushup/cli/commit/a54295c6))
43+
44+
### ❤️ Thank You
45+
46+
- Matěj Chalk
47+
48+
## 0.60.2 (2025-02-18)
49+
50+
### 🩹 Fixes
51+
52+
- **ci:** prevent unknown pathspec error for custom base ref ([60dfb5b2](https://github.com/code-pushup/cli/commit/60dfb5b2))
53+
54+
### ❤️ Thank You
55+
56+
- Matěj Chalk
57+
58+
## 0.60.1 (2025-02-18)
59+
60+
### 🩹 Fixes
61+
62+
- add toSorted polyfill as hotfix for bug in github actions runner ([55704d18](https://github.com/code-pushup/cli/commit/55704d18))
63+
- **ci:** prevent ambigious ref when checking head ([f5f226e1](https://github.com/code-pushup/cli/commit/f5f226e1))
64+
65+
### ❤️ Thank You
66+
67+
- Matěj Chalk
68+
- Vojtech Masek @vmasek
69+
70+
## 0.60.0 (2025-02-18)
71+
72+
### 🚀 Features
73+
74+
- **ci:** add skipComment option ([9ac2a6ba](https://github.com/code-pushup/cli/commit/9ac2a6ba))
75+
- **plugin-typescript:** add TS core logic ([#932](https://github.com/code-pushup/cli/pull/932))
76+
- **plugin-typescript:** add plugin logic ([#936](https://github.com/code-pushup/cli/pull/936))
77+
78+
### 🩹 Fixes
79+
80+
- **ci:** ensure head ref is checked out ([74db9023](https://github.com/code-pushup/cli/commit/74db9023))
81+
82+
### ❤️ Thank You
83+
84+
- Matěj Chalk
85+
- Michael Hladky @BioPhoton
86+
187
## 0.59.0 (2025-02-14)
288

389
### 🚀 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)