Fix TypeScript augmentation file inclusion in the Nuxt npm package#481
Fix TypeScript augmentation file inclusion in the Nuxt npm package#481brionmario merged 3 commits intoasgardeo:mainfrom
Conversation
… errors The augments.d.ts file is a TypeScript module augmentation file that should not be processed by consuming apps' build tools. Adding .npmignore prevents it from being included in the published npm package while keeping it available for type checking. This resolves the RollupError when using @asgardeo/nuxt in consuming Nuxt applications.
|
Warning Rate limit exceeded
To keep reviews running without waiting, you can enable usage-based add-on for your organization. This allows additional reviews beyond the hourly cap. Account admins can enable it under billing. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📝 WalkthroughWalkthroughThis PR adds release metadata and npm packaging configuration for the Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
🦋 Changeset detectedThe changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. |
Purpose
This pull request makes a minor update to the Nuxt package by excluding the
augments.d.tsTypeScript augmentation file from being published and processed by consuming applications. This helps prevent unnecessary type processing and potential conflicts for users of the package..npmignoreto excludedist/runtime/types/augments.d.tsand other development/source files from the published Nuxt npm package.augments.d.tsfrom the published package.Related Issues
Related PRs
Checklist
Security checks
Summary by CodeRabbit
Chores
@asgardeo/nuxtpackage, excluding development files and type augmentation files from npm distribution to streamline the published package.