fix(liquid-glass): build standalone with npm: declarations from tsc, .js import specifiers
Radin committed
- Author
- Radin · radin@coline.appOct 17, 2026 at 06:06
- Committer
- Radin · radin@coline.appOct 17, 2026 at 06:06
- Parents
- 9e16e11c054d
fix(liquid-glass): build standalone with npm: declarations from tsc, .js import specifiers tsup's declaration build needs TypeScript's JS API, which TypeScript 7 doesn't ship. The monorepo hid that by giving tsup TypeScript 6 through pnpm, but a plain npm install of the standalone repo failed to emit .d.ts files. tsup now bundles the JavaScript only, and tsc -p tsconfig.build.json writes the declarations. Relative imports carry .js so the declarations resolve under nodenext as well as bundler (checked from a consumer project). prepublishOnly runs npm run build. The sync script skips the monorepo's pre-push hook. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
9 files changed+31−18