{"id":14155933,"url":"https://github.com/eth-p/esbuild-plugin-dts-bundle-generator","last_synced_at":"2025-07-10T06:34:33.204Z","repository":{"id":152809903,"uuid":"627180954","full_name":"eth-p/esbuild-plugin-dts-bundle-generator","owner":"eth-p","description":"An esbuild plugin that builds d.ts bundles using `dts-bundle-generator`. ","archived":false,"fork":false,"pushed_at":"2023-04-13T04:00:11.000Z","size":59,"stargazers_count":6,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-03T13:06:56.565Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eth-p.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-13T00:20:51.000Z","updated_at":"2024-11-27T11:14:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"ed2e8c17-6ed0-4337-bd1b-64113a4a7e6f","html_url":"https://github.com/eth-p/esbuild-plugin-dts-bundle-generator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/eth-p/esbuild-plugin-dts-bundle-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eth-p%2Fesbuild-plugin-dts-bundle-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eth-p%2Fesbuild-plugin-dts-bundle-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eth-p%2Fesbuild-plugin-dts-bundle-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eth-p%2Fesbuild-plugin-dts-bundle-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eth-p","download_url":"https://codeload.github.com/eth-p/esbuild-plugin-dts-bundle-generator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eth-p%2Fesbuild-plugin-dts-bundle-generator/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264538582,"owners_count":23624436,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-17T08:05:06.000Z","updated_at":"2025-07-10T06:34:33.167Z","avatar_url":"https://github.com/eth-p.png","language":"TypeScript","funding_links":[],"categories":["others"],"sub_categories":[],"readme":"# esbuild-plugin-dts-bundle-generator\n\nAn [esbuild](https://esbuild.github.io/) plugin to generate bundles of `.d.ts` definitions using [dts-bundle-generator](https://www.npmjs.com/package/dts-bundle-generator).\n\n## Usage\n\nInside your esbuild build script:\n\n```js\nimport * as esbuild from 'esbuild';\nimport esbuildPluginDtsBundleGenerator from 'esbuild-plugin-dts-bundle-generator';\n\nawait esbuild.build({\n\t// ...\n\tplugins: [esbuildPluginDtsBundleGenerator(/* options */)],\n});\n```\n\n### Options\n\nEverything should just work out of the box, but there are a couple of options that can be changed:\n\n```typescript\ninterface Options {\n\t/**\n\t * Alternate entry points for generating d.ts files.\n\t * This follows the same format as `esbuild`'s `entryPoints` option.\n\t */\n\tentryPoints?: Record\u003cstring, string\u003e | Array\u003c{ in: string; out: string }\u003e;\n\n\t/**\n\t * The path to the project tsconfig file.\n\t *\n\t * If this is not specified, it will try to use the `tsconfig` option provided to `esbuild`.\n\t * If neither options were specified, the nearest `tsconfig.json` file will be used.\n\t */\n\ttsconfig?: string;\n\n\t/**\n\t * ADVANCED CONFIGURATION:\n\t *\n\t * A function that is called for each entry point file, creating an `EntryPointConfig` to be used by `dts-bundle-generator`.\n\t * This function cannot override the `filePath` property.\n\t *\n\t * @param entrypoint The entrypoint file.\n\t * @returns The corresponding `EntryPointConfig`.\n\t */\n\tconfigureEntryPoint?: (entrypoint: string) =\u003e EntryPointConfig;\n\n\t/**\n\t * The default `OutputOptions` given to `dts-bundle-generator`.\n\t * If `configureEntryPoint` returns output options, that will take precedence.\n\t */\n\toutputOptions?: OutputOptions;\n\n\t/**\n\t * The default `LibrariesOptions` given to `dts-bundle-generator`.\n\t * If `configureEntryPoint` returns output options, that will take precedence.\n\t */\n\tlibrariesOptions?: LibrariesOptions;\n\n\t/**\n\t * The `CompilationOptions` given to `dts-bundle-generator`.\n\t * This cannot override the `entryPoints` property.\n\t */\n\tcompilationOptions?: CompilationOptions;\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feth-p%2Fesbuild-plugin-dts-bundle-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feth-p%2Fesbuild-plugin-dts-bundle-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feth-p%2Fesbuild-plugin-dts-bundle-generator/lists"}