Skip to content

Commit

Permalink
refactor: update the main readme file (#701)
Browse files Browse the repository at this point in the history
  • Loading branch information
BioPhoton authored Jun 21, 2024
1 parent b055122 commit f8c605a
Show file tree
Hide file tree
Showing 6 changed files with 76 additions and 20 deletions.
96 changes: 76 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Code PushUp CLI
# Code PushUp - Just Follow the Score <✓>

**🔎🔬 Code quality integrations for any tool 📉🔍**

[![version](https://img.shields.io/github/package-json/v/code-pushup/cli)](https://www.npmjs.com/package/%40code-pushup%2Fcli)
[![release date](https://img.shields.io/github/release-date/code-pushup/cli)](https://github.com/code-pushup/cli/releases)
Expand All @@ -7,31 +9,85 @@
[![CI](https://github.com/code-pushup/cli/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/code-pushup/cli/actions/workflows/ci.yml?query=branch%3Amain)
[![Codecov](https://codecov.io/gh/code-pushup/cli/branch/main/graph/badge.svg?token=Y7V489JZ4A)](https://codecov.io/gh/code-pushup/cli)

🔎🔬 **Quality metrics for your software project.** 📉🔍
## 🌟 Why Choose Code PushUp?

### 🔌 Code quality tools are like phone chargers. Everyone has a different plug.

- **Incomplete or missing tracking** due to a mix of portals and custom tools is costly and unreliable 💸
- **No Standards** in data and processes leads to flaky, unmaintained zombies 🧟
- **Results are spread** over multiple places and need manual steps 📂

## 🛠️ Standards for Code Quality that Integrates Any Tool

### 🚀 Automated CI Integration

- **Seamless integration** into any CI pipeline with full control. ⚙️
- Our tool **works on all platforms** like GitHub, Gitlab, etc. 🌐
- Even custom tooling can be created over the 📦 [@code-pushup/core](./packages/core#readme) package
- Get updates [on every PR](https://github.com/marketplace/actions/code-pushup)! 🔄

---

### ⚡ Flexible Config Setup

- **[📦 CLI](./packages/cli#readme)** for **collecting** audit results and **uploading** reports to the portal.
- **[📦 Core Logic](./packages/core#readme)** to craft your **custom tooling**.

[Get started in no time!](./packages/cli/README.md#getting-started) ⏱️

1. ⚙️ **Configure what you want to track using your favourite tools.**
2. 🤖 **Integrate it in your CI.**
3. 🌈 **Visualize reports in a beautiful dashboard.**
---

### 🔌 Officially Supported Plugins

| | | |
| -------------------------------------------------------------- | --------------------------------------------------- | ------------------------------------------------------ |
| <img width="50" src="docs/images/plugin-eslint.icon.png"> | [Eslint](./packages/plugin-eslint#readme) | Static analysis using **ESLint** rules |
| <img width="50" src="docs/images/plugin-coverage.icon.png"> | [Coverage](./packages/plugin-coverage#readme) | **Test Coverage** analysis |
| <img width="50" src="docs/images/plugin-js-packages.icon.png"> | [JS Packages](./packages/plugin-js-packages#readme) | Package audit on **Security** and **Outdates** |
| <img width="50" src="docs/images/plugin-lighthouse.icon.png"> | [Lighthouse](./packages/plugin-lighthouse#readme) | Web performance and best practices from **Lighthouse** |

---

| 📊 Getting Started | 🌐 Portal Integration | 🛠️ CI Automation |
| :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :--------------------------------------------------------------------------------------------------------------------------------------------------------------------: |
| **[How to setup](./packages/cli/README.md#getting-started)** a basic project | Sort, filter **[your goals](./packages/cli/README.md#portal-integration)** | Updates **[on every PR](./packages/cli/README.md#-ci-automation)** |
| <a href="#getting-started"><img alt="Getting started cover image" title="Getting started with code-pushup" src="./packages/cli/docs/images/getting-started-cover.png" max-height="200" width="auto"></a> | <a href="#portal-integration"><img alt="Portal integration cover image" title="Inetegrate code-pushup portal" src="./packages/cli/docs/images/portal-cover.png" max-height="200" width="auto"></a> | <a href="#-ci-automation"><img alt="CI Automation cover" title="CI automation guide" src="./packages/cli/docs/images/cli-cover.png" max-height="200" width="auto"></a> |
### 🔧 Custom Plugins

- 🛠️ [Integrate your own metric with custom plugins](./packages/cli/docs/custom-plugins.md) 📚
- 📦 [@code-pushup/models](./packages/models#readme)
- **Schemas and types** for data models (useful for custom plugins or other integrations) 📊
- 📦 [@code-pushup/utils](./packages/utils#readme)
- Various **utilities** (useful for custom plugins or other integrations) 🔨

---

## 📝 How It Works!

1. **Configure**
Pick from a set of supported packages or include your own ideas. 🧩

2. **Integrate**
Use our integration guide and packages to set up CI integration in minutes. ⏱️

3. **Observe**
Guard regressions and track improvements with every code change. 🔍

4. **Wing it!**
Watch improvements, share reports 📈

---

This monorepo contains code for open-source Code PushUp NPM packages:
<table>
<tr>
<td>
<img alt="Code-Pushup Logo" src="./packages/cli/docs/images/code-pushup-logo.png" width="150px" height="192px">
</td>
<td>
<h2>Just follow the score</h2>
<h3>See regressions - Report scores - On every PR</h3>
<!-- link when web landing is ready <a href="./packages/cli/README.md#getting-started">Try our paid features</a> -->
</td>
</tr>
</table>

- [📦 @code-pushup/cli](./packages/cli#readme) - **CLI** for **collecting** audit results and **uploading** report to portal
- [📦 @code-pushup/core](./packages/core#readme) - implementation of **core business logic** (useful for custom integrations)
- [📦 @code-pushup/models](./packages/models#readme) - **schemas and types** for data models (useful for custom plugins or other integrations)
- [📦 @code-pushup/utils](./packages/utils#readme) - various **utilities** (useful for custom plugins or other integrations)
- plugins:
- [🧩 @code-pushup/eslint-plugin](./packages/plugin-eslint#readme) - static analysis using **ESLint** rules
- [🧩 @code-pushup/coverage-plugin](./packages/plugin-coverage#readme) - code coverage analysis
- [🧩 @code-pushup/js-packages-plugin](./packages/plugin-js-packages#readme) - package audit and outdated dependencies
- [🧩 @code-pushup/lighthouse-plugin](./packages/plugin-lighthouse#readme) - web performance and best practices from **Lighthouse**
## 💖 Want to support us?

If you want to contribute, please refer to [CONTRIBUTING.md](./CONTRIBUTING.md).
- Read how to contribute to the codebase. See: [CONTRIBUTING.md](./CONTRIBUTING.md) 🤝
<!-- link when sponsorships are ready [Sponsor](./CONTRIBUTING.md) -->
Binary file added docs/images/plugin-coverage.icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/plugin-eslint.icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/plugin-js-packages.icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/images/plugin-lighthouse.icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packages/cli/docs/images/code-pushup-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f8c605a

Please sign in to comment.