{"id":23510835,"url":"https://github.com/danielkov/single-package","last_synced_at":"2025-05-13T17:17:27.724Z","repository":{"id":37034451,"uuid":"234159022","full_name":"danielkov/single-package","owner":"danielkov","description":"Single architecture to create NPM package with TypeScript","archived":false,"fork":false,"pushed_at":"2025-04-30T16:15:25.000Z","size":1871,"stargazers_count":0,"open_issues_count":24,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-30T17:29:17.738Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/danielkov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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,"zenodo":null}},"created_at":"2020-01-15T19:43:00.000Z","updated_at":"2021-12-09T11:38:45.000Z","dependencies_parsed_at":"2023-09-28T00:59:01.678Z","dependency_job_id":"20bdcfc3-292b-4c76-aa52-6a35256d7c46","html_url":"https://github.com/danielkov/single-package","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielkov%2Fsingle-package","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielkov%2Fsingle-package/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielkov%2Fsingle-package/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danielkov%2Fsingle-package/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danielkov","download_url":"https://codeload.github.com/danielkov/single-package/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253990504,"owners_count":21995776,"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-12-25T12:12:34.625Z","updated_at":"2025-05-13T17:17:27.697Z","avatar_url":"https://github.com/danielkov.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Single Package\n\nThis is a minimal config for a (React +) TypeScript package to publish to NPM.\n\nIf you like this template, leave a [reference to it](https://github.com/danielkov/single-package) somewhere in your project.\n\n## Get started\n\nIf you're visiting the [GitHub Repository](https://github.com/danielkov/single-package) and are logged in with your account, you can press **[Use this template](https://github.com/danielkov/single-package/generate)** to grab this repository for your own project. Alternatively you can fork this package and get started that way. After forking, you can periodically check the diff of this package with your own to see if anything changed and decide if you want to apply those changes to your repository too.\n\nNext thing you should do is to replace all references to this repository with your own, e.g.: the name property in [`package.json`](package.json#L2), as well as `\"repository\"` and `\"author\"` fields. Next, you should open the [`LICENSE`](LICENSE) file and modify the name and year in the header to match your preferences.\n\nInstall dependencies with `npm install`.\n\nIf your IDE is not running the linter by default as a service, you can lint files manually with\n\n```sh\nnpm run lint\n```\n\nRun tests in watch mode:\n\n```sh\nnpm test -w\n```\n\nOnce you're happy with your changes, use [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) standard to create your commit messages.\n\nTo build your package, use the command:\n\n```sh\nnpm build\n```\n\nTo create a new version of this package to deploy to NPM or the package repository of your choice, use:\n\n```sh\nnpm run sv\n```\n\nFinally, make sure everything is up to date with your version control with `git push --follow-tags` and then to publish your package, use:\n\n```sh\nnpm publish\n```\n\nAlternatively you can use the GitHub Worflow, by triggering a release - going to Releases -\u003e Draft a new release. This will do the above for you, as well as publish it to GitHub's NPM Mirror. If you want to use this method, you need to edit [Publish Workflow file](.github/workflows/publish.yml) by replacing `your-github-username` with your GitHub username and adding the `npm_token` secret in settings.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielkov%2Fsingle-package","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielkov%2Fsingle-package","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielkov%2Fsingle-package/lists"}