fix: add bin wrapper and resolve Nx project discovery#1270
Conversation
|
View your CI Pipeline Execution ↗ for commit c88e7ae
☁️ Nx Cloud last updated this comment at |
@code-pushup/ci
@code-pushup/cli
@code-pushup/create-cli
@code-pushup/models
@code-pushup/core
@code-pushup/nx-plugin
@code-pushup/axe-plugin
@code-pushup/coverage-plugin
@code-pushup/eslint-plugin
@code-pushup/js-packages-plugin
@code-pushup/jsdocs-plugin
@code-pushup/lighthouse-plugin
@code-pushup/typescript-plugin
@code-pushup/utils
commit: |
Code PushUp😟 Code PushUp report has regressed – compared current commit cf22b92 with previous commit 9a288ee. 🕵️ See full comparison in Code PushUp portal 🔍 🏷️ Categories👎 3 groups regressed, 👎 7 audits regressed, 15 audits changed without impacting score🗃️ Groups
31 other groups are unchanged. 🛡️ Audits
656 other audits are unchanged. |
Code PushUp😟 Code PushUp report has regressed – compared current commit cf22b92 with previous commit 9a288ee. 💼 Project
|
| 🏷️ Category | ⭐ Previous score | ⭐ Current score | 🔄 Score change |
|---|---|---|---|
| Code coverage | 🟢 91 | 🟢 90 | |
| Documentation | 🔴 23 | 🔴 23 |
4 other categories are unchanged.
👎 2 groups regressed, 👎 4 audits regressed
🗃️ Groups
| 🔌 Plugin | 🗃️ Group | ⭐ Previous score | ⭐ Current score | 🔄 Score change |
|---|---|---|---|---|
| Code coverage | Code coverage metrics | 🟢 91 | 🟢 90 | |
| JSDocs coverage | Documentation coverage | 🔴 23 | 🔴 23 |
13 other groups are unchanged.
🛡️ Audits
| 🔌 Plugin | 🛡️ Audit | 📏 Previous value | 📏 Current value | 🔄 Value change |
|---|---|---|---|---|
| Code coverage | Line coverage | 🟩 94.3 % | 🟩 91.5 % | |
| Code coverage | Function coverage | 🟩 91.2 % | 🟨 89.9 % | |
| Code coverage | Branch coverage | 🟩 91.1 % | 🟩 90.8 % | |
| JSDocs coverage | Functions coverage | 🟥 50 undocumented functions | 🟥 51 undocumented functions |
439 other audits are unchanged.
💼 Project cli
😟 Code PushUp report has regressed.
🕵️ See full comparison in Code PushUp portal 🔍
| 🏷️ Category | ⭐ Previous score | ⭐ Current score | 🔄 Score change |
|---|---|---|---|
| Code coverage | 🟢 94 | 🟢 94 |
5 other categories are unchanged.
👎 1 group regressed, 👎 2 audits regressed
🗃️ Groups
| 🔌 Plugin | 🗃️ Group | ⭐ Previous score | ⭐ Current score | 🔄 Score change |
|---|---|---|---|---|
| Code coverage | Code coverage metrics | 🟢 94 | 🟢 94 |
14 other groups are unchanged.
🛡️ Audits
| 🔌 Plugin | 🛡️ Audit | 📏 Previous value | 📏 Current value | 🔄 Value change |
|---|---|---|---|---|
| Code coverage | Line coverage | 🟩 94.5 % | 🟩 93.9 % | |
| Code coverage | Branch coverage | 🟨 87.3 % | 🟨 87 % |
442 other audits are unchanged.
12 other projects are unchanged.
matejchalk
left a comment
There was a problem hiding this comment.
Thanks for the fix. 👍
npm init @code-pushup/clifails in external repositories. The binary entry point broke after the esbuild-to-tsc migration because thebinfield was never updated. Separately, in Nx workspaces, the wizard crashes becausenpxruns the package in an isolated sandbox where@nx/devkitisn't installed.bin/index.jstobin.jsin bothcliandcreate-clitargetDefaultsso it's copied todist/for all packages@nx/devkitfrom the target workspace usingcreateRequireproject.jsonfiles without atargetsfieldManually verified against an external Nx workspace.