Skip to content

Conversation

@BioPhoton
Copy link
Collaborator

@BioPhoton BioPhoton commented Dec 20, 2025

This PR includes:

  • package version updates over running nx migrate latest
  • ☝️ plugin-typescript int-test updates due to 2 errors less introduces by version update (errors are not in our source code but in node_modules)
  • ☝️ plugin-typescript-e2e e2e-test updates due to 2 errors less introduces by version update (errors are not in our source code but in node_modules)
  • adjustments of test target defaults and e2e tests project targets (fixed a miss configuration and also could delete options)
  • added tests for createNodesV2 in nx-plugin
  • deleted logic and tests for createNodes in nx-plugin as not present in Nx v22

closes #1173

@nx-cloud
Copy link

nx-cloud bot commented Dec 20, 2025

View your CI Pipeline Execution ↗ for commit 17ddc1e

Command Status Duration Result
nx affected -t e2e-test --parallel=1 ❌ Failed 11m 34s View ↗
nx affected -t int-test --parallel=3 ✅ Succeeded 1m 6s View ↗
nx run-many --target=build --parallel=3 ✅ Succeeded 32s View ↗

☁️ Nx Cloud last updated this comment at 2025-12-21 02:40:47 UTC

@pkg-pr-new
Copy link

pkg-pr-new bot commented Dec 21, 2025

Open in StackBlitz

@code-pushup/ci

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/ci@1196

@code-pushup/cli

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/cli@1196

@code-pushup/core

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/core@1196

@code-pushup/create-cli

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/create-cli@1196

@code-pushup/nx-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/nx-plugin@1196

@code-pushup/models

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/models@1196

@code-pushup/axe-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/axe-plugin@1196

@code-pushup/coverage-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/coverage-plugin@1196

@code-pushup/eslint-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/eslint-plugin@1196

@code-pushup/js-packages-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/js-packages-plugin@1196

@code-pushup/jsdocs-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/jsdocs-plugin@1196

@code-pushup/lighthouse-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/lighthouse-plugin@1196

@code-pushup/typescript-plugin

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/typescript-plugin@1196

@code-pushup/utils

npm i https://pkg.pr.new/code-pushup/cli/@code-pushup/utils@1196

commit: ec75ff4

@github-actions
Copy link
Contributor

github-actions bot commented Dec 21, 2025

Code PushUp

🤨 Code PushUp report has both improvements and regressions – compared current commit a9eb834 with previous commit 4f51446.

🕵️ See full comparison in Code PushUp portal 🔍

🏷️ Categories

🏷️ Category ⭐ Previous score ⭐ Current score 🔄 Score change
Security 🔴 43 🟡 51 ↑ +8.4
Updates 🟡 71 🟡 79 ↑ +7.7
Performance 🔴 47 🔴 44 ↓ −2.8
Code coverage 🟡 89 🟡 89 ↑ +0.2
Documentation 🔴 36 🔴 36 ↓ −0.1
Axe Accessibility 🟡 88 🟡 88 ↓ −0.1
Bug prevention 🟡 67 🟡 67
Code style 🟢 99 🟢 99
Type Safety 🟡 56 🟡 56
Miscellaneous 🟡 67 🟡 67
Accessibility 🟢 92 🟢 92
Best Practices 🟢 100 🟢 100
SEO 🟢 92 🟢 92
👍 3 groups improved, 👎 2 groups regressed, 👍 9 audits improved, 👎 5 audits regressed, 13 audits changed without impacting score

🗃️ Groups

🔌 Plugin 🗃️ Group ⭐ Previous score ⭐ Current score 🔄 Score change
JS packages npm audit 🔴 43 🟡 51 ↑ +8.4
JS packages npm outdated dependencies 🟡 71 🟡 79 ↑ +7.7
Lighthouse Performance 🔴 47 🔴 44 ↓ −2.8
Code coverage Code coverage metrics 🟡 89 🟡 89 ↑ +0.2
JSDocs coverage Documentation coverage 🔴 36 🔴 36 ↓ −0.1

29 other groups are unchanged.

🛡️ Audits

