{"id":19257546,"url":"https://github.com/ericvera/ts-lib-template","last_synced_at":"2026-03-19T08:58:33.741Z","repository":{"id":232882828,"uuid":"785415915","full_name":"ericvera/ts-lib-template","owner":"ericvera","description":"Typescript library repo template","archived":false,"fork":false,"pushed_at":"2025-03-25T19:23:40.000Z","size":4673,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T20:28:58.624Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/ericvera.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-11T21:05:45.000Z","updated_at":"2025-03-25T19:22:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"ee1eeb71-679e-4591-a5a7-47d2f35bf806","html_url":"https://github.com/ericvera/ts-lib-template","commit_stats":null,"previous_names":["ericvera/ts-lib-template"],"tags_count":1,"template":true,"template_full_name":null,"purl":"pkg:github/ericvera/ts-lib-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericvera%2Fts-lib-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericvera%2Fts-lib-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericvera%2Fts-lib-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericvera%2Fts-lib-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ericvera","download_url":"https://codeload.github.com/ericvera/ts-lib-template/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericvera%2Fts-lib-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29923408,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T19:37:42.220Z","status":"online","status_checked_at":"2026-02-28T02:00:07.010Z","response_time":90,"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-11-09T19:10:36.652Z","updated_at":"2026-02-28T02:33:55.691Z","avatar_url":"https://github.com/ericvera.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TypeScript library repo template\n\n**Template repo for building a modern TypeScript library optimized for minimal setup and maintenance effort**\n\nAn opinionated template repo configured with the following:\n\n- Typescript\n- ESM only\n- Node \u003e= 20\n- Test using Vitest\n- Prettier (see `package.json` for config)\n- Typescript ESLint (strict \u0026 typed mode)\n- Github Actions deployment to npm on push to `main` branch\n- Github dependabot configured for weekly updates\n- Auto-approve dependabot changes after lint, built, and tests pass\n- Auto package version bump on push to `main` branch (based on [Conventional Commits](https://www.conventionalcommits.org/) conventions)\n- Github Release generation on deployment (based on [Conventional Commits](https://www.conventionalcommits.org/) conventions)\n- Yarn with `nodeLinker: node-modules`\n- Block commits on lint/format issues (using `lint-staged`)\n- VS Code config with suggested eslint and prettier extensions\n- VS Code configured for auto-save\n\n## Configuration before you start:\n\n### Update the `LICENSE` file\n\n- Replace `I Forgot To Add My Name Here` on the copyright line with your name\n\n### Update the `package.json` file\n\n- `name`: Your package name\n- `repository`: Your repo info\n- `keywords`: Keywords to help people find your package\n\n### Add NPM_TOKEN to the repo secrets\n\n    NOTE: The package must have been published at least once with `npm publish` in order to be able to generate a granular token scoped to the specific package.\n\n1. [Get a token](https://docs.npmjs.com/creating-and-viewing-access-tokens#creating-granular-access-tokens-on-the-website) from npmjs.com\n2. [Add a secret with the npm token to be used by Github Actions](https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions). The secret must be named `NPM_TOKEN`.\n\n### Enable auto-merge for dependabot pull-requests\n\nThere are actually two options:\n\n1. [Enable auto-merge for the repo](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-auto-merge-for-pull-requests-in-your-repository) (only avaylable for public repos or paid accounts as of this writing)\n1. Disable the auto-merge option by removing it from `.github/workflows/dependabot.yml`\n\n## Things to know\n\n- Run `yarn` at the root to install all the dependencies and register the new package name before pushing the initial commit\n- Ensure that any commits follow [Conventional Commits](https://www.conventionalcommits.org/) conventions in order for the version bump and release notes to work appropriately.\n\n## Yarn Scripts\n\n- `yarn build`\n- `yarn lint`\n- `yarn test`\n- `yarn smoke` - runs build, lint, and test\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericvera%2Fts-lib-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fericvera%2Fts-lib-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericvera%2Fts-lib-template/lists"}