{"id":20061654,"url":"https://github.com/tylerrick/repro_getcontext_from_comp_inside_each_component","last_synced_at":"2026-06-01T01:32:11.069Z","repository":{"id":66442519,"uuid":"300148373","full_name":"TylerRick/repro_getContext_from_comp_inside_each_component","owner":"TylerRick","description":null,"archived":false,"fork":false,"pushed_at":"2020-10-01T04:57:12.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-15T06:14:31.188Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Svelte","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TylerRick.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-10-01T04:54:44.000Z","updated_at":"2020-10-01T04:57:14.000Z","dependencies_parsed_at":"2023-07-16T11:45:52.605Z","dependency_job_id":null,"html_url":"https://github.com/TylerRick/repro_getContext_from_comp_inside_each_component","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TylerRick/repro_getContext_from_comp_inside_each_component","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TylerRick%2Frepro_getContext_from_comp_inside_each_component","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TylerRick%2Frepro_getContext_from_comp_inside_each_component/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TylerRick%2Frepro_getContext_from_comp_inside_each_component/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TylerRick%2Frepro_getContext_from_comp_inside_each_component/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TylerRick","download_url":"https://codeload.github.com/TylerRick/repro_getContext_from_comp_inside_each_component/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TylerRick%2Frepro_getContext_from_comp_inside_each_component/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33756575,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-31T02:00:06.040Z","response_time":95,"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-13T13:21:10.881Z","updated_at":"2026-06-01T01:32:11.049Z","avatar_url":"https://github.com/TylerRick.png","language":"Svelte","funding_links":[],"categories":[],"sub_categories":[],"readme":"*Psst — looking for an app template? Go here --\u003e [sveltejs/template](https://github.com/sveltejs/template)*\n\n---\n\n# component-template\n\nA base for building shareable Svelte components. Clone it with [degit](https://github.com/Rich-Harris/degit):\n\n```bash\nnpx degit sveltejs/component-template my-new-component\ncd my-new-component\nnpm install # or yarn\n```\n\nYour component's source code lives in `src/Component.svelte`.\n\nYou can create a package that exports multiple components by adding them to the `src` directory and editing `src/index.js` to reexport them as named exports.\n\nTODO\n\n* [ ] some firm opinions about the best way to test components\n* [ ] update `degit` so that it automates some of the setup work\n\n\n## Setting up\n\n* Run `npm init` (or `yarn init`)\n* Replace this README with your own\n\n\n## Consuming components\n\nYour package.json has a `\"svelte\"` field pointing to `src/index.js`, which allows Svelte apps to import the source code directly, if they are using a bundler plugin like [rollup-plugin-svelte](https://github.com/sveltejs/rollup-plugin-svelte) or [svelte-loader](https://github.com/sveltejs/svelte-loader) (where [`resolve.mainFields`](https://webpack.js.org/configuration/resolve/#resolve-mainfields) in your webpack config includes `\"svelte\"`). **This is recommended.**\n\nFor everyone else, `npm run build` will bundle your component's source code into a plain JavaScript module (`dist/index.mjs`) and a UMD script (`dist/index.js`). This will happen automatically when you publish your component to npm, courtesy of the `prepublishOnly` hook in package.json.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftylerrick%2Frepro_getcontext_from_comp_inside_each_component","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftylerrick%2Frepro_getcontext_from_comp_inside_each_component","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftylerrick%2Frepro_getcontext_from_comp_inside_each_component/lists"}