Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
napi-rs-websiteBundle maindiff ------------------- Bundle Size Diff -------------------------
@@ EntryPoint: main @@
## main …ction_for_cli +/- ##
===================================================================
< Bundle 54.4 MB 54.5 MB +135 kB(+0.25%)
< Initial JS 6.84 MB 6.98 MB +135 kB(+1.98%)
= Initial CSS 151 kB 151 kB
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
< Assets 184 185 +1
< Chunks 152 153 +1
= Packages 163 163
= Duplicates 7 7
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warnings ~~~~~~~~~~~~~~~~~~~~~~~~~~~#
! Deduplicate versions of libraries
! Separate mixed content assets files
@@ EntryPoint: pages/_app @@
## main …ction_for_cli +/- ##
===================================================================
< Bundle 54 MB 54.2 MB +135 kB(+0.25%)
< Initial JS 6.51 MB 6.64 MB +135 kB(+2.08%)
= Initial CSS 151 kB 151 kB
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
< Assets 181 182 +1
< Chunks 149 150 +1
= Packages 159 159
= Duplicates 7 7
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warnings ~~~~~~~~~~~~~~~~~~~~~~~~~~~#
! Deduplicate versions of libraries
! Separate mixed content assets files
@@ EntryPoint: pages/blog/function-and-callbacks.en @@
## main …ction_for_cli +/- ##
===================================================================
< Bundle 17.6 MB 17.6 MB +223 B(+0.00%)
< Initial JS 866 kB 866 kB +223 B(+0.03%)
= Initial CSS 69.3 kB 69.3 kB
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
= Assets 53 53
= Chunks 47 47
= Packages 126 126
= Duplicates 4 4
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Warnings ~~~~~~~~~~~~~~~~~~~~~~~~~~~#
! Deduplicate versions of libraries
...and more |
There was a problem hiding this comment.
Pull request overview
This PR adds comprehensive documentation for the @napi-rs/cli programmatic API, enabling developers to customize their build workflows beyond standard CLI usage. The documentation covers post-processing build outputs, standalone TypeScript generation for custom build systems like Bazel, and all available programmatic APIs.
Key changes:
- New programmatic API documentation with code examples for common use cases
- Navigation metadata update to include the new documentation page
- Auto-generated TypeScript route definitions
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 8 comments.
| File | Description |
|---|---|
| pages/docs/cli/programmatic-api.en.mdx | Comprehensive documentation for programmatic APIs including build customization, type generation, and utility functions |
| pages/docs/cli/_meta.en.json | Added navigation entry for the new Programmatic API documentation |
| next-env.d.ts | Auto-generated Next.js TypeScript route definitions reference |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
1395767 to
241bb88
Compare
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.