{"id":22727282,"url":"https://github.com/noviel/typescript-library-monorepo-template","last_synced_at":"2026-04-29T09:07:31.977Z","repository":{"id":98890872,"uuid":"285088424","full_name":"Noviel/typescript-library-monorepo-template","owner":"Noviel","description":"TypeScript Library Monorepo Template","archived":false,"fork":false,"pushed_at":"2023-04-21T08:05:51.000Z","size":990,"stargazers_count":0,"open_issues_count":5,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-12T16:04:18.593Z","etag":null,"topics":["github-actions","github-packages","lerna","library","monorepo","template","tsdx","typescript","yarn-workspaces"],"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/Noviel.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":"2020-08-04T20:09:12.000Z","updated_at":"2021-03-21T16:05:09.000Z","dependencies_parsed_at":null,"dependency_job_id":"25c60b43-32fd-41d9-b213-367e9ce3d650","html_url":"https://github.com/Noviel/typescript-library-monorepo-template","commit_stats":null,"previous_names":[],"tags_count":18,"template":true,"template_full_name":null,"purl":"pkg:github/Noviel/typescript-library-monorepo-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Noviel%2Ftypescript-library-monorepo-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Noviel%2Ftypescript-library-monorepo-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Noviel%2Ftypescript-library-monorepo-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Noviel%2Ftypescript-library-monorepo-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Noviel","download_url":"https://codeload.github.com/Noviel/typescript-library-monorepo-template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Noviel%2Ftypescript-library-monorepo-template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32418256,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["github-actions","github-packages","lerna","library","monorepo","template","tsdx","typescript","yarn-workspaces"],"created_at":"2024-12-10T17:11:38.100Z","updated_at":"2026-04-29T09:07:31.961Z","avatar_url":"https://github.com/Noviel.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Typescript Library Monorepo Template\n\n## Features\n\n- Full TypeScript support, linting, formatting, ESM and CommonJS bundles and many other developer's goodies with [tsdx](https://github.com/formium/tsdx).\n- Linting on precommit with `husky` and `lint-staged`.\n- Multiple packages management with Lerna.\n- Scoped private NPM packages with GitHub Packages.\n- Basic extendable CI process with GitHub Actions.\n- Ability to add CLI packages.\n\n## Setup\n\n### GitHub Packages\n\nTo use Github Packages registry you must [provide](https://github.com/settings/tokens/new) `Personal access token` with `read:packages` and `write:packages` scopes.\n\nIt can be stored in `.npmrc` file in the root directory:\n\n```\n//npm.pkg.github.com/:_authToken=GITHUB_REGISTRY_ACCESS_TOKEN\n@OWNER:registry=https://npm.pkg.github.com\nalways-auth=true\n```\n\n`OWNER` is the name of the user or organization account that owns the repository.\n\n#### Multiple packages\n\n[GitHub docs on multiple packages at the same repository](https://docs.github.com/en/packages/using-github-packages-with-your-projects-ecosystem/configuring-npm-for-use-with-github-packages#publishing-multiple-packages-to-the-same-repository)\n\nIn `package.json` of every package:\n\n```json\n\"repository\" : {\n    \"type\" : \"git\",\n    \"url\": \"ssh://git@github.com/OWNER/REPOSITORY.git\",\n    \"directory\": \"packages/name\"\n  },\n```\n\n`OWNER` is the name of the user or organization account that owns the repository.\n`REPOSITORY` is the name of the repositroy containing the package.\n\n### GitHub Actions\n\nPersonal access token with packages scopes must be provided to GitHub Actions as `NPM_TOKEN` (or you can rename it in `.github/workflows/main.yml):\n\nTo add a token to the repository: `Settings` -\u003e `Secrets` -\u003e `New secret`.\n\n## Workflows\n\n### Add new package\n\n1. Use `template-demo-core` package `as a reference (package must include`package.json`,`tsconfig.json`and`src/index.ts`).\n2. Run `yarn lerna bootstrap`.\n\n### Add CLI package\n\nUse `template-demo-cli` package as a reference.\n\n### Publish\n\n```sh\nyarn lerna publish\n```\n\nPublish every changed package to registry. It will build packages before publish.\n\n### Add dependency to a package\n\n```sh\nyarn lerna add \u003cpackage\u003e --scope=@\u003cscoped/package\u003e\n```\n\n### Build packages\n\n```sh\nyarn build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoviel%2Ftypescript-library-monorepo-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnoviel%2Ftypescript-library-monorepo-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnoviel%2Ftypescript-library-monorepo-template/lists"}