Skip to content

Commit 19054d5

Browse files
committed
Merge remote-tracking branch 'origin/main' into plugin-bundle-stats-poc
# Conflicts: # package-lock.json # package.json # packages/cli/project.json # packages/models/src/lib/configuration.ts # packages/utils/src/index.ts
2 parents 9359370 + 7daf201 commit 19054d5

File tree

190 files changed

+5404
-2862
lines changed

Some content is hidden

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

190 files changed

+5404
-2862
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,5 +139,7 @@ jobs:
139139
uses: nrwl/nx-set-shas@v4
140140
- name: Install dependencies
141141
run: npm ci
142-
- name: Build affected projects
143-
run: npx nx affected:build --parallel=3
142+
- name: Build all projects # affected is not used to be able to test-releae packages
143+
run: npx nx run-many --target=build --parallel=3
144+
- name: Test-release packages
145+
run: npx pkg-pr-new publish "packages/**/dist"

.github/workflows/pr-labeler.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ jobs:
99
name: Add PR labels
1010
runs-on: ubuntu-latest
1111
permissions:
12+
contents: read
1213
pull-requests: write
14+
issues: write
1315
steps:
1416
- name: Checkout the repository
1517
uses: actions/checkout@v4

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ testem.log
4444
Thumbs.db
4545

4646
# generated Code PushUp reports
47-
**/.code-pushup
47+
/.code-pushup
4848

4949
# Nx workspace cache
5050
.nx

