{"id":13496269,"url":"https://github.com/egoist/yaup","last_synced_at":"2026-03-07T02:03:26.410Z","repository":{"id":45275362,"uuid":"379493417","full_name":"egoist/yaup","owner":"egoist","description":"unopinionated esbuild cli.","archived":false,"fork":false,"pushed_at":"2021-12-25T14:06:33.000Z","size":312,"stargazers_count":75,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-30T07:50:02.918Z","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/egoist.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-06-23T05:49:20.000Z","updated_at":"2024-11-04T23:45:25.000Z","dependencies_parsed_at":"2022-09-14T05:11:20.609Z","dependency_job_id":null,"html_url":"https://github.com/egoist/yaup","commit_stats":null,"previous_names":[],"tags_count":20,"template":false,"template_full_name":"egoist/ts-lib-starter","purl":"pkg:github/egoist/yaup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egoist%2Fyaup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egoist%2Fyaup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egoist%2Fyaup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egoist%2Fyaup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/egoist","download_url":"https://codeload.github.com/egoist/yaup/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/egoist%2Fyaup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30205893,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T19:07:06.838Z","status":"online","status_checked_at":"2026-03-07T02:00:06.765Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-07-31T19:01:44.833Z","updated_at":"2026-03-07T02:03:26.375Z","avatar_url":"https://github.com/egoist.png","language":"TypeScript","funding_links":["https://github.com/sponsors/egoist).","https://github.com/sponsors/egoist"],"categories":["TypeScript"],"sub_categories":[],"readme":"**💛 You can help the author become a full-time open-source maintainer by [sponsoring him on GitHub](https://github.com/sponsors/egoist).**\n\n---\n\n# yaup\n\n[![npm version](https://badgen.net/npm/v/yaup)](https://npm.im/yaup)\n\n## Why this over other esbuild/rollup wrappers?\n\n- Unopinionated: close to raw esbuild, flexible configration\n- Minimal: minimal API interface so it's easier to maintain\n\n## Install\n\n```bash\nnpm i yaup -D\n```\n\n## Usage\n\nIt's common to publish dual CommonJS/ES module packages with an extra TypeScript declaration file, all you need is creating a `yaup.config.ts`:\n\n```ts\nimport { defineConfig } from 'yaup'\n\nexport default defineConfig({\n  input: './src/index.ts',\n  output: [\n    {\n      format: 'esm',\n      dir: 'dist/esm',\n    },\n    {\n      format: 'cjs',\n      dir: 'dist/cjs',\n    },\n    {\n      format: 'dts',\n      dir: 'dist/types',\n    },\n  ],\n})\n```\n\nRun `yaup` in this directory, it will emit:\n\n- `dist/esm/index.js`\n- `dist/cjs/index.js`\n- `dist/types/index.d.ts`\n\nThen, configure `package.json` accordingly:\n\n```json\n{\n  \"main\": \"./dist/cjs/index.js\",\n  \"module\": \"./dist/esm/index.js\",\n  \"types\": \"./dist/types/index.js\",\n  \"exports\": {\n    \".\": {\n      \"import\": \"./dist/esm/index.js\",\n      \"default\": \"./dist/cjs/index.js\"\n    }\n  }\n}\n```\n\n## API\n\n[Full config reference](./src/config.ts).\n\n## Contributing\n\nBug fixes are welcome, I'm not accepting new features unless it's absolutely necessary.\n\n## License\n\nMIT \u0026copy; [EGOIST](https://github.com/sponsors/egoist)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fegoist%2Fyaup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fegoist%2Fyaup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fegoist%2Fyaup/lists"}