macOS
brew install dtsrolllocal Homebrew formula metadata
安装
brew install dtsrolllocal Homebrew formula metadata
概览
CLI tool for bundling TypeScript declaration files
历史
dtsroll is a TypeScript declaration-file bundler aimed at package authors. It runs after `tsc` emits `.d.ts` files and bundles declaration dependencies so published package types work for downstream consumers.
The public repository and npm package appeared in January 2025. The README frames the project around a common TypeScript publishing failure: emitted declarations can preserve imports from private or development-only packages, leaving consumers with unresolved type references.
dtsroll is early-stage but already has both npm and Homebrew distribution. Its npm registry metadata shows releases after the initial 2025 publication, and the Homebrew formula distributes the CLI from the npm tarball.
The default workflow is to run `dtsroll` after `tsc`. With no explicit entries, it reads `package.json`, finds declaration entry points from `types` or `exports`, bundles devDependency type imports into the emitted declarations, and leaves runtime dependencies external.
dtsroll is package-nerd bait because it exists to fix packaging metadata fallout: `.d.ts` files are part of the package interface, and bad declaration imports break consumers even when runtime JavaScript is fine. It sits near tools such as `pkgroll` and `unplugin-dts` in the TypeScript library-publishing toolchain.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
dtsroll | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:dtsroll |
|---|---|
| 版本 | 1.8.2 |
| 软件包管理器 | Homebrew |
| 主页 | https://github.com/privatenumber/dtsroll |
| 最后更新 | 2026-05-04T21:07:18Z |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.