Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 27 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@emailjs/browser": "^4.4.1",
"@react-three/drei": "^9.121.2",
"@react-three/fiber": "^8.17.12",
"framer-motion": "^12.0.0",
"motion": "^12.0.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🔵 Trivial | ⚡ Quick win

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
set -euo pipefail

printf '\n== package.json ==\n'
sed -n '1,120p' package.json

printf '\n== package-lock.json references ==\n'
rg -n '"framer-motion"|"motion/react"|"motion"' package-lock.json package.json src || true

printf '\n== import sites ==\n'
rg -n 'from\s+[\'"]framer-motion[\'"]|from\s+[\'"]motion/react[\'"]|import\s+.*motion.*from' src || true

Repository: SamuelIVX/SamuelIVX.github.io

Length of output: 2164


Switch the remaining imports to motion/react.
src/components/About.jsx, src/components/Contact.jsx, src/components/Experience.jsx, src/components/Hero.jsx, src/components/Works.jsx, and src/hoc/SectionWrapper.jsx still import from framer-motion even though motion is now the direct dependency. Updating these imports and regenerating the lockfile removes the transitive dependency coupling.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@package.json` at line 19, Update the imports in About, Contact, Experience,
Hero, Works, and SectionWrapper to use motion/react instead of framer-motion,
preserving their existing imported symbols. Regenerate the lockfile so the
direct motion dependency is reflected without the remaining transitive
framer-motion coupling.

"maath": "^0.10.8",
"prop-types": "^15.8.1",
"react": "^18.3.1",
Expand Down