Skip to content

chore: extract napiVersion into its own harness module#57

Merged
legendecas merged 2 commits intomainfrom
kh/extract-napi-version
Apr 27, 2026
Merged

chore: extract napiVersion into its own harness module#57
legendecas merged 2 commits intomainfrom
kh/extract-napi-version

Conversation

@kraenhansen
Copy link
Copy Markdown
Member

Following the pattern from #56, separate napiVersion from implementors/node/features.js into a dedicated module and add a harness test for it.

Summary

  • Moved napiVersion from implementors/node/features.js into a dedicated implementors/node/napi-version.js
  • Added --import for the new module in implementors/node/tests.ts
  • Added tests/harness/napi-version.js to verify the napiVersion global is a positive integer

Test plan

  • All harness tests pass (6/6), including the new napi-version.js

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@kraenhansen kraenhansen self-assigned this Apr 25, 2026
@kraenhansen kraenhansen moved this from Need Triage to In Progress in Node-API Team Project Apr 25, 2026
@kraenhansen kraenhansen requested a review from legendecas April 25, 2026 21:46
@kraenhansen
Copy link
Copy Markdown
Member Author

Similar to #56 @bavulapati, I'd appreciate a review 👍

@legendecas legendecas merged commit e5ddc4a into main Apr 27, 2026
26 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in Node-API Team Project Apr 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

3 participants