CHANGELOG.md

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,88 @@
1+
## 0.73.0 (2025-08-08)
2+
3+
### 🚀 Features
4+
5+
- **ci:** add searchCommits option to extend portal cache range ([0b14111f](https://github.com/code-pushup/cli/commit/0b14111f))
6+
7+
### ❤️ Thank You
8+
9+
- Matěj Chalk
10+
11+
## 0.72.1 (2025-08-06)
12+
13+
### 🩹 Fixes
14+
15+
- **ci:** download portal report for base commit and include details ([21572d52](https://github.com/code-pushup/cli/commit/21572d52))
16+
17+
### ❤️ Thank You
18+
19+
- Matěj Chalk
20+
21+
## 0.72.0 (2025-08-06)
22+
23+
### 🚀 Features
24+
25+
- **ci:** add configPatterns as optional performance optimization ([823ade1f](https://github.com/code-pushup/cli/commit/823ade1f))
26+
- **cli:** use default report paths if --before/--after missing in compare command ([61ee2272](https://github.com/code-pushup/cli/commit/61ee2272))
27+
- **core:** copy label from report.json inputs to report-diff.json output ([2adcf9db](https://github.com/code-pushup/cli/commit/2adcf9db))
28+
- **models:** add optional label to report.json schema ([77d33b54](https://github.com/code-pushup/cli/commit/77d33b54))
29+
- **utils:** interpolate variables in strings ([242435e0](https://github.com/code-pushup/cli/commit/242435e0))
30+
31+
### 🔥 Performance
32+
33+
- **ci:** use bulk command to compare reports for all projects ([f9deac78](https://github.com/code-pushup/cli/commit/f9deac78))
34+
35+
### ❤️ Thank You
36+
37+
- Matěj Chalk
38+
39+
## 0.71.0 (2025-08-01)
40+
41+
### 🚀 Features
42+
43+
- **ci:** download report from graphql api and convert to report.json format ([d35cd7a0](https://github.com/code-pushup/cli/commit/d35cd7a0))
44+
- **ci:** parse upload along with persist in print-config commands ([a73bf21b](https://github.com/code-pushup/cli/commit/a73bf21b))
45+
- **ci:** download previous report from portal if available ([918eb0d5](https://github.com/code-pushup/cli/commit/918eb0d5))
46+
- **utils:** add type helpers for lower/upper case conversions ([50483748](https://github.com/code-pushup/cli/commit/50483748))
47+
48+
### ❤️ Thank You
49+
50+
- Matěj Chalk
51+
52+
## 0.70.0 (2025-07-31)
53+
54+
### 🚀 Features
55+
56+
- **ci:** update to zod v4 ([c342dab1](https://github.com/code-pushup/cli/commit/c342dab1))
57+
- **ci:** remove redundant --no-progress argument ([b0ed2fa9](https://github.com/code-pushup/cli/commit/b0ed2fa9))
58+
- **ci:** skip persist.format args if defaults already configured ([c11db95e](https://github.com/code-pushup/cli/commit/c11db95e))
59+
- **cli:** disable progress bar in CI environment ([ecd42c60](https://github.com/code-pushup/cli/commit/ecd42c60))
60+
- **models:** add generic artifact generation to enable caching ([#1023](https://github.com/code-pushup/cli/pull/1023))
61+
- **models:** update to zod v4 ([7985c239](https://github.com/code-pushup/cli/commit/7985c239))
62+
- **nx-plugin:** update to zod v4 ([91774182](https://github.com/code-pushup/cli/commit/91774182))
63+
- **plugin-coverage:** update to zod v4 ([a0814d31](https://github.com/code-pushup/cli/commit/a0814d31))
64+
- **plugin-eslint:** update zod to v4 ([4ef657f1](https://github.com/code-pushup/cli/commit/4ef657f1))
65+
- **plugin-js-packages:** update to zod v4 ([c24b7435](https://github.com/code-pushup/cli/commit/c24b7435))
66+
- **plugin-jsdocs:** update to zod v4 ([3444e8d3](https://github.com/code-pushup/cli/commit/3444e8d3))
67+
- **plugin-lighthouse:** implement multiple URL support ([f4db1368](https://github.com/code-pushup/cli/commit/f4db1368))
68+
- **plugin-typescript:** update to zod v4 ([6de416f4](https://github.com/code-pushup/cli/commit/6de416f4))
69+
- **utils:** update to zod v4, replace zod-validation-error with z.prettifyError ([b1364d7d](https://github.com/code-pushup/cli/commit/b1364d7d))
70+
- **utils:** parse boolean environment variables ([be08c188](https://github.com/code-pushup/cli/commit/be08c188))
71+
- **utils:** detect ci environment ([3430d31b](https://github.com/code-pushup/cli/commit/3430d31b))
72+
- **utils:** extract boolean value coercion to standalone function ([f76e4fb0](https://github.com/code-pushup/cli/commit/f76e4fb0))
73+
74+
### 🩹 Fixes
75+
76+
- **ci:** do not set --verbose by default ([ab39b050](https://github.com/code-pushup/cli/commit/ab39b050))
77+
- **cli:** adapt format schema check to zod v4 ([77a384b0](https://github.com/code-pushup/cli/commit/77a384b0))
78+
- **models:** use implementAsync for async z.function occurrences ([17931228](https://github.com/code-pushup/cli/commit/17931228))
79+
80+
### ❤️ Thank You
81+
82+
- Andrii Siuta
83+
- Hanna Skryl @hanna-skryl
84+
- Matěj Chalk
85+
186
## 0.69.5 (2025-07-11)
287

388
### 🩹 Fixes

e2e/ci-e2e/global-setup.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
/* eslint-disable functional/immutable-data */
2+
3+
const originalCI = process.env['CI'];
4+
5+
export function setup() {
6+
// package is expected to run in CI environment
7+
process.env['CI'] = 'true';
8+
}
9+
10+
export function teardown() {
11+
if (originalCI === undefined) {
12+
delete process.env['CI'];
13+
} else {
14+
process.env['CI'] = originalCI;
15+
}
16+
}

e2e/ci-e2e/project.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,7 @@
44
"sourceRoot": "e2e/ci-e2e/src",
55
"projectType": "application",
66
"targets": {
7-
"lint": {
8-
"executor": "@nx/linter:eslint",
9-
"outputs": ["{options.outputFile}"],
10-
"options": {
11-
"lintFilePatterns": ["e2e/ci-e2e/**/*.ts"]
12-
}
13-
},
7+
"lint": {},
148
"e2e": {
159
"executor": "@nx/vite:test",
1610
"options": {

e2e/ci-e2e/tsconfig.test.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"vitest.e2e.config.ts",
99
"tests/**/*.e2e.test.ts",
1010
"tests/**/*.d.ts",
11-
"mocks/**/*.ts"
11+
"mocks/**/*.ts",
12+
"global-setup.ts"
1213
]
1314
}

e2e/ci-e2e/vitest.e2e.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export default defineConfig({
1616
},
1717
environment: 'node',
1818
include: ['tests/**/*.e2e.test.{js,mjs,cjs,ts,mts,cts,jsx,tsx}'],
19+
globalSetup: './global-setup.ts',
1920
setupFiles: ['../../testing/test-setup/src/lib/reset.mocks.ts'],
2021
},
2122
});

e2e/cli-e2e/mocks/fixtures/existing-reports/.code-pushup/target-report.json renamed to e2e/cli-e2e/mocks/fixtures/existing-reports/.code-pushup/report-after.json

File renamed without changes.

e2e/cli-e2e/mocks/fixtures/existing-reports/.code-pushup/target-report.md renamed to e2e/cli-e2e/mocks/fixtures/existing-reports/.code-pushup/report-after.md

File renamed without changes.

0 commit comments

Comments
 (0)