Repository navigation
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Team Run ID: 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 |
nstepien
added a commit
that referenced
this pull request
Oct 17, 2026
) Removing the `main` field in #85 also dropped `index.js` from the tarball, as `files` only lists `dist` and `index.d.ts`. The plugin leaves the `ecij` import in place, so builds still resolve it. Packing `main` and installing it in react-data-grid breaks `vp build`: ``` Error: [vite+]: Rolldown failed to resolve import "ecij" from ".../website/routes/ColumnSpanning.tsx". ``` This adds `index.js` to `files` and adds [publint](https://publint.dev/) as `node --run lint:package` (`publint --strict`), which checks every file referenced by `package.json` against the files `npm pack` would publish. CI and the release workflow run it after the build, so a missing entry point now fails CI and stops a release. ## Verification - `npm pack --dry-run` lists `index.js` again (7 files). - Without the `files` change, publint fails with `pkg.exports["."].default is ./index.js but the file is not published. Is it specified in pkg.files?`, with both npm 11 and npm 12. With it, publint reports `All good!`. - With the packed tarball installed in react-data-grid (`f7d4e272`), `vp pack` and `vp build` pass, and all of its tests pass (544 passed, 3 skipped). - Compared with ecij 0.5.0, the CSS is byte-identical and the class names are the same. The only JS change is the IIFE class names from #87 in the unminified `lib/index.js`, which minifiers fold back into strings. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.