🔌 Plugin 🛡️ Audit 📏 Previous value 📏 Current value 🔄 Value change
Lighthouse Initial server response time was short 🟥 Root document took 1,350 ms 🟩 Root document took 420 ms ↓ −68.8 %
Lighthouse Max Potential First Input Delay 🟥 420 ms 🟥 710 ms ↑ +69.7 %
Lighthouse Total Blocking Time 🟥 700 ms 🟥 940 ms ↑ +33.1 %
JS packages Vulnerabilities for npm prod dependencies. 🟨 11 vulnerabilities (3 high, 1 moderate, 7 low) 🟨 10 vulnerabilities (2 high, 1 moderate, 7 low) ↓ −9.1 %
JS packages Outdated npm dev dependencies. 🟨 61 outdated package versions (35 major, 19 minor, 7 patch) 🟨 53 outdated package versions (28 major, 19 minor, 6 patch) ↓ −13.1 %
Lighthouse Speed Index 🟥 6.3 s 🟥 5.8 s ↓ −7.5 %
JS packages Outdated npm prod dependencies. 🟨 18 outdated package versions (7 major, 8 minor, 3 patch) 🟨 16 outdated package versions (5 major, 8 minor, 3 patch) ↓ −11.1 %
Lighthouse Time to Interactive 🟥 11.4 s 🟥 12.1 s ↑ +6.2 %
JSDocs coverage Variables coverage 🟥 267 undocumented variables 🟥 267 undocumented variables  +0 %
Code coverage Function coverage 🟩 90.6 % 🟩 90.9 % ↑ +0.3 %
Code coverage Line coverage 🟨 84.6 % 🟨 84.7 % ↑ +0.1 %
JSDocs coverage Types coverage 🟥 247 undocumented types 🟥 246 undocumented types ↓ −0.4 %
JSDocs coverage Functions coverage 🟥 588 undocumented functions 🟥 587 undocumented functions ↓ −0.2 %
Code coverage Branch coverage 🟨 87.2 % 🟨 87.2 % ↓ −0.1 %
Lighthouse Avoids enormous network payloads 🟩 Total size was 2,057 KiB 🟩 Total size was 2,061 KiB ↑ +0.2 %
Lighthouse Largest Contentful Paint 🟥 9.5 s 🟥 10.8 s ↑ +14.2 %
Lighthouse Minimizes main-thread work 🟥 5.7 s 🟥 6.8 s ↑ +19.6 %
Lighthouse Metrics 🟩 100% 🟩 100% ↑ +6.2 %
Lighthouse JavaScript execution time 🟥 2.1 s 🟥 2.7 s ↑ +32.7 %
Lighthouse Uses efficient cache policy on static assets 🟨 30 resources found 🟨 30 resources found ↓ −0.1 %
Lighthouse Server Backend Latencies 🟩 1,300 ms 🟩 940 ms ↓ −27.8 %
Lighthouse Reduce unused CSS 🟥 Potential savings of 95 KiB 🟥 Potential savings of 95 KiB ↑ +34.8 %
Lighthouse Remove duplicate modules in JavaScript bundles 🟥 Potential savings of 105 KiB 🟥 Potential savings of 105 KiB ↑ +51.6 %
Lighthouse First Contentful Paint 🟥 3.0 s 🟥 3.0 s ↑ +0.5 %
JS packages Vulnerabilities for npm dev dependencies. 🟥 30 vulnerabilities (1 critical, 6 high, 18 moderate, 5 low) 🟥 24 vulnerabilities (3 critical, 6 high, 9 moderate, 6 low) ↓ −20 %
TypeScript Semantic errors 🟥 2602 errors 🟥 2596 errors ↓ −0.2 %
Lighthouse Network Round Trip Times 🟩 10 ms 🟩 10 ms ↑ +50.8 %

652 other audits are unchanged.

@github-actions
Copy link
Contributor

github-actions bot commented Dec 21, 2025

Code PushUp

🤨 Code PushUp report has both improvements and regressions – compared current commit a9eb834 with previous commit 4f51446.

