Skip to content

fix: remove incorrect module entry#21

Open
rupayon123 wants to merge 1 commit into
promplate:mainfrom
rupayon123:fix/package-module-field
Open

fix: remove incorrect module entry#21
rupayon123 wants to merge 1 commit into
promplate:mainfrom
rupayon123:fix/package-module-field

Conversation

@rupayon123

Copy link
Copy Markdown

Fixes #16

dist/index.js is CommonJS, so advertising it through the module field makes tools treat the same file as an ES module entry. This removes the incorrect field and leaves consumers on the existing CommonJS main/exports path.

I couldn’t run the package checks locally here, so CI is the check.

@bolt-new-by-stackblitz

Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@vercel

vercel Bot commented Jun 16, 2026

Copy link
Copy Markdown

@rupayon123 is attempting to deploy a commit to the promplate Team on Vercel.

A member of the Team first needs to authorize it.

@coderabbitai

coderabbitai Bot commented Jun 16, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@rupayon123, we couldn't start this review because you've reached your PR review rate limit.

More reviews will be available in 24 minutes and 22 seconds. Learn how PR review limits work.

Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file).

⌛ How to resolve this issue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

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 include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available.

Please see our Fair Usage Limits Policy for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 7345b24f-07e5-4b89-b15a-00d8643c4c88

📥 Commits

Reviewing files that changed from the base of the PR and between 86fd4bc and a26660e.

📒 Files selected for processing (1)
  • package.json

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.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request removes the "module" field from package.json, which previously pointed to "dist/index.js". There are no review comments, and I have no feedback to provide.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Copy link
Copy Markdown
Author

Local validation update:

  • vitest run passes on this branch: 1 file, 6 tests.

This PR only removes the incorrect module field; CI should still verify the package build/publish path.

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.

package.json "module" field points at a CommonJS file

1 participant