Skip to content

fix(build): fix opentypebb exports for production + add start script#54

Merged
luokerenx4 merged 1 commit intomasterfrom
dev
Mar 14, 2026
Merged

fix(build): fix opentypebb exports for production + add start script#54
luokerenx4 merged 1 commit intomasterfrom
dev

Conversation

@luokerenx4
Copy link
Contributor

Fixes #53

Changes

  • packages/opentypebb/package.json: exports 从 src/*.ts 改为 dist/*.js,production build 下 Node 能正确解析
  • package.json: 加 start script、predev 先 build opentypebb、build 也先 build opentypebb

Test

  • pnpm build 全程无报错
  • pnpm start 正常启动,所有插件就绪

🤖 Generated with Claude Code

- Change opentypebb exports from src/*.ts to dist/*.js so production
  builds can resolve the package without tsx
- Add pnpm start script for running production build
- Add predev to build opentypebb before dev mode
- Update build script to build opentypebb first

Fixes #53

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@luokerenx4 luokerenx4 merged commit 398d1b6 into master Mar 14, 2026
2 checks passed
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.

Build and startup improvements: add start script and fix opentypebb dependencies

1 participant