Repository navigation
Commit d10fb0a
authored
chore(Felt): switch dependencies to @rh-felt packages and apply Snyk updates (#12699)
* chore(Felt): switch React and docs dependencies to @rh-felt packages
Replaces the temporary PatternFly dependencies held over for the docs
framework with their published @rh-felt counterparts now that
@rh-felt/styles is released:
- Swap @patternfly/patternfly@6.7.0-prerelease.3 for
@rh-felt/styles@0.0.1-prerelease.3 in the react-core, react-icons,
react-styles, react-tokens, react-docs, and demo-app manifests, the
style/token/class-map/icon generation scripts, the docs CSS entry,
charts examples, and the demo app
- Depend on @rh-felt/styles directly in react-docs and keep
@patternfly/* npm aliases to the @rh-felt prereleases solely for the
documentation framework, which still resolves PatternFly package names
internally; the pinned versions match the workspaces so they link to
the local packages
- Drop the @patternfly react-charts, react-drag-drop, and
react-templates dependencies that nothing resolves
- Preapprove the @rh-felt/* scope from the npm minimal age gate so
freshly published prereleases can be installed
- Track @rh-felt/styles instead of @patternfly/patternfly in
scripts/promote.sh
* fix(deps): update react-router to ^7.18.4 in demo app
demo-app-ts' manifest change makes Snyk re-test that project, and the
pinned react-router 7.13.0 carries 11 direct Snyk advisories (1
critical, 5 high; highest fix floor 7.18.2), failing the
security/snyk check. 7.18.4 clears all of them.
7.18.5 is the latest 7.x but is quarantined by the one-week
npmMinimalAgeGate on felt-v1 (published Oct 27), so the range uses
^7.18.4 (published Sep 15). Mirrors the react-router bump in #12697
(FELT-190).
* chore(deps): update lodash and fix demo app issues from #12697
Mirrors the FELT-190 changes from #12697 so this branch carries the
same Snyk remediations:
- react-charts: lodash ^4.17.23 -> ^4.18.1, dropping the last 4.17.23
resolution and clearing the high-severity lodash advisories
- demo app: use the pf-v6-theme-dark class, give the theme toggle
radios a shared name, rename the deprecated modal demo entry, add
hasNoPadding to the clipboard copy action button, give the
resizable drawer demo a fixed height, check drilldown menu heights
against undefined, and remove hardcoded dark inline styles from the
nav demos1 parent 48515fc commit d10fb0a
28 files changed
Lines changed: 140 additions & 335 deletions
File tree
- packages
- react-charts
- src/victory/components
- ChartLegend/examples
- Patterns/examples
- ResizeObserver/examples
- react-core
- scripts
- react-docs
- patternfly-docs
- react-icons
- scripts/icons
- react-integration/demo-app-ts
- src
- components/demos
- ChipDemo
- ClipboardCopyDemo
- DrawerDemo
- MenuDemo
- TableDemo
- react-styles
- scripts
- react-tokens
- scripts
- scripts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
36 | 34 | | |
37 | 35 | | |
38 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
0 commit comments