Skip to content

Small handful of lessons learned from upgrading a different node project.#178

Merged
donatj merged 6 commits into
masterfrom
small-fixes
May 28, 2026
Merged

Small handful of lessons learned from upgrading a different node project.#178
donatj merged 6 commits into
masterfrom
small-fixes

Conversation

@donatj
Copy link
Copy Markdown
Owner

@donatj donatj commented May 28, 2026

No description provided.

@coveralls
Copy link
Copy Markdown

coveralls commented May 28, 2026

Coverage Status

coverage: 98.413%. remained the same — small-fixes into master

@donatj donatj marked this pull request as ready for review May 28, 2026 15:10
Copilot AI review requested due to automatic review settings May 28, 2026 15:11
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the package entrypoints/exports and CI checks based on lessons learned from a Node project upgrade, aiming to improve module resolution compatibility and keep generated build artifacts consistent.

Changes:

  • Adjust package.json main and exports to better align CJS/ESM/browser entrypoints and include a default export target.
  • Update CI Node matrix (swap 25.x for 26.x) and add a workflow step to fail if ./lib changes after the build.
  • Mark lib/** as generated for GitHub Linguist.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
package.json Updates module entrypoints and conditional exports (CJS/ESM/browser/types/default).
.github/workflows/ci.yml Updates Node test matrix and adds a post-build check to ensure lib/ stays unchanged.
.gitattributes Marks lib/ outputs as generated for repository language stats.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/ci.yml
@donatj donatj merged commit 4e53dbf into master May 28, 2026
13 checks passed
@donatj donatj deleted the small-fixes branch May 28, 2026 15:16
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.

3 participants