Drop tagify's React peer dependencies from the lockfile - #11
Merged
Merged
Conversation
Set legacy-peer-deps so npm no longer installs react, react-dom and their transitive packages, which the plain tagify.js build does not use. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015MLMxgPeAFvdgNaGuUFQsK
codeling
force-pushed
the
claude/exciting-cannon-rb5na8
branch
from
October 2, 2026 20:22
9f4d3de to
db07c77
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
package-lock.jsonlistedreact,react-dom,scheduler,prop-types,react-is,object-assign,loose-envifyandjs-tokens. None of them are inpackage.jsonorvendor/. They came from@yaireo/tagify, which declaresreact,react-domandprop-typesas peer dependencies for its optional React wrapper. npm 7+ installs peer dependencies automatically.The app only uses the plain
tagify.jsbuild, andscripts/vendor.shcopies only specific files from jQuery, jQuery UI and tagify intovendor/. So the React packages are never used.Changes
.npmrcwithlegacy-peer-deps=trueso npm stops auto-installing peer dependencies.package-lock.json. It loses 79 lines, all belonging to the eight packages above.@yaireo/tagify,jqueryandjquery-uiare unchanged.Testing
npm ciinstalls only@yaireo/tagify,jqueryandjquery-ui, with no errors.vendor/is unaffected, since the files copied from those three packages haven't changed.🤖 Generated with Claude Code
https://claude.ai/code/session_015MLMxgPeAFvdgNaGuUFQsK
Generated by Claude Code