{"id":21095065,"url":"https://github.com/zhumeisongsong/multiple-products-workspace","last_synced_at":"2026-01-24T05:31:44.622Z","repository":{"id":257599884,"uuid":"819410043","full_name":"zhumeisongsong/multiple-products-workspace","owner":"zhumeisongsong","description":"Front-end clean architecture practice.  Common packages management center. No monolithic app is allowed. ","archived":false,"fork":false,"pushed_at":"2025-12-31T14:43:58.000Z","size":2914,"stargazers_count":1,"open_issues_count":25,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-04T22:50:24.296Z","etag":null,"topics":["clean-architecture","graphql","monorepo","npm-package","react","remix","typescript","urql"],"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/zhumeisongsong.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.config.cjs","contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-06-24T12:54:54.000Z","updated_at":"2025-12-07T14:24:13.000Z","dependencies_parsed_at":"2024-09-17T17:23:06.887Z","dependency_job_id":"d64b2ad0-47a9-4d3e-80eb-d1c10756911d","html_url":"https://github.com/zhumeisongsong/multiple-products-workspace","commit_stats":null,"previous_names":["zhumeisongsong/time-travels-workspace","zhumeisongsong/multiple-products-workspace"],"tags_count":105,"template":false,"template_full_name":null,"purl":"pkg:github/zhumeisongsong/multiple-products-workspace","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhumeisongsong%2Fmultiple-products-workspace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhumeisongsong%2Fmultiple-products-workspace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhumeisongsong%2Fmultiple-products-workspace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhumeisongsong%2Fmultiple-products-workspace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zhumeisongsong","download_url":"https://codeload.github.com/zhumeisongsong/multiple-products-workspace/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhumeisongsong%2Fmultiple-products-workspace/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28713338,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T05:28:26.568Z","status":"ssl_error","status_checked_at":"2026-01-24T05:28:10.840Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["clean-architecture","graphql","monorepo","npm-package","react","remix","typescript","urql"],"created_at":"2024-11-19T22:22:15.289Z","updated_at":"2026-01-24T05:31:44.591Z","avatar_url":"https://github.com/zhumeisongsong.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Multiple Products' Workspace\n\n\u003ca alt=\"Nx logo\" href=\"https://nx.dev\" target=\"_blank\" rel=\"noreferrer\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/nrwl/nx/master/images/nx-logo.png\" width=\"45\"\u003e\u003c/a\u003e\n\n✨ Your new, shiny [Nx workspace](https://nx.dev) is almost ready ✨.\n\n## Finish your CI setup\n\n[Click here to finish setting up your workspace!](https://cloud.nx.app/connect/JBJ2LUYyM7)\n\n## Run tasks\n\nTo run the dev server for your app, use:\n\n```sh\nnpx nx serve quiz-game\n```\n\nTo create a production bundle:\n\n```sh\nnpx nx build quiz-game\n```\n\nTo see all available targets to run for a project, run:\n\n```sh\nnpx nx show project quiz-game\n```\n\nThese targets are either [inferred automatically](https://nx.dev/concepts/inferred-tasks?utm_source=nx_project\u0026utm_medium=readme\u0026utm_campaign=nx_projects) or defined in the `project.json` or `package.json` files.\n\n[More about running tasks in the docs \u0026raquo;](https://nx.dev/features/run-tasks?utm_source=nx_project\u0026utm_medium=readme\u0026utm_campaign=nx_projects)\n\n## Add new projects\n\nWhile you could add new projects to your workspace manually, you might want to leverage [Nx plugins](https://nx.dev/concepts/nx-plugins?utm_source=nx_project\u0026utm_medium=readme\u0026utm_campaign=nx_projects) and their [code generation](https://nx.dev/features/generate-code?utm_source=nx_project\u0026utm_medium=readme\u0026utm_campaign=nx_projects) feature.\n\nUse the plugin's generator to create new projects.\n\nTo generate a new application, use:\n\n```sh\nnpx nx g @nx/react:app demo --bundler=vite\n```\n\nTo generate a new library, use:\n\n```sh\nnpx nx g @nx/react:lib mylib\n```\n\nYou can use `npx nx list` to get a list of installed plugins. Then, run `npx nx list \u003cplugin-name\u003e` to learn about more specific capabilities of a particular plugin. Alternatively, [install Nx Console](https://nx.dev/getting-started/editor-setup?utm_source=nx_project\u0026utm_medium=readme\u0026utm_campaign=nx_projects) to browse plugins and generators in your IDE.\n\n[Learn more about Nx plugins \u0026raquo;](https://nx.dev/concepts/nx-plugins?utm_source=nx_project\u0026utm_medium=readme\u0026utm_campaign=nx_projects) | [Browse the plugin registry \u0026raquo;](https://nx.dev/plugin-registry?utm_source=nx_project\u0026utm_medium=readme\u0026utm_campaign=nx_projects)\n\n[Learn more about Nx on CI](https://nx.dev/ci/intro/ci-with-nx#ready-get-started-with-your-provider?utm_source=nx_project\u0026utm_medium=readme\u0026utm_campaign=nx_projects)\n\n## Install Nx Console\n\nNx Console is an editor extension that enriches your developer experience. It lets you run tasks, generate code, and improves code autocompletion in your IDE. It is available for VSCode and IntelliJ.\n\n[Install Nx Console \u0026raquo;](https://nx.dev/getting-started/editor-setup?utm_source=nx_project\u0026utm_medium=readme\u0026utm_campaign=nx_projects)\n\n## Install shadcn/ui components\n\n```sh\nTS_NODE_PROJECT=tsconfig.base.json pnpm dlx shadcn@latest add xxx\n```\n\nThanks https://pustelto.com/blog/adding-shadcnui-to-nx-monorepo/\n\n## Workspace Structure\n\nDefines core business logic and entities. Provides business rule validation and strategies.\n\n| Layer                  | Description                                                                                                                                                                                                                                                       |\n| ---------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| domain                 | Contains business entities.\u003cbr/\u003e No dependencies on other layers.                                                                                                                                                                                                 |\n| application: service   | Implements concrete business logic for use cases and coordinates domain services, external services, and infrastructure.\u003cbr/\u003e No dependencies on the detail implementation.                                                                                       |\n| application: use-case  | Derived from requirements, describes **\"what to do\"** without concerning **\"how to do it\"**. \u003cbr/\u003e Defines operation interfaces and business rules for use cases.\u003cbr/\u003e Forms part of the system's core functionality.                                             |\n| interface-adapter      | Acts as a bridge between application logic and user interface.\u003cbr/\u003e Provides state management.\u003cbr/\u003e Should not implement core business logic.                                                                                                                     |\n| infrastructure         | Provides implementation, emphasizing **\"how to do it\"**. Can be easily replaced. Abstracts data access.\u003cbr/\u003e Interacts with backend and third-party APIs.\u003cbr/\u003e Abstracts external API logic.\u003cbr/\u003e Implements Repository and other external dependency interfaces. |\n| infrastructure:storage | Data persistence and retrieval operations, to be replaced by access to the GraphQL API.                                                                                                                                                                           |\n\n## Useful links\n\nLearn more:\n\n- [Learn about Nx on CI](https://nx.dev/ci/intro/ci-with-nx?utm_source=nx_project\u0026utm_medium=readme\u0026utm_campaign=nx_projects)\n- [Releasing Packages with Nx release](https://nx.dev/features/manage-releases?utm_source=nx_project\u0026utm_medium=readme\u0026utm_campaign=nx_projects)\n- [What are Nx plugins?](https://nx.dev/concepts/nx-plugins?utm_source=nx_project\u0026utm_medium=readme\u0026utm_campaign=nx_projects)\n\nAnd join the Nx community:\n\n- [Discord](https://go.nx.dev/community)\n- [Follow us on X](https://twitter.com/nxdevtools) or [LinkedIn](https://www.linkedin.com/company/nrwl)\n- [Our Youtube channel](https://www.youtube.com/@nxdevtools)\n- [Our blog](https://nx.dev/blog?utm_source=nx_project\u0026utm_medium=readme\u0026utm_campaign=nx_projects)\n\nhttps://nx.dev/blog/versioning-and-releasing-packages-in-a-monorepo#installing-the-javascripttypescript-versioning-package\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhumeisongsong%2Fmultiple-products-workspace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhumeisongsong%2Fmultiple-products-workspace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhumeisongsong%2Fmultiple-products-workspace/lists"}