fix: update and reorganize the dependencies#5131
fix: update and reorganize the dependencies#5131mdeliatf wants to merge 27 commits intotraefik:masterfrom
Conversation
4d38101 to
1e7189f
Compare
5a635d2 to
2962e61
Compare
darkweaver87
left a comment
There was a problem hiding this comment.
Could you separate CI changes from faency ones ? Also I'm unsure why --production has been removed ?
Sure, I will open another PR!
The reason they were moved to devDependencies in the first place is exactly to avoid bundling them with Faency when it's installed in a consumer project. Having build/release tools in dependencies meant they were being shipped to consumers, which caused unnecessary security warnings in those projects whenever one of those tools was outdated, tools that had no business being there in the first place. So consumers still only get dependencies, not devDependencies, EDIT: It's worth mentioning that this is a specific scenario caused by Faency being a library rather than a standard frontend project. When publishing to npm, the package.json is included in the published package, and package managers in the host project will automatically install everything listed under dependencies, but not devDependencies. So whatever ends up in dependencies gets pulled into every project that installs Faency, which is why keeping build and release tools out of it matters. |
0b11c33 to
3b0e0e2
Compare
3b0e0e2 to
5e61936
Compare
Description
devDependencies. Tools only used at build or release time were incorrectly listed as runtime dependencies.v24.14.1.moduleResolution: bundlerand deprecatestarget: es5, both of which break Stitches compatibility.@eslint/jsis capped at9.39.4accordingly.eslint-plugin-react-hooksupdated to v7 but React Compiler rules disabled — v7's recommended preset enables 15 compiler rules that cause false positives on valid floating-ui patterns.fileNamefunction.@eslint/compat,babel-loader,webpack,@babel/plugin-transform-react-pure-annotations, and@mdx-js/react— all either unused or already provided transitively.lodash.mergewith a native deep merge utility, removing the dependency entirely in favor of a lightweight custom implementation with full test coverage.resolutions. Removed entries where the pinned version equals the npm latest, since Yarn would resolve identically without them. Kept only resolutions that actively block too-new transitive dependencies.CLAUDE.md. Pin Safe Chain itself to version1.4.7with SHA512 verification instead of always pullinglatest.Fix https://github.com/traefik/hub-issues/issues/2782
Preview
No visual changes.
Dependency changes
Click me
Dependencies
@floating-ui/react^0.26.25->0.27.19@radix-ui/colors^2.1.0->2.1.0@radix-ui/react-accessible-icon^1.1.2->1.1.8@radix-ui/react-accordion^1.2.0->1.2.12@radix-ui/react-alert-dialog^1.0.2->1.1.15@radix-ui/react-aspect-ratio^1.0.1->1.1.8@radix-ui/react-avatar^1.0.1->1.1.11@radix-ui/react-checkbox^1.0.1->1.3.3@radix-ui/react-context-menu^2.0.1->2.2.16@radix-ui/react-dialog^1.0.2->1.1.15@radix-ui/react-dropdown-menu^2.0.1->2.1.16@radix-ui/react-icons^1.3.2->1.3.2@radix-ui/react-id^1.0.0->1.1.1@radix-ui/react-label^2.0.0->2.1.8@radix-ui/react-navigation-menu^1.2.0->1.2.14@radix-ui/react-popover^1.1.2->1.1.15@radix-ui/react-portal^1.0.1->1.1.10@radix-ui/react-progress^1.0.1->1.1.8@radix-ui/react-radio-group^1.1.0->1.3.8@radix-ui/react-separator^1.0.1->1.1.8@radix-ui/react-slider^1.1.0->1.3.6@radix-ui/react-slot^1.0.1->1.2.4@radix-ui/react-switch^1.0.1->1.2.6@radix-ui/react-tabs^1.0.1->1.1.13@radix-ui/react-toggle^1.0.1->1.1.10@radix-ui/react-toggle-group^1.0.1->1.1.11@radix-ui/react-tooltip^1.1.6->1.2.8@radix-ui/react-use-layout-effect^1.0.0->1.1.1@radix-ui/react-visually-hidden^1.0.1->1.2.4@rehookify/datepicker^6.6.7->6.6.8lodash.merge^4.6.2@semantic-release/commit-analyzer^13.0.1@semantic-release/github^12.0.6@semantic-release/npm^13.1.5@semantic-release/release-notes-generator^14.1.0semantic-release^25.0.3devDependencies
@babel/core^7.15.4->7.29.0@babel/plugin-transform-react-pure-annotations^7.16.7@babel/preset-env^7.16.11->7.29.2@babel/preset-react^7.16.7->7.28.5@babel/preset-typescript^7.16.7->7.28.5@semantic-release/commit-analyzer13.0.1@semantic-release/github12.0.6@semantic-release/npm13.1.5@semantic-release/release-notes-generator14.1.0@types/jest^27.4.1->30.0.0@types/lodash.merge^4.6.6babel-jest^27.5.1->30.3.0babel-loader^8.2.2conventional-changelog-conventionalcommits^9.2.0->9.3.1jest^27.5.1->30.3.0jest-environment-jsdom30.3.0semantic-release25.0.3Breaking changes
N/A
How to test?
yarn installcompletes without safe-chain suppression warnings for installed packagesyarn buildsucceedsyarn test:cipassesyarn storybookstarts without errorsGood PR checkboxes
Good Review checkboxes
ℹ️ Copy the snippet and paste in the review field to fill it