Remove auto-generated napi files from version control

index.js and index.d.ts are generated by napi-rs. Generate them
at publish time via `napi prepublish` instead of checking them in.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Abimael Martell
2026-04-02 14:44:49 -07:00
co-authored by Claude Opus 4.6
parent fba0a644ef
commit 176d1ff2a3
4 changed files with 16 additions and 678 deletions
+12
View File
@@ -76,6 +76,18 @@ jobs:
with:
path: napi/artifacts
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Install dependencies
working-directory: napi
run: bun install
- name: Generate JS bindings
working-directory: napi
run: bunx napi prepublish --skip-gh-release
- name: Collect binaries and publish
working-directory: napi
run: |