Skip to content

Conversation

@aaharu
Copy link

@aaharu aaharu commented Jan 23, 2026

πŸ”— Linked issue

❓ Type of change

  • πŸ“– Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • πŸ‘Œ Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

πŸ“š Description

I want to change json-schema-to-typescript to json-schema-to-typescript-lite, which has fewer dependencies.

Additionally, I removed @types/minimatch as minimatch itself includes type definitions.

πŸ“ Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@vercel
Copy link

vercel bot commented Jan 23, 2026

@aaharu is attempting to deploy a commit to the Nuxt Team on Vercel.

A member of the Team first needs to authorize it.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Jan 23, 2026

npm i https://pkg.pr.new/@nuxt/content@3697

commit: 67398b6

@coderabbitai
Copy link

coderabbitai bot commented Jan 23, 2026

πŸ“ Walkthrough

Walkthrough

The pull request replaces the json-schema-to-typescript dependency with json-schema-to-typescript-lite in package.json and removes the @types/minimatch devDependency. The corresponding import statements in src/utils/templates.ts are updated to import the compile function and JSONSchema type from the new lite package instead of the original package.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes

πŸš₯ Pre-merge checks | βœ… 3
βœ… Passed checks (3 passed)
Check name Status Explanation
Title check βœ… Passed The title clearly and accurately describes the main change: replacing json-schema-to-typescript with json-schema-to-typescript-lite, which matches the primary objective of the PR.
Description check βœ… Passed The description is directly related to the changeset, explaining the rationale for replacing the dependency with a lighter alternative and removing unnecessary type definitions.
Docstring Coverage βœ… Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
  • πŸ“ Generate docstrings
πŸ§ͺ Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❀️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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