Skip to content

chore: add project based code-pushup targets #1035

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 64 commits into
base: main
Choose a base branch
from
Draft

Conversation

BioPhoton
Copy link
Collaborator

@BioPhoton BioPhoton commented Jul 23, 2025

Precondition:

This PR adds:

  • default targets for code-pushup in nx.json
  • targets in every project (replaced by nx-plugin in future)
  • code-pushup.config.ts files for all projects

Followup of:

@BioPhoton BioPhoton changed the title chore: add local eslint targets chore: add local code-pushup targets Aug 6, 2025
@github-actions github-actions bot removed the 🔬 testing writing tests label Aug 6, 2025
Copy link

github-actions bot commented Aug 6, 2025

Code PushUp

🤨 Code PushUp report has both improvements and regressions – compared current commit 9f92f29 with previous commit 7daf201.

🕵️ See full comparison in Code PushUp portal 🔍

🏷️ Categories

🏷️ Category ⭐ Previous score ⭐ Current score 🔄 Score change
Performance 🔴 31 🔴 32 ↑ +0.8
Code coverage 🟢 90 🟡 90 ↓ −0.3
Security 🔴 0 🔴 0
Updates 🟡 77 🟡 77
Accessibility 🟢 92 🟢 92
Best Practices 🟢 100 🟢 100
SEO 🟡 61 🟡 61
Type Safety 🟢 100 🟢 100
Bug prevention 🟢 100 🟢 100
Miscellaneous 🟢 100 🟢 100
Code style 🟢 100 🟢 100
Documentation 🔴 23 🔴 23
👍 1 group improved, 👎 1 group regressed, 👍 5 audits improved, 👎 2 audits regressed, 13 audits changed without impacting score

🗃️ Groups

🔌 Plugin 🗃️ Group ⭐ Previous score ⭐ Current score 🔄 Score change
Lighthouse Performance 🔴 31 🔴 32 ↑ +0.8
Code coverage Code coverage metrics 🟢 90 🟡 90 ↓ −0.3

19 other groups are unchanged.

🛡️ Audits

🔌 Plugin 🛡️ Audit 📏 Previous value 📏 Current value 🔄 Value change
Lighthouse Avoids enormous network payloads 🟨 Total size was 2,706 KiB 🟩 Total size was 2,654 KiB ↓ −1.9 %
Lighthouse Speed Index 🟥 8.6 s 🟥 8.0 s ↓ −7.5 %
Lighthouse First Contentful Paint 🟥 3.2 s 🟥 3.1 s ↓ −3.3 %
Code coverage Line coverage 🟨 86.8 % 🟨 84.9 % ↓ −2.2 %
Lighthouse Time to Interactive 🟥 19.6 s 🟥 18.9 s ↓ −3.6 %
Code coverage Branch coverage 🟨 85 % 🟨 84.8 % ↓ −0.3 %
Code coverage Function coverage 🟩 93.1 % 🟩 93.2 % ↑ +0.1 %
Lighthouse Minimizes main-thread work 🟥 21.5 s 🟥 18.1 s ↓ −16 %
Lighthouse JavaScript execution time 🟥 10.7 s 🟥 9.3 s ↓ −13.2 %
Lighthouse Total Blocking Time 🟥 6,870 ms 🟥 5,480 ms ↓ −20.3 %
Lighthouse Largest Contentful Paint 🟥 13.4 s 🟥 12.0 s ↓ −10.3 %
Lighthouse Uses efficient cache policy on static assets 🟨 31 resources found 🟨 30 resources found ↓ −0.2 %
Lighthouse Metrics 🟩 100% 🟩 100% ↓ −3.6 %
Lighthouse Server Backend Latencies 🟩 1,570 ms 🟩 1,070 ms ↓ −32 %
Lighthouse Max Potential First Input Delay 🟥 2,360 ms 🟥 1,940 ms ↓ −17.6 %
Lighthouse Remove duplicate modules in JavaScript bundles 🟥 Potential savings of 92 KiB 🟥 Potential savings of 104 KiB ↑ +48.4 %
Lighthouse Network Round Trip Times 🟩 70 ms 🟩 10 ms ↓ −80.9 %
Lighthouse Reduce unused JavaScript 🟥 Potential savings of 549 KiB 🟥 Potential savings of 549 KiB ↑ +1.3 %
Lighthouse Avoids an excessive DOM size 🟥 2,284 elements 🟥 2,275 elements ↓ −0.4 %
Lighthouse Initial server response time was short 🟩 Root document took 520 ms 🟩 Root document took 530 ms ↑ +1.7 %

590 other audits are unchanged.

@BioPhoton BioPhoton changed the title chore: add local code-pushup targets chore: add project based code-pushup targets Aug 6, 2025
# Conflicts:
#	packages/ci/project.json
#	packages/cli/project.json
#	packages/core/project.json
#	packages/create-cli/project.json
#	packages/models/project.json
#	packages/plugin-coverage/project.json
#	packages/plugin-eslint/project.json
#	packages/plugin-js-packages/project.json
#	packages/plugin-jsdocs/project.json
#	packages/plugin-lighthouse/project.json
#	packages/plugin-typescript/project.json
#	packages/utils/project.json
John Doe added 30 commits August 13, 2025 01:44
# Conflicts:
#	code-pushup.preset.ts
#	examples/plugins/project.json
#	nx.json
#	packages/ci/project.json
#	packages/cli/project.json
#	packages/core/project.json
#	packages/create-cli/project.json
#	packages/models/project.json
#	packages/nx-plugin/project.json
#	packages/plugin-coverage/project.json
#	packages/plugin-eslint/project.json
#	packages/plugin-js-packages/project.json
#	packages/plugin-jsdocs/project.json
#	packages/plugin-lighthouse/project.json
#	packages/plugin-typescript/project.json
#	packages/utils/project.json
#	testing/test-utils/project.json
# Conflicts:
#	packages/ci/project.json
#	packages/core/project.json
#	packages/create-cli/project.json
#	packages/nx-plugin/project.json
#	packages/plugin-coverage/project.json
#	packages/plugin-eslint/project.json
#	packages/plugin-js-packages/project.json
#	packages/plugin-jsdocs/project.json
#	packages/plugin-lighthouse/project.json
#	packages/plugin-typescript/project.json
#	packages/utils/project.json
# Conflicts:
#	code-pushup.preset.ts
#	packages/ci/project.json
#	packages/core/project.json
#	packages/create-cli/project.json
#	packages/nx-plugin/project.json
#	packages/plugin-coverage/project.json
#	packages/plugin-eslint/project.json
#	packages/plugin-js-packages/project.json
#	packages/plugin-jsdocs/project.json
#	packages/plugin-lighthouse/project.json
#	packages/plugin-typescript/project.json
#	packages/utils/project.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🦾 CI/CD Continuous integration and deployment 🧩 coverage-plugin 📖 Project documentation improvements or additions to the project documentation 🔬 testing writing tests 🛠️ tooling
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant