Skip to content

chore(www): drop 4 unused dependencies and a dead tsconfig, align @types/node with Node 22 - #1009

Merged
Yeom-JinHo merged 6 commits into
magicuidesign:mainfrom
Yeom-JinHo:chore/remove-unused-deps-and-dead-config
Sep 5, 2026
Merged

chore(www): drop 4 unused dependencies and a dead tsconfig, align @types/node with Node 22#1009
Yeom-JinHo merged 6 commits into
magicuidesign:mainfrom
Yeom-JinHo:chore/remove-unused-deps-and-dead-config

Conversation

@Yeom-JinHo

Copy link
Copy Markdown
Member

Summary

  • lint-staged: git hooks are managed by lefthook; no config or import references it
  • npm-run-all: no run-s/run-p usage in any script
  • tailwindcss-animate: Tailwind v4 setup imports tw-animate-css in styles/globals.css
  • @radix-ui/react-toast: toasts are rendered with sonner
  • @types/node ^20 → ^22 to match engines.node >=22.14.0 and .nvmrc
  • tsconfig.scripts.json: unreferenced, and its scripts/**/*.ts include never matched the .mts scripts

Side effect: dropping npm-run-all also prunes hosted-git-info@2.8.9 (GHSA-43f8-2h32-f4cj), cross-spawn@6, semver@5.
Lockfile churn is removals plus peer-suffix rewrites only; first commit also adds the missing trailing newline in package.json.

Test plan

  • pnpm install --frozen-lockfile
  • pnpm check
  • pnpm build

🤖 Generated with Claude Code

https://claude.ai/code/session_018vLm4CqtxKWGZZMsax2pZh

Yeom-JinHo and others added 6 commits September 5, 2026 11:42
Git hooks are managed by lefthook (lefthook.yml); there is no lint-staged
config and nothing imports it.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018vLm4CqtxKWGZZMsax2pZh
No script references run-s/run-p/npm-run-all.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018vLm4CqtxKWGZZMsax2pZh
styles/globals.css imports tw-animate-css (Tailwind v4); the v3 plugin is
no longer referenced.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018vLm4CqtxKWGZZMsax2pZh
Toasts are rendered with sonner (components/ui/sonner.tsx); nothing imports
the Radix toast primitive.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018vLm4CqtxKWGZZMsax2pZh
engines.node is >=22.14.0 and .nvmrc is 22, but the type definitions were
still on 20.x.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018vLm4CqtxKWGZZMsax2pZh
Nothing references this file (package.json scripts, turbo.json, lefthook.yml,
CI workflows). Its `include` was `scripts/**/*.ts`, but both scripts are
`.mts` and run via tsx, so it never compiled a single file even if invoked.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018vLm4CqtxKWGZZMsax2pZh
@vercel

vercel Bot commented Sep 5, 2026

Copy link
Copy Markdown

@Yeom-JinHo is attempting to deploy a commit to the product-studio Team on Vercel.

A member of the Team first needs to authorize it.

@Yeom-JinHo
Yeom-JinHo merged commit 1246d6d into magicuidesign:main Sep 5, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant