|
Ran
|
Jobs
3
|
Files
934
|
Run time
2min
|
Badge
README BADGES
|
push
github
fix(deps): add @patternfly/react-styles as an explicit dependency (#3584) ## Problem PR #3581 introduced `@patternfly/react-code-editor` and intentionally froze all PatternFly dependencies to `6.4.x` to avoid a known layout regression in `6.5.1`. However, `@patternfly/react-styles` was not added as an explicit dependency, leaving a gap. ## Root cause `@patternfly/react-code-editor` lists `@patternfly/react-styles` as `workspace:^` inside the PatternFly monorepo. When published to npm, that becomes `^6.4.0`, which npm resolves to `6.5.1` (latest satisfying): https://github.com/patternfly/patternfly-react/blob/189eb789f/packages/react-code-editor/package.json#L36 ``` @patternfly/react-code-editor@6.4.1 └── @patternfly/react-styles@^6.4.0 → resolved to 6.5.1 ``` Other PatternFly packages also pull `react-styles` as a transitive dependency, but at a different version. npm cannot flatten two different versions of the same package to the same root `node_modules`. With `react-styles` no longer in node_modules/@patternfly/ root, direct imports in the codebase break: ```ts import textStyles from "@patternfly/react-styles/css/utilities/Text/text"; import spacingStyles from "@patternfly/react-styles/css/utilities/Spacing/spacing"; ``` ## Fix Added `@patternfly/react-styles@6.4.0` as an explicit dependency in `package.json` and pinned the resolved version in `package-lock.json`. This completes the freeze that #3581 started for all other PatternFly packages, and collapses all transitive resolutions of `react-styles` to the same version, giving npm a single version to hoist with no conflict. ## Impact - Restores all PatternFly utility style imports broken after #3581. - Keeps the entire PatternFly dependency set on a consistent `6.4.x` baseline, as originally intended.
4401 of 6437 branches covered (68.37%)
Branch coverage included in aggregate %.
23912 of 28309 relevant lines covered (84.47%)
98.32 hits per line
| ID | Flag name | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|---|
| 3 | web | 26954655031.3 | 617 |
77.56 |
GitHub Action Run | |
| 1 | rust | 19474749743.1 | 185 |
22.45 |
GitHub Action Run | |
| 3 | service | 26586921140.3 | 317 |
92.47 |
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|