{"id":19070899,"url":"https://github.com/ohager/react-monorepo-demo","last_synced_at":"2025-08-18T19:04:24.999Z","repository":{"id":51364733,"uuid":"294145932","full_name":"ohager/react-monorepo-demo","owner":"ohager","description":"Just a small demo on React with component library in a mono repo with npm and lerna","archived":false,"fork":false,"pushed_at":"2021-05-13T11:27:31.000Z","size":3044,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-22T03:44:18.055Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ohager.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}},"created_at":"2020-09-09T15:00:04.000Z","updated_at":"2021-05-13T11:27:33.000Z","dependencies_parsed_at":"2022-08-26T13:40:57.869Z","dependency_job_id":null,"html_url":"https://github.com/ohager/react-monorepo-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ohager/react-monorepo-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohager%2Freact-monorepo-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohager%2Freact-monorepo-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohager%2Freact-monorepo-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohager%2Freact-monorepo-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ohager","download_url":"https://codeload.github.com/ohager/react-monorepo-demo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ohager%2Freact-monorepo-demo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271043504,"owners_count":24689767,"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","status":"online","status_checked_at":"2025-08-18T02:00:08.743Z","response_time":89,"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-09T01:21:12.899Z","updated_at":"2025-08-18T19:04:24.955Z","avatar_url":"https://github.com/ohager.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-monorepo-demo\nThis is a demo for mono-repository with mixed types of projects:\n\n- atoms, molecules: react component libraries\n- webapp: react app\n- webapp-vanilla: plain html, css, js web app importing atoms and molecules as minified bundles\n\n\u003e Storybook is not working yet - need to figure out what the issue is\n\n# How it works\n\nTO DO\n\n# How to use\n\nTO DO\n\n# Installation\n\n## Prerequisites\n \n- Node 14 (recommend `nvm` where possible)\n\n## Bootstrapping\n\nOnce cloned this repository just run `npm i`\n \nAnd you are ready to go!\n\n# Running and Developing\n\n## Run Apps\n\nReact Web App: `npm run webapp`\nVanilla Web App: `npm run webapp-vanilla`\n\n## Development\n\nIn development mode the changes are being watched, such you get something like live reloading\n\n1. For webapp: `npm run dev-webapp`\n2. For webapp-vanilla: `npm run dev-webapp-vanilla`\n\n# Package Management\n\n## Add new packages\n\n1. `npx lerna create \u003cyour-package\u003e`\n2. In `package.json` set a scoped name, i.e. `@acme/your-package`\n3. The created `lib` folder is meant to contain transpiled code, so usually you want to create a `src` folder\n    - usually you create a build script inside `package.json` like this:\n      `\"build\": \"babel src --out-dir lib\"`\n      \n\n## Use package in another package\n\nJust do `npx lerna add @acme/\u003cwanted-package packages/\u003ctarget-package\u003e`\n\nExample:\n\nIf we want to use `@acme/atoms` in `@acme/molecules` we type:\n\n`npx lerna add @acme/atoms packages/molecules`\n\nThis adds a _symbolic link_ inside the `node_modules` folder in `molecules`.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fohager%2Freact-monorepo-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fohager%2Freact-monorepo-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fohager%2Freact-monorepo-demo/lists"}