{"id":15383481,"url":"https://github.com/sneas/dist-link","last_synced_at":"2026-03-24T10:30:22.400Z","repository":{"id":57161206,"uuid":"378601703","full_name":"sneas/dist-link","owner":"sneas","description":"A lightning-fast alternative to npm link which excludes node_modules","archived":false,"fork":false,"pushed_at":"2021-06-20T17:27:20.000Z","size":116,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-31T23:20:47.208Z","etag":null,"topics":["dist","npm-link"],"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/sneas.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-20T09:02:24.000Z","updated_at":"2021-06-20T17:29:03.000Z","dependencies_parsed_at":"2022-09-09T07:00:35.360Z","dependency_job_id":null,"html_url":"https://github.com/sneas/dist-link","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sneas%2Fdist-link","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sneas%2Fdist-link/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sneas%2Fdist-link/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sneas%2Fdist-link/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sneas","download_url":"https://codeload.github.com/sneas/dist-link/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239942753,"owners_count":19722330,"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":["dist","npm-link"],"created_at":"2024-10-01T14:37:52.684Z","updated_at":"2026-03-24T10:30:22.275Z","avatar_url":"https://github.com/sneas.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dist-link\n\n[![version](https://img.shields.io/npm/v/@sneas/dist-link.svg?style=flat-square)](http://npm.im/@sneas/dist-link)\n\nA lightning-fast alternative to `npm link` which excludes `node_modules`.\n\n## Motivation\n\nDeveloping React components with the help of `npm link` tool may produce an error:\n\n```\nError: Invalid hook call. Hooks can only be called inside of the body of a function component.\n```\n\nThe reason is `react` and `react-dom` packages are included into `node_modules` of the source package.\n\nThis project solves the above problem by eliminating `node_modules` folder from the source package link.\n\n## Installation\n\n```sh\nnpm install -g @sneas/dist-link\n```\n\n## Usage\n\nRun `dist-link` in the root folder of a package you'd like to be linked.\n\nRun `dist-link package-name` in the root folder of a project which is going to use the link.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsneas%2Fdist-link","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsneas%2Fdist-link","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsneas%2Fdist-link/lists"}