Commit Graph

5 Commits

Author SHA1 Message Date
hyper 9adce3d45e build: update dist files with named tuple support
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-31 16:37:14 +08:00
hyper d056145462 fix: change format of output .d.ts files 2026-03-31 16:12:17 +08:00
hyper 525ae262fd feat: add writeToDisk option for dev server support
- Add writeToDisk option to write .d.ts files directly to disk
- Useful for rsbuild/rspack dev server which uses in-memory FS
- Set writeToDisk: true in dev mode to see generated types

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-31 15:54:38 +08:00
hyper 377a47e49f fix: improve path handling for .d.ts file emission
- Fix leading slash in relative path
- Use .d.ts extension instead of .csv.d.ts
- Support typesOutputDir option properly
- Use ./ prefix for module declaration path

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-31 15:49:05 +08:00
hyper 5e93bb5a1d chore: add dist files and .npmignore for npm distribution
- Include dist/ in git for npm package distribution
- Add .npmignore to exclude source files from npm package
- This ensures npm install from git works without requiring build

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-03-31 14:55:46 +08:00