multica/packages/sdk/package.json
Naiyuan Qing 441c2059a8 fix(sdk): point exports to source and remove .js import suffixes
- Change package exports from dist/ to src/ (consistent with @multica/store and @multica/ui)
- Add private: true since SDK is an internal monorepo package
- Switch tsconfig from NodeNext to bundler moduleResolution
- Remove .js suffixes from all internal imports for Turbopack compatibility

Eliminates the need to build SDK before running dev server or Next.js build.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-02 16:58:23 +08:00

23 lines
425 B
JSON

{
"name": "@multica/sdk",
"version": "0.1.0",
"type": "module",
"private": true,
"exports": {
".": "./src/index.ts",
"./*": "./src/*.ts"
},
"scripts": {
"build": "tsc",
"dev": "tsc --watch",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"socket.io-client": "^4.8.3",
"uuid": "^13.0.0"
},
"devDependencies": {
"@types/uuid": "^11.0.0",
"typescript": "^5.9.3"
}
}