{"id":18296220,"url":"https://github.com/ruanyl/webpack-remote-types-plugin","last_synced_at":"2025-04-05T12:31:54.827Z","repository":{"id":47257517,"uuid":"370473143","full_name":"ruanyl/webpack-remote-types-plugin","owner":"ruanyl","description":"Webpack plugin to download remote typescript types","archived":false,"fork":false,"pushed_at":"2021-10-12T19:08:40.000Z","size":235,"stargazers_count":44,"open_issues_count":5,"forks_count":9,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T08:07:58.612Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ruanyl.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-05-24T20:11:43.000Z","updated_at":"2024-09-02T16:19:22.000Z","dependencies_parsed_at":"2022-08-12T13:20:44.684Z","dependency_job_id":null,"html_url":"https://github.com/ruanyl/webpack-remote-types-plugin","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruanyl%2Fwebpack-remote-types-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruanyl%2Fwebpack-remote-types-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruanyl%2Fwebpack-remote-types-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ruanyl%2Fwebpack-remote-types-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ruanyl","download_url":"https://codeload.github.com/ruanyl/webpack-remote-types-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247339019,"owners_count":20923003,"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-11-05T14:39:52.449Z","updated_at":"2025-04-05T12:31:50.120Z","avatar_url":"https://github.com/ruanyl.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## WebpackRemoteTypesPlugin\n\nA webpack plugin to download typescript type definitions generated by [dts-loader](https://github.com/ruanyl/dts-loader)\nfrom remote.\n\n### Install\n\n```\nyarn add webpack-remote-types-plugin\n```\n\n### Usage\n\n```javascript\n  new WebpackRemoteTypesPlugin({\n    remotes: {\n      app: 'app@http://localhost:9000/remoteEntry.js',\n    },\n    outputDir: 'types', // supports [name] as the remote name\n    remoteFileName: '[name]-dts.tgz' // default filename is [name]-dts.tgz where [name] is the remote name, for example, `app` with the above setup\n  }),\n```\n\nThe plugin will download tarball from `http://localhost:9000/app-dts.tgz` and unzip the tarball to `./types` folder\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruanyl%2Fwebpack-remote-types-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fruanyl%2Fwebpack-remote-types-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fruanyl%2Fwebpack-remote-types-plugin/lists"}