Skip to content
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

feat(nx-plugin): add executor to nx-plugin #737

Merged
merged 116 commits into from
Jul 24, 2024
Merged

Conversation

BioPhoton
Copy link
Collaborator

@BioPhoton BioPhoton commented Jul 8, 2024

Precondition:
#740
closes #289

This PR includes:

  • add executor autorun
  • add executor utils
  • add format normalization

Not included in this PR:

Related to:
#63

# Conflicts:
#	e2e/nx-plugin-e2e/tests/configuration.e2e.test.ts
#	e2e/nx-plugin-e2e/tests/init.e2e.test.ts
#	e2e/nx-plugin-e2e/vite.config.e2e.ts
#	package-lock.json
#	packages/nx-plugin/project.json
#	packages/nx-plugin/src/generators/configuration/__snapshots__/generator.integration.test.ts.snap
#	packages/nx-plugin/src/generators/configuration/files/code-pushup.config.ts.template
#	packages/nx-plugin/src/generators/configuration/generator.integration.test.ts
#	packages/nx-plugin/src/generators/configuration/generator.ts
#	testing/test-utils/src/index.ts
# Conflicts:
#	README.md
#	e2e/nx-plugin-e2e/project.json
Copy link

github-actions bot commented Jul 8, 2024

Code PushUp

🤨 Code PushUp report has both improvements and regressions – compared target commit 9ce99d0 with source commit a08978e.

🕵️ See full comparison in Code PushUp portal 🔍

🏷️ Categories

🏷️ Category ⭐ Previous score ⭐ Current score 🔄 Score change
Performance 🔴 48 🔴 44 ↓ −3.7
Code coverage 🟡 90 🟡 90 ↓ −0.1
Accessibility 🟢 91 🟢 91
Best Practices 🟢 100 🟢 100
SEO 🟡 61 🟡 61
Bug prevention 🟢 100 🟢 100
Code style 🟢 99 🟢 99
Security 🟢 100 🟢 100
Updates 🟡 79 🟡 79
Custom checks 🟡 67 🟡 67

🗃️ Groups

👎 2 groups regressed
🔌 Plugin 🗃️ Group ⭐ Previous score ⭐ Current score 🔄 Score change
Lighthouse Performance 🔴 48 🔴 44 ↓ −3.7
Code coverage Code coverage metrics 🟡 90 🟡 90 ↓ −0.1

18 other groups are unchanged.

🛡️ Audits

👍 4 audits improved, 👎 4 audits regressed, 12 audits changed without impacting score
🔌 Plugin 🛡️ Audit 📏 Previous value 📏 Current value 🔄 Value change
Lighthouse Largest Contentful Paint 🟨 3.5 s 🟨 3.9 s ↑ +12 %
Lighthouse Speed Index 🟥 7.2 s 🟥 8.2 s ↑ +14 %
Lighthouse First Contentful Paint 🟥 3.2 s 🟥 3.2 s ↓ −1 %
Lighthouse Time to Interactive 🟥 20.4 s 🟥 17.7 s ↓ −14 %
Lighthouse First Meaningful Paint 🟨 3.2 s 🟨 3.2 s ↓ −1 %
Code coverage Line coverage 🟩 91.6 % 🟩 91.3 % ↓ +0 %
Code coverage Branch coverage 🟨 83.8 % 🟨 83.6 % ↓ +0 %
Code coverage Function coverage 🟩 92.3 % 🟩 92.4 % ↑ +0 %
Lighthouse Avoids enormous network payloads 🟩 Total size was 1,789 KiB 🟩 Total size was 1,782 KiB ↓ +0 %
Lighthouse Total Blocking Time 🟥 13,220 ms 🟥 9,530 ms ↓ −28 %
Lighthouse Metrics 🟩 20417 🟩 17653 ↓ −14 %
Lighthouse JavaScript execution time 🟥 13.2 s 🟥 11.4 s ↓ −14 %
Lighthouse Minimizes main-thread work 🟥 26.3 s 🟥 24.7 s ↓ −6 %
Lighthouse Max Potential First Input Delay 🟥 3,290 ms 🟥 3,980 ms ↑ +21 %
Lighthouse Server Backend Latencies 🟩 380 ms 🟩 130 ms ↓ −65 %
Lighthouse Eliminate render-blocking resources 🟥 Potential savings of 1,420 ms 🟥 Potential savings of 1,510 ms ↑ +6 %
Lighthouse Initial server response time was short 🟩 Root document took 410 ms 🟩 Root document took 360 ms ↓ −12 %
Lighthouse Network Round Trip Times 🟩 60 ms 🟩 20 ms ↓ −76 %
Lighthouse Uses efficient cache policy on static assets 🟨 27 resources found 🟨 27 resources found ↑ +0 %
Lighthouse Avoids an excessive DOM size 🟥 2,184 elements 🟥 2,185 elements ↑ +0 %

489 other audits are unchanged.

@github-actions github-actions bot removed the 🦾 CI/CD continuous integration and deployment label Jul 21, 2024
# Conflicts:
#	packages/cli/src/lib/implementation/core-config.middleware.ts
#	packages/cli/src/lib/implementation/core-config.middleware.unit.test.ts
# Conflicts:
#	packages/nx-plugin/src/executors/internal/cli.ts
#	packages/nx-plugin/src/executors/internal/cli.unit.test.ts
#	packages/utils/src/lib/transform.unit.test.ts
@BioPhoton BioPhoton requested a review from matejchalk July 23, 2024 11:37
packages/models/code-pushup.config.ts Outdated Show resolved Hide resolved
packages/models/project.json Outdated Show resolved Hide resolved
packages/nx-plugin/mock/utils/executor.ts Outdated Show resolved Hide resolved
packages/nx-plugin/src/executors/autorun/Readme.md Outdated Show resolved Hide resolved
packages/nx-plugin/src/executors/autorun/Readme.md Outdated Show resolved Hide resolved
packages/nx-plugin/src/executors/autorun/executor.ts Outdated Show resolved Hide resolved
packages/nx-plugin/src/executors/autorun/utils.ts Outdated Show resolved Hide resolved
testing/test-utils/src/lib/utils/nx.ts Outdated Show resolved Hide resolved
nx.json Outdated Show resolved Hide resolved
@BioPhoton BioPhoton merged commit ba4f181 into main Jul 24, 2024
30 checks passed
@BioPhoton BioPhoton deleted the add-executor-to-nx-plugin branch July 24, 2024 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧩 nx-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.

intro RC schema
2 participants