Skip to content

Commit ba4e1d5

Browse files
author
John Doe
committed
Merge remote-tracking branch 'origin/main' into use-cp-nx-plugin
# Conflicts: # package-lock.json # package.json
2 parents 0b4ecf4 + 4d69dc3 commit ba4e1d5

File tree

147 files changed

+8192
-7051
lines changed

Some content is hidden

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

147 files changed

+8192
-7051
lines changed

CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,33 @@
1+
## 0.101.1 (2026-01-06)
2+
3+
### 🩹 Fixes
4+
5+
- **plugin-typescript:** exclude test files from standalone analysis ([bf008fd4](https://github.com/code-pushup/cli/commit/bf008fd4))
6+
7+
### ❤️ Thank You
8+
9+
- hanna-skryl
10+
11+
## 0.101.0 (2026-01-05)
12+
13+
### 🚀 Features
14+
15+
- **plugin-eslint:** make patterns input optional with default ([7ce6e9b7](https://github.com/code-pushup/cli/commit/7ce6e9b7))
16+
17+
### ❤️ Thank You
18+
19+
- Hanna Skryl @hanna-skryl
20+
21+
## 0.100.1 (2025-12-29)
22+
23+
### 🩹 Fixes
24+
25+
- update to nx v22 ([#1196](https://github.com/code-pushup/cli/pull/1196))
26+
27+
### ❤️ Thank You
28+
29+
- Michael Hladky @BioPhoton
30+
131
## 0.100.0 (2025-12-20)
232

333
### 🚀 Features

README.md

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,18 @@
1616

1717
---
1818

19+
### 🏷️ Category labels
20+
21+
See how your project measures up. With [portal integration](./packages/cli/README.md#portal-integration), category scores are embeddable and always reflect your latest report.
22+
1923
![Type safety](https://api.staging.code-pushup.dev/badges/code-pushup/cli-workspace/type-safety?apiKey=cp_def67c4efe558a9149061d0c62de893e1689ad793071db332790238446173fef)
2024
![Bug prevention](https://api.staging.code-pushup.dev/badges/code-pushup/cli-workspace/bug-prevention?apiKey=cp_def67c4efe558a9149061d0c62de893e1689ad793071db332790238446173fef)
2125
![Code style](https://api.staging.code-pushup.dev/badges/code-pushup/cli-workspace/code-style?apiKey=cp_def67c4efe558a9149061d0c62de893e1689ad793071db332790238446173fef)
2226
![Code coverage](https://api.staging.code-pushup.dev/badges/code-pushup/cli-workspace/code-coverage?apiKey=cp_def67c4efe558a9149061d0c62de893e1689ad793071db332790238446173fef)
2327
![Security](https://api.staging.code-pushup.dev/badges/code-pushup/cli-workspace/security?apiKey=cp_def67c4efe558a9149061d0c62de893e1689ad793071db332790238446173fef)
2428
![Updates](https://api.staging.code-pushup.dev/badges/code-pushup/cli-workspace/updates?apiKey=cp_def67c4efe558a9149061d0c62de893e1689ad793071db332790238446173fef)
2529
![Documentation](https://api.staging.code-pushup.dev/badges/code-pushup/cli-workspace/docs?apiKey=cp_def67c4efe558a9149061d0c62de893e1689ad793071db332790238446173fef)
30+
![Axe Accessibility](https://api.staging.code-pushup.dev/badges/code-pushup/cli-workspace/axe-a11y?apiKey=cp_def67c4efe558a9149061d0c62de893e1689ad793071db332790238446173fef)
2631

2732
---
2833

@@ -31,8 +36,7 @@
3136
_Common problems with keeping track of technical quality:_
3237

3338
- When **tech debt is invisible**, it's difficult to plan much-needed maintenance efforts 🔧
34-
- Individual tools measure different metrics, inability to combine them leads to
35-
a **lack of comprehensive overview** 🧑‍🦯
39+
- Individual tools measure different metrics, the inability to combine them leads to a **lack of comprehensive overview** 🧑‍🦯
3640
- Open-source tools typically used for failing checks in CI, which **can't measure incremental improvements** due to arbitrary pass/fail thresholds 🤖
3741
- Off-the-shelf solutions tend to be opinionated and **hard to customize**, so may not fit your specific needs 🧱
3842

@@ -42,15 +46,15 @@ _We want to change that!_
4246

4347
## 🔎🔬 Code quality integrations for any tool 📉🔍
4448

45-
| [🚀 Get started](./packages/cli/README.md#getting-started) | [🤖 CI automation](https://github.com/marketplace/actions/code-pushup) |
46-
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
47-
| <a href="./packages/cli/README.md#getting-started"><img alt="Getting started cover image" title="Getting started with code-pushup" src="packages/cli/docs/images/cli-terminal-overview.png" width="1000"></a> | <a href="./packages/cli/README.md#-ci-automation"><img alt="CI Automation cover" title="CI automation guide" src="docs/images/gh-action.png" width="1000"></a> |
48-
| <ul><li>Run **[📦 `@code-pushup/cli`](./packages/cli#readme)** to collect **reports**.</li><li>[Get started](./packages/cli/README.md#getting-started) quickly with our [**official plugins**](#-officially-supported-plugins)! ⏱️</li></ul> | <ul><li>Easy **CI** setup with **[🤖 `code-pushup/github-action`](https://github.com/marketplace/actions/code-pushup)**.</li><li>Import logic from **[📦 `@code-pushup/core`](./packages/core#readme)** to craft **custom tools**.</li></ul> |
49+
| [🚀 Get started](./packages/cli/README.md#getting-started)| [🤖 CI automation](https://github.com/marketplace/actions/code-pushup) |
50+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
51+
| <a href="./packages/cli/README.md#getting-started"><img alt="Getting started cover image" title="Getting started with code-pushup" src="packages/cli/docs/images/cli-terminal-overview.png" width="1000"></a> | <a href="./packages/cli/README.md#-ci-automation"><img alt="CI Automation cover" title="CI automation guide" src="docs/images/gh-action.png" width="1000"></a> |
52+
| <ul><li>Run **[📦 `@code-pushup/cli`](./packages/cli#readme)** to collect **reports**.</li><li>Get started quickly with our [**official plugins**](#-officially-supported-plugins)! ⏱️</li></ul> | <ul><li>Easy **CI** setup with **[🤖 `code-pushup/github-action`](https://github.com/marketplace/actions/code-pushup)**.</li><li>Import logic from **[📦 `@code-pushup/core`](./packages/core#readme)** to craft **custom tools**.</li></ul> |
4953

50-
| 📈 [Portal](https://code-pushup.dev#portal) | 🔌 [Custom plugins](./packages/cli/docs/custom-plugins.md) |
51-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
52-
| <a href="#portal-integration"><img alt="Portal integration cover image" title="Inetegrate code-pushup portal" src="packages/cli/docs/images/portal-cover.png" width="1000"></a> | <a href="#custom-plugins"><img alt="Custom plugins" title="Create custom code-pushup plugins" src="docs/images/code-pushup-custom-plugins.png" width="1000"></a> |
53-
| <ul><li>**[Portal](https://code-pushup.dev#portal)** 🌐 **visualizes reports** in a slick UI.</li><li>Track **historical data** from uploads. ⬆️</li></ul> | <ul><li>All the [data models](./packages/models/docs/models-reference.md) you need are provided in **[📦 `@code-pushup/models`](./packages/models/README.md)**.</li><li>Find tons of useful utilities in **[📦 `@code-pushup/utils`](./packages/utils/README.md)**.</li></ul> |
54+
| 📈 [Portal](https://code-pushup.dev/features) | 🔌 [Custom plugins](./packages/cli/docs/custom-plugins.md) |
55+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
56+
| <a href="./packages/cli/README.md#portal-integration"><img alt="Portal integration cover image" title="Integrate code-pushup portal" src="packages/cli/docs/images/portal-cover.png" width="1000"></a> | <a href="./packages/cli/docs/custom-plugins.md"><img alt="Custom plugins" title="Create custom code-pushup plugins" src="docs/images/code-pushup-custom-plugins.png" width="1000"></a> |
57+
| <ul><li>**[Portal](https://code-pushup.dev/features)** 🌐 **visualizes reports** in a slick UI.</li><li>Track **historical data** from uploads. ⬆️</li></ul> | <ul><li>All the [data models](./packages/models/docs/models-reference.md) you need are provided in **[📦 `@code-pushup/models`](./packages/models/README.md)**.</li><li>Find tons of useful utilities in **[📦 `@code-pushup/utils`](./packages/utils/README.md)**.</li></ul> |
5458

5559
---
5660

@@ -64,6 +68,7 @@ _We want to change that!_
6468
| <img width="24" src="docs/images/plugin-lighthouse.icon.png"> | [Lighthouse](./packages/plugin-lighthouse#readme) | Measures web performance and best practices with **Lighthouse**. |
6569
| <img width="24" src="docs/images/plugin-jsdocs.icon.png"> | [JSDocs](./packages/plugin-jsdocs#readme) | Analyzes how much source code is **documented** using JSDocs comments. |
6670
| <img width="24" src="docs/images/plugin-typescript.icon.png"> | [TypeScript](./packages/plugin-typescript#readme) | Checks for **TypeScript** errors using strict compiler flags. |
71+
| <img width="24" src="docs/images/plugin-axe.icon.png"> | [Axe](./packages/plugin-axe#readme) | Detects accessibility issues using **Axe**. |
6772

6873
---
6974

@@ -75,7 +80,7 @@ _We want to change that!_
7580
2. **[Integrate](https://github.com/marketplace/actions/code-pushup)**
7681
Use our integration guide and packages to set up CI integration in minutes. ⏱️
7782

78-
3. **[Observe](https://code-pushup.dev#portal)**
83+
3. **[Observe](https://code-pushup.dev/features)**
7984
Guard regressions and track improvements with every code change. 🔍
8085

8186
4. **Relax!**

code-pushup.preset.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,7 @@ export async function configureEslintPlugin(
4545
plugins: [
4646
projectName
4747
? await eslintPlugin(
48-
{
49-
eslintrc: `packages/${projectName}/eslint.config.js`,
50-
patterns: ['.'],
51-
},
48+
{ eslintrc: `packages/${projectName}/eslint.config.js` },
5249
{
5350
artifacts: {
5451
// We leverage Nx dependsOn to only run all lint targets before we run code-pushup
@@ -158,7 +155,7 @@ export async function configureJsPackagesPlugin(): Promise<CoreConfig> {
158155
export function configureTypescriptPlugin(projectName?: string): CoreConfig {
159156
const tsconfig = projectName
160157
? `packages/${projectName}/tsconfig.lib.json`
161-
: 'tsconfig.base.json';
158+
: 'tsconfig.code-pushup.json';
162159
return {
163160
plugins: [typescriptPlugin({ tsconfig })],
164161
categories: getCategories(),

docs/images/plugin-axe.icon.png

3.81 KB
Loading

docs/images/plugin-jsdocs.icon.png

1.28 KB
Loading

e2e/ci-e2e/project.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,7 @@
55
"projectType": "application",
66
"targets": {
77
"lint": {},
8-
"e2e": {
9-
"executor": "@nx/vite:test",
10-
"options": {
11-
"configFile": "{projectRoot}/vitest.e2e.config.ts"
12-
}
13-
}
8+
"e2e": {}
149
},
1510
"implicitDependencies": ["cli", "ci"],
1611
"tags": ["scope:tooling", "type:e2e"]

e2e/cli-e2e/project.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,7 @@
55
"projectType": "application",
66
"targets": {
77
"lint": {},
8-
"e2e": {
9-
"executor": "@nx/vite:test",
10-
"options": {
11-
"configFile": "{projectRoot}/vitest.e2e.config.ts"
12-
}
13-
}
8+
"e2e": {}
149
},
1510
"implicitDependencies": ["cli"],
1611
"tags": ["scope:core", "scope:plugin", "type:e2e"]

e2e/create-cli-e2e/project.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,7 @@
55
"projectType": "application",
66
"targets": {
77
"lint": {},
8-
"e2e": {
9-
"executor": "@nx/vite:test",
10-
"options": {
11-
"keepServerRunning": true,
12-
"configFile": "{projectRoot}/vitest.e2e.config.ts"
13-
}
14-
}
8+
"e2e": {}
159
},
1610
"implicitDependencies": ["create-cli"],
1711
"tags": ["scope:tooling", "type:e2e"]

e2e/nx-plugin-e2e/project.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,7 @@
55
"projectType": "application",
66
"targets": {
77
"lint": {},
8-
"e2e": {
9-
"executor": "@nx/vite:test",
10-
"options": {
11-
"configFile": "{projectRoot}/vitest.e2e.config.ts"
12-
}
13-
}
8+
"e2e": {}
149
},
1510
"implicitDependencies": ["test-utils", "nx-plugin"],
1611
"tags": ["scope:tooling", "type:e2e"]

e2e/plugin-axe-e2e/project.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,7 @@
55
"projectType": "application",
66
"targets": {
77
"lint": {},
8-
"e2e": {
9-
"executor": "@nx/vite:test",
10-
"options": {
11-
"configFile": "{projectRoot}/vitest.e2e.config.ts"
12-
}
13-
}
8+
"e2e": {}
149
},
1510
"implicitDependencies": ["cli", "plugin-axe"],
1611
"tags": ["scope:plugin", "type:e2e"]

0 commit comments

Comments
 (0)