💼 Project nx-plugin

🤨 Code PushUp report has both improvements and regressions.

🕵️ See full comparison in Code PushUp portal 🔍

🏷️ Category ⭐ Previous score ⭐ Current score 🔄 Score change
Code coverage 🟡 85 🟡 89 ↑ +4.6
Documentation 🟡 65 🟡 64 ↓ −1.1

4 other categories are unchanged.

👍 1 group improved, 👎 1 group regressed, 👍 3 audits improved, 👎 1 audit regressed, 2 audits changed without impacting score

🗃️ Groups

🔌 Plugin 🗃️ Group ⭐ Previous score ⭐ Current score 🔄 Score change
Code coverage Code coverage metrics 🟡 85 🟡 89 ↑ +4.6
JSDocs coverage Documentation coverage 🟡 65 🟡 64 ↓ −1.1

13 other groups are unchanged.

🛡️ Audits

🔌 Plugin 🛡️ Audit 📏 Previous value 📏 Current value 🔄 Value change
JSDocs coverage Variables coverage 🟥 7 undocumented variables 🟥 7 undocumented variables  +0 %
Code coverage Function coverage 🟩 90 % 🟩 96.4 % ↑ +7.1 %
Code coverage Line coverage 🟨 79.7 % 🟨 84.8 % ↑ +6.4 %
Code coverage Branch coverage 🟨 75.6 % 🟨 76.3 % ↑ +0.9 %
JSDocs coverage Types coverage 🟥 15 undocumented types 🟥 14 undocumented types ↓ −6.7 %
JSDocs coverage Functions coverage 🟥 20 undocumented functions 🟥 19 undocumented functions ↓ −5 %

442 other audits are unchanged.

💼 Project plugin-lighthouse

😟 Code PushUp report has regressed.

🕵️ See full comparison in Code PushUp portal 🔍

🏷️ Category ⭐ Previous score ⭐ Current score 🔄 Score change
Code coverage 🟢 99 🟢 99 ↓ −0.1

5 other categories are unchanged.

👎 1 group regressed, 👎 1 audit regressed

🗃️ Groups

🔌 Plugin 🗃️ Group ⭐ Previous score ⭐ Current score 🔄 Score change
Code coverage Code coverage metrics 🟢 99 🟢 99 ↓ −0.1

14 other groups are unchanged.

🛡️ Audits

🔌 Plugin 🛡️ Audit 📏 Previous value 📏 Current value 🔄 Value change
Code coverage Branch coverage 🟩 96.2 % 🟩 96.2 % ↓ −0.1 %

443 other audits are unchanged.


12 other projects are unchanged.

@BioPhoton BioPhoton marked this pull request as ready for review December 21, 2025 00:35
@BioPhoton BioPhoton requested review from matejchalk and removed request for matejchalk December 21, 2025 01:29
@BioPhoton BioPhoton marked this pull request as draft December 21, 2025 01:48
@BioPhoton BioPhoton mentioned this pull request Dec 21, 2025
10 tasks
@BioPhoton BioPhoton marked this pull request as ready for review December 21, 2025 02:31
@BioPhoton BioPhoton requested a review from matejchalk December 21, 2025 02:32
@BioPhoton BioPhoton enabled auto-merge (squash) December 21, 2025 02:38
Comment on lines 9 to 13
"e2e": {
"executor": "@nx/vite:test",
"executor": "@nx/vitest:test",
"options": {
"configFile": "{projectRoot}/vitest.e2e.config.ts"
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a specific reason why this project's e2e target configuration differs from the rest?

Comment on lines -21 to -22
export type NormalizedCreateNodesContext = CreateNodesContext &
CreateTargetsOptions;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

targets.unit.test.ts is still using NormalizedCreateNodesContext type.

nxJsonConfiguration: {},
workspaceRoot: '',
workspaceRoot: MEMFS_VOLUME,
configFiles: [],
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CreateNodesContextV2 type doesn't have a configFiles property.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

beforeAll and afterAll imports are missing in this file.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The it import is missing in this file.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The it import is missing in this file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade to Nx 22

3 participants