{"id":16991765,"url":"https://github.com/redakker/reactlibsample","last_synced_at":"2026-05-05T08:31:28.653Z","repository":{"id":231673560,"uuid":"782395036","full_name":"redakker/reactlibsample","owner":"redakker","description":"Simple React app with external library sample","archived":false,"fork":false,"pushed_at":"2024-04-07T09:41:46.000Z","size":193,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-12T19:39:14.054Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/redakker.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":"2024-04-05T08:06:24.000Z","updated_at":"2024-04-05T08:08:18.000Z","dependencies_parsed_at":"2024-04-07T10:31:46.762Z","dependency_job_id":"28b8e9ea-76ce-41b5-b7cd-3fe7568f9847","html_url":"https://github.com/redakker/reactlibsample","commit_stats":null,"previous_names":["redakker/reactlibsample"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/redakker/reactlibsample","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redakker%2Freactlibsample","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redakker%2Freactlibsample/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redakker%2Freactlibsample/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redakker%2Freactlibsample/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/redakker","download_url":"https://codeload.github.com/redakker/reactlibsample/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redakker%2Freactlibsample/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32641992,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"online","status_checked_at":"2026-05-05T02:00:06.033Z","response_time":54,"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-10-14T03:27:11.248Z","updated_at":"2026-05-05T08:31:28.636Z","avatar_url":"https://github.com/redakker.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple React application with a library\n\nhttps://pauloe-me.medium.com/typescript-npm-package-publishing-a-beginners-guide-40b95908e69c\n\nUnfortunately, a library cannot be outside of the “src“ folder of a React app. Moreover the path alias of a library is not straight forward. It is not enough to put into the tsconfig.json.\nHere is nice article for howto. You need to use an addition npm package “crarco“\nhttps://blog.logrocket.com/using-path-aliases-cleaner-react-typescript-imports/\n\nInstall:\n\n- go to the library folder (/src/libs/examplelib)\n- npm i\n- npm run build\n- go to the root directory\n- npm i\n- npm run mystart\n\n#todo\n\n- make possible to hot reload. Library can be watched, and when someting changes, then the main project reloads it. (start with --watch)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredakker%2Freactlibsample","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredakker%2Freactlibsample","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredakker%2Freactlibsample/lists"}