{"_id":"bun-plugin-dts","_rev":"8-b17d682f19eb2d2a49209e3e724751a1","name":"bun-plugin-dts","dist-tags":{"latest":"0.4.0"},"versions":{"0.1.0":{"name":"bun-plugin-dts","version":"0.1.0","keywords":["bun"],"author":{"name":"Robert Soriano","email":"sorianorobertc@gmail.com"},"license":"MIT","_id":"bun-plugin-dts@0.1.0","maintainers":[{"name":"wobsoriano","email":"sorianorobertc@gmail.com"}],"homepage":"https://github.com/wobsoriano/bun-plugin-dts#readme","bugs":{"url":"https://github.com/wobsoriano/bun-plugin-dts/issues"},"dist":{"shasum":"cde5f9aa3d719ec4c59e67c3159deedcc2ed4b26","tarball":"https://registry.npmjs.org/bun-plugin-dts/-/bun-plugin-dts-0.1.0.tgz","fileCount":5,"integrity":"sha512-LCeeeV3Y2whpJm8u0mwIRQ2UpA3UWEj/FgiulhDCqBS2GVZ22oPbMCHkylXzMXVdDEjaUeW/IohigMTYJR0JJw==","signatures":[{"sig":"MEYCIQDLleRCdLIN2wEboqQ2VVhoD1xK38JCehuQslJRPmpMHgIhANLtq+aGyNJdKdTiICp6Y4pk1nCYoglhEk0KfG95BTFH","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3606},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"e79a12759d915bb85d412d12ca6912ba25e57f64","scripts":{"build":"bun run build.mjs","release":"bumpp && npm publish","prepublishOnly":"bun run build"},"_npmUser":{"name":"wobsoriano","email":"sorianorobertc@gmail.com"},"repository":{"url":"git+https://github.com/wobsoriano/bun-plugin-dts.git","type":"git"},"_npmVersion":"8.15.0","description":"A bun plugin for generating dts files","directories":{},"_nodeVersion":"16.17.1","dependencies":{"dts-bundle-generator":"^8.0.1"},"_hasShrinkwrap":false,"devDependencies":{"bumpp":"^9.1.1","bun-types":"^0.7.1","typescript":"^5.1.6"},"_npmOperationalInternal":{"tmp":"tmp/bun-plugin-dts_0.1.0_1690653936083_0.3542640282578644","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"bun-plugin-dts","version":"0.2.0","keywords":["bun"],"author":{"name":"Robert Soriano","email":"sorianorobertc@gmail.com"},"license":"MIT","_id":"bun-plugin-dts@0.2.0","maintainers":[{"name":"wobsoriano","email":"sorianorobertc@gmail.com"}],"homepage":"https://github.com/wobsoriano/bun-plugin-dts#readme","bugs":{"url":"https://github.com/wobsoriano/bun-plugin-dts/issues"},"dist":{"shasum":"b3b05adc20585cfa6eb42db779bfd86f6ebc44a6","tarball":"https://registry.npmjs.org/bun-plugin-dts/-/bun-plugin-dts-0.2.0.tgz","fileCount":5,"integrity":"sha512-WqqZ7fTMHhXJRTFFBF8uoNJAVDKlpdZz/lrGJYsEDCwpH2+nfNfDNfl8hkbDJKG4+UbsblS75PG/qGP6UuIStg==","signatures":[{"sig":"MEUCIQDlBkP2rFwmosFgCHF9FNmjG58Yz3IFTfYA6QjID0omdwIgTU0SSLCgmLHcloZ7CQ4Tbz186arQ3k6Xqw1lKGevecA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6364},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"9826ff2b384ddc959407ac5fd3f1c3f34d48abad","scripts":{"lint":"eslint .","build":"bun run build.mjs","release":"bumpp && npm publish","lint:fix":"eslint . --fix","prepublishOnly":"bun run build"},"_npmUser":{"name":"wobsoriano","email":"sorianorobertc@gmail.com"},"repository":{"url":"git+https://github.com/wobsoriano/bun-plugin-dts.git","type":"git"},"_npmVersion":"9.6.7","description":"A bun plugin for generating dts files","directories":{},"_nodeVersion":"18.17.1","dependencies":{"get-tsconfig":"^4.7.0","dts-bundle-generator":"^8.0.1"},"_hasShrinkwrap":false,"devDependencies":{"bumpp":"^9.2.0","eslint":"^8.49.0","bun-types":"^1.0.1","typescript":"^5.2.2","@antfu/eslint-config":"^0.41.0","eslint-plugin-import":"^2.28.1"},"_npmOperationalInternal":{"tmp":"tmp/bun-plugin-dts_0.2.0_1694498917802_0.7977926886605493","host":"s3://npm-registry-packages"}},"0.2.1":{"name":"bun-plugin-dts","version":"0.2.1","keywords":["bun"],"author":{"name":"Robert Soriano","email":"sorianorobertc@gmail.com"},"license":"MIT","_id":"bun-plugin-dts@0.2.1","maintainers":[{"name":"wobsoriano","email":"sorianorobertc@gmail.com"}],"homepage":"https://github.com/wobsoriano/bun-plugin-dts#readme","bugs":{"url":"https://github.com/wobsoriano/bun-plugin-dts/issues"},"dist":{"shasum":"aac06b3eeba018fb3ac58888378bde478cbc4d88","tarball":"https://registry.npmjs.org/bun-plugin-dts/-/bun-plugin-dts-0.2.1.tgz","fileCount":7,"integrity":"sha512-rDU6i4oN43t/OMn0b0BnIeUzRSigTDHuT3dSxS7L14Uz/PVRD+rQDKeQE9IMCXJkhB9Hsny2RkI9CW2utTWLIw==","signatures":[{"sig":"MEQCIFgm3HhjwlvcV7LB95Ui4Zhu8YBHE4dGvXgVFSRuHinxAiBVf+zUBQuIF2fpS2KpObzyL/4X0JKJsUZWahK5qBPCPA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6625},"main":"dist/index.js","types":"dist/index.d.ts","gitHead":"b05e3212b85ea72e3a9c76ae3ebe37986c6479b2","scripts":{"lint":"biome check src","build":"bun run build.mjs","format":"biome format src --write","release":"bumpp && npm publish","prepublishOnly":"bun run build"},"_npmUser":{"name":"wobsoriano","email":"sorianorobertc@gmail.com"},"repository":{"url":"git+https://github.com/wobsoriano/bun-plugin-dts.git","type":"git"},"_npmVersion":"9.6.7","description":"A bun plugin for generating dts files","directories":{},"_nodeVersion":"18.17.1","dependencies":{"get-tsconfig":"^4.7.0","dts-bundle-generator":"^8.0.1"},"_hasShrinkwrap":false,"devDependencies":{"bumpp":"^9.2.0","bun-types":"^1.0.1","typescript":"^5.2.2","@biomejs/biome":"1.2.2"},"_npmOperationalInternal":{"tmp":"tmp/bun-plugin-dts_0.2.1_1695222425145_0.93025874964623","host":"s3://npm-registry-packages"}},"0.2.2":{"name":"bun-plugin-dts","version":"0.2.2","keywords":["bun"],"author":{"name":"Robert Soriano","email":"sorianorobertc@gmail.com"},"license":"MIT","_id":"bun-plugin-dts@0.2.2","maintainers":[{"name":"wobsoriano","email":"sorianorobertc@gmail.com"}],"homepage":"https://github.com/wobsoriano/bun-plugin-dts#readme","bugs":{"url":"https://github.com/wobsoriano/bun-plugin-dts/issues"},"dist":{"shasum":"98849a5a6b9d65445c76b2300b87cc113db7bdec","tarball":"https://registry.npmjs.org/bun-plugin-dts/-/bun-plugin-dts-0.2.2.tgz","fileCount":5,"integrity":"sha512-0ZO6/m9rYIfAKXOcWxasLdYHeNaKf7ouQrnSgApuZFUrRG2ZV74oJ2CSPKc+CwjKQJg3vkjxyhRWO6dr8tXhfQ==","signatures":[{"sig":"MEUCIFR5mtPIE1EGeQW5Z4bJ+jVzwyqym1HO9lDNEjYxMsXLAiEAkGfybpy0tU8qImM8MkZRYlwBVn1YyTSah9hE8rN11lw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6402},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"e91c1d657aa0ea055f21018c73e20fa09cfd50f5","scripts":{"lint":"biome check src","build":"bun run build.mjs","format":"biome format src --write","release":"bumpp && npm publish","prepublishOnly":"bun run build"},"_npmUser":{"name":"wobsoriano","email":"sorianorobertc@gmail.com"},"repository":{"url":"git+https://github.com/wobsoriano/bun-plugin-dts.git","type":"git"},"_npmVersion":"10.1.0","description":"A bun plugin for generating dts files","directories":{},"_nodeVersion":"20.9.0","dependencies":{"get-tsconfig":"^4.7.3","dts-bundle-generator":"^9.3.1"},"_hasShrinkwrap":false,"devDependencies":{"bumpp":"^9.4.0","@types/bun":"^1.0.12","typescript":"^5.4.5","@biomejs/biome":"1.2.2"},"_npmOperationalInternal":{"tmp":"tmp/bun-plugin-dts_0.2.2_1712867554178_0.9610167216981145","host":"s3://npm-registry-packages"}},"0.2.3":{"name":"bun-plugin-dts","version":"0.2.3","keywords":["bun"],"author":{"name":"Robert Soriano","email":"sorianorobertc@gmail.com"},"license":"MIT","_id":"bun-plugin-dts@0.2.3","maintainers":[{"name":"wobsoriano","email":"sorianorobertc@gmail.com"}],"homepage":"https://github.com/wobsoriano/bun-plugin-dts#readme","bugs":{"url":"https://github.com/wobsoriano/bun-plugin-dts/issues"},"dist":{"shasum":"afb6196ad5332f870c364cd675f0b63ea69e2679","tarball":"https://registry.npmjs.org/bun-plugin-dts/-/bun-plugin-dts-0.2.3.tgz","fileCount":5,"integrity":"sha512-M93ICvrhd0LK/rvCrACsr7sh94J6VFXKxbw6+mXdfWe3bj077rMz09lKHYCm5Ry15ESJsIerRL7Lgn6PGZSzig==","signatures":[{"sig":"MEQCIC+jX7iMxtDI6WbecSr6VjryME7gP886eZ6eQUmmRB5eAiBFcDsTApe2m7ZbkC6DvutNGYKrcOGxjmlF51c7v5oDcA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6402},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"6378aa3d9c6c5a69223bde098f6ba91087105383","scripts":{"lint":"biome check src","build":"bun run build.mjs","format":"biome format src --write","release":"bumpp && npm publish","prepublishOnly":"bun run build"},"_npmUser":{"name":"wobsoriano","email":"sorianorobertc@gmail.com"},"repository":{"url":"git+https://github.com/wobsoriano/bun-plugin-dts.git","type":"git"},"_npmVersion":"10.1.0","description":"A bun plugin for generating dts files","directories":{},"_nodeVersion":"20.9.0","dependencies":{"get-tsconfig":"^4.7.3","dts-bundle-generator":"^9.4.0"},"_hasShrinkwrap":false,"devDependencies":{"bumpp":"^9.4.0","@types/bun":"^1.0.12","typescript":"^5.4.5","@biomejs/biome":"1.2.2"},"_npmOperationalInternal":{"tmp":"tmp/bun-plugin-dts_0.2.3_1713275217871_0.2415881119291201","host":"s3://npm-registry-packages"}},"0.2.4":{"name":"bun-plugin-dts","version":"0.2.4","keywords":["bun"],"author":{"name":"Robert Soriano","email":"sorianorobertc@gmail.com"},"license":"MIT","_id":"bun-plugin-dts@0.2.4","maintainers":[{"name":"wobsoriano","email":"sorianorobertc@gmail.com"}],"homepage":"https://github.com/wobsoriano/bun-plugin-dts#readme","bugs":{"url":"https://github.com/wobsoriano/bun-plugin-dts/issues"},"dist":{"shasum":"3adc17641431e95638931d35d4f5fee9055f5111","tarball":"https://registry.npmjs.org/bun-plugin-dts/-/bun-plugin-dts-0.2.4.tgz","fileCount":5,"integrity":"sha512-u5ub+uk09R0ylnbLdmekAIHG6KW95HPK0VhKc5IC7D9fKOyo3M2Qiua6ksPGA3d95G7/6LXLSPmUVlbEQsdzBw==","signatures":[{"sig":"MEUCIHez2ZI1jXkBZVl3cQxgvDFE01HN13CQzHUY7zMdWOfpAiEAkATxEpWUWMxSmpBxCuwIvtVX/qxXCbOW/vkFH5yavk4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6400},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","gitHead":"1536bf235446d17a15073e027c60c31015d016b0","scripts":{"lint":"biome check src","build":"bun run build.mjs","format":"biome format src --write","release":"bumpp && npm publish","prepublishOnly":"bun run build"},"_npmUser":{"name":"wobsoriano","email":"sorianorobertc@gmail.com"},"repository":{"url":"git+https://github.com/wobsoriano/bun-plugin-dts.git","type":"git"},"_npmVersion":"10.8.2","description":"A bun plugin for generating dts files","directories":{},"_nodeVersion":"20.17.0","dependencies":{"get-tsconfig":"^4.8.1","dts-bundle-generator":"^9.5.1"},"_hasShrinkwrap":false,"devDependencies":{"bumpp":"^9.6.1","@types/bun":"^1.1.10","typescript":"^5.4.5","@biomejs/biome":"1.2.2"},"_npmOperationalInternal":{"tmp":"tmp/bun-plugin-dts_0.2.4_1728410499216_0.928307494110618","host":"s3://npm-registry-packages"}},"0.3.0":{"name":"bun-plugin-dts","version":"0.3.0","keywords":["bun"],"author":{"name":"Robert Soriano","email":"sorianorobertc@gmail.com"},"license":"MIT","_id":"bun-plugin-dts@0.3.0","maintainers":[{"name":"wobsoriano","email":"sorianorobertc@gmail.com"}],"homepage":"https://github.com/wobsoriano/bun-plugin-dts#readme","bugs":{"url":"https://github.com/wobsoriano/bun-plugin-dts/issues"},"dist":{"shasum":"530e1b1e548d056ab8d60bcd75a95a80863cd20d","tarball":"https://registry.npmjs.org/bun-plugin-dts/-/bun-plugin-dts-0.3.0.tgz","fileCount":6,"integrity":"sha512-QpiAOKfPcdOToxySOqRY8FwL+brTvyXEHWzrSCRKt4Pv7Z4pnUrhK9tFtM7Ndm7ED09B/0cGXnHJKqmekr/ERw==","signatures":[{"sig":"MEUCIQDXgT85M0PlDTbTJO25K1Z+yRBkpMd2HJS4unR+vuA/JAIgQX/ceVZwqbMeDEo20et/yFweOFH4bJbY+y8J+vSYlrg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":9551},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"gitHead":"64c8dd2575787edc4dda5cee9855829035e00f64","scripts":{"lint":"biome check src","build":"bun run build.ts","format":"biome format src --write","release":"bumpp && npm publish","prepublishOnly":"bun run build"},"_npmUser":{"name":"wobsoriano","email":"sorianorobertc@gmail.com"},"repository":{"url":"git+https://github.com/wobsoriano/bun-plugin-dts.git","type":"git"},"_npmVersion":"10.8.2","description":"A bun plugin for generating dts files","directories":{},"_nodeVersion":"20.17.0","dependencies":{"get-tsconfig":"^4.8.1","common-path-prefix":"^3.0.0","dts-bundle-generator":"^9.5.1"},"_hasShrinkwrap":false,"devDependencies":{"bumpp":"^9.6.1","@types/bun":"^1.1.10","typescript":"^5.4.5","@biomejs/biome":"1.9.3"},"_npmOperationalInternal":{"tmp":"tmp/bun-plugin-dts_0.3.0_1728412437058_0.8537221838647631","host":"s3://npm-registry-packages"}},"0.4.0":{"name":"bun-plugin-dts","version":"0.4.0","type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"},"description":"A bun plugin for generating dts files","scripts":{"build":"bun run build.ts","test":"bun test","prepublishOnly":"bun run build","lint":"biome check src","format":"biome format src --write"},"keywords":["bun"],"license":"MIT","homepage":"https://github.com/wobsoriano/bun-plugin-dts#readme","repository":{"type":"git","url":"git+https://github.com/wobsoriano/bun-plugin-dts.git"},"bugs":{"url":"https://github.com/wobsoriano/bun-plugin-dts/issues"},"author":{"name":"Robert Soriano","email":"sorianorobertc@gmail.com"},"dependencies":{"common-path-prefix":"^3.0.0","dts-bundle-generator":"^9.5.1","get-tsconfig":"^4.13.6"},"devDependencies":{"@biomejs/biome":"1.9.3","@types/bun":"^1.3.9","typescript":"^5.4.5"},"_id":"bun-plugin-dts@0.4.0","gitHead":"385c89057045d32cb64ce9d001aabe9cfa38df40","_nodeVersion":"22.22.0","_npmVersion":"10.9.4","dist":{"integrity":"sha512-g/pHy9SuhnUw+E+bHnJvADOnnZlEIci3nvZY8EuQEMwkpC4V4Kmoa2nG9nfda4jmjj+0POlCRCjdqXrL9gjYtA==","shasum":"4d4bc41f490a59e5025057ea4854c72e0da124f5","tarball":"https://registry.npmjs.org/bun-plugin-dts/-/bun-plugin-dts-0.4.0.tgz","fileCount":6,"unpackedSize":14577,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIHd8GkusJ40ZRNPK7/f8scZ9/No01P3N/s+HTehMplW5AiAXRHP+4VxgGcnq/w76lEKrF0Mu9bHNB0nHXUbDbCOySQ=="}]},"_npmUser":{"name":"wobsoriano","email":"sorianorobertc@gmail.com"},"directories":{},"maintainers":[{"name":"wobsoriano","email":"sorianorobertc@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/bun-plugin-dts_0.4.0_1770761817967_0.4073685465938799"},"_hasShrinkwrap":false}},"time":{"created":"2023-07-29T18:05:36.080Z","modified":"2026-02-10T22:16:58.261Z","0.1.0":"2023-07-29T18:05:36.228Z","0.2.0":"2023-09-12T06:08:37.981Z","0.2.1":"2023-09-20T15:07:05.430Z","0.2.2":"2024-04-11T20:32:34.330Z","0.2.3":"2024-04-16T13:46:58.028Z","0.2.4":"2024-10-08T18:01:39.436Z","0.3.0":"2024-10-08T18:33:57.343Z","0.4.0":"2026-02-10T22:16:58.129Z"},"bugs":{"url":"https://github.com/wobsoriano/bun-plugin-dts/issues"},"author":{"name":"Robert Soriano","email":"sorianorobertc@gmail.com"},"license":"MIT","homepage":"https://github.com/wobsoriano/bun-plugin-dts#readme","keywords":["bun"],"repository":{"type":"git","url":"git+https://github.com/wobsoriano/bun-plugin-dts.git"},"description":"A bun plugin for generating dts files","maintainers":[{"name":"wobsoriano","email":"sorianorobertc@gmail.com"}],"readme":"# bun-plugin-dts\n\nA Bun plugin for generating `.d.ts` files.\n\n## Install\n\n```bash\nbun add -d bun-plugin-dts\n```\n\n## Usage\n\n```ts\nimport dts from 'bun-plugin-dts'\n\nawait Bun.build({\n  entrypoints: ['./src/index.ts', './src/other/foo.ts'],\n  outdir: './dist',\n  plugins: [\n    dts()\n  ],\n})\n\n// Generates `dist/index.d.ts` and `dist/other/foo.d.ts`\n```\n\n## Options\n\nThis plugin utilizes [dts-bundle-generator](https://github.com/timocov/dts-bundle-generator) internally, allowing you to easily customize its behavior by passing specific options for dts-bundle-generator.\n\n```ts\ntype Options = {\n  libraries?: LibrariesOptions;\n  /**\n   * Fail if generated dts contains class declaration.\n   */\n  failOnClass?: boolean;\n  output?: OutputOptions;\n  compilationOptions?: CompilationOptions;\n}\n\ninterface LibrariesOptions {\n  /**\n   * Array of package names from node_modules to inline typings from.\n   * Used types will be inlined into the output file.\n   */\n  inlinedLibraries?: string[];\n  /**\n   * Array of package names from node_modules to import typings from.\n   * Used types will be imported using `import { First, Second } from 'library-name';`.\n   * By default all libraries will be imported (except inlined libraries and libraries from @types).\n   */\n  importedLibraries?: string[];\n  /**\n   * Array of package names from @types to import typings from via the triple-slash reference directive.\n   * By default all packages are allowed and will be used according to their usages.\n   */\n  allowedTypesLibraries?: string[];\n}\n\ninterface OutputOptions {\n  /**\n   * Sort output nodes in ascendant order.\n   */\n  sortNodes?: boolean;\n  /**\n   * Name of the UMD module.\n   * If specified then `export as namespace ModuleName;` will be emitted.\n   */\n  umdModuleName?: string;\n  /**\n   * Enables inlining of `declare global` statements contained in files which should be inlined (all local files and packages from inlined libraries).\n   */\n  inlineDeclareGlobals?: boolean;\n  /**\n   * Enables inlining of `declare module` statements of the global modules\n   * (e.g. `declare module 'external-module' {}`, but NOT `declare module './internal-module' {}`)\n   * contained in files which should be inlined (all local files and packages from inlined libraries)\n   */\n  inlineDeclareExternals?: boolean;\n  /**\n   * Allows remove \"Generated by dts-bundle-generator\" comment from the output\n   */\n  noBanner?: boolean;\n  /**\n   * Enables stripping the `const` keyword from every direct-exported (or re-exported) from entry file `const enum`.\n   * This allows you \"avoid\" the issue described in https://github.com/microsoft/TypeScript/issues/37774.\n   */\n  respectPreserveConstEnum?: boolean;\n  /**\n   * By default all interfaces, types and const enums are marked as exported even if they aren't exported directly.\n   * This option allows you to disable this behavior so a node will be exported if it is exported from root source file only.\n   */\n  exportReferencedTypes?: boolean;\n}\n\ninterface CompilationOptions {\n  /**\n   * Allows disable resolving of symlinks to the original path.\n   * By default following is enabled.\n   * @see https://github.com/timocov/dts-bundle-generator/issues/39\n   */\n  followSymlinks?: boolean;\n  /**\n   * Path to the tsconfig file that will be used for the compilation.\n   */\n  preferredConfigPath?: string;\n}\n```\n\n## License\n\nMIT\n","readmeFilename":"README.md"}