Ship prebuilt lib/index.js so GitHub installs load under node_modules.

Node refuses TypeScript stripping inside node_modules; point package main at the host bundle and document GitHub as the default install.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
oliver 2026-09-04 22:32:01 +08:00
parent 0fcff2d45a
commit 0040de078c
4 changed files with 150 additions and 7 deletions

3
.gitignore vendored
View file

@ -1,7 +1,8 @@
node_modules/
dist/
# keep published client artifact; ignore other build junk under lib/
# keep published host + client artifacts
lib/*
!lib/index.js
!lib/client.js
*.log
.DS_Store